Author mrabarnett
Recipients ezio.melotti, mrabarnett, py.user
Date 2012-03-12.18:16:40
SpamBayes Score 0.00100637
Marked as misclassified No
Message-id <1331576201.34.0.969317081394.issue14260@psf.upfronthosting.co.za>
In-reply-to
Content
The re module creates the dict purely for the benefit of the user, and as it's a normal dict, it's mutable.

An alternative would to use an immutable dict or dict-like object, but Python doesn't have such a class, and it's probably not worth writing one just for this use-case.
History
Date User Action Args
2012-03-12 18:16:41mrabarnettsetrecipients: + mrabarnett, ezio.melotti, py.user
2012-03-12 18:16:41mrabarnettsetmessageid: <1331576201.34.0.969317081394.issue14260@psf.upfronthosting.co.za>
2012-03-12 18:16:40mrabarnettlinkissue14260 messages
2012-03-12 18:16:40mrabarnettcreate