[issue672115] Assignment to __bases__ of direct object subclasses

lorph report at bugs.python.org
Tue Jul 22 04:58:27 CEST 2008


lorph <lorph1 at gmail.com> added the comment:

Is anyone still working on this? It seems like an oddity of python that
has been a stumbling block for me to create a super reload.

I've found that i am able to bypass this problem by creating the
following definition:

class object(object):pass

However, this feels like an ugly hack.

----------
nosy: +lorph

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue672115>
_______________________________________


More information about the Python-bugs-list mailing list