Browse Source
bpo-35444: Unify and optimize the helper for getting a builtin object. (GH-11047)
bpo-35444: Unify and optimize the helper for getting a builtin object. (GH-11047)
This speeds up pickling of some iterators. This fixes also error handling in pickling methods when fail to look up builtin "getattr".pull/11111/head
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
21 changed files with 68 additions and 72 deletions
-
4Include/ceval.h
-
3Include/cpython/object.h
-
2Misc/NEWS.d/next/Core and Builtins/2018-12-09-13-09-39.bpo-35444.9kYn4V.rst
-
8Modules/_pickle.c
-
3Modules/arraymodule.c
-
3Modules/itertoolsmodule.c
-
5Objects/bytearrayobject.c
-
5Objects/bytesobject.c
-
7Objects/classobject.c
-
17Objects/descrobject.c
-
3Objects/dictobject.c
-
10Objects/iterobject.c
-
8Objects/listobject.c
-
7Objects/methodobject.c
-
17Objects/object.c
-
3Objects/odictobject.c
-
8Objects/rangeobject.c
-
3Objects/setobject.c
-
5Objects/tupleobject.c
-
5Objects/unicodeobject.c
-
14Python/ceval.c
@ -0,0 +1,2 @@ |
|||
Fixed error handling in pickling methods when fail to look up builtin |
|||
"getattr". Sped up pickling iterators. |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue