[issue4279] Module 'parser' fails to build

Andy report at bugs.python.org
Sun Nov 9 22:51:20 CET 2008


Andy <flossyfriend at hotmail.com> added the comment:

a new patch that will use the grammar definition from Python/graminit.c
- it is as of yet untested for Cygwin (can't get to that machine right
now). It follows the same pattern as the previous, i.e. it makes us of
an accessor function to get the grammar definition.

This has expanded the patch somewhat to include changes to:

 - setup.py for Cygwin environment.
 - Parser/pgenmain.c to write out the function body
 - Python/pythonrun.c to use the new function
 - Include/grammar.h to declare the new function
 - Modules/parsermodule.c to use the new function


All of which makes me think that the change to make the symbol "public"
and use it directly without hiding it is a better way to go.

Will look at this under my Cygwin environment tomorrow. (I have run a
configre - make - test cycle on Ubuntu (hardy heron) and it is OK [but
then its not broken there anyway :-) ] )

Added file: http://bugs.python.org/file11970/nu_diff.txt

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4279>
_______________________________________


More information about the Python-bugs-list mailing list