Message155459
| Author |
mrabarnett |
| Recipients |
ezio.melotti, mrabarnett, py.user |
| Date |
2012年03月12日.18:16:40 |
| SpamBayes Score |
0.0010063663 |
| 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:41 | mrabarnett | set | recipients:
+ mrabarnett, ezio.melotti, py.user |
| 2012年03月12日 18:16:41 | mrabarnett | set | messageid: <1331576201.34.0.969317081394.issue14260@psf.upfronthosting.co.za> |
| 2012年03月12日 18:16:40 | mrabarnett | link | issue14260 messages |
| 2012年03月12日 18:16:40 | mrabarnett | create |
|