Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9533
___
___
Python-bugs-list
R. David Murray rdmur...@bitdance.com added the comment:
Does the fix for issue 10006 affect this? (I imagine that question is why
Antoine made Benjamin nosy on this issue).
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
Benjamin Peterson benja...@python.org added the comment:
You can now create metaclass abcs. However, having __abstractmethods__ does not
prevent instance creation. This is a problem with a builtins, though.
--
resolution: - fixed
status: open - closed
Daniel Urban urban.dani...@gmail.com added the comment:
If we create a new class, which is a metaclass, and also inherits an ABC, we
create a new instance of ABCMeta.
When ABCMeta.__new__ creates the __abstractmethods__ attribute of the new
class, it iterates over the __abstractmethods__
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9533
___
___
Python-bugs-list
Terry J. Reedy tjre...@udel.edu added the comment:
+- same traceback in 3.1
Since ABCmeta is not used (by name) its import is not needed.
I have no opinion on whether this should work.
--
nosy: +terry.reedy
versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6
New submission from Roald de Vries pyt...@roalddevries.nl:
Exception raised::
Traceback (most recent call last):
File bug.py, line 5, in module
class derived(type, Sized):
File
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/abc.py,
line 85, in
Changes by Daniel Urban urban.dani...@gmail.com:
--
nosy: +durban
type: compile error - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9533
___