Staging
v0.8.1
https://github.com/python/cpython
Revision 0430dfac629b4eb0e899a09b899a494aa92145f6 authored by Victor Stinner on 24 June 2020, 13:21:54 UTC, committed by GitHub on 24 June 2020, 13:21:54 UTC
Py_InitializeFromConfig() now always creates the empty tuple
singleton as soon as possible.

Optimize PyTuple_New(0): it no longer has to check if the empty tuple
was created or not, it is always creatd.

* Add tuple_create_empty_tuple_singleton() function.
* Add tuple_get_empty() function.
* Remove state parameter of tuple_alloc().
1 parent 80526f6
History
Tip revision: 0430dfac629b4eb0e899a09b899a494aa92145f6 authored by Victor Stinner on 24 June 2020, 13:21:54 UTC
bpo-40521: Always create the empty tuple singleton (GH-21116)
Tip revision: 0430dfa
File Mode Size
ax_c_float_words_bigendian.m4 -rw-r--r-- 3.1 KB
ax_check_openssl.m4 -rw-r--r-- 4.1 KB

back to top