[issue12530] cpython 3.3, __class__ missing.

2011-07-11 Thread R. David Murray
R. David Murray added the comment: Unless you can point to a place where the behavior that was fixed is actually documented, this is classed as an implementation detail that was changed (or, more likely, a bug that was fixed). If this were less obscure or had been in existence for longer, th

[issue12530] cpython 3.3, __class__ missing.

2011-07-10 Thread Campbell Barton
Campbell Barton added the comment: Shouldn't it be documented that it changes still? - since people are using pytjon3.2 and its a stable release, _any_ breaking change should be documented IMHO -- ___ Python tracker

[issue12530] cpython 3.3, __class__ missing.

2011-07-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: No, this is consistent (again) with Python 2. -- nosy: +benjamin.peterson resolution: -> invalid status: open -> closed ___ Python tracker

[issue12530] cpython 3.3, __class__ missing.

2011-07-10 Thread Campbell Barton
Campbell Barton added the comment: checked for docs here: http://docs.python.org/dev/whatsnew/3.3.html -- ___ Python tracker ___ ___

[issue12530] cpython 3.3, __class__ missing.

2011-07-10 Thread Campbell Barton
New submission from Campbell Barton : In python 3.2 this works and prints , in cpython hg: 71296:ab162f925761 it fails with: NameError: global name '__class__' is not defined Since this change is not documented I assume its a bug. --- snip --- class Test: def __init__(self): print(__class__)