Issue 21944: Allow copying of CodecInfo objects (original) (raw)

Issue21944

Created on 2014-07-09 11:52 by lehmannro, last changed 2022-04-11 14:58 by admin.

Files
File name Uploaded Description Edit
copy_codecinfo.patch lehmannro,2014-07-09 11:52 patch to current default review
Messages (2)
msg222609 - (view) Author: Robert Lehmann (lehmannro) * Date: 2014-07-09 11:52
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.
msg236755 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2015-02-27 14:53
The change to codecs.py seems simple enough but would we usually use plain asserts in test code?
History
Date User Action Args
2022-04-11 14:58:05 admin set github: 66143
2021-11-26 22:44:37 iritkatriel set type: behavior -> enhancementversions: + Python 3.11, - Python 3.5
2019-03-15 22:41:13 BreamoreBoy set nosy: - BreamoreBoy
2015-02-27 14:53:30 BreamoreBoy set nosy: + BreamoreBoymessages: +
2014-07-09 15:57:21 berker.peksag set nosy: + lemburg, berker.peksag
2014-07-09 11:52:09 lehmannro create