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.

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.
History
Date User Action Args
2017-04-05 08:16:24serhiy.storchakasetrecipients: + serhiy.storchaka, orsenthil, pitrou, ezio.melotti, mrabarnett, shields, Michael.Shields, Анхбаяр.Лхагвадорж
2017-04-05 08:16:24serhiy.storchakasetmessageid: <1491380184.35.0.649161683085.issue10076@psf.upfronthosting.co.za>
2017-04-05 08:16:24serhiy.storchakalinkissue10076 messages
2017-04-05 08:16:24serhiy.storchakacreate