Message124518
| Author |
loewis |
| Recipients |
connexion2000, loewis |
| Date |
2010年12月22日.20:07:48 |
| SpamBayes Score |
0.013120336 |
| Marked as misclassified |
No |
| Message-id |
<1293048470.22.0.0487104378431.issue10757@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
This is not a bug. Your code that produces "very nasty filename" is the right one - the file name is actually the one you asked for. The second code is also behaving correctly: filename already *is* a bytestring, calling .encode for it is meaningless. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年12月22日 20:07:50 | loewis | set | recipients:
+ loewis, connexion2000 |
| 2010年12月22日 20:07:50 | loewis | set | messageid: <1293048470.22.0.0487104378431.issue10757@psf.upfronthosting.co.za> |
| 2010年12月22日 20:07:48 | loewis | link | issue10757 messages |
| 2010年12月22日 20:07:48 | loewis | create |
|