Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make unique_filename not depend on repr. #560

Merged
merged 3 commits into from
Aug 1, 2019

Commits on Jul 30, 2019

  1. Make unique_filename not depend on repr.

    For debugging purposes, when a method is created it needs to be put
    into a "filename".  This filename was generated using `repr(attrs)`
    however this meant that the filename could change every time the
    program was loaded depending on the whims of repr.  (In particular
    free functions and lambdas would include ids)
    
    This solves the problem by changing the name to be <attrs generated
    {method} {module}.{qualname}> If it should happen that the name is
    taken then -2 will be appended and incremented until a free filename
    is found.
    euresti committed Jul 30, 2019
    Configuration menu
    Copy the full SHA
    52edc0a View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2019

  1. Add tests

    euresti committed Jul 31, 2019
    Configuration menu
    Copy the full SHA
    30b8ab7 View commit details
    Browse the repository at this point in the history
  2. Fix tests and changelog

    euresti committed Jul 31, 2019
    Configuration menu
    Copy the full SHA
    5396597 View commit details
    Browse the repository at this point in the history