Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [3.8] bpo-42383: pdb: do not fail to restart the target if the current ↵ | Andrey Bienkowski | 2021-01-26 | 1 | -0/+23 |
| | | | | directory changed (GH-23412) (#24323) | ||||
* | [3.8] bpo-42384: pdb: correctly populate sys.path[0] (GH-23338) (#24320) | Andrey Bienkowski | 2021-01-25 | 1 | -0/+42 |
| | |||||
* | bpo-41609: Fix output of pdb's whatis command for instance methods ↵ | Miss Islington (bot) | 2020-08-27 | 1 | -0/+41 |
| | | | | | | | (GH-21935) (#21976) (cherry picked from commit 022bc7572f061e1d1132a4db9d085b29707701e7) Co-authored-by: Irit Katriel <iritkatriel@yahoo.com> | ||||
* | bpo-41058: Use source file encoding in pdb.find_function(). (GH-21010) | Miss Islington (bot) | 2020-06-21 | 1 | -13/+39 |
| | | | | | (cherry picked from commit 19fcffa92773e008e4f5efb80047420a0cfafeec) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
* | bpo-36250: ignore ValueError from signal in non-main thread (GH-12251) | Miss Islington (bot) | 2019-09-09 | 1 | -0/+29 |
| | | | | | | Authored-By: blueyed <github@thequod.de> (cherry picked from commit 8d64bfafdffd9f866bb6ac2e5b4c4bdfcb16aea0) Co-authored-by: Daniel Hahler <github@thequod.de> | ||||
* | bpo-20523: pdb searches for .pdbrc in ~ instead of $HOME (GH-11847) | Miss Islington (bot) | 2019-08-02 | 1 | -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> (cherry picked from commit 7ea9a85f132b32347fcbd2cbe1b553a2e9890b56) Co-authored-by: Timothy Hopper <tdhopper@users.noreply.github.com> | ||||
* | bpo-36969: Make PDB args command display positional only arguments (GH-13459) | Rémi Lapeyre | 2019-05-24 | 1 | -5/+28 |
| | |||||
* | bpo-36969: Make PDB args command display keyword only arguments (GH-13452) | Rémi Lapeyre | 2019-05-20 | 1 | -4/+21 |
| | |||||
* | bpo-13120: fix typo with test_issue13120() method name (GH-12250) | Daniel Hahler | 2019-04-01 | 1 | -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 Hahler | 2019-03-12 | 1 | -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 Hahler | 2019-02-15 | 1 | -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 Cannon | 2018-06-02 | 1 | -0/+4 |
| | | | | tests (GH-7328) | ||||
* | bpo-32691: Use mod_spec.parent when running modules with pdb (GH-5474) | Mario Corchero | 2018-02-03 | 1 | -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 Svetlov | 2018-01-29 | 1 | -0/+46 |
| | |||||
* | bpo-32650: Add an asyncgen pdb test (#5406) | Yury Selivanov | 2018-01-29 | 1 | -0/+60 |
| | |||||
* | bpo-32650 Add support for async generators and more test for coroutines in ↵ | Pablo Galindo | 2018-01-29 | 1 | -1/+42 |
| | | | | pdb (#5403) | ||||
* | bpo-32650: Add native coroutine support to bdb when stepping over line (GH-5400) | Pablo Galindo | 2018-01-29 | 1 | -0/+55 |
| | |||||
* | bpo-32206: Update pdb usage to include new module option (GH-5111) | Mario Corchero | 2018-01-28 | 1 | -1/+4 |
| | |||||
* | bpo-32206: Pdb can now run modules (GH-4752) | Mario Corchero | 2018-01-06 | 1 | -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 Warsaw | 2017-09-22 | 1 | -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 Pitrou | 2017-09-07 | 1 | -3/+0 |
| | | | | | | * Remove Setup.config * Always define WITH_THREAD for compatibility. | ||||
* | Issue #20766: Merge with 3.5. | Xavier de Gaye | 2016-10-12 | 1 | -0/+23 |
|\ | |||||
| * | Issue #20766: Fix references leaked by pdb in the handling of SIGINT handlers. | Xavier de Gaye | 2016-10-12 | 1 | -0/+23 |
| | | |||||
* | | Issue #28338: Restore test_pdb doctests. | Xavier de Gaye | 2016-10-02 | 1 | -1/+1 |
| | | |||||
* | | Issue #18401: Fix test_pdb on Windows | Victor Stinner | 2016-09-10 | 1 | -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 set | Victor Stinner | 2016-09-10 | 1 | -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 Langa | 2016-09-10 | 1 | -19/+55 |
| | | | | | | | | Patch by Martin Matusiak and Sam Kimbrel. | ||||
* | | Issue #27076: Merge spelling from 3.5 | Martin Panter | 2016-05-26 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #27076: Doc, comment and tests spelling fixes | Martin Panter | 2016-05-26 | 1 | -1/+1 |
| | | | | | | | | Most fixes to Doc/ and Lib/ directories by Ville Skyttä. | ||||
* | | Issue #23277: Remove unused imports in tests. | Serhiy Storchaka | 2016-04-24 | 1 | -1/+0 |
|/ | |||||
* | Issue #16180: Exit pdb if file has syntax error, instead of trapping user | Terry Jan Reedy | 2015-09-05 | 1 | -0/+12 |
| | | | | in an infinite loop. Patch by Xavier de Gaye. | ||||
* | Issue #23821: Fixed test_pdb failure under -O. | Serhiy Storchaka | 2015-04-01 | 1 | -11/+15 |
| | |||||
* | Issue #22390: Remove files created by tests | Victor Stinner | 2014-10-05 | 1 | -0/+1 |
| | |||||
* | Issue #20746: Fix test_pdb to run in refleak mode (-R). Patch by Xavier de ↵ | Antoine Pitrou | 2014-08-12 | 1 | -0/+2 |
| | | | | Gaye. | ||||
* | Better behavior when stepping over yield[from]. Fixes issue 16596. By Xavier ↵ | Guido van Rossum | 2013-11-21 | 1 | -0/+305 |
| | | | | de Gaye. | ||||
* | pdb: modernize find_function() and add tests for it. | Georg Brandl | 2013-10-13 | 1 | -0/+30 |
| | | | | Closes #18714. | ||||
* | 18764: remove the problematic 'print' alias for the PDB 'p' command. | R David Murray | 2013-10-10 | 1 | -3/+6 |
| | | | | | | So that it no longer shadows the print function. Patch by Connor Osborn, doc and test changes by R. David Murray. | ||||
* | Issue #17177: Stop using imp in a bunch of tests | Brett Cannon | 2013-06-15 | 1 | -2/+2 |
| | |||||
* | Issue #17463: Fix test discovery for test_pdb.py | Andrew Svetlov | 2013-03-18 | 1 | -4/+5 |
| | |||||
* | Merge: skip pdb test for #13120 if threading is not available. | Andrew Svetlov | 2012-12-05 | 1 | -0/+3 |
|\ | |||||
| * | Skip pdb test for #13120 if threading is not available. | Andrew Svetlov | 2012-12-05 | 1 | -0/+3 |
| | | |||||
* | | Merge issue #13120: Allow to call pdb.set_trace() from thread. | Andrew Svetlov | 2012-12-04 | 1 | -0/+27 |
|\ \ | |/ | | | | | Patch by Ilya Sandler. | ||||
| * | Issue #13120: Allow to call pdb.set_trace() from thread. | Andrew Svetlov | 2012-12-04 | 1 | -0/+27 |
| | | | | | | | | Patch by Ilya Sandler. | ||||
| * | #13183: backport fixes to test_pdb to 3.2 branch | Georg Brandl | 2012-05-06 | 1 | -2/+5 |
| | | |||||
* | | Issue #13183: Revert 0b53b70a40a0 (reenable test on windows) | Martin v. Löwis | 2012-05-02 | 1 | -2/+1 |
| | | |||||
* | | fix closes issue13183 - windows test failure | Senthil Kumaran | 2012-05-02 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | fix windows test failure - issue13183 | Senthil Kumaran | 2012-05-02 | 1 | -1/+1 |
| | | |||||
* | | Disable test_13183 temporarily on Windows for 3.3a3 release.v3.3.0a3 | Georg Brandl | 2012-05-01 | 1 | -1/+2 |
| | | |||||
* | | test_pdb: fix failure of test_issue13183 in debug mode, and make sure files ↵ | Georg Brandl | 2012-05-01 | 1 | -2/+5 |
| | | | | | | | | are cleaned up. | ||||
* | | issue13183 - Fix pdb skipping frames after hitting a breakpoint and running ↵ | Senthil Kumaran | 2012-05-01 | 1 | -0/+51 |
|\ \ | |/ | | | | | step. Patch by Xavier de Gaye |