Message291166
Since the pattern and the match objects can be considered as immutable, it is worth to implement __copy__ and __deepcopy__ returning the object itself. Proposed PR does this. It also fixes signatures of __deepcopy__ methods.
Since copying didn't work in all maintained version for long time, this is rather a new feature than a bug fix. |
|
Date |
User |
Action |
Args |
2017-04-05 08:16:24 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, orsenthil, pitrou, ezio.melotti, mrabarnett, shields, Michael.Shields, Анхбаяр.Лхагвадорж |
2017-04-05 08:16:24 | serhiy.storchaka | set | messageid: <1491380184.35.0.649161683085.issue10076@psf.upfronthosting.co.za> |
2017-04-05 08:16:24 | serhiy.storchaka | link | issue10076 messages |
2017-04-05 08:16:24 | serhiy.storchaka | create | |
|