diff options
author | Eli Bendersky <eliben@gmail.com> | 2011-07-29 04:05:08 (GMT) |
---|---|---|
committer | Eli Bendersky <eliben@gmail.com> | 2011-07-29 04:05:08 (GMT) |
commit | 906b88fb2a52725e78deeb8076a52671107e2af1 (patch) | |
tree | b3a9397d8e65a13d275731f7447088389c0a3526 /Misc | |
parent | 66d2be898611f32e3840025055f2cd9b92b9f19c (diff) | |
download | cpython-906b88fb2a52725e78deeb8076a52671107e2af1.zip cpython-906b88fb2a52725e78deeb8076a52671107e2af1.tar.gz cpython-906b88fb2a52725e78deeb8076a52671107e2af1.tar.bz2 |
Issue #12380: PyArg_ParseTuple now accepts a bytearray for the 'c' format.
As a side effect, this now allows the rjust, ljust and center methods of
bytes and bytearray to accept a bytearray argument.
Patch by Petri Lehtinen
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -238,6 +238,9 @@ Core and Builtins - Issue #11386: bytearray.pop() now throws IndexError when the bytearray is empty, instead of OverflowError. +- Issue #12380: The rjust, ljust and center methods of bytes and bytearray + now accept a bytearray argument. + Library ------- @@ -1282,6 +1285,8 @@ C-API - Issue #12173: The first argument of PyImport_ImportModuleLevel is now `const char *` instead of `char *`. +- Issue #12380: PyArg_ParseTuple now accepts a bytearray for the 'c' format. + Documentation ------------- @@ -6680,4 +6685,4 @@ Docs ---- -**(For information about older versions, consult the HISTORY file.)**
\ No newline at end of file +**(For information about older versions, consult the HISTORY file.)** |