Issue #7065: Fix a crash in bytes.maketrans and bytearray.maketrans when · python/cpython@403ce78 · GitHub
Skip to content

Commit 403ce78

Browse files
committed
Issue #7065: Fix a crash in bytes.maketrans and bytearray.maketrans when
using byte values greater than 127. Patch by egreen.
1 parent 919765a commit 403ce78

3 files changed

Lines changed: 11 additions & 10 deletions

File tree

Lib/test/test_bytes.py

Lines changed: 6 additions & 8 deletions

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ What's New in Python 3.2 Alpha 1?
1212
Core and Builtins
1313
-----------------
1414

15+
- Issue #7065: Fix a crash in bytes.maketrans and bytearray.maketrans when
16+
using byte values greater than 127. Patch by egreen.
17+
1518
- Issue #1571184: The Unicode database contains properties for more characters.
1619
The tables for code points representing numeric values, white spaces or line
1720
breaks are now generated from the official Unicode Character Database files,

Objects/bytes_methods.c

Lines changed: 2 additions & 2 deletions

0 commit comments

Comments
 (0)