Éric Araujo mer...@netwok.org added the comment:
Artem, if you have further information to make us reconsider this issue, please
add a new message.
--
resolution: - invalid
stage: - committed/rejected
status: open - closed
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
It seems to me this is not a bug. Closing?
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13264
___
Daniel Urban urban.dani...@gmail.com added the comment:
It seems to me this is not a bug.
+1
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13264
___
New submission from Artem Tomilov scrapl...@gmail.com:
from abc import ABCMeta
class Meta(ABCMeta):
def __instancecheck__(cls, instance):
# monkeypatching class method
cls.__subclasscheck__ = super(Meta, cls).__subclasscheck__
return super(Meta,
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13264
___
___
Changes by Daniel Urban urban.dani...@gmail.com:
--
nosy: +durban
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13264
___
___
Python-bugs-list
Daniel Urban urban.dani...@gmail.com added the comment:
class Meta(ABCMeta):
def __instancecheck__(cls, instance):
# monkeypatching class method
cls.__subclasscheck__ = super(Meta, cls).__subclasscheck__
This line is approximately the same as: