Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-66143: Allow copying of CodecInfo object #109235

Merged
merged 24 commits into from
Sep 29, 2023

Conversation

furkanonder
Copy link
Contributor

@furkanonder furkanonder commented Sep 10, 2023

@furkanonder furkanonder added the stdlib Python modules in the Lib dir label Sep 10, 2023
Lib/test/test_codecs.py Outdated Show resolved Hide resolved
Lib/test/test_codecs.py Show resolved Hide resolved
Lib/test/test_codecs.py Outdated Show resolved Hide resolved
Lib/test/test_codecs.py Show resolved Hide resolved
@furkanonder furkanonder added the 3.13 bugs and security fixes label Sep 11, 2023
@vstinner
Copy link
Member

CodecInfo objects as retrieved from codecs.lookup currently throw an exception when trying to copy or pickle them.

How is it an issue? What is the use case?

@serhiy-storchaka serhiy-storchaka merged commit 3439cb0 into python:main Sep 29, 2023
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
@furkanonder furkanonder removed the 3.13 bugs and security fixes label Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants