This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: remove debug prints from macmain.c
Type: Stage:
Components: macOS Versions: Python 2.2
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: jackjansen Nosy List: jackjansen, reowen
Priority: normal Keywords:

Created on 2002-11-08 16:24 by reowen, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Messages (2)
msg13145 - (view) Author: Russell Owen (reowen) Date: 2002-11-08 16:24
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.
msg13146 - (view) Author: Jack Jansen (jackjansen) * (Python committer) Date: 2003-02-25 14:28
Logged In: YES 
user_id=45365

Fixed in Mac/Python/macmain.c rev. 1.82.8.3.
History
Date User Action Args
2022-04-10 16:05:50adminsetgithub: 37440
2002-11-08 16:24:07reowencreate