Skip to content

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

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

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

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 ✅ .

1 similar comment
@miss-islington

Copy link
Copy Markdown
Contributor Author

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

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