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
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
GitHub fields:
assignee = None closed_at = None created_at = <Date 2014-07-09.11:52:09.214> labels = ['type-feature', 'library', '3.11'] title = 'Allow copying of CodecInfo objects' updated_at = <Date 2021-11-26.22:44:37.352> user = 'https://bugs.python.org/lehmannro'
bugs.python.org fields:
activity = <Date 2021-11-26.22:44:37.352> actor = 'iritkatriel' assignee = 'none' closed = False closed_date = None closer = None components = ['Library (Lib)'] creation = <Date 2014-07-09.11:52:09.214> creator = 'lehmannro' dependencies = [] files = ['35912'] hgrepos = [] issue_num = 21944 keywords = ['patch'] message_count = 2.0 messages = ['222609', '236755'] nosy_count = 3.0 nosy_names = ['lemburg', 'lehmannro', 'berker.peksag'] pr_nums = [] priority = 'normal' resolution = None stage = None status = 'open' superseder = None type = 'enhancement' url = 'https://bugs.python.org/issue21944' versions = ['Python 3.11']
The text was updated successfully, but these errors were encountered:
CodecInfo objects as retrieved from codecs.lookup currently throw an exception when trying to copy or pickle them.
I have attached a patch with a fix and tests.
Sorry, something went wrong.
The change to codecs.py seems simple enough but would we usually use plain asserts in test code?
No branches or pull requests
lehmannro mannequin commentedJul 9, 2014
•
edited by bedevere-bot
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
Linked PRs
The text was updated successfully, but these errors were encountered: