Re: [Django] #12336: Infinite recursion in dir(UserSettingsHolder)

2009-12-09 Thread Django
#12336: Infinite recursion in dir(UserSettingsHolder)
-+--
  Reporter:  miracle2k   | Owner:  nobody
Status:  closed  | Milestone:
 Component:  Core framework  |   Version:  SVN   
Resolution:  fixed   |  Keywords:
 Stage:  Accepted| Has_patch:  0 
Needs_docs:  0   |   Needs_tests:  0 
Needs_better_patch:  0   |  
-+--
Comment (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.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

--

You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.




Re: [Django] #12336: Infinite recursion in dir(UserSettingsHolder)

2009-12-07 Thread Django
#12336: Infinite recursion in dir(UserSettingsHolder)
-+--
  Reporter:  miracle2k   | Owner:  nobody
Status:  new | Milestone:
 Component:  Core framework  |   Version:  SVN   
Resolution:  |  Keywords:
 Stage:  Accepted| Has_patch:  0 
Needs_docs:  0   |   Needs_tests:  0 
Needs_better_patch:  0   |  
-+--
Changes (by Alex):

  * needs_better_patch:  => 0
  * component:  Uncategorized => Core framework
  * needs_tests:  => 0
  * version:  1.1 => SVN
  * needs_docs:  => 0
  * stage:  Unreviewed => Accepted

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

--

You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.




[Django] #12336: Infinite recursion in dir(UserSettingsHolder)

2009-12-07 Thread Django
#12336: Infinite recursion in dir(UserSettingsHolder)
---+
 Reporter:  miracle2k  |   Owner:  nobody
   Status:  new|   Milestone:
Component:  Uncategorized  | Version:  1.1   
 Keywords: |   Stage:  Unreviewed
Has_patch:  0  |  
---+
 The implementation for __dir__ calls dir(self) - introduced here:

 http://code.djangoproject.com/changeset/11636

 To reproduce, simply do:

 {{{
 settings.configure({})
 dir(settings)
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

--

You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.