Opened 7 years ago

Closed 7 years ago

Last modified 7 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 7 years ago by Alex

  • Component changed from Uncategorized to Core framework
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted
  • Version changed from 1.1 to SVN

comment:2 Changed 7 years ago by lukeplant

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

(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 7 years ago by lukeplant

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