Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [3.9] bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-12620) | Serhiy Storchaka | 2019-06-05 | 1 | -17/+1 |
| | | | Turn deprecation warnings added in 3.8 into TypeError. | ||||
* | Add option to trace to run modules (GH-5134) | Mario Corchero | 2019-06-01 | 1 | -15/+31 |
| | | | | | Adds a new option in trace that allows tracing runnable modules. It is exposed as `--module module_name` as `-m` is already in use for another argument. | ||||
* | bpo-36542: Allow to overwrite the signature for Python functions. (GH-12705) | Serhiy Storchaka | 2019-05-06 | 1 | -0/+1 |
| | |||||
* | bpo-36492: Deprecate passing some arguments as keyword arguments. (GH-12637) | Serhiy Storchaka | 2019-04-01 | 1 | -1/+16 |
| | | | | | | | | | | | | | | | | | | | | | | Deprecated passing the following arguments as keyword arguments: - "func" in functools.partialmethod(), weakref.finalize(), profile.Profile.runcall(), cProfile.Profile.runcall(), bdb.Bdb.runcall(), trace.Trace.runfunc() and curses.wrapper(). - "function" in unittest.addModuleCleanup() and unittest.TestCase.addCleanup(). - "fn" in the submit() method of concurrent.futures.ThreadPoolExecutor and concurrent.futures.ProcessPoolExecutor. - "callback" in contextlib.ExitStack.callback(), contextlib.AsyncExitStack.callback() and contextlib.AsyncExitStack.push_async_callback(). - "c" and "typeid" in the create() method of multiprocessing.managers.Server and multiprocessing.managers.SharedMemoryServer. - "obj" in weakref.finalize(). Also allowed to pass arbitrary keyword arguments (even "self" and "func") if the above arguments are passed as positional argument. | ||||
* | bpo-35202: Remove unused imports in Lib directory. (GH-10445) | Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి) | 2018-11-10 | 1 | -1/+0 |
| | |||||
* | bpo-35133: Fix mistakes when concatenate string literals on different lines. ↵ | Serhiy Storchaka | 2018-11-05 | 1 | -2/+2 |
| | | | | | | | | | | (GH-10284) Two kind of mistakes: 1. Missed space. After concatenating there is no space between words. 2. Missed comma. Causes unintentional concatenating in a list of strings. | ||||
* | bpo-34171: Prevent creating Lib/trace.cover when run the trace module. (GH-8841) | Serhiy Storchaka | 2018-08-25 | 1 | -10/+4 |
| | |||||
* | bpo-31908: Fix output of cover files for trace module command-line tool. ↵ | Michael Selik | 2018-05-01 | 1 | -23/+16 |
| | | | | | | (GH-4205) Previously emitted cover files only when --missing option was used. | ||||
* | bpo-32852: Fix trace changing sys.argv to tuple. (GH-5692) | Kyle Altendorf | 2018-02-17 | 1 | -1/+1 |
| | |||||
* | bpo-31370: Remove support for threads-less builds (#3385) | Antoine Pitrou | 2017-09-07 | 1 | -15/+9 |
| | | | | | | * Remove Setup.config * Always define WITH_THREAD for compatibility. | ||||
* | bpo-30166: Import command-line parsing modules only when needed. (#1293) | Serhiy Storchaka | 2017-05-04 | 1 | -1/+2 |
| | |||||
* | More typo fixes for 3.6 | Martin Panter | 2016-06-04 | 1 | -1/+1 |
| | |||||
* | Issue22642 - Convert trace module's option handling mechanism from getopt to ↵ | Senthil Kumaran | 2016-01-13 | 1 | -205/+134 |
| | | | | | | argparse. Patch contributed by SilentGhost. | ||||
* | Issue #26069: Remove the deprecated apis in the trace module. | Senthil Kumaran | 2016-01-11 | 1 | -43/+0 |
| | |||||
* | Issue #23731: Implement PEP 488. | Brett Cannon | 2015-04-13 | 1 | -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 #22831: Use "with" to avoid possible fd leaks. | Serhiy Storchaka | 2015-04-04 | 1 | -20/+20 |
| | |||||
* | Issue #22043: time.monotonic() is now always available | Victor Stinner | 2014-09-02 | 1 | -4/+1 |
| | | | | | threading.Lock.acquire(), threading.RLock.acquire() and socket operations now use a monotonic clock, instead of the system clock, when a timeout is used. | ||||
* | Fixes #10541: regrtest -T is broken | Alexander Belopolsky | 2014-06-29 | 1 | -9/+10 |
| | | | | | | * makes test_trace tests restore the tracefunc after they run * write_results() in trace module will not terminate if lnotab cannot be found. | ||||
* | Issue #19936: Added executable bits or shebang lines to Python scripts which | Serhiy Storchaka | 2014-01-16 | 1 | -0/+0 |
|\ | | | | | | | | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang lines in the unittestgui and checkpip scripts. | ||||
| * | Issue #19936: Added executable bits or shebang lines to Python scripts which | Serhiy Storchaka | 2014-01-16 | 1 | -0/+0 |
| | | | | | | | | | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang line to use python3 executable in the unittestgui script. | ||||
* | | Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) | Brett Cannon | 2013-07-04 | 1 | -2/+2 |
| | | |||||
* | | Issue #18200: Update the stdlib (except tests) to use | Brett Cannon | 2013-06-14 | 1 | -2/+2 |
| | | | | | | | | ModuleNotFoundError. | ||||
* | | #17143: merge with 3.3. | Ezio Melotti | 2013-02-15 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | #17143: fix a missing import in the trace module. Initial patch by Berker ↵ | Ezio Melotti | 2013-02-15 | 1 | -0/+1 |
| | | | | | | | | Peksag. | ||||
* | | Replace IOError with OSError (#16715) | Andrew Svetlov | 2012-12-25 | 1 | -5/+5 |
|/ | |||||
* | trace: remove unused imports. | Florent Xicluna | 2012-07-07 | 1 | -3/+0 |
| | |||||
* | Close #14690: Use monotonic clock instead of system clock in the sched, | Victor Stinner | 2012-05-30 | 1 | -3/+7 |
| | | | | subprocess and trace modules. | ||||
* | Implemented PEP 405 (Python virtual environments). | Vinay Sajip | 2012-05-26 | 1 | -4/+4 |
| | |||||
* | Make the trace module ignore modules whose names start with "<" and | Brett Cannon | 2012-04-11 | 1 | -2/+1 |
| | | | | end with ">", i.e. follow convention. | ||||
* | Prevent deprecation warning | Éric Araujo | 2011-04-17 | 1 | -1/+1 |
| | |||||
* | Issue #10371: Deprecated undocumented functions in the trace module. | Alexander Belopolsky | 2010-11-20 | 1 | -20/+63 |
| | |||||
* | Issue #10335: Add tokenize.open(), detect the file encoding using | Victor Stinner | 2010-11-09 | 1 | -3/+2 |
| | | | | tokenize.detect_encoding() and open it in read only mode. | ||||
* | Streamlined code in trace.Ignore and added unit tests. | Alexander Belopolsky | 2010-11-08 | 1 | -19/+16 |
| | |||||
* | Issue #10329: The trace module writes reports using the input Python script | Victor Stinner | 2010-11-07 | 1 | -4/+5 |
| | | | | | encoding, instead of the locale encoding. Patch written by Alexander Belopolsky. | ||||
* | Issue #10330: trace module can now be used with python built without threads. | Alexander Belopolsky | 2010-11-06 | 1 | -5/+18 |
| | |||||
* | close files correctly | Benjamin Peterson | 2010-10-30 | 1 | -11/+12 |
| | |||||
* | Reverted inadvertent change that slipped into r85695 | Alexander Belopolsky | 2010-10-18 | 1 | -1/+0 |
| | |||||
* | Issue #10117: Tools/scripts/reindent.py now accepts source files that | Alexander Belopolsky | 2010-10-18 | 1 | -0/+1 |
| | | | | | use encoding other than ASCII or UTF-8. Source encoding is preserved when reindented code is written to a file. | ||||
* | Issue 9941: Minor code cleanup before implementing the context manager feature: | Alexander Belopolsky | 2010-09-27 | 1 | -21/+11 |
| | | | | | | | - Eliminated code repetition between run and runctx; - Removed redundant calls to dict.key; - Removed unused "blabbed" attribute; - Simplified the loop in write_results_file(). | ||||
* | Issue #9936: Fixed executable lines' search in the trace module. | Alexander Belopolsky | 2010-09-24 | 1 | -8/+2 |
| | |||||
* | Issue #9315: Fix for the trace module to record correct class name | Alexander Belopolsky | 2010-09-13 | 1 | -8/+4 |
| | | | | when tracing methods. Unit tests. Patch by Eli Bendersky. | ||||
* | Fix softspace relic. | Georg Brandl | 2010-08-02 | 1 | -2/+2 |
| | |||||
* | Get rid of spurious "threading" entries in trace output. | Georg Brandl | 2010-08-02 | 1 | -2/+2 |
| | |||||
* | #4943: do not try to include drive letters (and colons) when looking for a ↵ | Georg Brandl | 2010-08-01 | 1 | -1/+3 |
| | | | | probably module name. | ||||
* | #1690103: fix initial namespace for code run with trace.main(). | Georg Brandl | 2010-08-01 | 1 | -1/+8 |
| | |||||
* | Issue #9323: Fixed a bug in trace.py that resulted in loosing the name | Alexander Belopolsky | 2010-07-21 | 1 | -6/+3 |
| | | | | of the script being traced. Patch by Eli Bendersky. | ||||
* | Issue #9282: Fixed --listfuncs option of trace.py. Thanks Eli | Alexander Belopolsky | 2010-07-20 | 1 | -1/+2 |
| | | | | Bendersky for the patch. | ||||
* | convert shebang lines: python -> python3 | Benjamin Peterson | 2010-03-11 | 1 | -1/+1 |
| | |||||
* | #6666: fix bug in trace.py that applied the list of ignored dirs only to 1st ↵ | Andrew M. Kuchling | 2010-02-22 | 1 | -1/+1 |
| | | | | file | ||||
* | #5656: detect correct encoding of files when reporting coverage in trace.py, ↵ | Georg Brandl | 2009-04-01 | 1 | -9/+17 |
| | | | | and ignore files in the temporary directory when reporting. |