Message144954
| Author |
xdegaye |
| Recipients |
giampaolo.rodola, josiahcarlson, stutzbach, xdegaye |
| Date |
2011年10月05日.16:21:25 |
| SpamBayes Score |
1.7964348e-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 |
|