Message132802
I should have added that both 'א' and u'א' work as long as the file names in the list returned by glob() are ASCII: if u'א' is used they are simply coerced to unicode.
If there are non-ASCII file names in the glob() list, the copy fails because Python 2 tries to coerce the name to unicode decoding it implicitly with the 'ascii' codec, and that fails. |
|
Date |
User |
Action |
Args |
2011-04-02 15:10:32 | ezio.melotti | set | recipients:
+ ezio.melotti, Adam.Matan |
2011-04-02 15:10:32 | ezio.melotti | set | messageid: <1301757032.73.0.546023764437.issue11741@psf.upfronthosting.co.za> |
2011-04-02 15:10:32 | ezio.melotti | link | issue11741 messages |
2011-04-02 15:10:31 | ezio.melotti | create | |
|