Running Python from the source repo

Random832 random832 at fastmail.com
Mon Aug 8 17:25:44 EDT 2016


On Mon, Aug 8, 2016, at 15:25, Terry Reedy wrote:
> Last January, I wrote a batch file to build all three versions with the 
> 'optional' extensions.  I started rebuilding more often after this.
> 
> 36\pcbuild\build.bat -e -d
> 35\pcbuild\build.bat -e -d
> 27\pcbuild\build.bat -e -d
> 
> Thanks for making this possible.  It initially worked, but now it stops 
> after the first command, even without errors.  Has a flag been changed 
> to treat warnings as errors?  How can I change the .bat to wrap each 
> command with the equivalent of try: except: pass?

I'm not sure how it ever worked, but you have to use "call" to run one
batch file from another batch file, otherwise it doesn't start a
recursive command interpreter and so it won't run anything else in the
outer batch file.

I don't know if .cmd files have this limitation.



More information about the Python-list mailing list