You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add more tests for pickle and fix error messages #122311
Much error generating code in the pickle module is not tested at all. As result, not only exception types and messages can differ between Python and C implementations, but other bugs are left unnoticed:
NameError in formatting one of error messages.
"Can't pickle" in the error message during unpickling.
Error message including the repr of wrong object.
Some errors are only detected in one of implementations (Python or C).
I am going to add more tests and fix the most odious errors. This will be backported to 3.12 and 3.13, but the backport to 3.12 will have more lenient variants of tests. Late, I will unify and improve other error messages (this is for main only).
Activity
pythongh-122311: Fix typo in the pickle error formatting code
gh-122311: Fix typo in the pickle error formatting code (GH-122312)
pythongh-122311: Fix typo in the pickle error formatting code (python…
pythongh-122311: Fix typo in the pickle error formatting code (python…
[3.12] gh-122311: Fix typo in the pickle error formatting code (GH-12…
[3.13] gh-122311: Fix typo in the pickle error formatting code (GH-12…
pythongh-122311: Add more tests for pickle
pythongh-122311: Add more tests for pickle
15 remaining items
gh-122311: Add more tests for error messages in pickle (GH-122373)
pythongh-122311: Fix a refleak in pickle
gh-122311: Fix a refleak in pickle (GH-122411)
pythongh-122311: Fix a refleak in pickle (pythonGH-122411)
pythongh-122311: Fix a refleak in pickle (pythonGH-122411)
[3.12] gh-122311: Fix a refleak in pickle (GH-122411) (GH-122416)
[3.13] gh-122311: Fix a refleak in pickle (GH-122411) (GH-122415)
pythongh-122311: Improve and unify pickle errors
pythongh-122311: Improve and unify pickle errors
gh-122311: Improve and unify pickle errors (GH-122771)
gh-139806: Mention pickle error changes in What's New in 3.14 (GH-154020
[3.15] gh-139806: Mention pickle error changes in What's New in 3.14 (G…
[3.14] gh-139806: Mention pickle error changes in What's New in 3.14 (G…