Alexander Belopolsky <[EMAIL PROTECTED]> added the comment:
Correction for msg63584: the old/new style difference example should read
"""
class x:
pass
class y(x):
pass
try:
raise y
except y:
print "b"
except:
print "a"
"""
As written it prints 'b', but with __metaclass__ = type, it prints 'a'.
In msg63584 I got 'a' and 'b' mixed up.
On python-dev, Guido responded that the result should be the same
regardless of the metaclass:
http://mail.python.org/pipermail/python-dev/2008-March/077713.html
__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2291>
__________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com