New submission from Benjamin Peterson <benja...@python.org>:

get_code() returns marshal.loads(self.get_data()). If get_data() returns valid 
marhsal data that is not a code object, get_code() will explode when it tries 
to exec it with a TypeError not the expected ValueError.

----------
assignee: brett.cannon
messages: 108810
nosy: benjamin.peterson, brett.cannon
priority: normal
severity: normal
status: open
title: importlib doesn't handle valid marshalled data with invalid semantics

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9096>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to