Message104652
> No, you store the environment data as bytes and only
> decode in getenv() ...
Yes, this is the best solution for POSIX. We need maybe also a os.getenvb()->bytes function, maybe only on POSIX.
But I think that Windows should continue to use unicode environment variables. Should os.getenv(key, encoding=...) reencode the value on Windows? |
|
Date |
User |
Action |
Args |
2010-04-30 17:16:07 | vstinner | set | recipients:
+ vstinner, lemburg, loewis, gregory.p.smith, ezio.melotti, Arfrever |
2010-04-30 17:16:07 | vstinner | set | messageid: <1272647767.62.0.263893496115.issue8514@psf.upfronthosting.co.za> |
2010-04-30 17:16:06 | vstinner | link | issue8514 messages |
2010-04-30 17:16:06 | vstinner | create | |
|