[issue22550] issubclass can fail after module reloading

2014-10-08 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python

[issue22550] issubclass can fail after module reloading

2014-10-03 Thread Yury Selivanov
Yury Selivanov added the comment: I don't think it a bug or that it's possible to do something about it. Reloading modules in Python should usually be just avoided by all means. -- nosy: +brett.cannon, yselivanov ___ Python tracker

[issue22550] issubclass can fail after module reloading

2014-10-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: How would Decimal know that someone has swapped the decimal module in sys.modules? -- ___ Python tracker ___ __

[issue22550] issubclass can fail after module reloading

2014-10-03 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue22550] issubclass can fail after module reloading

2014-10-03 Thread Serhiy Storchaka
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