[New-bugs-announce] [issue45149] Cover directory and zipfile execution in __main__ module docs

Nick Coghlan report at bugs.python.org
Thu Sep 9 03:45:42 EDT 2021

New submission from Nick Coghlan <ncoghlan at gmail.com>:

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.

messages: 401440
nosy: ncoghlan
priority: normal
severity: normal
stage: needs patch
status: open
title: Cover directory and zipfile execution in __main__ module docs
type: enhancement

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list