[New-bugs-announce] [issue22550] issubclass can fail after module reloading

Serhiy Storchaka report at bugs.python.org
Fri Oct 3 20:29:35 CEST 2014


New submission from Serhiy Storchaka:

Inspired by test failure in issue22540. This is still looks as a bug to me:

>>> import sys, decimal, numbers
>>> issubclass(decimal.Decimal, numbers.Number)
True
>>> del sys.modules['numbers']
>>> import numbers
>>> issubclass(decimal.Decimal, numbers.Number)
False

----------
messages: 228362
nosy: serhiy.storchaka
priority: normal
severity: normal
status: open
title: issubclass can fail after module reloading
type: behavior
versions: Python 2.7, Python 3.4, Python 3.5

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


More information about the New-bugs-announce mailing list