Message144954
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 |
|
Date |
User |
Action |
Args |
2011-10-05 16:21:26 | xdegaye | set | recipients:
+ xdegaye, josiahcarlson, giampaolo.rodola, stutzbach |
2011-10-05 16:21:26 | xdegaye | set | messageid: <1317831686.47.0.685622901498.issue13103@psf.upfronthosting.co.za> |
2011-10-05 16:21:25 | xdegaye | link | issue13103 messages |
2011-10-05 16:21:25 | xdegaye | create | |
|