New submission from Géry <gery.o...@gmail.com>: How to reproduce: Assign the __spec__.has_location attribute of any module.
Observed result: __spec__.has_location is a writable. Expected result: __spec__.has_location should be read-only, as defined in PEP 451: https://www.python.org/dev/peps/pep-0451/#attributes ---------- components: Library (Lib) messages: 330474 nosy: barry, brett.cannon, docs@python, eric.snow, maggyero, mdk, ncoghlan priority: normal severity: normal status: open title: Writable __spec__.has_location attribute type: behavior versions: Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35320> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com