Skip to content

bpo-43244: test_peg_generator defines _Py_TEST_PEGEN macro - #24912

Merged
vstinner merged 1 commit into
python:masterfrom
vstinner:test_pegen
Mar 18, 2021
Merged

bpo-43244: test_peg_generator defines _Py_TEST_PEGEN macro#24912
vstinner merged 1 commit into
python:masterfrom
vstinner:test_pegen

Conversation

@vstinner

@vstinnervstinner commented Mar 18, 2021

Copy link
Copy Markdown
Member

test_peg_generator now defines the _Py_TEST_PEGEN macro to specialize
Python-ast.c, rather than relying on Py_BUILD_CORE.

Python-ast.c can now also includes pycore_ast_state.h when built by
test_peg_generator. The test now also builds it with the
Py_BUILD_CORE macro defined.

https://bugs.python.org/issue43244

@pablogsal

Copy link
Copy Markdown
Member

I am not super happy with this approach. I don't think we should introduce test-dependent macros in the actual codebase. In any case, if there isn't a simpler solution...then we can go ahead I suppose (I don't want to block only on this).

test_peg_generator now defines _Py_TEST_PEGEN macro when building C
code to not call PyAST_Validate() in Parser/pegen.c. Moreover, it
defines Py_BUILD_CORE_MODULE macro to get access to the internal
C API.
Remove "global_ast_state" from Python-ast.c when it's built by
test_peg_generator: get the AST state from the current interpreter.
@vstinner

Copy link
Copy Markdown
MemberAuthor

I am not super happy with this approach. I don't think we should introduce test-dependent macros in the actual codebase. In any case, if there isn't a simpler solution...then we can go ahead I suppose (I don't want to block only on this).

The first version of PR didn't introduce code specific to test_peg_generator, I already added in commit 5cf4782. It only renamed the #ifdef.

My problem was SystemError: impossible module node error. In fact, the error comes from Parser/pegen.c which only calls PyAST_Validate() if Py_BUILD_CORE macro is defined.

I rewrote my PR to restrict the #ifdef to a single line in Parser/pegen.c. It sounds less surprising that test_peg_generator is related to Parser/pegen.c rather than Python/Python-ast.c.

My first approach avoided Py_BUILD_CORE by any mean to work around the SystemError: impossible module node error.

@vstinner
vstinner merged commit e0bf70d into python:masterMar 18, 2021
@vstinner
vstinner deleted the test_pegen branch March 18, 2021 01:46
@bedevere-bot

Copy link
Copy Markdown

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot AMD64 Windows10 3.x has failed when building commit e0bf70d.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/146/builds/958) and take a look at the build logs.
  4. Check if the failure is related to this commit (e0bf70d) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/146/builds/958

Failed tests:

  • test_peg_generator

Failed subtests:

  • test_error_in_rules - test.test_peg_generator.test_c_parser.TestCParser
  • test_if_stmt_action - test.test_peg_generator.test_c_parser.TestCParser
  • test_left_recursion - test.test_peg_generator.test_c_parser.TestCParser
  • test_advanced_left_recursive - test.test_peg_generator.test_c_parser.TestCParser
  • test_syntax_error_for_string - test.test_peg_generator.test_c_parser.TestCParser
  • test_c_parser - test.test_peg_generator.test_c_parser.TestCParser
  • test_lookahead - test.test_peg_generator.test_c_parser.TestCParser
  • test_return_stmt_noexpr_action - test.test_peg_generator.test_c_parser.TestCParser
  • test_gather - test.test_peg_generator.test_c_parser.TestCParser
  • test_same_name_different_types - test.test_peg_generator.test_c_parser.TestCParser
  • test_with_stmt_with_paren - test.test_peg_generator.test_c_parser.TestCParser
  • test_cut - test.test_peg_generator.test_c_parser.TestCParser
  • test_negative_lookahead - test.test_peg_generator.test_c_parser.TestCParser
  • test_nasty_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser
  • test_gather_action_ast - test.test_peg_generator.test_c_parser.TestCParser
  • test_soft_keywords_parse - test.test_peg_generator.test_c_parser.TestCParser
  • test_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser
  • test_ternary_operator - test.test_peg_generator.test_c_parser.TestCParser
  • test_soft_keywords_lookahead - test.test_peg_generator.test_c_parser.TestCParser
  • test_pass_stmt_action - test.test_peg_generator.test_c_parser.TestCParser

Summary of the results of the build (if available):

== Tests result: FAILURE then FAILURE ==

395 tests OK.

10 slowest tests:

  • test_io: 5 min 12 sec
  • test_mmap: 4 min 35 sec
  • test_largefile: 4 min 23 sec
  • test_unparse: 2 min 49 sec
  • test_tokenize: 2 min 35 sec
  • test_concurrent_futures: 2 min 29 sec
  • test_multiprocessing_spawn: 2 min 29 sec
  • test_capi: 2 min 13 sec
  • test_asyncio: 1 min 48 sec
  • test_lib2to3: 1 min 43 sec

1 test failed:
test_peg_generator

31 tests skipped:
test_curses test_dbm_gnu test_dbm_ndbm test_devpoll test_epoll
test_fcntl test_fork1 test_gdb test_grp test_ioctl test_kqueue
test_multiprocessing_fork test_multiprocessing_forkserver test_nis
test_openpty test_ossaudiodev test_pipes test_poll test_posix
test_pty test_pwd test_readline test_resource test_spwd
test_syslog test_threadsignals test_wait3 test_wait4
test_xxlimited test_xxtestfuzz test_zipfile64

1 re-run test:
test_peg_generator

Total duration: 18 min 17 sec

Click to see traceback logs
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 385, in test_syntax_error_for_stringself.run_test(grammar_source, test_source)
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 90, in run_testself.build_extension(grammar_source)
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 87, in build_extension
generate_parser_c_extension(grammar, Path(self.tmp_path))
File "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\testutil.py", line 104, in generate_parser_c_extension
compile_c_extension(str(source), build_dir=str(path))
File "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 93, in compile_c_extension
cmd.run()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 340, in runself.build_extensions()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 449, in build_extensionsself._build_extensions_serial()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 474, in _build_extensions_serialself.build_extension(ext)
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 551, in build_extensionself.compiler.link_shared_object(
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\ccompiler.py", line 713, in link_shared_objectself.link(CCompiler.SHARED_OBJECT, objects,
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\_msvccompiler.py", line 499, in linkraise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.13.26128\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 188, in test_gatherself.run_test(grammar_source, test_source)
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 90, in run_testself.build_extension(grammar_source)
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 87, in build_extension
generate_parser_c_extension(grammar, Path(self.tmp_path))
File "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\testutil.py", line 104, in generate_parser_c_extension
compile_c_extension(str(source), build_dir=str(path))
File "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 93, in compile_c_extension
cmd.run()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 340, in runself.build_extensions()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 449, in build_extensionsself._build_extensions_serial()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 474, in _build_extensions_serialself.build_extension(ext)
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 551, in build_extensionself.compiler.link_shared_object(
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\ccompiler.py", line 713, in link_shared_objectself.link(CCompiler.SHARED_OBJECT, objects,
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\_msvccompiler.py", line 499, in linkraise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.13.26128\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 305, in test_if_stmt_actionself.run_test(grammar_source, test_source)
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 90, in run_testself.build_extension(grammar_source)
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 87, in build_extension
generate_parser_c_extension(grammar, Path(self.tmp_path))
File "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\testutil.py", line 104, in generate_parser_c_extension
compile_c_extension(str(source), build_dir=str(path))
File "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 93, in compile_c_extension
cmd.run()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 340, in runself.build_extensions()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 449, in build_extensionsself._build_extensions_serial()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 474, in _build_extensions_serialself.build_extension(ext)
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 551, in build_extensionself.compiler.link_shared_object(
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\ccompiler.py", line 713, in link_shared_objectself.link(CCompiler.SHARED_OBJECT, objects,
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\_msvccompiler.py", line 499, in linkraise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.13.26128\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 136, in test_c_parserself.run_test(grammar_source, test_source)
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 90, in run_testself.build_extension(grammar_source)
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 87, in build_extension
generate_parser_c_extension(grammar, Path(self.tmp_path))
File "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\testutil.py", line 104, in generate_parser_c_extension
compile_c_extension(str(source), build_dir=str(path))
File "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 93, in compile_c_extension
cmd.run()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 340, in runself.build_extensions()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 449, in build_extensionsself._build_extensions_serial()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 474, in _build_extensions_serialself.build_extension(ext)
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 551, in build_extensionself.compiler.link_shared_object(
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\ccompiler.py", line 713, in link_shared_objectself.link(CCompiler.SHARED_OBJECT, objects,
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\_msvccompiler.py", line 499, in linkraise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.13.26128\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 442, in test_soft_keywords_parseself.run_test(grammar_source, test_source)
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 90, in run_testself.build_extension(grammar_source)
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 87, in build_extension
generate_parser_c_extension(grammar, Path(self.tmp_path))
File "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\testutil.py", line 104, in generate_parser_c_extension
compile_c_extension(str(source), build_dir=str(path))
File "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 93, in compile_c_extension
cmd.run()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 340, in runself.build_extensions()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 449, in build_extensionsself._build_extensions_serial()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 474, in _build_extensions_serialself.build_extension(ext)
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 551, in build_extensionself.compiler.link_shared_object(
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\ccompiler.py", line 713, in link_shared_objectself.link(CCompiler.SHARED_OBJECT, objects,
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\_msvccompiler.py", line 499, in linkraise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.13.26128\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 412, in test_error_in_rulesself.run_test(grammar_source, test_source)
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 90, in run_testself.build_extension(grammar_source)
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 87, in build_extension
generate_parser_c_extension(grammar, Path(self.tmp_path))
File "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\testutil.py", line 104, in generate_parser_c_extension
compile_c_extension(str(source), build_dir=str(path))
File "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 93, in compile_c_extension
cmd.run()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 340, in runself.build_extensions()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 449, in build_extensionsself._build_extensions_serial()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 474, in _build_extensions_serialself.build_extension(ext)
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 551, in build_extensionself.compiler.link_shared_object(
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\ccompiler.py", line 713, in link_shared_objectself.link(CCompiler.SHARED_OBJECT, objects,
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\_msvccompiler.py", line 499, in linkraise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.13.26128\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 454, in test_soft_keywords_lookaheadself.run_test(grammar_source, test_source)
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 90, in run_testself.build_extension(grammar_source)
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 87, in build_extension
generate_parser_c_extension(grammar, Path(self.tmp_path))
File "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\testutil.py", line 104, in generate_parser_c_extension
compile_c_extension(str(source), build_dir=str(path))
File "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 93, in compile_c_extension
cmd.run()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 340, in runself.build_extensions()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 449, in build_extensionsself._build_extensions_serial()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 474, in _build_extensions_serialself.build_extension(ext)
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 551, in build_extensionself.compiler.link_shared_object(
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\ccompiler.py", line 713, in link_shared_objectself.link(CCompiler.SHARED_OBJECT, objects,
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\_msvccompiler.py", line 499, in linkraise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.13.26128\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 176, in test_cutself.run_test(grammar_source, test_source)
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 90, in run_testself.build_extension(grammar_source)
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 87, in build_extension
generate_parser_c_extension(grammar, Path(self.tmp_path))
File "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\testutil.py", line 104, in generate_parser_c_extension
compile_c_extension(str(source), build_dir=str(path))
File "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 93, in compile_c_extension
cmd.run()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 340, in runself.build_extensions()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 449, in build_extensionsself._build_extensions_serial()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 474, in _build_extensions_serialself.build_extension(ext)
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 551, in build_extensionself.compiler.link_shared_object(
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\ccompiler.py", line 713, in link_shared_objectself.link(CCompiler.SHARED_OBJECT, objects,
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\_msvccompiler.py", line 499, in linkraise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.13.26128\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 236, in test_nasty_mutually_left_recursiveself.run_test(grammar_source, test_source)
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 90, in run_testself.build_extension(grammar_source)
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 87, in build_extension
generate_parser_c_extension(grammar, Path(self.tmp_path))
File "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\testutil.py", line 104, in generate_parser_c_extension
compile_c_extension(str(source), build_dir=str(path))
File "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 93, in compile_c_extension
cmd.run()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 340, in runself.build_extensions()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 449, in build_extensionsself._build_extensions_serial()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 474, in _build_extensions_serialself.build_extension(ext)
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 551, in build_extensionself.compiler.link_shared_object(
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\ccompiler.py", line 713, in link_shared_objectself.link(CCompiler.SHARED_OBJECT, objects,
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\_msvccompiler.py", line 499, in linkraise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.13.26128\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 200, in test_left_recursionself.run_test(grammar_source, test_source)
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 90, in run_testself.build_extension(grammar_source)
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 87, in build_extension
generate_parser_c_extension(grammar, Path(self.tmp_path))
File "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\testutil.py", line 104, in generate_parser_c_extension
compile_c_extension(str(source), build_dir=str(path))
File "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 93, in compile_c_extension
cmd.run()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 340, in runself.build_extensions()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 449, in build_extensionsself._build_extensions_serial()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 474, in _build_extensions_serialself.build_extension(ext)
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 551, in build_extensionself.compiler.link_shared_object(
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\ccompiler.py", line 713, in link_shared_objectself.link(CCompiler.SHARED_OBJECT, objects,
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\_msvccompiler.py", line 499, in linkraise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.13.26128\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 351, in test_with_stmt_with_parenself.run_test(grammar_source, test_source)
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 90, in run_testself.build_extension(grammar_source)
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 87, in build_extension
generate_parser_c_extension(grammar, Path(self.tmp_path))
File "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\testutil.py", line 104, in generate_parser_c_extension
compile_c_extension(str(source), build_dir=str(path))
File "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 93, in compile_c_extension
cmd.run()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 340, in runself.build_extensions()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 449, in build_extensionsself._build_extensions_serial()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 474, in _build_extensions_serialself.build_extension(ext)
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 551, in build_extensionself.compiler.link_shared_object(
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\ccompiler.py", line 713, in link_shared_objectself.link(CCompiler.SHARED_OBJECT, objects,
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\_msvccompiler.py", line 499, in linkraise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.13.26128\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 223, in test_mutually_left_recursiveself.run_test(grammar_source, test_source)
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 90, in run_testself.build_extension(grammar_source)
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 87, in build_extension
generate_parser_c_extension(grammar, Path(self.tmp_path))
File "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\testutil.py", line 104, in generate_parser_c_extension
compile_c_extension(str(source), build_dir=str(path))
File "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 93, in compile_c_extension
cmd.run()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 340, in runself.build_extensions()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 449, in build_extensionsself._build_extensions_serial()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 474, in _build_extensions_serialself.build_extension(ext)
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 551, in build_extensionself.compiler.link_shared_object(
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\ccompiler.py", line 713, in link_shared_objectself.link(CCompiler.SHARED_OBJECT, objects,
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\_msvccompiler.py", line 499, in linkraise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.13.26128\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\_msvccompiler.py", line 497, in linkself.spawn([self.linker] + ld_args)
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\_msvccompiler.py", line 507, in spawnreturnsuper().spawn(cmd)
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\ccompiler.py", line 910, in spawn
spawn(cmd, dry_run=self.dry_run)
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\spawn.py", line 87, in spawnraise DistutilsExecError(
distutils.errors.DistutilsExecError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.13.26128\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 369, in test_ternary_operatorself.run_test(grammar_source, test_source)
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 90, in run_testself.build_extension(grammar_source)
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 87, in build_extension
generate_parser_c_extension(grammar, Path(self.tmp_path))
File "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\testutil.py", line 104, in generate_parser_c_extension
compile_c_extension(str(source), build_dir=str(path))
File "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 93, in compile_c_extension
cmd.run()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 340, in runself.build_extensions()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 449, in build_extensionsself._build_extensions_serial()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 474, in _build_extensions_serialself.build_extension(ext)
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 551, in build_extensionself.compiler.link_shared_object(
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\ccompiler.py", line 713, in link_shared_objectself.link(CCompiler.SHARED_OBJECT, objects,
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\_msvccompiler.py", line 499, in linkraise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.13.26128\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 160, in test_negative_lookaheadself.run_test(grammar_source, test_source)
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 90, in run_testself.build_extension(grammar_source)
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 87, in build_extension
generate_parser_c_extension(grammar, Path(self.tmp_path))
File "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\testutil.py", line 104, in generate_parser_c_extension
compile_c_extension(str(source), build_dir=str(path))
File "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 93, in compile_c_extension
cmd.run()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 340, in runself.build_extensions()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 449, in build_extensionsself._build_extensions_serial()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 474, in _build_extensions_serialself.build_extension(ext)
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 551, in build_extensionself.compiler.link_shared_object(
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\ccompiler.py", line 713, in link_shared_objectself.link(CCompiler.SHARED_OBJECT, objects,
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\_msvccompiler.py", line 499, in linkraise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.13.26128\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 148, in test_lookaheadself.run_test(grammar_source, test_source)
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 90, in run_testself.build_extension(grammar_source)
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 87, in build_extension
generate_parser_c_extension(grammar, Path(self.tmp_path))
File "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\testutil.py", line 104, in generate_parser_c_extension
compile_c_extension(str(source), build_dir=str(path))
File "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 93, in compile_c_extension
cmd.run()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 340, in runself.build_extensions()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 449, in build_extensionsself._build_extensions_serial()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 474, in _build_extensions_serialself.build_extension(ext)
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 551, in build_extensionself.compiler.link_shared_object(
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\ccompiler.py", line 713, in link_shared_objectself.link(CCompiler.SHARED_OBJECT, objects,
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\_msvccompiler.py", line 499, in linkraise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.13.26128\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 325, in test_same_name_different_typesself.run_test(grammar_source, test_source)
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 90, in run_testself.build_extension(grammar_source)
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 87, in build_extension
generate_parser_c_extension(grammar, Path(self.tmp_path))
File "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\testutil.py", line 104, in generate_parser_c_extension
compile_c_extension(str(source), build_dir=str(path))
File "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 93, in compile_c_extension
cmd.run()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 340, in runself.build_extensions()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 449, in build_extensionsself._build_extensions_serial()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 474, in _build_extensions_serialself.build_extension(ext)
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 551, in build_extensionself.compiler.link_shared_object(
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\ccompiler.py", line 713, in link_shared_objectself.link(CCompiler.SHARED_OBJECT, objects,
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\_msvccompiler.py", line 499, in linkraise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.13.26128\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 211, in test_advanced_left_recursiveself.run_test(grammar_source, test_source)
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 90, in run_testself.build_extension(grammar_source)
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 87, in build_extension
generate_parser_c_extension(grammar, Path(self.tmp_path))
File "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\testutil.py", line 104, in generate_parser_c_extension
compile_c_extension(str(source), build_dir=str(path))
File "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 93, in compile_c_extension
cmd.run()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 340, in runself.build_extensions()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 449, in build_extensionsself._build_extensions_serial()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 474, in _build_extensions_serialself.build_extension(ext)
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 551, in build_extensionself.compiler.link_shared_object(
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\ccompiler.py", line 713, in link_shared_objectself.link(CCompiler.SHARED_OBJECT, objects,
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\_msvccompiler.py", line 499, in linkraise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.13.26128\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 262, in test_gather_action_astself.run_test(grammar_source, test_source)
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 90, in run_testself.build_extension(grammar_source)
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 87, in build_extension
generate_parser_c_extension(grammar, Path(self.tmp_path))
File "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\testutil.py", line 104, in generate_parser_c_extension
compile_c_extension(str(source), build_dir=str(path))
File "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 93, in compile_c_extension
cmd.run()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 340, in runself.build_extensions()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 449, in build_extensionsself._build_extensions_serial()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 474, in _build_extensions_serialself.build_extension(ext)
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 551, in build_extensionself.compiler.link_shared_object(
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\ccompiler.py", line 713, in link_shared_objectself.link(CCompiler.SHARED_OBJECT, objects,
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\_msvccompiler.py", line 499, in linkraise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.13.26128\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 251, in test_return_stmt_noexpr_actionself.run_test(grammar_source, test_source)
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 90, in run_testself.build_extension(grammar_source)
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 87, in build_extension
generate_parser_c_extension(grammar, Path(self.tmp_path))
File "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\testutil.py", line 104, in generate_parser_c_extension
compile_c_extension(str(source), build_dir=str(path))
File "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 93, in compile_c_extension
cmd.run()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 340, in runself.build_extensions()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 449, in build_extensionsself._build_extensions_serial()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 474, in _build_extensions_serialself.build_extension(ext)
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 551, in build_extensionself.compiler.link_shared_object(
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\ccompiler.py", line 713, in link_shared_objectself.link(CCompiler.SHARED_OBJECT, objects,
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\_msvccompiler.py", line 499, in linkraise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.13.26128\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 277, in test_pass_stmt_actionself.run_test(grammar_source, test_source)
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 90, in run_testself.build_extension(grammar_source)
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_peg_generator\test_c_parser.py", line 87, in build_extension
generate_parser_c_extension(grammar, Path(self.tmp_path))
File "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\testutil.py", line 104, in generate_parser_c_extension
compile_c_extension(str(source), build_dir=str(path))
File "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 93, in compile_c_extension
cmd.run()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 340, in runself.build_extensions()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 449, in build_extensionsself._build_extensions_serial()
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 474, in _build_extensions_serialself.build_extension(ext)
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\command\build_ext.py", line 551, in build_extensionself.compiler.link_shared_object(
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\ccompiler.py", line 713, in link_shared_objectself.link(CCompiler.SHARED_OBJECT, objects,
File "D:\buildarea\3.x.bolen-windows10\build\lib\distutils\_msvccompiler.py", line 499, in linkraise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.13.26128\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120

jab added a commit to jab/cpython that referenced this pull request Mar 20, 2021
* master: (129 commits)
bpo-43452: Micro-optimizations to PyType_Lookup (pythonGH-24804)
bpo-43517: Fix false positive in detection of circular imports (python#24895)
bpo-43494: Make some minor changes to lnotab notes (pythonGH-24861)
Mention that code.co_lnotab is deprecated in what's new for 3.10. (python#24902)
bpo-43244: Remove symtable.h header file (pythonGH-24910)
bpo-43466: Add --with-openssl-rpath configure option (pythonGH-24820)
Fix a typo in c-analyzer (pythonGH-24468)
bpo-41561: Add workaround for Ubuntu's custom security level (pythonGH-24915)
bpo-43521: Allow ast.unparse with empty sets and NaN (pythonGH-24897)
bpo-43244: Remove the PyAST_Validate() function (pythonGH-24911)
bpo-43541: Fix PyEval_EvalCodeEx() regression (pythonGH-24918)
bpo-43244: Fix test_peg_generators on Windows (pythonGH-24913)
bpo-39342: Expose X509_V_FLAG_ALLOW_PROXY_CERTS in ssl module (pythonGH-18011)
bpo-43244: Fix test_peg_generator for PyAST_Validate() (pythonGH-24912)
bpo-42128: Add 'missing :' syntax error message to match statements (pythonGH-24733)
bpo-43244: Add pycore_ast.h header file (pythonGH-24908)
bpo-43244: Rename pycore_ast.h to pycore_ast_state.h (pythonGH-24907)
Remove unnecessary imports in the grammar parser (pythonGH-24904)
bpo-35883: Py_DecodeLocale() escapes invalid Unicode characters (pythonGH-24843)
Add PEP 626 to what's new in 3.10. (python#24892)
...
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@vstinner@pablogsal@bedevere-bot@the-knights-who-say-ni