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.

Author xgenadam
Recipients xgenadam
Date 2020-10-28.18:07:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1603908435.7.0.582462540621.issue42184@roundup.psfhosted.org>
In-reply-to
Content
When an objects __repr__ or __str__ methods return None a TypeError is raised. However if this object is passed to a function and `args` is called from within pdb, pdb will immediately exit.

Attached to this is bug_example.py which contains a simple example of how to reproduce this.

Depending on circumstances this can make debugging difficult.

exact python version that this happened with:
Python 3.6.11
History
Date User Action Args
2020-10-28 18:07:15xgenadamsetrecipients: + xgenadam
2020-10-28 18:07:15xgenadamsetmessageid: <1603908435.7.0.582462540621.issue42184@roundup.psfhosted.org>
2020-10-28 18:07:15xgenadamlinkissue42184 messages
2020-10-28 18:07:15xgenadamcreate