summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pdb.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-41137: Use utf-8 encoding while reading .pdbrc files (GH-21263)Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)2021-07-081-0/+34
|
* bpo-34266: [pdb] handle ValueError from shlex.split() (GH-26656)Irit Katriel2021-07-031-0/+15
|
* bpo-43318: Fix a bug where pdb does not always echo cleared breakpoints ↵huzhaojie2021-06-111-0/+29
| | | | (GH-24646)
* bpo-37022: Fix bug where pdb's do_p/do_pp commands swallow exceptions from ↵Daniel Hahler2021-06-101-0/+28
| | | | repr (GH-18180)
* bpo-44348: Move trace-info to thread-state (GH-26623)Mark Shannon2021-06-101-2/+2
| | | | | * Move trace-info to thread state. * Correct output for pdb when turning on tracing in middle of line
* bpo-28528: Fix pdb.checkline() attribute error when 'curframe' is None. (#25438)Erlend Egeberg Aasland2021-05-111-0/+38
| | | | Co-authored-by: Thomas Kluyver <takowl@gmail.com>
* bpo-43960: test_pdb resets breakpoints (GH-25673)Irit Katriel2021-04-281-0/+1
| | | | Reset global breakpoint state at the beginning of test_pdb_next_command_in_generator_for_loop() to make it deterministic.
* bpo-24160: Fix test_pdb refleaks failure (GH-25182)Irit Katriel2021-04-041-3/+3
|
* bpo-24160: Fix breakpoints persistence across multiple pdb sessions (GH-21989)Irit Katriel2021-04-021-7/+73
|
* bpo-26053: Fix test_pdb.test_issue26053() (GH-25139)Irit Katriel2021-04-011-3/+3
|
* bpo-26053: Fix args echoed by pdb run command (#22033)Irit Katriel2021-04-011-0/+13
|
* bpo-42383: pdb: do not fail to restart the target if the current directory ↵Andrey Bienkowski2021-01-251-0/+23
| | | | | changed (#23412) This commit only adds tests and a news entry. The actual bug was fixed in the earlier commit.
* bpo-42384: pdb: correctly populate sys.path[0] (GH-23338)Andrey Bienkowski2021-01-221-0/+42
| | | Automerge-Triggered-By: GH:gvanrossum
* bpo-42864: Improve error messages regarding unclosed parentheses (GH-24161)Pablo Galindo2021-01-191-2/+2
|
* bpo-42246: Partial implementation of PEP 626. (GH-23113)Mark Shannon2020-11-121-1/+2
| | | * Implement new line number table format, as defined in PEP 626.
* bpo-41609: Fix output of pdb's whatis command for instance methods (GH-21935)Irit Katriel2020-08-271-0/+41
|
* bpo-40275: Use new test.support helper submodules in tests (GH-21452)Hai Shi2020-08-041-24/+24
|
* bpo-41069: Make TESTFN and the CWD for tests containing non-ascii ↵Serhiy Storchaka2020-06-251-4/+7
| | | | characters. (GH-21035)
* bpo-41058: Use source file encoding in pdb.find_function(). (GH-21010)Serhiy Storchaka2020-06-211-13/+39
|
* bpo-36250: ignore ValueError from signal in non-main thread (GH-12251)Daniel Hahler2019-09-091-0/+29
| | | | Authored-By: blueyed <github@thequod.de>
* bpo-20523: pdb searches for .pdbrc in ~ instead of $HOME (GH-11847)Timothy Hopper2019-08-021-0/+13
| | | | | | | | | | | | | | | | Previously pdb checked the $HOME environmental variable to find the user .pdbrc. If $HOME is not set, the user .pdbrc would not be found. Change pdb to use `os.path.expanduser('~')` to determine the user's home directory. Thus, if $HOME is not set (as in tox or on Windows), os.path.expanduser('~') falls back on other techniques for locating the user's home directory. This follows pip's implementation for loading .piprc. Co-authored-by: Dan Lidral-Porter <dlp@aperiodic.org>
* Fix typos in comments, docs and test names (#15018)Min ho Kim2019-07-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | * Fix typos in comments, docs and test names * Update test_pyparse.py account for change in string length * Apply suggestion: splitable -> splittable Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu> * Apply suggestion: splitable -> splittable Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu> * Apply suggestion: Dealloccte -> Deallocate Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu> * Update posixmodule checksum. * Reverse idlelib changes.
* bpo-36969: Make PDB args command display positional only arguments (GH-13459)Rémi Lapeyre2019-05-241-5/+28
|
* bpo-36969: Make PDB args command display keyword only arguments (GH-13452)Rémi Lapeyre2019-05-201-4/+21
|
* bpo-13120: fix typo with test_issue13120() method name (GH-12250)Daniel Hahler2019-04-011-3/+3
| | | | | | Incorrect issue number '13210' added in 539ee5da6f. https://bugs.python.org/issue13120
* bpo-35931: Gracefully handle any exception in pdb debug command (GH-12103)Daniel Hahler2019-03-121-4/+18
| | | | This is relevant for `debug doesnotexist()`, which would crash with a NameError otherwise.
* bpo-35931: Gracefully handle SyntaxError in pdb debug command (GH-11782)Daniel Hahler2019-02-151-0/+8
| | | | | | | | Previously, `debug print(` would cause the interpreter to exit on a SyntaxError whereas `print(` would properly display the error and return to the pdb prompt. This patch fixes this by pre-compiling the code before passing it to `Pdb.run`. https://bugs.python.org/issue35931
* bpo-33562: Check the global asyncio event loop policy isn't set after any ↵Brett Cannon2018-06-021-0/+4
| | | | tests (GH-7328)
* bpo-32691: Use mod_spec.parent when running modules with pdb (GH-5474)Mario Corchero2018-02-031-1/+32
| | | | Previously the module name was used, which broke relative imports when pdb was run against a plain module or submodule.
* Add a test for pdb until command in coroutine (#5427)Andrew Svetlov2018-01-291-0/+46
|
* bpo-32650: Add an asyncgen pdb test (#5406)Yury Selivanov2018-01-291-0/+60
|
* bpo-32650 Add support for async generators and more test for coroutines in ↵Pablo Galindo2018-01-291-1/+42
| | | | pdb (#5403)
* bpo-32650: Add native coroutine support to bdb when stepping over line (GH-5400)Pablo Galindo2018-01-291-0/+55
|
* bpo-32206: Update pdb usage to include new module option (GH-5111)Mario Corchero2018-01-281-1/+4
|
* bpo-32206: Pdb can now run modules (GH-4752)Mario Corchero2018-01-061-17/+144
| | | | | | | | | | | Add a new argument "-m" to the pdb module to allow users to run `python -m pdb -m my_module_name`. This relies on private APIs in the runpy module to work, but we can get away with that since they're both part of the standard library and can be updated together if the runpy internals get refactored.
* bpo-31389 Add an optional `header` argument to pdb.set_trace() (#3438)Barry Warsaw2017-09-221-0/+12
| | | | | | | | | | * Give pdb.set_trace() an optional `header` argument * What's new. * Give pdb.set_trace() an optional `header` argument * What's new.
* bpo-31370: Remove support for threads-less builds (#3385)Antoine Pitrou2017-09-071-3/+0
| | | | | | * Remove Setup.config * Always define WITH_THREAD for compatibility.
* Issue #20766: Merge with 3.5.Xavier de Gaye2016-10-121-0/+23
|\
| * Issue #20766: Fix references leaked by pdb in the handling of SIGINT handlers.Xavier de Gaye2016-10-121-0/+23
| |
* | Issue #28338: Restore test_pdb doctests.Xavier de Gaye2016-10-021-1/+1
| |
* | Issue #18401: Fix test_pdb on WindowsVictor Stinner2016-09-101-14/+7
| | | | | | | | | | | | * Use "with Popen" to cleanup properly the process * Use support.temp_cwd() to properly change the working directory * Use environ.pop() to cleanup the code
* | Issue #18401: Fix test_pdb if $HOME is not setVictor Stinner2016-09-101-6/+10
| | | | | | | | | | | | HOME is not set on Windows for example. Use also textwrap.dedent() for the script.
* | Issue #18401: pdb tests don't read ~/.pdbrc anymoreŁukasz Langa2016-09-101-19/+55
| | | | | | | | Patch by Martin Matusiak and Sam Kimbrel.
* | Issue #27076: Merge spelling from 3.5Martin Panter2016-05-261-1/+1
|\ \ | |/
| * Issue #27076: Doc, comment and tests spelling fixesMartin Panter2016-05-261-1/+1
| | | | | | | | Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
* | Issue #23277: Remove unused imports in tests.Serhiy Storchaka2016-04-241-1/+0
|/
* Issue #16180: Exit pdb if file has syntax error, instead of trapping userTerry Jan Reedy2015-09-051-0/+12
| | | | in an infinite loop. Patch by Xavier de Gaye.
* Issue #23821: Fixed test_pdb failure under -O.Serhiy Storchaka2015-04-011-11/+15
|
* Issue #22390: Remove files created by testsVictor Stinner2014-10-051-0/+1
|
* Issue #20746: Fix test_pdb to run in refleak mode (-R). Patch by Xavier de ↵Antoine Pitrou2014-08-121-0/+2
| | | | Gaye.