This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2016年09月17日 14:43 by eryksun, last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| issue_28188_01.patch | eryksun, 2016年09月17日 14:45 | review | ||
| Messages (4) | |||
|---|---|---|---|
| msg276797 - (view) | Author: Eryk Sun (eryksun) * (Python triager) | Date: 2016年09月17日 14:43 | |
This suggestion may be controversial: os.putenv should decode bytes arguments as UTF-8, the new Windows filesystem encoding. Moreover, os.environb should also be implemented. This would be consistent with bytes support in os.spawnve and os.execve. The controversial aspect, I think, is that this doesn't allow using arbitrary encodings for environment-variable names and values. The statement in the docs that os.environb allows one "to use a different encoding" than the filesystem encoding would have to be modified with a caveat that on wide-character platforms, such as Windows, using the filesystem encoding is mandatory. |
|||
| msg354498 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2019年10月11日 21:22 | |
In the meanwhile, the PEP 540 "UTF-8 Mode" has been implemented. |
|||
| msg354499 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2019年10月11日 21:22 | |
This issue was referenced from https://bugs.python.org/issue29240#msg285482 |
|||
| msg389138 - (view) | Author: Eryk Sun (eryksun) * (Python triager) | Date: 2021年03月20日 02:17 | |
I thought this was a good idea at the time, but a core dev never took up the mantle in over 4 years, and no one else showed interest. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:37 | admin | set | github: 72375 |
| 2021年03月20日 14:32:18 | vstinner | set | nosy:
- vstinner |
| 2021年03月20日 02:17:03 | eryksun | set | status: open -> closed resolution: rejected messages: + msg389138 stage: patch review -> resolved |
| 2019年10月11日 21:22:50 | vstinner | set | messages: + msg354499 |
| 2019年10月11日 21:22:31 | vstinner | set | nosy:
+ vstinner messages: + msg354498 |
| 2016年09月24日 02:40:18 | steve.dower | set | nosy:
+ paul.moore, tim.golden, zach.ware, steve.dower components: + Windows |
| 2016年09月17日 14:45:14 | eryksun | set | files:
+ issue_28188_01.patch keywords: + patch stage: needs patch -> patch review |
| 2016年09月17日 14:43:07 | eryksun | create | |