<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Lib/pdb.py, branch constant-kind</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/'/>
<entry>
<title>bpo-35931: Gracefully handle SyntaxError in pdb debug command (GH-11782)</title>
<updated>2019-02-15T20:52:53+00:00</updated>
<author>
<name>Daniel Hahler</name>
<email>github@thequod.de</email>
</author>
<published>2019-02-15T20:52:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=4327705cfab3eb09073ec828570bbd8f789e1611'/>
<id>4327705cfab3eb09073ec828570bbd8f789e1611</id>
<content type='text'>
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</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-32691: Use mod_spec.parent when running modules with pdb (GH-5474)</title>
<updated>2018-02-03T06:40:11+00:00</updated>
<author>
<name>Mario Corchero</name>
<email>mariocj89@gmail.com</email>
</author>
<published>2018-02-03T06:40:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=38bfa8418f5d39bcc7478b8f7aef4a632c26172e'/>
<id>38bfa8418f5d39bcc7478b8f7aef4a632c26172e</id>
<content type='text'>
Previously the module name was used, which broke relative imports when pdb was run against a plain module or submodule.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously the module name was used, which broke relative imports when pdb was run against a plain module or submodule.
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-32206: Update pdb usage to include new module option (GH-5111)</title>
<updated>2018-01-28T04:58:47+00:00</updated>
<author>
<name>Mario Corchero</name>
<email>mariocj89@gmail.com</email>
</author>
<published>2018-01-28T04:58:47+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=fcf8b4c1022bc2d2f84dcef5d72eabf40a25ea19'/>
<id>fcf8b4c1022bc2d2f84dcef5d72eabf40a25ea19</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-32206: Pdb can now run modules (GH-4752)</title>
<updated>2018-01-06T07:53:05+00:00</updated>
<author>
<name>Mario Corchero</name>
<email>mariocj89@gmail.com</email>
</author>
<published>2018-01-06T07:53:05+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=9f1e5f1b7f074e026843a5d70834233a95a6bf9d'/>
<id>9f1e5f1b7f074e026843a5d70834233a95a6bf9d</id>
<content type='text'>
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.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.

</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31389 Add an optional `header` argument to pdb.set_trace() (#3438)</title>
<updated>2017-09-22T16:29:42+00:00</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2017-09-22T16:29:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=35425d638c0eeb8377620e016f47df3ae08d7061'/>
<id>35425d638c0eeb8377620e016f47df3ae08d7061</id>
<content type='text'>
* Give pdb.set_trace() an optional `header` argument

* What's new.

* Give pdb.set_trace() an optional `header` argument

* What's new.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Give pdb.set_trace() an optional `header` argument

* What's new.

* Give pdb.set_trace() an optional `header` argument

* What's new.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #20766: Merge with 3.5.</title>
<updated>2016-10-12T18:16:05+00:00</updated>
<author>
<name>Xavier de Gaye</name>
<email>xdegaye@users.sourceforge.net</email>
</author>
<published>2016-10-12T18:16:05+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=291417da7fc141e4ede93b804b6532460f2cc528'/>
<id>291417da7fc141e4ede93b804b6532460f2cc528</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #20766: Fix references leaked by pdb in the handling of SIGINT handlers.</title>
<updated>2016-10-12T18:13:24+00:00</updated>
<author>
<name>Xavier de Gaye</name>
<email>xdegaye@users.sourceforge.net</email>
</author>
<published>2016-10-12T18:13:24+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=10e54aeaa234f2806b367c66e3fb4ac6568b39f6'/>
<id>10e54aeaa234f2806b367c66e3fb4ac6568b39f6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #18401: pdb tests don't read ~/.pdbrc anymore</title>
<updated>2016-09-10T05:21:17+00:00</updated>
<author>
<name>Łukasz Langa</name>
<email>lukasz@langa.pl</email>
</author>
<published>2016-09-10T05:21:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=2eb6eca3e5118009b6b74b444d73aa377fb44098'/>
<id>2eb6eca3e5118009b6b74b444d73aa377fb44098</id>
<content type='text'>
Patch by Martin Matusiak and Sam Kimbrel.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Patch by Martin Matusiak and Sam Kimbrel.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #27171: Fix typos in documentation, comments, and test function names</title>
<updated>2016-06-02T10:07:09+00:00</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2016-06-02T10:07:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=e26da7c03a714faa115fe6b708ef0730119aa4b3'/>
<id>e26da7c03a714faa115fe6b708ef0730119aa4b3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #27076: Doc, comment and tests spelling fixes</title>
<updated>2016-05-26T05:35:26+00:00</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2016-05-26T05:35:26+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=46f50726a0047ae81d478c3a206f587b8f35ed08'/>
<id>46f50726a0047ae81d478c3a206f587b8f35ed08</id>
<content type='text'>
Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
</pre>
</div>
</content>
</entry>
</feed>
