Skip to content
Branch: 3.8
Find file History
Pull request Compare This branch is 1135 commits ahead, 1788 commits behind master.
miss-islington and ammaraskar Fix compiler warning on Windows (GH-18012)
Python-ast.h contains a macro named Yield that conflicts with the Yield macro
in Windows system headers. While Python-ast.h has an "undef Yield" directive
to prevent this, it means that Python-ast.h must be included before Windows
header files or we run into a re-declaration warning. In commit c96be81
an include for pycore_pystate.h was added which indirectly includes Windows
header files. In this commit we re-order the includes to fix this warning.
(cherry picked from commit e92d393)

Co-authored-by: Ammar Askar <ammar@ammaraskar.com>
Latest commit 9213577 Jan 15, 2020
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
clinic bpo-38237: Shorter docstring (GH-16322) (GH-16323) Sep 21, 2019
Python-ast.c bpo-38425: Fix ‘res’ may be used uninitialized warning (GH-16688) Oct 10, 2019
README Issue #18093: Factor out the programs that embed the runtime Jul 25, 2014
_warnings.c Fix typo in _warnings.warn_explicit() docstring (GH-16625) Oct 8, 2019
asdl.c replace PY_SIZE_MAX with SIZE_MAX Sep 7, 2016
ast.c bpo-39235: Fix end location for genexp in call args (GH-17925) Jan 9, 2020
ast_opt.c Fix constant folding optimization for positional only arguments (GH-1… Jan 5, 2020
ast_unparse.c bpo-37050: Remove expr_text from FormattedValue ast node, use Constan… May 27, 2019
bltinmodule.c Correct signature of __build_class__ (GH-16735) Oct 13, 2019
bootstrap_hash.c bpo-36763: Implement the PEP 587 (GH-13592) May 27, 2019
ceval.c bpo-38090: Fix reference leak in ceval.c (GH-15848) Sep 10, 2019
ceval_gil.h Revert "bpo-33608: Factor out a private, per-interpreter _Py_AddPendi… Jun 3, 2019
codecs.c bpo-35459: Use PyDict_GetItemWithError() instead of PyDict_GetItem(). ( Feb 25, 2019
compile.c Fix compiler warning on Windows (GH-18012) Jan 15, 2020
condvar.h [3.8] Typo fix: "throuhgh" should be "through". (GH-16713) Oct 11, 2019
context.c bpo-38979: fix ContextVar "__class_getitem__" method (GH-17497) Dec 8, 2019
dtoa.c bpo-36262: Fix _Py_dg_strtod() memory leak (goto undfl) (GH-12276) Mar 13, 2019
dup2.c bpo-32150: Expand tabs to spaces in C files. (#4583) Nov 28, 2017
dynamic_annotations.c bpo-32241: Add the const qualifire to declarations of umodifiable str… Dec 12, 2017
dynload_aix.c PEP 489: Multi-phase extension module initialization May 23, 2015
dynload_dl.c Issue #24268: Fix import naming when loading extension modules. Patch… May 23, 2015
dynload_hpux.c bpo-36900: Fix compilation on HP-UX (GH-13614) May 28, 2019
dynload_shlib.c bpo-36722: Debug build loads libraries built in release mode (GH-12952) Apr 25, 2019
dynload_stub.c Issue #13959: Re-implement imp.get_suffixes() in Lib/imp.py. May 4, 2012
dynload_win.c bpo-28269: Replace strcasecmp with system function _stricmp. (GH-13095) Aug 24, 2019
errors.c bpo-38920: Add audit hooks for when sys.excepthook and sys.unraisable… Nov 28, 2019
fileutils.c bpo-37549: os.dup() fails for standard streams on Windows 7 (GH-15389) Aug 23, 2019
formatter_unicode.c Fix typo in formatter_unicode (GH-16831) Oct 25, 2019
frozen.c bpo-36540: PEP 570 -- Implementation (GH-12701) Apr 29, 2019
frozenmain.c bpo-38304: PyConfig_InitPythonConfig() cannot fail anymore (GH-16509) Oct 1, 2019
future.c bpo-34683: Make SyntaxError column offsets consistently 1-indexed (gh… Sep 24, 2018
getargs.c bpo-38540: Fix possible leak in PyArg_Parse for "esGH-" and "etGH-". (G… Oct 21, 2019
getcompiler.c closes bpo-31696: don't mention GCC in sys.version when building with… Oct 6, 2017
getcopyright.c Bring Python into the next decade. (GH-17801) Jan 3, 2020
getopt.c bpo-36763: Cleanup precmdline in _PyCoreConfig_Read() (GH-13371) May 17, 2019
getplatform.c bpo-32150: Expand tabs to spaces in C files. (#4583) Nov 28, 2017
getversion.c bpo-32150: Expand tabs to spaces in C files. (#4583) Nov 28, 2017
graminit.c bpo-35814: Allow unpacking in r.h.s of annotated assignment expressio… Jun 3, 2019
hamt.c closes bpo-37446: resolve undefined behavior in Python/hamt.c (GH-17727) Dec 31, 2019
import.c [3.8] bpo-37409: fix relative import with no parent (GH-14956) (GH-15913 Sep 11, 2019
importdl.c bpo-36842: Implement PEP 578 (GH-12613) May 23, 2019
importdl.h PEP 489: Multi-phase extension module initialization May 23, 2015
importlib.h [3.8] bpo-37830: Fix compilation of break and continue in finally. (G… Aug 24, 2019
importlib_external.h [3.8] bpo-38121: Sync importlib.metadata with 0.22 backport (GH-15993) ( Sep 12, 2019
importlib_zipimport.h [3.8] bpo-39033: Fix NameError in zipimport during hash validation (G… Jan 14, 2020
initconfig.c Add PYTHONUTF8 to commandline usage. (GH-17587) Dec 14, 2019
makeopcodetargets.py makeopcodetargets.py: we need to import Lib/opcode.py Mar 26, 2016
marshal.c bpo-38823: Fix refleak in marshal init error path (GH-17260) Nov 20, 2019
modsupport.c bpo-36381: warn when no PY_SSIZE_T_CLEAN defined (GH-12473) Mar 23, 2019
mysnprintf.c Recorded merge of revisions 81032 via svnmerge from May 9, 2010
mystrtoul.c bpo-31370: Remove support for threads-less builds (#3385) Sep 7, 2017
opcode_targets.h bpo-33041: Rework compiling an "async for" loop. (#6142) Mar 23, 2018
pathconfig.c bpo-29778: Fix incorrect NULL check in _PyPathConfig_InitDLLPath() (G… Jan 6, 2020
peephole.c Fix unused variable and signed/unsigned warnings (GH-15537) (GH-15551) Aug 27, 2019
preconfig.c bpo-38304: Remove PyConfig.struct_size (GH-16500) Sep 30, 2019
pyarena.c bpo-36254: Fix invalid uses of %d in format strings in C. (GH-12264) Mar 13, 2019
pyctype.c Include files missed in r72044. Apr 27, 2009
pyfpe.c bpo-29137: Remove fpectl module (#4789) Jan 6, 2018
pyhash.c bpo-31849: Fix warning in pyhash.c (GH-6799) Jun 4, 2018
pylifecycle.c bpo-38304: PyConfig_InitPythonConfig() cannot fail anymore (GH-16509) Oct 1, 2019
pymath.c bpo-35214: Add _Py_ prefix to MEMORY_SANITIZER def. (GH-10503) Nov 13, 2018
pystate.c bpo-38304: PyConfig_InitPythonConfig() cannot fail anymore (GH-16509) Oct 1, 2019
pystrcmp.c Recorded merge of revisions 81032 via svnmerge from May 9, 2010
pystrhex.c Fix unused variable and signed/unsigned warnings (GH-15537) (GH-15551) Aug 27, 2019
pystrtod.c bpo-27268: Fix incorrect error message on float('') (GH-2745) May 17, 2019
pythonrun.c bpo-38920: Add audit hooks for when sys.excepthook and sys.unraisable… Nov 28, 2019
pytime.c bpo-34373: Fix time.mktime() on AIX (GH-12726) Apr 9, 2019
strdup.c bpo-36623: Clean parser headers and include files (GH-12253) Apr 13, 2019
structmember.c Added the const qualifier to char* variables that refer to readonly i… Nov 20, 2016
symtable.c Fix SystemError when nested function has annotation on positional-onl… Jan 5, 2020
sysmodule.c bpo-39008: Require Py_ssize_t for PySys_Audit formats rather than rai… Dec 9, 2019
thread.c bpo-38096: Clean up the "struct sequence" / "named tuple" docs (GH-15895 Sep 12, 2019
thread_nt.h bpo-36084: Add native thread ID (TID) to threading.Thread (GH-13463) May 22, 2019
thread_pthread.h bpo-18049: Define THREAD_STACK_SIZE for AIX to pass default recursion… Aug 29, 2019
traceback.c [3.8] bpo-38070: Py_FatalError() logs runtime state (GH-16258) Sep 18, 2019
wordcode_helpers.h bpo-31338 (#3374) Sep 15, 2017

README

Miscellaneous source files for the main Python shared library
You can’t perform that action at this time.