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.
Created on 2012年09月27日 00:18 by rbcollins, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Messages (4) | |||
|---|---|---|---|
| msg171364 - (view) | Author: Robert Collins (rbcollins) * (Python committer) | Date: 2012年09月27日 00:18 | |
In 2.6 deepcopy(ConfigParser) worked, in 2.7 it doesn't due to the _optcre variable which is a compiled regex pattern. |
|||
| msg172111 - (view) | Author: Andrew Svetlov (asvetlov) * (Python committer) | Date: 2012年10月05日 18:54 | |
ConfigParser is not intended to be deep copy-able, at least documentation says nothing about it. |
|||
| msg283772 - (view) | Author: Łukasz Langa (lukasz.langa) * (Python committer) | Date: 2016年12月21日 18:33 | |
Solved in 3.2+ by making it compatible with the Mapping protocol. So while you can't do deepcopy(), you can `parser2.read_dict(parser1)`. |
|||
| msg367377 - (view) | Author: Zachary Ware (zach.ware) * (Python committer) | Date: 2020年04月27日 03:56 | |
With 2.7 now EOL, I'm closing the issue. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:36 | admin | set | github: 60262 |
| 2020年04月27日 03:56:37 | zach.ware | set | status: open -> closed nosy: + zach.ware messages: + msg367377 resolution: fixed -> out of date stage: resolved |
| 2016年12月21日 18:33:47 | lukasz.langa | set | resolution: fixed dependencies: - Regex objects became uncopyable in 2.5 messages: + msg283772 |
| 2016年12月13日 20:52:23 | serhiy.storchaka | set | dependencies: + Regex objects became uncopyable in 2.5 |
| 2016年12月13日 20:11:37 | Winterflower | set | nosy:
+ Winterflower |
| 2012年10月05日 18:54:47 | asvetlov | set | nosy:
+ asvetlov, lukasz.langa messages: + msg172111 |
| 2012年09月27日 00:18:52 | rbcollins | create | |