diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2014-12-02 07:24:06 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2014-12-02 07:24:06 (GMT) |
commit | 83cf99d733acb49c70dd9548eeccfc724e707531 (patch) | |
tree | 2b0f3a1cf6d3fc28556ad920f10879d6bb69f5d9 /Misc | |
parent | 9d98c9bf42412e05b5352329c6f141df49dd8df7 (diff) | |
download | cpython-83cf99d733acb49c70dd9548eeccfc724e707531.zip cpython-83cf99d733acb49c70dd9548eeccfc724e707531.tar.gz cpython-83cf99d733acb49c70dd9548eeccfc724e707531.tar.bz2 |
Issue #20335: bytes constructor now raises TypeError when encoding or errors
is specified with non-string argument. Based on patch by Renaud Blanch.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -11,6 +11,9 @@ Release date: TBA Core and Builtins ----------------- +- Issue #20335: bytes constructor now raises TypeError when encoding or errors + is specified with non-string argument. Based on patch by Renaud Blanch. + - Issue #22335: Fix crash when trying to enlarge a bytearray to 0x7fffffff bytes on a 32-bit platform. |