classification
Title: Cover directory and zipfile execution in __main__ module docs
Type: enhancement Stage: needs patch
Components: Versions:
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: ncoghlan
Priority: normal Keywords:

Created on 2021-09-09 07:45 by ncoghlan, last changed 2021-09-09 07:45 by ncoghlan.

Messages (1)
msg401440 - (view) Author: Nick Coghlan (ncoghlan) * (Python committer) Date: 2021-09-09 07:45
bpo-39452 covered significant improvements to the __main__ module documentation at https://docs.python.org/dev/library/__main__.html, making it a better complement to the CPython CLI documentation at https://docs.python.org/dev/using/cmdline.html#command-line

This follow up ticket covers the `__main__` variant that the previous ticket didn't cover: directory and zipfile execution (which underlies the utility of the `zipapp` stdlib module: https://docs.python.org/dev/library/zipapp.html)

The relevant info is present in the CLI and runpy.run_path documentation, so this ticket just covers adding that info to the `__main__` module docs.
History
Date User Action Args
2021-09-09 07:45:42ncoghlancreate