Filipe Laíns <la...@riseup.net> added the comment: I was looking at the code and it seems PyImport_ImportFrozenModuleObject does not set an error on FROZEN_BAD_NAME, it just returns 0, is this intended? If I pass a bogus object, it will just return 0. This does not seem right.
Currently, FROZEN_BAD_NAME is never passed to set_frozen_error. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45379> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com