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

SourceForge.net noreply@sourceforge.net
Tue, 25 Feb 2003 06:28:44 -0800


Bugs item #635570, was opened at 2002-11-08 17: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: Closed
>Resolution: Fixed
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.

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

>Comment By: Jack Jansen (jackjansen)
Date: 2003-02-25 15:28

Message:
Logged In: YES 
user_id=45365

Fixed in Mac/Python/macmain.c rev. 1.82.8.3.

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

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