This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Mentions of pdb.set_trace() in library/functions and library/sys incorrectly states that set_trace expects no arguments
Type: Stage: patch review
Components: Documentation Versions: Python 3.10, Python 3.9, Python 3.8, Python 3.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: Maciej Olko, ShubhamKJha, docs@python, ronaldoussoren
Priority: normal Keywords: patch

Created on 2020-08-09 00:14 by Maciej Olko, last changed 2022-04-11 14:59 by admin.

Pull Requests
URL Status Linked Edit
PR 21793 open ShubhamKJha, 2020-08-09 14:51
Messages (2)
msg375064 - (view) Author: Maciej Olko (Maciej Olko) * Date: 2020-08-09 00:14
An argument was added to pdb.set_trace() in Python 3.7 and those fragments of documentation should have been updated:

library/functions.rst:120
> By default, sys.breakpointhook() calls pdb.set_trace() expecting no arguments.

library/sys.rst
> For example, the default binding (e.g. pdb.set_trace()) expects no arguments, but you might bind it to a function that expects additional arguments (positional and/or keyword).
msg375065 - (view) Author: Shubham Kumar Jha (ShubhamKJha) * Date: 2020-08-09 04:34
I am a first-time contributor, can I start working on this?
History
Date User Action Args
2022-04-11 14:59:34adminsetgithub: 85682
2020-08-14 16:35:58nanjekyejoannahsetnosy: + ronaldoussoren
2020-08-09 14:51:05ShubhamKJhasetkeywords: + patch
stage: patch review
pull_requests: + pull_request20932
2020-08-09 04:34:43ShubhamKJhasetnosy: + ShubhamKJha
messages: + msg375065
2020-08-09 00:15:09Maciej Olkosettitle: Mentions of pdb.set_trace() in library/functions and library/sys uncorrectly states that set_trace expects no arguments -> Mentions of pdb.set_trace() in library/functions and library/sys incorrectly states that set_trace expects no arguments
2020-08-09 00:14:35Maciej Olkocreate