This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Oren Milman
Recipients Oren Milman
Date 2017-09-27.17:44:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Yet another code that causes a SystemError:
import zipimport
importer = zipimport.zipimporter('')
tup_as_list = list(zipimport._zip_directory_cache['']['foo\\'])
tup_as_list[0] = None
zipimport._zip_directory_cache['']['foo\\'] = tuple(tup_as_list)

This could be fixed by checking in get_code_from_data() whether modpath is a string.
Date User Action Args
2017-09-27 17:44:14Oren Milmansetrecipients: + Oren Milman
2017-09-27 17:44:14Oren Milmansetmessageid: <>
2017-09-27 17:44:14Oren Milmanlinkissue31531 messages
2017-09-27 17:44:13Oren Milmancreate