Staging
v0.8.1
https://github.com/python/cpython
Revision 37834136d0afe51d274bfc79d8705514cbe73727 authored by Victor Stinner on 27 October 2020, 16:12:53 UTC, committed by GitHub on 27 October 2020, 16:12:53 UTC
Use _PyLong_GetZero() and _PyLong_GetOne() in Modules/ directory.

_cursesmodule.c and zoneinfo.c are now built with
Py_BUILD_CORE_MODULE macro defined.
1 parent a6879d9
Raw File
Tip revision: 37834136d0afe51d274bfc79d8705514cbe73727 authored by Victor Stinner on 27 October 2020, 16:12:53 UTC
bpo-42161: Modules/ uses _PyLong_GetZero() and _PyLong_GetOne() (GH-22998)
Tip revision: 3783413
decimal.py

try:
    from _decimal import *
    from _decimal import __doc__
    from _decimal import __version__
    from _decimal import __libmpdec_version__
except ImportError:
    from _pydecimal import *
    from _pydecimal import __doc__
    from _pydecimal import __version__
    from _pydecimal import __libmpdec_version__
back to top