[issue31492] assertion failures in case a module has a bad __name__ attribute

2017-09-26 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue31492] assertion failures in case a module has a bad __name__ attribute

2017-09-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset f0db2dfda777ad3380e7816cabe4c4240f31687f by Serhiy Storchaka in branch '3.6': [3.6] bpo-31492: Fix assertion failures in case of a module with a bad __name__ attribute. (GH-3620). (#3773) https://github.com/python/cpython/commit/f0db2dfda777ad

[issue31492] assertion failures in case a module has a bad __name__ attribute

2017-09-26 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +3760 stage: backport needed -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue31492] assertion failures in case a module has a bad __name__ attribute

2017-09-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- stage: patch review -> backport needed versions: +Python 3.6 ___ Python tracker ___ ___ Python-bugs-

[issue31492] assertion failures in case a module has a bad __name__ attribute

2017-09-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 6db7033192cd537ca987a65971acb01206c3ba82 by Serhiy Storchaka (Oren Milman) in branch 'master': bpo-31492: Fix assertion failures in case of a module with a bad __name__ attribute. (#3620) https://github.com/python/cpython/commit/6db7033192cd537

[issue31492] assertion failures in case a module has a bad __name__ attribute

2017-09-16 Thread Oren Milman
Changes by Oren Milman : -- keywords: +patch pull_requests: +3611 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue31492] assertion failures in case a module has a bad __name__ attribute

2017-09-16 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue31492] assertion failures in case a module has a bad __name__ attribute

2017-09-16 Thread Oren Milman
Changes by Oren Milman : -- components: +Interpreter Core -Extension Modules ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue31492] assertion failures in case a module has a bad __name__ attribute

2017-09-16 Thread Oren Milman
New submission from Oren Milman: The following code causes an assertion failure: import os os.__name__ = None os.does_not_exist this is because module_getattro() (in Objects/moduleobject.c) assumes that __name__ is a string, and passes it to PyErr_Format(), which asserts it is a string. if we