Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#12336 closed (fixed)

Infinite recursion in dir(UserSettingsHolder)

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


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

To reproduce, simply do:


Change History (3)

comment:1 by Alex Gaynor, 14 years ago

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

comment:2 by Luke Plant, 14 years ago

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 by Luke Plant, 14 years ago

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