[proxy] web.archive.org← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light

bpo-38858: Small integer per interpreter by vstinner · Pull Request #17315 · python/cpython

vstinner

The Wayback Machine - https://web.archive.org/web/20191229020259/https://github.com/python/cpython/pull/17315

Join GitHub today

GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.

Sign up

Conversation

Each Python subinterpreter now has its own "small integer
singletons": numbers in [-5; 257] range.

It is no longer possible to change the number of small integers at
build time by overriding NSMALLNEGINTS and NSMALLPOSINTS macros:
macros should now be modified manually in pycore_pystate.h header
file.

For now, continue to share _PyLong_Zero and _PyLong_One singletons
between all subinterpreters.

vstinner merged commit 630c8df into python:master

Dec 17, 2019

9 checks passed

Azure Pipelines PR #20191217.12 succeeded

Details

bedevere/issue-number Issue number 38858 found

Details

bedevere/news News entry found in Misc/NEWS.d

continuous-integration/travis-ci/pr The Travis CI build passed

Details

vstinner deleted the vstinner:small_ints2 branch

Dec 17, 2019

sthagen added a commit to sthagen/cpython that referenced this pull request

Dec 17, 2019