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.

classification
Title: marshal: remove "current_filename" optimization
Type: Stage: resolved
Components: Interpreter Core Versions: Python 3.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: benjamin.peterson
Priority: normal Keywords:

Created on 2017-09-07 17:24 by benjamin.peterson, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 3423 merged benjamin.peterson, 2017-09-07 17:25
Messages (2)
msg301597 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2017-09-07 17:24
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.
msg301598 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2017-09-07 17:49
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
History
Date User Action Args
2022-04-11 14:58:52adminsetgithub: 75565
2017-09-07 17:49:14benjamin.petersonsetstatus: open -> closed
resolution: fixed
messages: + msg301598

stage: resolved
2017-09-07 17:25:32benjamin.petersonsetpull_requests: + pull_request3420
2017-09-07 17:24:14benjamin.petersoncreate