Message97152
| Author |
gregory.p.smith |
| Recipients |
ebfe, gregory.p.smith, hagen, kmtracey, lemburg, pitrou, rpetrov, vstinner |
| Date |
2010年01月02日.22:38:52 |
| SpamBayes Score |
0.0005738858 |
| Marked as misclassified |
No |
| Message-id |
<1262471934.81.0.102422134164.issue3745@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
In order to get a -3 PyErr_WarnPy3k warning for unicode being passed to hashlib objects (a nice idea) I suggest creating an additonal 's*' like thing ('s3' perhaps?) in Python/getargs.c for that purpose rather than modifying all of the hashlib modules to accept an O, type check it and warn, and then re-parse it as a s* (that'd be a lot of tedious code duplication). |
|