New submission from Constant Marks <crmar...@gmail.com>:

When calling `build.bat -d --regen' the graminit.c and graminit.h files are not 
generated with the following warnings:

Time Elapsed 00:02:49.06
  Killing any running python_d.exe instances...
  Getting build info from "C:\Program Files\Git\cmd\git.exe"
  Building heads/3.9-dirty:9e84a2c424 3.9
  pythoncore.vcxproj -> 
C:\Users\crm0376\source\repos\cpython\PCbuild\win32\python39_d.dll
  C:\Users\crm0376\source\repos\cpython\Parser\pgen\__main__.py:43: 
ResourceWarning: unclosed file <_io.TextIOWrapper 
name='C:\\Users\\crm0376\\source\\repos\\cpython\\PCbuild\\obj\\39win32_Debug\\regen\\graminit.h'
 mode='w' encoding='cp
  1252'>
    main()
  ResourceWarning: Enable tracemalloc to get the object allocation traceback
  C:\Users\crm0376\source\repos\cpython\Parser\pgen\__main__.py:43: 
ResourceWarning: unclosed file <_io.TextIOWrapper 
name='C:\\Users\\crm0376\\source\\repos\\cpython\\PCbuild\\obj\\39win32_Debug\\regen\\graminit.c'
 mode='w' encoding='cp
  1252'>
    main()
  ResourceWarning: Enable tracemalloc to get the object allocation traceback

----------
messages: 374074
nosy: constantmarks
priority: normal
severity: normal
status: open
title: Regenerating parser table fails (windows)
versions: Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue41362>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to