summaryrefslogtreecommitdiffstats
path: root/Doc/using/cmdline.rst
Commit message (Collapse)AuthorAgeFilesLines
* bpo-28647: Update -u documentation after bpo-30404 (GH-3961)Berker Peksag2017-10-131-1/+2
|
* PEP 553 built-in breakpoint() function (bpo-31353) (#3355)Barry Warsaw2017-10-051-0/+12
| | | Implement PEP 553, built-in breakpoint() with support from sys.breakpointhook(), along with documentation and tests. Closes bpo-31353
* bpo-30404: The -u option now makes the stdout and stderr streams totally ↵Serhiy Storchaka2017-10-041-4/+4
| | | | unbuffered. (#1667)
* bpo-31415: Add `-X importtime` option (GH-3490)INADA Naoki2017-10-031-0/+7
| | | | | | It shows show import time of each module. It's useful for optimizing startup time. Typical usage: python -X importtime -c 'import requests'
* bpo-30565: Add PYTHONCOERCECLOCALE=warn runtime flag (GH-2260)Nick Coghlan2017-06-181-0/+5
| | | | | | | | | | | | - removes PY_WARN_ON_C_LOCALE build time flag - locale coercion and compatibility warnings are now always compiled in, but are off by default - adds PYTHONCOERCECLOCALE=warn runtime option to aid in debugging potentially locale related compatibility problems Due to not-yet-resolved test failures on *BSD systems (including Mac OS X), this also temporarily disables UTF-8 as a locale coercion target, and skips testing the interpreter's behavior in the POSIX locale.
* bpo-28180: Implementation for PEP 538 (#659)Nick Coghlan2017-06-111-0/+36
| | | | | | | | | | - new PYTHONCOERCECLOCALE config setting - coerces legacy C locale to C.UTF-8, C.utf8 or UTF-8 by default - always uses C.UTF-8 on Android - uses `surrogateescape` on stdin and stdout in the coercion target locales - configure option to disable locale coercion at build time - configure option to disable C locale warning at build time
* bpo-29898: Fix incorrect env variable name (GH-1576)Berker Peksag2017-05-161-2/+2
| | | | It should read PYTHONLEGACYWINDOWSSTDIO as stated in section "Add legacy mode" in PEP 528.
* bpo-29770: remove outdated PYO related info (GH-590)Xiang Zhang2017-03-111-2/+2
|
* massage English for -X descriptions a bitBenjamin Peterson2017-02-101-5/+7
|
* Issue #28532: Add what's new entry for python -VV optionINADA Naoki2016-11-241-0/+2
|
* Issue #28532: Show sys.version when -V option is supplied twiceINADA Naoki2016-11-211-1/+6
|
* Issue #26638: Merge option warning fixes from 3.5 into 3.6Martin Panter2016-10-301-2/+3
|\
| * Issue #26638: Work around more CLI options that can’t be linkedMartin Panter2016-10-301-0/+1
| | | | | | | | | | | | * Cannot seem to link directly to main options from the “unittest” module, because that module has its own set of options * Mask out linking for options that no longer exist in Python 3
| * Issue #26638: Mask undefined CLI options to defeat new Sphinx warningsMartin Panter2016-10-301-2/+2
| |
* | Issue #1602: Windows console doesn't input or print Unicode (PEP 528)Steve Dower2016-08-311-0/+17
| | | | | | | | Closes #17602: Adds a readline implementation for the Windows console
* | Issue #27781: Change file system encoding on Windows to UTF-8 (PEP 529)Steve Dower2016-09-081-0/+14
| |
* | Issue #12982: Merge from 3.5Berker Peksag2016-08-201-3/+1
|\ \ | |/
| * Issue #12982: Thanks to PEP 488, Python no longer creates .pyo filesBerker Peksag2016-08-201-3/+1
| |
* | Issue #23034: The output of a special Python build with defined COUNT_ALLOCS,Serhiy Storchaka2016-07-031-0/+5
| | | | | | | | | | | | SHOW_ALLOC_COUNT or SHOW_TRACK_COUNT macros is now off by default. It can be re-enabled using the "-X showalloccount" option. It now outputs to stderr instead of stdout.
* | PyMem_Malloc() now uses the fast pymalloc allocatorVictor Stinner2016-04-221-6/+5
| | | | | | | | | | | | | | Issue #26249: PyMem_Malloc() allocator family now uses the pymalloc allocator rather than system malloc(). Applications calling PyMem_Malloc() without holding the GIL can now crash: use PYTHONMALLOC=debug environment variable to validate the usage of memory allocators in your application.
* | Fix typo in doc: avoid the french "& cie" :-)Victor Stinner2016-03-231-4/+4
| |
* | Doc: fix typos, patch written by Stefan BehnelVictor Stinner2016-03-181-4/+4
| |
* | Enhance documentation on malloc debug hooksVictor Stinner2016-03-181-6/+10
| | | | | | | | Issue #26564, #26516, #26563.
* | Add PYTHONMALLOC env varVictor Stinner2016-03-141-6/+45
|/ | | | | | | | | | | | | Issue #26516: * Add PYTHONMALLOC environment variable to set the Python memory allocators and/or install debug hooks. * PyMem_SetupDebugHooks() can now also be used on Python compiled in release mode. * The PYTHONMALLOCSTATS environment variable can now also be used on Python compiled in release mode. It now has no effect if set to an empty string. * In debug mode, debug hooks are now also installed on Python memory allocators when Python is configured without pymalloc.
* Closes #26435: fix syntax in directives. Thanks to Jakub Stasiak.Georg Brandl2016-02-251-1/+1
|
* Issue #26304: Change "allows to <verb>" to "allows <verb>ing" or similarMartin Panter2016-02-101-1/+1
| | | | | The original form is incorrect grammar and feels awkward, even though the meaning is clear.
* Issue #14285: Do not catch exceptions initializing any ancestor packageMartin Panter2015-12-101-1/+1
| | | | | | | | The previous fix only handled the case of the parent package of __main__ failing to initialize. Also make the "Error while finding spec" formatting slightly more appealing, and document and test that the module name must be absolute.
* Marked keystrokes with the :kbd: role.Serhiy Storchaka2015-09-121-1/+1
|\ | | | | | | Fixed the case of the "Ctrl-" prefixes.
| * Marked keystrokes with the :kbd: role.Serhiy Storchaka2015-09-121-1/+1
| | | | | | | | Fixed the case of the "Ctrl-" prefixes.
* | Regenerated pydoc-topics and fixed bad/suspicious doc markup for Python 3.5.0a4.Larry Hastings2015-04-191-1/+1
| |
* | Issue #23731: Implement PEP 488.Brett Cannon2015-04-131-1/+1
| | | | | | | | | | | | 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.
* | Issue #23681: The -b option now affects comparisons of bytes with int.Serhiy Storchaka2015-03-201-1/+4
|/
* Issue #12602: Add missing cross-references to runpy and using/cmdline docs.Berker Peksag2014-12-091-4/+8
| | | | Patch by Éric Araujo.
* Fixing broken links in doc, part 3: the restGeorg Brandl2014-10-291-1/+1
|
* PYTHONY2K is long gone. Remove traces from the docs and manpage.Georg Brandl2014-10-281-8/+0
|
* Revert #22251Berker Peksag2014-09-271-5/+1
|
* Issue #22251: Fix ReST markup to avoid errors building docs.Berker Peksag2014-09-271-1/+5
|
* asyncio: document the debug modeVictor Stinner2014-06-221-2/+2
|
* asyncio, Tulip issue #136: Add get/set_debug() methods to BaseEventLoopTests.Victor Stinner2014-02-191-0/+8
| | | | | | Add also a PYTHONASYNCIODEBUG environment variable to debug coroutines since Python startup, to be able to debug coroutines defined directly in the asyncio module.
* whatsnew: -m <namespace package>, plus 'using' doc updates.R David Murray2014-02-021-1/+5
|
* Issue #18874: Remove tracemalloc.set_traceback_limit()Victor Stinner2013-11-231-8/+10
| | | | tracemalloc.start() now has an option nframe parameter
* Issue #18874: Implement the PEP 454 (tracemalloc)Victor Stinner2013-11-231-2/+16
|
* Issue #18818: The "encodingname" part of PYTHONIOENCODING is now optional.Serhiy Storchaka2013-09-131-3/+6
|
* Close #18957: The PYTHONFAULTHANDLER environment variable now only enables theVictor Stinner2013-09-081-8/+8
| | | | | faulthandler module if the variable is non-empty. Same behaviour than other variables like PYTHONDONTWRITEBYTECODE.
* Issue #16400: Add command line option for isolated mode.Christian Heimes2013-08-101-2/+15
| | | | | | | | | | -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.
* (Merge 3.3) doc of PYTHONFAULTHANDLER env var: add missing "versionadded" tagVictor Stinner2013-07-281-0/+2
|\
| * doc of PYTHONFAULTHANDLER env var: add missing "versionadded" tagVictor Stinner2013-07-281-0/+2
| |
* | #16937: merge with 3.3.Ezio Melotti2013-07-251-2/+2
|\ \ | |/
| * #16937: document that stdin is always buffered, even when -u is used. Patch ↵Ezio Melotti2013-07-251-2/+2
| | | | | | | | by Elena Oat.
* | Issue #5845: Enable tab-completion in the interactive interpreter by ↵Antoine Pitrou2013-05-041-2/+7
| | | | | | | | | | | | default, thanks to a new sys.__interactivehook__. (original patch by Éric Araujo)