mirror of
https://github.com/python/cpython.git
synced 2025-09-21 16:10:33 +00:00
remove some PyBytes_* aliases that are not in 3.x
This commit is contained in:
parent
062a7c3675
commit
5781f32b4f
2 changed files with 2 additions and 6 deletions
|
@ -23,11 +23,5 @@
|
||||||
#define _PyBytes_FormatLong _PyString_FormatLong
|
#define _PyBytes_FormatLong _PyString_FormatLong
|
||||||
#define PyBytes_DecodeEscape PyString_DecodeEscape
|
#define PyBytes_DecodeEscape PyString_DecodeEscape
|
||||||
#define _PyBytes_Join _PyString_Join
|
#define _PyBytes_Join _PyString_Join
|
||||||
#define PyBytes_Decode PyString_Decode
|
|
||||||
#define PyBytes_Encode PyString_Encode
|
|
||||||
#define PyBytes_AsEncodedObject PyString_AsEncodedObject
|
|
||||||
#define PyBytes_AsEncodedString PyString_AsEncodedString
|
|
||||||
#define PyBytes_AsDecodedObject PyString_AsDecodedObject
|
|
||||||
#define PyBytes_AsDecodedString PyString_AsDecodedString
|
|
||||||
#define PyBytes_AsStringAndSize PyString_AsStringAndSize
|
#define PyBytes_AsStringAndSize PyString_AsStringAndSize
|
||||||
#define _PyBytes_InsertThousandsGrouping _PyString_InsertThousandsGrouping
|
#define _PyBytes_InsertThousandsGrouping _PyString_InsertThousandsGrouping
|
||||||
|
|
|
@ -506,6 +506,8 @@ Build
|
||||||
C-API
|
C-API
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
- Some PyBytes_* aliases have been removed because they don't exist in 3.x.
|
||||||
|
|
||||||
- Issue #5175: PyLong_AsUnsignedLongLong now raises OverflowError
|
- Issue #5175: PyLong_AsUnsignedLongLong now raises OverflowError
|
||||||
for negative arguments. Previously, it raised TypeError.
|
for negative arguments. Previously, it raised TypeError.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue