diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2017-05-04 01:15:52 +0200 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2017-05-04 01:15:52 +0200 |
commit | de2b223686d5f8b8fd8cf28a4eef4c91468bf9c2 (patch) | |
tree | 45a41d7c2e1b1bb08e78a20b149bd6fc39bfe620 | |
parent | 9ea0636f8c50f532661a9a894bd4f10b4c6d7c43 (diff) | |
download | psutil-de2b223686d5f8b8fd8cf28a4eef4c91468bf9c2.tar.gz |
#1040 update doc/notes
-rw-r--r-- | HISTORY.rst | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/HISTORY.rst b/HISTORY.rst index 30bdecc3..c25491fb 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -15,6 +15,7 @@ Process.as_dict(): "attrs" and "ad_value". With this you can iterate over all processes in one shot without needing to catch NoSuchProcess and do list/dict comprehensions. +- 1040_: implemented full unicode support. **Bug fixes** @@ -29,15 +30,27 @@ properly handle unicode paths and may raise UnicodeDecodeError. - 1033_: [OSX, FreeBSD] memory leak for net_connections() and Process.connections() when retrieving UNIX sockets (kind='unix'). +- 1040_: fixed many unicode related issues such as UnicodeDecodeError on + Python 3 + UNIX and invalid encoded data on Windows. +- 1046_: [Windows] disk_partitions() on Windows overrides user's SetErrorMode. +- 1047_: [Windows] Process username(): memory leak in case exception is thrown. +- 1048_: [Windows] users()'s host field report an invalid IP address. + +**Porting notes** + - 1039_: returned types consolidation: - Windows / Process.cpu_times(): fields #3 and #4 were int instead of float - Linux / FreeBSD: connections('unix'): raddr is now set to "" instead of None - OpenBSD: connections('unix'): laddr and raddr are now set to "" instead of None -- 1046_: [Windows] disk_partitions() on Windows overrides user's SetErrorMode. -- 1047_: [Windows] Process username(): memory leak in case exception is thrown. -- 1048_: [Windows] users()'s host field report an invalid IP address. +- 1040_: the following Windows APIs returned unicode and now they return str: + - Process.memory_maps().path + - WindosService.bin_path() + - WindosService.description() + - WindosService.display_name() + - WindosService.username() +- 1040_: all strings are encoded by using OS fs encoding. *2017-04-10* |