Commit 90a076b1 authored by Jérome Perrin's avatar Jérome Perrin

patches python linecache ?

parent b7c4f38b
......@@ -208,6 +208,7 @@ def patch_linecache():
self.filename = filename
self.body = body
def get_source(self, name, *args, **kw):
assert self.filename == name
return self.body
assert '__loader___' not in module_globals
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment