[Python-checkins] peps: PEP 432 syntax fix
nick.coghlan
python-checkins at python.org
Sun Dec 30 16:12:12 CET 2012
http://hg.python.org/peps/rev/001751ad90c2
changeset: 4642:001751ad90c2
user: Nick Coghlan <ncoghlan at gmail.com>
date: Mon Dec 31 01:12:03 2012 +1000
summary:
PEP 432 syntax fix
files:
pep-0432.txt | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/pep-0432.txt b/pep-0432.txt
--- a/pep-0432.txt
+++ b/pep-0432.txt
@@ -730,10 +730,12 @@
incomplete:
* ``sys.argv[0]`` may not yet have its final value
+
* it will be ``-m`` when executing a module or package with CPython
* it will be the same as ``sys.path[0]`` rather than the location of
the ``__main__`` module when executing a valid ``sys.path`` entry
(typically a zipfile or directory)
+
* the metadata in the ``__main__`` module will still indicate it is a
builtin module
--
Repository URL: http://hg.python.org/peps
More information about the Python-checkins
mailing list