Message221212
| Author |
rhettinger |
| Recipients |
Claudiu.Popa, r.david.murray, rhettinger, serhiy.storchaka |
| Date |
2014年06月22日.01:35:28 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1403400929.26.0.832337848324.issue21708@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The core idea is reasonable.
The patch overreaches by adding readonly warnings to __setitem__ and __delitem__ which will spew-out on every call (these could be ignored or set to warn once by the user but that is PITA).
Minor nit. We have a little PEP-8 overkill on the string splits:
+ with self.assertWarnsRegex(DeprecationWarning,
+ "The database file is missing, the "
+ "semantics of the 'c' flag will "
+ "be used."): |
|