summaryrefslogtreecommitdiffstats
path: root/Misc/python.man
Commit message (Collapse)AuthorAgeFilesLines
* gh-90300: split --help output into separate options (#30331)Éric2022-06-011-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.
* gh-93217: fix some issues in man page and --help (#93219)Éric2022-05-261-3/+16
|
* gh-88750: Remove the PYTHONTHREADDEBUG env var support. (#92509)Gregory P. Smith2022-05-091-3/+0
| | | | Remove the `PYTHONTHREADDEBUG` env var support. Remove no-op dprintf() macro calls.
* gh-57684: Add -P cmdline option and PYTHONSAFEPATH env var (#31542)Victor Stinner2022-05-051-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.
* bpo-44584: Deprecate PYTHONTHREADDEBUG env var (GH-27065)Victor Stinner2021-08-061-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.
* bpo-43862: Enhance -W cmdline option documentation (GH-25439)Victor Stinner2021-04-161-56/+61
| | | | | The -W format is "action:message:category:module:lineno". Update also the Python manual page.
* Disambiguate that -m also terminates the option list in the manpage. (GH-25100)Julien Palard2021-03-311-1/+2
|
* bpo-41525: Make the Python program help ASCII-only (GH-21836)Serhiy Storchaka2020-09-091-1/+1
|
* bpo-40854: Allow overriding sys.platlibdir via PYTHONPLATLIBDIR env-var ↵Sandro Mani2020-06-081-0/+2
| | | | (GH-20605)
* bpo-39489: Remove COUNT_ALLOCS special build (GH-18259)Victor Stinner2020-02-031-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
* bpo-39427: Document -X opt options in the CLI --help and the man page (GH-18131)Pablo Galindo2020-01-231-1/+39
| | | | | | | https://bugs.python.org/issue39427 Automerge-Triggered-By: @pablogsal
* bpo-29535: Remove promize about hash randomization of datetime objects. ↵Serhiy Storchaka2019-08-241-1/+1
| | | | (GH-15269)
* closes bpo-36083: Fix formatting of the manpage Synopsis. (GH-12017)Miro Hrončok2019-02-251-1/+5
| | | More specifically, the options of --check-hash-based-pycs.
* bpo-34231: PYTHONBREAKPOINT is not documented on python --help (GH-8475)Stéphane Wirtel2018-07-291-0/+3
|
* bpo-24459: Document missing env variables in python.man (GH-4142)Berker Peksag2018-07-091-0/+67
| | | | Initial patch by Joshua Jay Herman.
* pypi.python.org -> pypi.org (GH-7613)Ned Deily2018-06-111-1/+1
|
* bpo-17232: Clarify docs for -O and -OO command line options (#5839)Cheryl Sabella2018-02-251-2/+5
| | | The 'optimization' is for space in the executable file, not for run time.
* closes bpo-31650: PEP 552 (Deterministic pycs) implementation (#4575)Benjamin Peterson2017-12-091-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.
* bpo-32124: Document C functions safe before init (#4540)Victor Stinner2017-11-241-1/+1
| | | | Explicitly document C functions and C variables that can be set before Py_Initialize().
* bpo-28647: Update -u documentation after bpo-30404 (GH-3961)Berker Peksag2017-10-131-7/+2
|
* bpo-30737: Update DevGuide links to new URL (GH-3228)Lisa Hewus Fresh2017-08-301-1/+1
| | | Update old devguide links from https://docs.python.org/devguide to https://devguide.python.org
* Issue #28532: Show sys.version when -V option is supplied twiceINADA Naoki2016-11-211-1/+2
|
* Issue #28396: Remove any mention of .pyo files from the man page.Brett Cannon2016-10-211-2/+2
| | | | Thanks to Ville Skyttä for the patch.
* merge 3.4 (#17167)Benjamin Peterson2016-03-221-1/+1
|\
| * remove useless $ keyword (closes #17167)Benjamin Peterson2016-03-221-1/+1
| |
* | Issue #25899: Converted non-ASCII characters in docstrings and manpageSerhiy Storchaka2015-12-181-1/+1
| | | | | | | | to ASCII replacements. Original patch by Chris Angelico.
* | merge 3.4Benjamin Peterson2015-05-111-1/+1
|\ \ | |/
| * add trailing slashBenjamin Peterson2015-05-111-1/+1
| |
* | merge 3.4Benjamin Peterson2015-04-301-6/+6
|\ \ | |/
| * update linksBenjamin Peterson2015-04-301-6/+6
| |
* | merge 3.4Benjamin Peterson2015-04-291-2/+1
|\ \ | |/
| * improve phrasingBenjamin Peterson2015-04-291-2/+1
| |
* | Issue #24077: merge from 3.4Ned Deily2015-04-291-1/+1
|\ \ | |/
| * Issue #24077: Fix typo in man page for -I command option: -s, not -S.Ned Deily2015-04-291-1/+1
| |
* | Issue #23731: Implement PEP 488.Brett Cannon2015-04-131-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.
* PYTHONY2K is long gone. Remove traces from the docs and manpage.Georg Brandl2014-10-281-5/+0
|
* Issue #16400: Add command line option for isolated mode.Christian Heimes2013-08-101-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.
* #16937: document that stdin is always buffered, even when -u is used. Patch ↵Ezio Melotti2013-07-251-1/+2
| | | | by Elena Oat.
* Add -b and -X options to python man page.Senthil Kumaran2013-06-201-4/+18
| | | | Patch contributed by Corey Brune.
* Do not italicize punctuation in python(1) manual page (Matt Kraai).doko@ubuntu.com2012-06-201-6/+6
|
* enable hash randomization by defaultBenjamin Peterson2012-02-211-20/+3
|
* Merge 3.2: Issue #13703 plus some related test suite fixes.Georg Brandl2012-02-201-0/+29
|\
| * Merge from 3.1: Issue #13703: add a way to randomize the hash values of ↵Georg Brandl2012-02-201-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.
| | * Issue #13703: add a way to randomize the hash values of basic types (str, ↵Georg Brandl2012-02-201-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.
* | | Merge 3.2Éric Araujo2011-11-291-1/+1
|\ \ \ | |/ /
| * | Fix last remaining references to ex-devguideÉric Araujo2011-11-291-1/+1
| | |
* | | Merge #11971: fix man page; it's -OO not -O0R David Murray2011-05-011-2/+2
|\ \ \ | |/ / | | | | | | Patch by Lars Michelsen.
| * | Merge #11971: fix man page; it's -OO not -O0R David Murray2011-05-011-2/+2
| |\ \ | | |/ | | | | | | Patch by Lars Michelsen.
| | * #11971: fix man page; it's -OO not -O0R David Murray2011-05-011-2/+2
| | | | | | | | | | | | Patch by Lars Michelsen.
| | * Merged revisions 85436 via svnmerge fromBenjamin Peterson2010-10-131-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85436 | benjamin.peterson | 2010-10-13 17:20:15 -0500 (Wed, 13 Oct 2010) | 1 line put PYTHONIOENCODING in man page ........