Skip to content

bpo-35444: Unify and optimize the helper for getting a builtin object.#11047

Merged
serhiy-storchaka merged 1 commit into
python:masterfrom
serhiy-storchaka:_PyEval_GetBuiltinId
Dec 11, 2018
Merged

bpo-35444: Unify and optimize the helper for getting a builtin object.#11047
serhiy-storchaka merged 1 commit into
python:masterfrom
serhiy-storchaka:_PyEval_GetBuiltinId

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Dec 9, 2018

Copy link
Copy Markdown
Member

This speeds up pickling of some iterators.

This fixes also error handling in pickling methods when fail to
look up builtin "getattr".

https://bugs.python.org/issue35444

This speeds up pickling of some iterators.

This fixes also error handling in pickling methods when fail to
look up builtin "getattr".
@serhiy-storchaka serhiy-storchaka added the type-bug An unexpected behavior, bug, or error label Dec 9, 2018
@serhiy-storchaka serhiy-storchaka merged commit bb86bf4 into python:master Dec 11, 2018
@serhiy-storchaka serhiy-storchaka deleted the _PyEval_GetBuiltinId branch December 11, 2018 06:28
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request Dec 11, 2018
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 11, 2018
…pythonGH-11047) (pythonGH-11107)

(cherry picked from commit bb86bf4)
(cherry picked from commit 3cae16d)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
serhiy-storchaka added a commit that referenced this pull request Dec 11, 2018
…GH-11047) (GH-11107) (GH-11108)

(cherry picked from commit bb86bf4)
(cherry picked from commit 3cae16d)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
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