summaryrefslogtreecommitdiffstats
path: root/Lib/json
diff options
context:
space:
mode:
authorAmmar Askar <ammar@ammaraskar.com>2020-01-15 16:48:40 (GMT)
committerZachary Ware <zach@python.org>2020-01-15 16:48:40 (GMT)
commite92d39303feb1d3b4194c6a8275b1fc63b2153b2 (patch)
treef7a896f2ac25685927cbf846a8f9719a309c60dc /Lib/json
parente85a305503bf83c5a8ffb3a988dfe7b67461cbee (diff)
downloadcpython-e92d39303feb1d3b4194c6a8275b1fc63b2153b2.zip
cpython-e92d39303feb1d3b4194c6a8275b1fc63b2153b2.tar.gz
cpython-e92d39303feb1d3b4194c6a8275b1fc63b2153b2.tar.bz2
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 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.
Diffstat (limited to 'Lib/json')
0 files changed, 0 insertions, 0 deletions