[Python-bugs-list] [ python-Bugs-635570 ] remove debug prints from macmain.c

noreply@sourceforge.net noreply@sourceforge.net
Fri, 08 Nov 2002 08:24:07 -0800


Bugs item #635570, was opened at 2002-11-08 08:24
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=635570&group_id=5470

Category: Macintosh
Group: Python 2.2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Russell Owen (reowen)
Assigned to: Jack Jansen (jackjansen)
Summary: remove debug prints from macmain.c

Initial Comment:
I posted to the MacPython mailing list:

pythonw does the following when run with a source file as its argument:
% pythonw TUI.py
original argc=2
original argv[0] = "/Applications/Python.app/Contents/MacOS/python"
original argv[1] = "TUI.py"
modified argc=2
modified argv[0] = "/Applications/Python.app/Contents/MacOS/python"
modified argv[1] = "TUI.py"

Details:
- Everything is built as per the instructions I posted at http://www.astro.washington.edu/owen in particular:
- MacOS X 10.2
- Python 2.2.2 framework built from source, with setup.py modified to be similar to or identical to the 2.3a0 setup.py, so it can find aqua Tk 8.4.1
- The file pythonw is:
#!/bin/sh
exec /Applications/Python.app/Contents/MacOS/python $@

Jack Jansen kindly suggested that I could fix this by removing the debug prints from macmain.c and rebuilding. He also asked me to file this bug report.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=635570&group_id=5470