diff options
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-09-05 20:48:47 (GMT) |
---|---|---|
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-09-05 20:48:47 (GMT) |
commit | f04811140339507ff461d5a79be4d088f4f06169 (patch) | |
tree | 657a6d3b3878b33146080b34dbd4b6c482e74a20 /Misc/NEWS | |
parent | f9b99a0baa8eea460eaa8b7852f58b4cbb571fa5 (diff) | |
download | cpython-f04811140339507ff461d5a79be4d088f4f06169.zip cpython-f04811140339507ff461d5a79be4d088f4f06169.tar.gz cpython-f04811140339507ff461d5a79be4d088f4f06169.tar.bz2 |
#3660: Correct a reference leak in PyUnicode_AsEncodedString when
the encoder does not return a bytes object.
Now test_unicode passes without leaking.
Reviewer: Antoine Pitrou.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r-- | Misc/NEWS | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -12,10 +12,13 @@ What's New in Python 3.0 release candidate 1 Core and Builtins ----------------- -- Issue 3774: Added a few more checks in PyTokenizer_FindEncoding to handle +- Issue #3660: Corrected a reference leak in str.encode() when the encoder + does not return a bytes object. + +- Issue #3774: Added a few more checks in PyTokenizer_FindEncoding to handle error conditions. -- Issue 3594: Fix Parser/tokenizer.c:fp_setreadl() to open the file being +- Issue #3594: Fix Parser/tokenizer.c:fp_setreadl() to open the file being tokenized by either a file path or file pointer for the benefit of PyTokenizer_FindEncoding(). |