Message79423
| Author |
ebfe |
| Recipients |
ebfe, gladed, vstinner |
| Date |
2009年01月08日.16:41:00 |
| SpamBayes Score |
0.017767373 |
| Marked as misclassified |
No |
| Message-id |
<1231432862.04.0.642888391885.issue4871@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
This is basically the same problem as with other bytes-orientated modules.
The choice is either to reject unicode and force the caller to use
.encode() on all his strings (so 'password' is an instance of bytes and
'ch' an instance of int). I'd prefer that.
Or to check if 'password' is a unicode-object and encode to default
within zipfile. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2009年01月08日 16:41:02 | ebfe | set | recipients:
+ ebfe, vstinner, gladed |
| 2009年01月08日 16:41:02 | ebfe | set | messageid: <1231432862.04.0.642888391885.issue4871@psf.upfronthosting.co.za> |
| 2009年01月08日 16:41:01 | ebfe | link | issue4871 messages |
| 2009年01月08日 16:41:00 | ebfe | create |
|