[issue31384] marshal: remove "current_filename" optimization

2017-09-07 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset c988ae01fec2e0510d53728e01a5e4bb06761bda by Benjamin Peterson in branch 'master': remove current_filename optimization from marshal (#3423) (closes bpo-31384) https://github.com/python/cpython/commit/c988ae01fec2e0510d53728e01a5e4bb06761bda -

[issue31384] marshal: remove "current_filename" optimization

2017-09-07 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- pull_requests: +3420 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue31384] marshal: remove "current_filename" optimization

2017-09-07 Thread Benjamin Peterson
New submission from Benjamin Peterson: marshal current saves the the last filename it saw in a code object during deserialization, and tries to reuse it across multiple code objects to save memory. This optimization is superseded by the more general ref mechanism. -- components: Interp