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 <rep...@bugs.python.org> <http://bugs.python.org/issue22550> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com