Issue 1406: Use widechar api for os.environ (original) (raw)
Issue1406
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.
This issue has been migrated to GitHub: https://github.com/python/cpython/issues/45747
classification
Title: | Use widechar api for os.environ | ||
---|---|---|---|
Type: | behavior | Stage: | |
Components: | Interpreter Core, Windows | Versions: | Python 3.0 |
process
Status: | closed | Resolution: | fixed |
---|---|---|---|
Dependencies: | Superseder: | ||
Assigned To: | theller | Nosy List: | christian.heimes, theller |
Priority: | high | Keywords: | patch |
Created on 2007-11-08 17:38 by theller, last changed 2022-04-11 14:56 by admin. This issue is now closed.
Files | |||
---|---|---|---|
File name | Uploaded | Description | Edit |
posixmodule.c.diff | theller,2007-11-08 17:38 |
Messages (3) | ||
---|---|---|
msg57265 - (view) | Author: Thomas Heller (theller) * ![]() |
Date: 2007-11-08 17:38 |
This patch uses the windows widechar apis for os.environ. In this way, environment variables that use umlauts can be accessed. | ||
msg57271 - (view) | Author: Christian Heimes (christian.heimes) * ![]() |
Date: 2007-11-08 18:10 |
Great work! :) I've been waiting for a fix. Do you have time to rework PC/getpathp.c and other code related to sys.path? It's still using the ASCII api which causes bugs like http://bugs.python.org/issue1342 | ||
msg57274 - (view) | Author: Thomas Heller (theller) * ![]() |
Date: 2007-11-08 19:36 |
Committed as rev 58916. The getpath.c, sys.path, and sys.argv issues is much more difficult to fix IMO. If you write a testcase for THIS issue (os.environ), I'll start thinking on them. No promises, though. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:56:28 | admin | set | github: 45747 |
2008-01-06 22:29:45 | admin | set | keywords: - py3kversions: Python 3.0 |
2007-11-08 19:36:42 | theller | set | status: open -> closedassignee: thellermessages: + resolution: accepted -> fixed |
2007-11-08 18:10:57 | christian.heimes | set | priority: highresolution: acceptedmessages: + nosy: + christian.heimes |
2007-11-08 17:38:31 | theller | create |