Re: py2exe crashes on simple program

2016-07-05 Thread John Nagle
On 7/4/2016 11:13 PM, Steven D'Aprano wrote: > If you change it to "library.exe" does it work? Also, I consider this > a bug in py2exe: - it's an abuse of assert, using it to check > user-supplied input; - it's a failing assertion, which by definition > is a bug. I'm not trying to build "librar

Re: py2exe crashes on simple program

2016-07-04 Thread Steven D'Aprano
On Tuesday 05 July 2016 14:06, John Nagle wrote: > I'm trying to create an executable with py2exe. > The program runs fine in interpretive mode. But > when I try to build an executable, py2exe crashes with > an assertion error. See below. [...] > Building shared code archive 'dist\library.zip'.

py2exe crashes on simple program

2016-07-04 Thread John Nagle
I'm trying to create an executable with py2exe. The program runs fine in interpretive mode. But when I try to build an executable, py2exe crashes with an assertion error. See below. This is an all-Python program; no binary modules other than ones that come with the Python 3.5.2 distribution.