summaryrefslogtreecommitdiff
path: root/Misc/python.man
AgeCommit message (Collapse)AuthorLines
2022-12-30gh-95778: add doc missing in some places (GH-100627)Miss Islington (bot)-0/+9
(cherry picked from commit 46521826cb1883e29e4640f94089dd92c57efc5b) Co-authored-by: Éric <earaujo@caravan.coop>
2022-06-14gh-90300: split --help output into separate options (GH-30331)Miss Islington (bot)-2/+25
Make --help output shorter and add new help options. --help-env, --help-xoptions and --help-all command-line options are added to complement --help. (cherry picked from commit 8aa9d40b00741213c5a53b1ae15509998893ae31) Co-authored-by: Éric <earaujo@caravan.coop>
2022-05-26gh-93217: fix some issues in man page and --help (GH-93219)Miss Islington (bot)-3/+16
(cherry picked from commit da397194832c4b8db8446af42919d8ad47b3cb4a) Co-authored-by: Éric <merwok@netwok.org>
2022-05-06gh-57684: Add -P cmdline option and PYTHONSAFEPATH env var (#31542)Victor Stinner-1/+13
Add the -P command line option and the PYTHONSAFEPATH environment variable to not prepend a potentially unsafe path to sys.path. * Add sys.flags.safe_path flag. * Add PyConfig.safe_path member. * Programs/_bootstrap_python.c uses config.safe_path=0. * Update subprocess._optim_args_from_interpreter_flags() to handle the -P command line option. * Modules/getpath.py sets safe_path to 1 if a "._pth" file is present.
2021-08-06bpo-44584: Deprecate PYTHONTHREADDEBUG env var (GH-27065)Victor Stinner-0/+1
The threading debug (PYTHONTHREADDEBUG environment variable) is deprecated in Python 3.10 and will be removed in Python 3.12. This feature requires a debug build of Python.
2021-04-16bpo-43862: Enhance -W cmdline option documentation (GH-25439)Victor Stinner-56/+61
The -W format is "action:message:category:module:lineno". Update also the Python manual page.
2021-03-31Disambiguate that -m also terminates the option list in the manpage. (GH-25100)Julien Palard-1/+2
2020-09-09bpo-41525: Make the Python program help ASCII-only (GH-21836)Serhiy Storchaka-1/+1
2020-06-08bpo-40854: Allow overriding sys.platlibdir via PYTHONPLATLIBDIR env-var ↵Sandro Mani-0/+2
(GH-20605)
2020-02-03bpo-39489: Remove COUNT_ALLOCS special build (GH-18259)Victor Stinner-4/+0
Remove: * COUNT_ALLOCS macro * sys.getcounts() function * SHOW_ALLOC_COUNT code in listobject.c * SHOW_TRACK_COUNT code in tupleobject.c * PyConfig.show_alloc_count field * -X showalloccount command line option * @test.support.requires_type_collecting decorator
2020-01-22bpo-39427: Document -X opt options in the CLI --help and the man page (GH-18131)Pablo Galindo-1/+39
https://bugs.python.org/issue39427 Automerge-Triggered-By: @pablogsal
2019-08-24bpo-29535: Remove promize about hash randomization of datetime objects. ↵Serhiy Storchaka-1/+1
(GH-15269)
2019-02-24closes bpo-36083: Fix formatting of the manpage Synopsis. (GH-12017)Miro Hrončok-1/+5
More specifically, the options of --check-hash-based-pycs.
2018-07-29bpo-34231: PYTHONBREAKPOINT is not documented on python --help (GH-8475)Stéphane Wirtel-0/+3
2018-07-09bpo-24459: Document missing env variables in python.man (GH-4142)Berker Peksag-0/+67
Initial patch by Joshua Jay Herman.
2018-06-11pypi.python.org -> pypi.org (GH-7613)Ned Deily-1/+1
2018-02-24bpo-17232: Clarify docs for -O and -OO command line options (#5839)Cheryl Sabella-2/+5
The 'optimization' is for space in the executable file, not for run time.
2017-12-09closes bpo-31650: PEP 552 (Deterministic pycs) implementation (#4575)Benjamin Peterson-0/+8
Python now supports checking bytecode cache up-to-dateness with a hash of the source contents rather than volatile source metadata. See the PEP for details. While a fairly straightforward idea, quite a lot of code had to be modified due to the pervasiveness of pyc implementation details in the codebase. Changes in this commit include: - The core changes to importlib to understand how to read, validate, and regenerate hash-based pycs. - Support for generating hash-based pycs in py_compile and compileall. - Modifications to our siphash implementation to support passing a custom key. We then expose it to importlib through _imp. - Updates to all places in the interpreter, standard library, and tests that manually generate or parse pyc files to grok the new format. - Support in the interpreter command line code for long options like --check-hash-based-pycs. - Tests and documentation for all of the above.
2017-11-24bpo-32124: Document C functions safe before init (#4540)Victor Stinner-1/+1
Explicitly document C functions and C variables that can be set before Py_Initialize().
2017-10-13bpo-28647: Update -u documentation after bpo-30404 (GH-3961)Berker Peksag-7/+2
2017-08-30bpo-30737: Update DevGuide links to new URL (GH-3228)Lisa Hewus Fresh-1/+1
Update old devguide links from https://docs.python.org/devguide to https://devguide.python.org
2016-11-21Issue #28532: Show sys.version when -V option is supplied twiceINADA Naoki-1/+2
2016-10-21Issue #28396: Remove any mention of .pyo files from the man page.Brett Cannon-2/+2
Thanks to Ville Skyttä for the patch.
2016-03-21merge 3.4 (#17167)Benjamin Peterson-1/+1
2016-03-21remove useless $ keyword (closes #17167)Benjamin Peterson-1/+1
2015-12-18Issue #25899: Converted non-ASCII characters in docstrings and manpageSerhiy Storchaka-1/+1
to ASCII replacements. Original patch by Chris Angelico.
2015-05-10merge 3.4Benjamin Peterson-1/+1
2015-05-10add trailing slashBenjamin Peterson-1/+1
2015-04-30merge 3.4Benjamin Peterson-6/+6
2015-04-30update linksBenjamin Peterson-6/+6
2015-04-29merge 3.4Benjamin Peterson-2/+1
2015-04-29improve phrasingBenjamin Peterson-2/+1
2015-04-29Issue #24077: merge from 3.4Ned Deily-1/+1
2015-04-29Issue #24077: Fix typo in man page for -I command option: -s, not -S.Ned Deily-1/+1
2015-04-13Issue #23731: Implement PEP 488.Brett Cannon-14/+11
The concept of .pyo files no longer exists. Now .pyc files have an optional `opt-` tag which specifies if any extra optimizations beyond the peepholer were applied.
2014-10-28PYTHONY2K is long gone. Remove traces from the docs and manpage.Georg Brandl-5/+0
2013-08-10Issue #16400: Add command line option for isolated mode.Christian Heimes-2/+12
-I Run Python in isolated mode. This also implies -E and -s. In isolated mode sys.path contains neither the script’s directory nor the user’s site-packages directory. All PYTHON* environment variables are ignored, too. Further restrictions may be imposed to prevent the user from injecting malicious code.
2013-07-25#16937: document that stdin is always buffered, even when -u is used. Patch ↵Ezio Melotti-1/+2
by Elena Oat.
2013-06-19Add -b and -X options to python man page.Senthil Kumaran-4/+18
Patch contributed by Corey Brune.
2012-06-20Do not italicize punctuation in python(1) manual page (Matt Kraai).doko@ubuntu.com-6/+6
2012-02-21enable hash randomization by defaultBenjamin Peterson-20/+3
2012-02-21Merge 3.2: Issue #13703 plus some related test suite fixes.Georg Brandl-0/+29
2012-02-20Merge from 3.1: Issue #13703: add a way to randomize the hash values of ↵Georg Brandl-0/+29
basic types (str, bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior.
2012-02-20Issue #13703: add a way to randomize the hash values of basic types (str, ↵Georg Brandl-0/+29
bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior.
2011-11-29Merge 3.2Éric Araujo-1/+1
2011-11-29Fix last remaining references to ex-devguideÉric Araujo-1/+1
2011-05-01Merge #11971: fix man page; it's -OO not -O0R David Murray-2/+2
Patch by Lars Michelsen.
2011-05-01Merge #11971: fix man page; it's -OO not -O0R David Murray-2/+2
Patch by Lars Michelsen.
2011-05-01#11971: fix man page; it's -OO not -O0R David Murray-2/+2
Patch by Lars Michelsen.
2011-03-26Remove traces of division_warning left over from Python 2 (#10998)Éric Araujo-13/+0