CARVIEW |
Select Language
HTTP/1.1 200 OK
Date: Tue, 29 Jul 2025 02:44:52 GMT
Server: Apache/2.4.39 (Ubuntu)
Strict-Transport-Security: max-age=31556926
Upgrade: h2,h2c
Connection: Upgrade
Last-Modified: Fri, 31 Mar 2006 19:48:45 GMT
ETag: "bb4-4104fba8b6140-gzip"
Accept-Ranges: bytes
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 1063
Content-Type: text/html
[Python-Dev] What about PEP 299?
Wed Mar 29 00:53:31 CEST 2006
More information about the Python-Dev mailing list
[Python-Dev] What about PEP 299?
Guido van Rossum guido at python.orgWed Mar 29 00:53:31 CEST 2006
- Previous message: [Python-Dev] What about PEP 299?
- Next message: [Python-Dev] What about PEP 299?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 3/28/06, Charles Cazabon <python at discworld.dyndns.org> wrote: > It might be worth instead adding an option flag to the executable that implies > "from the loaded module, run __main__() with sys.argv as its argument(s)", so > the user can get this behaviour with `python -X somemodule.py`. You can do "python -x somemodule" as long as somemodule.py uses the if __name__=='__main__' convention. What does your proposal add? -- --Guido van Rossum (home page: https://www.python.org/~guido/)
- Previous message: [Python-Dev] What about PEP 299?
- Next message: [Python-Dev] What about PEP 299?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list