Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#12336 closed (fixed)

Infinite recursion in dir(UserSettingsHolder)

Reported by: miracle2k Owned by: nobody
Component: Core (Other) Version: master
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


The implementation for dir calls dir(self) - introduced here:

To reproduce, simply do:


Change History (3)

comment:1 Changed 8 years ago by Alex Gaynor

Component: UncategorizedCore framework
Triage Stage: UnreviewedAccepted
Version: 1.1SVN

comment:2 Changed 8 years ago by Luke Plant

Resolution: fixed
Status: newclosed

(In [11799]) Fixed #12336 - infinite recursion in dir(UserSettingsHolder)

This is a regression introduced in trunk, so it does not need to be backported.

Thanks to miracle2k for the report.

comment:3 Changed 8 years ago by Luke Plant

For the record (and to make myself feel a bit better about how I could have introduced this bug in the first place :-) the infinite recursion is only obvious in Python 2.6, not 2.4 or 2.5. Under 2.4 and 2.5 the 'recursion depth exceeded' error is swallowed and the code somehow appears to work fine.

Note: See TracTickets for help on using tickets.
Back to Top