Revision 0d12672b30b8c6c992bef7564581117ae83e11ad authored by Paul Ganssle on 13 November 2018, 08:02:25 UTC, committed by Victor Stinner on 13 November 2018, 08:02:25 UTC
Datetime macros like PyDate_Check() have two implementations, one using the C API capsule and one using direct access to the datetime type symbols defined in _datetimemodule.c. Since the direct access versions of the macros are only used in _datetimemodule.c, they have been moved out of "datetime.h" and into _datetimemodule.c. The _PY_DATETIME_IMPL macro is currently necessary in order to avoid both duplicate definitions of these macros in _datetimemodule.c and unnecessary declarations of C API capsule-related macros and varibles in datetime.h. Co-Authored-By: Victor Stinner <vstinner@redhat.com>
1 parent 3015fb8
File | Mode | Size |
---|---|---|
c-api | ||
data | ||
distributing | ||
distutils | ||
extending | ||
faq | ||
howto | ||
includes | ||
install | ||
installing | ||
library | ||
reference | ||
tools | ||
tutorial | ||
using | ||
whatsnew | ||
Makefile | -rw-r--r-- | 7.4 KB |
README.rst | -rw-r--r-- | 4.3 KB |
about.rst | -rw-r--r-- | 1.5 KB |
bugs.rst | -rw-r--r-- | 4.2 KB |
conf.py | -rw-r--r-- | 6.5 KB |
contents.rst | -rw-r--r-- | 538 bytes |
copyright.rst | -rw-r--r-- | 451 bytes |
glossary.rst | -rw-r--r-- | 51.4 KB |
license.rst | -rw-r--r-- | 43.4 KB |
make.bat | -rw-r--r-- | 5.2 KB |
Computing file changes ...