X Tutup
Skip to content

bpython crashes when using a weird class which overwrites both __call__ and __getattr__ #240

@ikanobori

Description

@ikanobori

This paste shows both the code I entered and the traceback I got: http://bpaste.net/show/85232/. Now if I type x( after creating the x object, bpython crashes with the traceback you can see in this paste. If I leave out the __getattr__ or the __call__ method, I get a usual traceback as expected.


Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup