Ticket #569 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

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

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

Changed 4 years ago by scoder

Changed 4 years ago by robertwb

  • status changed from new to closed
  • resolution set to fixed

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.