Andrey Bienkowski
501d4a51e3
bpo-42383: pdb: do not fail to restart the target if the current directory changed ( #23412 )
...
This commit only adds tests and a news entry. The actual bug was fixed in the earlier commit.
2021-01-25 13:08:01 -08:00
Andrey Bienkowski
8603dfb421
bpo-42384: pdb: correctly populate sys.path[0] (GH-23338)
...
Automerge-Triggered-By: GH:gvanrossum
2021-01-21 17:19:51 -08:00
Pablo Galindo
d6d6371447
bpo-42864: Improve error messages regarding unclosed parentheses (GH-24161)
2021-01-19 23:59:33 +00:00
Mark Shannon
877df851c3
bpo-42246: Partial implementation of PEP 626. (GH-23113)
...
* Implement new line number table format, as defined in PEP 626.
2020-11-12 09:43:29 +00:00
Irit Katriel
022bc7572f
bpo-41609: Fix output of pdb's whatis command for instance methods (GH-21935)
2020-08-27 02:51:12 +02:00
Hai Shi
604bba1f8f
bpo-40275: Use new test.support helper submodules in tests (GH-21452)
2020-08-04 17:51:43 +02:00
Serhiy Storchaka
700cfa8c90
bpo-41069: Make TESTFN and the CWD for tests containing non-ascii characters. (GH-21035)
2020-06-25 17:56:31 +03:00
Serhiy Storchaka
19fcffa927
bpo-41058: Use source file encoding in pdb.find_function(). (GH-21010)
2020-06-21 11:07:50 +03:00
Daniel Hahler
8d64bfafdf
bpo-36250: ignore ValueError from signal in non-main thread (GH-12251)
...
Authored-By: blueyed <github@thequod.de >
2019-09-09 05:45:58 -05:00
Timothy Hopper
7ea9a85f13
bpo-20523: pdb searches for .pdbrc in ~ instead of $HOME (GH-11847)
...
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 >
2019-08-02 15:20:14 -07:00
Min ho Kim
c4cacc8c5e
Fix typos in comments, docs and test names ( #15018 )
...
* 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.
2019-07-30 18:16:13 -04:00
Rémi Lapeyre
458560347f
bpo-36969: Make PDB args command display positional only arguments (GH-13459)
2019-05-24 21:44:31 +01:00
Rémi Lapeyre
bf457c7d82
bpo-36969: Make PDB args command display keyword only arguments (GH-13452)
2019-05-20 23:17:30 +01:00
Daniel Hahler
9139f926a8
bpo-13120: fix typo with test_issue13120() method name (GH-12250)
...
Incorrect issue number '13210' added in 539ee5da6f .
https://bugs.python.org/issue13120
2019-04-01 14:59:50 -07:00
Daniel Hahler
3e936431e2
bpo-35931: Gracefully handle any exception in pdb debug command (GH-12103)
...
This is relevant for `debug doesnotexist()`, which would crash with a
NameError otherwise.
2019-03-11 20:29:04 -07:00
Daniel Hahler
4327705cfa
bpo-35931: Gracefully handle SyntaxError in pdb debug command (GH-11782)
...
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
2019-02-15 12:52:53 -08:00
Brett Cannon
8425de4147
bpo-33562: Check the global asyncio event loop policy isn't set after any tests (GH-7328)
2018-06-01 20:34:09 -07:00
Mario Corchero
38bfa8418f
bpo-32691: Use mod_spec.parent when running modules with pdb (GH-5474)
...
Previously the module name was used, which broke relative imports when pdb was run against a plain module or submodule.
2018-02-03 16:40:11 +10:00
Andrew Svetlov
4f4ef0acba
Add a test for pdb until command in coroutine ( #5427 )
2018-01-29 16:17:45 +02:00
Yury Selivanov
9ee1bf9ab5
bpo-32650: Add an asyncgen pdb test ( #5406 )
2018-01-28 22:43:46 -05:00
Pablo Galindo
c7ab581db2
bpo-32650 Add support for async generators and more test for coroutines in pdb ( #5403 )
2018-01-28 20:31:00 -05:00
Pablo Galindo
4687702442
bpo-32650: Add native coroutine support to bdb when stepping over line (GH-5400)
2018-01-29 02:25:05 +02:00
Mario Corchero
fcf8b4c102
bpo-32206: Update pdb usage to include new module option (GH-5111)
2018-01-28 14:58:47 +10:00
Mario Corchero
9f1e5f1b7f
bpo-32206: Pdb can now run modules (GH-4752)
...
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.
2018-01-06 17:53:05 +10:00
Barry Warsaw
35425d638c
bpo-31389 Add an optional header argument to pdb.set_trace() ( #3438 )
...
* Give pdb.set_trace() an optional `header` argument
* What's new.
* Give pdb.set_trace() an optional `header` argument
* What's new.
2017-09-22 12:29:42 -04:00