Message291166
| Author |
serhiy.storchaka |
| Recipients |
Michael.Shields, ezio.melotti, mrabarnett, orsenthil, pitrou, serhiy.storchaka, shields, Анхбаяр.Лхагвадорж |
| Date |
2017年04月05日.08:16:24 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1491380184.35.0.649161683085.issue10076@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|