Staging
v0.8.1
v0.8.1
https://github.com/python/cpython
Revision e92d39303feb1d3b4194c6a8275b1fc63b2153b2 authored by Ammar Askar on 15 January 2020, 16:48:40 UTC, committed by Zachary Ware on 15 January 2020, 16:48:40 UTC
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 c96be811fa7d 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.
1 parent e85a305
Tip revision: e92d39303feb1d3b4194c6a8275b1fc63b2153b2 authored by Ammar Askar on 15 January 2020, 16:48:40 UTC
Fix compiler warning on Windows (GH-18012)
Fix compiler warning on Windows (GH-18012)
Tip revision: e92d393
File | Mode | Size |
---|---|---|
2to3 | -rwxr-xr-x | 96 bytes |
README | -rw-r--r-- | 4.5 KB |
abitype.py | -rwxr-xr-x | 5.4 KB |
analyze_dxp.py | -rw-r--r-- | 4.1 KB |
byext.py | -rwxr-xr-x | 3.8 KB |
byteyears.py | -rwxr-xr-x | 1.6 KB |
checkpip.py | -rwxr-xr-x | 793 bytes |
checkpyc.py | -rwxr-xr-x | 2.2 KB |
cleanfuture.py | -rwxr-xr-x | 8.4 KB |
combinerefs.py | -rwxr-xr-x | 4.3 KB |
copytime.py | -rwxr-xr-x | 663 bytes |
crlf.py | -rwxr-xr-x | 632 bytes |
db2pickle.py | -rwxr-xr-x | 3.5 KB |
diff.py | -rwxr-xr-x | 2.2 KB |
dutree.doc | -rw-r--r-- | 2.2 KB |
dutree.py | -rwxr-xr-x | 1.6 KB |
eptags.py | -rwxr-xr-x | 1.5 KB |
find-uname.py | -rwxr-xr-x | 1.2 KB |
find_recursionlimit.py | -rwxr-xr-x | 3.9 KB |
finddiv.py | -rwxr-xr-x | 2.5 KB |
findlinksto.py | -rwxr-xr-x | 1.0 KB |
findnocoding.py | -rwxr-xr-x | 2.9 KB |
fixcid.py | -rwxr-xr-x | 9.9 KB |
fixdiv.py | -rwxr-xr-x | 13.9 KB |
fixheader.py | -rwxr-xr-x | 1.3 KB |
fixnotice.py | -rwxr-xr-x | 3.0 KB |
fixps.py | -rwxr-xr-x | 892 bytes |
generate_opcode_h.py | -rw-r--r-- | 1.5 KB |
generate_symbol_py.py | -rwxr-xr-x | 1.5 KB |
generate_token.py | -rwxr-xr-x | 6.6 KB |
get-remote-certificate.py | -rwxr-xr-x | 2.6 KB |
google.py | -rwxr-xr-x | 501 bytes |
gprof2html.py | -rwxr-xr-x | 2.2 KB |
highlight.py | -rwxr-xr-x | 8.9 KB |
idle3 | -rwxr-xr-x | 96 bytes |
ifdef.py | -rwxr-xr-x | 3.6 KB |
import_diagnostics.py | -rwxr-xr-x | 999 bytes |
lfcr.py | -rwxr-xr-x | 640 bytes |
linktree.py | -rwxr-xr-x | 2.4 KB |
lll.py | -rwxr-xr-x | 748 bytes |
mailerdaemon.py | -rwxr-xr-x | 7.9 KB |
make_ctype.py | -rwxr-xr-x | 2.2 KB |
md5sum.py | -rwxr-xr-x | 2.5 KB |
mkreal.py | -rwxr-xr-x | 1.6 KB |
ndiff.py | -rwxr-xr-x | 3.7 KB |
nm2def.py | -rwxr-xr-x | 2.4 KB |
objgraph.py | -rwxr-xr-x | 5.8 KB |
parse_html5_entities.py | -rwxr-xr-x | 3.9 KB |
parseentities.py | -rwxr-xr-x | 1.7 KB |
patchcheck.py | -rwxr-xr-x | 9.6 KB |
pathfix.py | -rwxr-xr-x | 6.6 KB |
pdeps.py | -rwxr-xr-x | 3.9 KB |
pep384_macrocheck.py | -rw-r--r-- | 4.6 KB |
pickle2db.py | -rwxr-xr-x | 3.9 KB |
pindent.py | -rwxr-xr-x | 16.7 KB |
ptags.py | -rwxr-xr-x | 1.3 KB |
pydoc3 | -rwxr-xr-x | 80 bytes |
pysource.py | -rwxr-xr-x | 3.8 KB |
reindent-rst.py | -rwxr-xr-x | 279 bytes |
reindent.py | -rwxr-xr-x | 11.4 KB |
rgrep.py | -rwxr-xr-x | 1.5 KB |
run_tests.py | -rw-r--r-- | 1.8 KB |
serve.py | -rwxr-xr-x | 1.2 KB |
smelly.py | -rwxr-xr-x | 2.2 KB |
suff.py | -rwxr-xr-x | 510 bytes |
texi2html.py | -rwxr-xr-x | 68.7 KB |
untabify.py | -rwxr-xr-x | 1.3 KB |
update_file.py | -rw-r--r-- | 762 bytes |
var_access_benchmark.py | -rw-r--r-- | 11.6 KB |
which.py | -rwxr-xr-x | 1.6 KB |
win_add2path.py | -rw-r--r-- | 1.6 KB |
Computing file changes ...