diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-05-06 22:05:07 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-05-06 22:05:07 (GMT) |
commit | 84ae1180063a6f9fc39c22a5977b49aaac8c3b3c (patch) | |
tree | 188bac431d36a612b99a98fc263a0baa96ce67c2 /Misc/NEWS | |
parent | d930b63583a8dc1ece9407652636209a3d396149 (diff) | |
download | cpython-84ae1180063a6f9fc39c22a5977b49aaac8c3b3c.zip cpython-84ae1180063a6f9fc39c22a5977b49aaac8c3b3c.tar.gz cpython-84ae1180063a6f9fc39c22a5977b49aaac8c3b3c.tar.bz2 |
Issue #8603: Create a bytes version of os.environ for Unix
Create os.environb mapping and os.getenvb() function, os.unsetenv() encodes str
argument to the file system encoding with the surrogateescape error handler
(instead of utf8/strict) and accepts bytes, and posix.environ keys and values
are bytes.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r-- | Misc/NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -348,6 +348,12 @@ C-API Library ------- +- Issue #8603: Create a bytes version of os.environ for Unix: create + os.environb mapping and os.getenvb() function, os.unsetenv() encodes str + argument to the file system encoding with the surrogateescape error handler + (instead of utf8/strict) and accepts bytes, and posix.environ keys and values + are bytes. + - Issue #8573: asyncore _strerror() function might throw ValueError. - Issue #8483: asyncore.dispatcher's __getattr__ method produced confusing |