https://github.com/python/cpython
Revision 08ba7eb89d5353af31ef9e66a5337abea1b676ef authored by Miss Islington (bot) on 14 October 2018, 21:32:03 UTC, committed by GitHub on 14 October 2018, 21:32:03 UTC

bytes and bytearray constructors converted unexpected exceptions
(e.g. MemoryError and KeyboardInterrupt) to TypeError.
(cherry picked from commit e890421e334ccf0c000c6b29c4a521d86cd12f47)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
1 parent 7c1c42b
History
Tip revision: 08ba7eb89d5353af31ef9e66a5337abea1b676ef authored by Miss Islington (bot) on 14 October 2018, 21:32:03 UTC
bpo-34974: Do not replace unexpected errors in bytes() and bytearray(). (GH-9852)
Tip revision: 08ba7eb
File Mode Size
.azure-pipelines
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
.bzrignore -rw-r--r-- 582 bytes
.gitattributes -rw-r--r-- 1.6 KB
.gitignore -rw-r--r-- 1.4 KB
.hgignore -rw-r--r-- 1.3 KB
.travis.yml -rw-r--r-- 5.2 KB
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 59.9 KB
README.rst -rw-r--r-- 9.8 KB
aclocal.m4 -rw-r--r-- 10.7 KB
config.guess -rwxr-xr-x 43.2 KB
config.sub -rwxr-xr-x 35.7 KB
configure -rwxr-xr-x 480.1 KB
configure.ac -rw-r--r-- 160.6 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 41.1 KB
setup.py -rw-r--r-- 102.1 KB

README.rst

back to top