Skip to content

[3.6] bpo-34974: Do not replace unexpected errors in bytes() and bytearray(). (GH-9852)#9879

Merged
miss-islington merged 1 commit into
python:3.6from
miss-islington:backport-e890421-3.6
Oct 14, 2018
Merged

[3.6] bpo-34974: Do not replace unexpected errors in bytes() and bytearray(). (GH-9852)#9879
miss-islington merged 1 commit into
python:3.6from
miss-islington:backport-e890421-3.6

Conversation

@miss-islington

@miss-islington miss-islington commented Oct 14, 2018

Copy link
Copy Markdown
Contributor

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

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

https://bugs.python.org/issue34974

…). (pythonGH-9852)

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

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@miss-islington

Copy link
Copy Markdown
Contributor Author

@serhiy-storchaka: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit 08ba7eb into python:3.6 Oct 14, 2018
@miss-islington miss-islington deleted the backport-e890421-3.6 branch October 14, 2018 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants