Mercurial > cpython-lru_cache-weakref
diff Mac/Python/macapplication.c @ 21619:5d009e5e13f7 legacy-trunk
In MachoPython, don't simulate argc/argv unless we have argc=1 and argv[1]
starts with "-psn_". This means the drag-and-drop continues to work as
expected, but we can now also do
/Applications/Python.app/Contents/MacOS/python script.py
from the command line, which is a lot easier with debugging. Pressing <option>
at this point also has the expected effect of opening the options dialog!
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Wed, 02 Jan 2002 22:53:38 +0000 |
| parents | d3268d62e462 |
| children |
