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
Raw File
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
CODE_OF_CONDUCT.md
# Code of Conduct

Please note that all interactions on
[Python Software Foundation](https://www.python.org/psf-landing/)-supported
infrastructure is [covered](https://www.python.org/psf/records/board/minutes/2014-01-06/#management-of-the-psfs-web-properties)
by the [PSF Code of Conduct](https://www.python.org/psf/codeofconduct/),
which includes all the infrastructure used in the development of Python itself
(e.g. mailing lists, issue trackers, GitHub, etc.).

In general, this means that everyone is expected to be **open**, **considerate**, and
**respectful** of others no matter what their position is within the project.

back to top