Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-90300: split --help output into separate options (#30331) | Éric | 2022-06-01 | 1 | -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) | Éric | 2022-05-26 | 1 | -3/+16 |
| | |||||
* | gh-88750: Remove the PYTHONTHREADDEBUG env var support. (#92509) | Gregory P. Smith | 2022-05-09 | 1 | -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 Stinner | 2022-05-05 | 1 | -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 Stinner | 2021-08-06 | 1 | -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 Stinner | 2021-04-16 | 1 | -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 Palard | 2021-03-31 | 1 | -1/+2 |
| | |||||
* | bpo-41525: Make the Python program help ASCII-only (GH-21836) | Serhiy Storchaka | 2020-09-09 | 1 | -1/+1 |
| | |||||
* | bpo-40854: Allow overriding sys.platlibdir via PYTHONPLATLIBDIR env-var ↵ | Sandro Mani | 2020-06-08 | 1 | -0/+2 |
| | | | | (GH-20605) | ||||
* | bpo-39489: Remove COUNT_ALLOCS special build (GH-18259) | Victor Stinner | 2020-02-03 | 1 | -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 Galindo | 2020-01-23 | 1 | -1/+39 |
| | | | | | | | https://bugs.python.org/issue39427 Automerge-Triggered-By: @pablogsal | ||||
* | bpo-29535: Remove promize about hash randomization of datetime objects. ↵ | Serhiy Storchaka | 2019-08-24 | 1 | -1/+1 |
| | | | | (GH-15269) | ||||
* | closes bpo-36083: Fix formatting of the manpage Synopsis. (GH-12017) | Miro Hrončok | 2019-02-25 | 1 | -1/+5 |
| | | | More specifically, the options of --check-hash-based-pycs. | ||||
* | bpo-34231: PYTHONBREAKPOINT is not documented on python --help (GH-8475) | Stéphane Wirtel | 2018-07-29 | 1 | -0/+3 |
| | |||||
* | bpo-24459: Document missing env variables in python.man (GH-4142) | Berker Peksag | 2018-07-09 | 1 | -0/+67 |
| | | | | Initial patch by Joshua Jay Herman. | ||||
* | pypi.python.org -> pypi.org (GH-7613) | Ned Deily | 2018-06-11 | 1 | -1/+1 |
| | |||||
* | bpo-17232: Clarify docs for -O and -OO command line options (#5839) | Cheryl Sabella | 2018-02-25 | 1 | -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 Peterson | 2017-12-09 | 1 | -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 Stinner | 2017-11-24 | 1 | -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 Peksag | 2017-10-13 | 1 | -7/+2 |
| | |||||
* | bpo-30737: Update DevGuide links to new URL (GH-3228) | Lisa Hewus Fresh | 2017-08-30 | 1 | -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 twice | INADA Naoki | 2016-11-21 | 1 | -1/+2 |
| | |||||
* | Issue #28396: Remove any mention of .pyo files from the man page. | Brett Cannon | 2016-10-21 | 1 | -2/+2 |
| | | | | Thanks to Ville Skyttä for the patch. | ||||
* | merge 3.4 (#17167) | Benjamin Peterson | 2016-03-22 | 1 | -1/+1 |
|\ | |||||
| * | remove useless $ keyword (closes #17167) | Benjamin Peterson | 2016-03-22 | 1 | -1/+1 |
| | | |||||
* | | Issue #25899: Converted non-ASCII characters in docstrings and manpage | Serhiy Storchaka | 2015-12-18 | 1 | -1/+1 |
| | | | | | | | | to ASCII replacements. Original patch by Chris Angelico. | ||||
* | | merge 3.4 | Benjamin Peterson | 2015-05-11 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | add trailing slash | Benjamin Peterson | 2015-05-11 | 1 | -1/+1 |
| | | |||||
* | | merge 3.4 | Benjamin Peterson | 2015-04-30 | 1 | -6/+6 |
|\ \ | |/ | |||||
| * | update links | Benjamin Peterson | 2015-04-30 | 1 | -6/+6 |
| | | |||||
* | | merge 3.4 | Benjamin Peterson | 2015-04-29 | 1 | -2/+1 |
|\ \ | |/ | |||||
| * | improve phrasing | Benjamin Peterson | 2015-04-29 | 1 | -2/+1 |
| | | |||||
* | | Issue #24077: merge from 3.4 | Ned Deily | 2015-04-29 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #24077: Fix typo in man page for -I command option: -s, not -S. | Ned Deily | 2015-04-29 | 1 | -1/+1 |
| | | |||||
* | | Issue #23731: Implement PEP 488. | Brett Cannon | 2015-04-13 | 1 | -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 Brandl | 2014-10-28 | 1 | -5/+0 |
| | |||||
* | Issue #16400: Add command line option for isolated mode. | Christian Heimes | 2013-08-10 | 1 | -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 Melotti | 2013-07-25 | 1 | -1/+2 |
| | | | | by Elena Oat. | ||||
* | Add -b and -X options to python man page. | Senthil Kumaran | 2013-06-20 | 1 | -4/+18 |
| | | | | Patch contributed by Corey Brune. | ||||
* | Do not italicize punctuation in python(1) manual page (Matt Kraai). | doko@ubuntu.com | 2012-06-20 | 1 | -6/+6 |
| | |||||
* | enable hash randomization by default | Benjamin Peterson | 2012-02-21 | 1 | -20/+3 |
| | |||||
* | Merge 3.2: Issue #13703 plus some related test suite fixes. | Georg Brandl | 2012-02-20 | 1 | -0/+29 |
|\ | |||||
| * | Merge from 3.1: Issue #13703: add a way to randomize the hash values of ↵ | Georg Brandl | 2012-02-20 | 1 | -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 Brandl | 2012-02-20 | 1 | -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 Araujo | 2011-11-29 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Fix last remaining references to ex-devguide | Éric Araujo | 2011-11-29 | 1 | -1/+1 |
| | | | |||||
* | | | Merge #11971: fix man page; it's -OO not -O0 | R David Murray | 2011-05-01 | 1 | -2/+2 |
|\ \ \ | |/ / | | | | | | | Patch by Lars Michelsen. | ||||
| * | | Merge #11971: fix man page; it's -OO not -O0 | R David Murray | 2011-05-01 | 1 | -2/+2 |
| |\ \ | | |/ | | | | | | | Patch by Lars Michelsen. | ||||
| | * | #11971: fix man page; it's -OO not -O0 | R David Murray | 2011-05-01 | 1 | -2/+2 |
| | | | | | | | | | | | | Patch by Lars Michelsen. | ||||
| | * | Merged revisions 85436 via svnmerge from | Benjamin Peterson | 2010-10-13 | 1 | -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 ........ |