Author xdegaye
Recipients giampaolo.rodola, josiahcarlson, stutzbach, xdegaye
Date 2011-10-05.16:21:25
SpamBayes Score 1.79643e-07
Marked as misclassified No
Message-id <1317831686.47.0.685622901498.issue13103@psf.upfronthosting.co.za>
In-reply-to
Content
About why the asyncore bug shows up in python 3.2:

The simple test below is ok with python 3.1 but triggers a
"RuntimeError: maximum recursion depth exceeded..." with python 3.2:

$ python3.1
Python 3.1.2 (r312:79147, Apr  4 2010, 17:46:48) 
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> class C:
...   def __getattr__(self, attr):
...     return getattr(self.foo, attr)
... 
>>> c = C()
>>> hasattr(c, 'bar')
False
>>> 

For the reasoning behind this change made in python 3.2, see issue
9666 and the mail
http://mail.python.org/pipermail/python-dev/2010-August/103178.html
History
Date User Action Args
2011-10-05 16:21:26xdegayesetrecipients: + xdegaye, josiahcarlson, giampaolo.rodola, stutzbach
2011-10-05 16:21:26xdegayesetmessageid: <1317831686.47.0.685622901498.issue13103@psf.upfronthosting.co.za>
2011-10-05 16:21:25xdegayelinkissue13103 messages
2011-10-05 16:21:25xdegayecreate