Skip to content

ipdb: accept header= argument#14289

Merged
Carreau merged 1 commit into
ipython:mainfrom
MrMino:pdb-header
Jan 14, 2024
Merged

ipdb: accept header= argument#14289
Carreau merged 1 commit into
ipython:mainfrom
MrMino:pdb-header

Conversation

@MrMino
Copy link
Copy Markdown
Member

@MrMino MrMino commented Jan 11, 2024

This improves symmetry between Ipdb and vanilla old Pdb.

The header argument to pdb.set_trace() has been added in Python 3.7.

(This still requires changes in gotcha/ipdb to be fully useful - I'll get to that later 😉)

This improves symmetry between Ipdb and vanilla old Pdb.

The `header` argument to `pdb.set_trace()` has been added in Python 3.7.
@MrMino
Copy link
Copy Markdown
Member Author

MrMino commented Jan 11, 2024

A bit of trivia: funnily enough, the original reason for adding the header= argument to Pdb was actually IPython: https://bugs.python.org/issue31389 😄

@Carreau Carreau added this to the 8.21 milestone Jan 14, 2024
@Carreau
Copy link
Copy Markdown
Member

Carreau commented Jan 14, 2024

Haha ! Awesome !

@Carreau Carreau merged commit 8889ec7 into ipython:main Jan 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants