Message111880
| Author |
ezio.melotti |
| Recipients |
Arfrever, ezio.melotti, gregory.p.smith, lemburg, loewis, pitrou, vstinner |
| Date |
2010年07月29日.01:08:25 |
| SpamBayes Score |
0.023783904 |
| Marked as misclassified |
No |
| Message-id |
<1280365707.71.0.0176269867884.issue8603@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
A quick search[0] also shows that environ.data is used by several projects. Changing it from str to bytes will most likely break these programs, so I'm not sure it's a good idea.
Also, if I understand correctly, on Windows os.environ.data still contains str, so it's inconsistent with other systems.
IMHO os.environ.data should contain str, whereas os.environb.data bytes. If they must share the same data I would prefer them to be both str.
[0]: http://www.google.com/codesearch?q=lang%3Apython+environ.data&hl=en |
|