Opened 4 years ago

Closed 4 years ago

#569 closed defect (fixed)

New special method code breaks __getattr__ and module initialisation

Reported by: scoder Owned by: somebody
Priority: blocker Milestone: 0.13
Component: Code Generation Keywords:
Cc:

Description

The optimisation in #561 breaks the __getattr__ method in Python space and prevents module initialisation if the method contains a docstring. Test added to the relevant test file.

http://hg.cython.org/cython-devel/rev/4cadddcd1ba9

Change History (3)

comment:1 Changed 4 years ago by scoder

  • Summary changed from New special function code breaks __getattr__ and module initialisation to New special method code breaks __getattr__ and module initialisation

comment:3 Changed 4 years ago by robertwb

  • Resolution set to fixed
  • Status changed from new to closed

What exactly to do about this long term is still undecided, as the above patch has significant performance concerns.

Note: See TracTickets for help on using tickets.