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 chris.jerdonek
Recipients Dennis Sweeney, chris.jerdonek, xtreak
Date 2020-05-20.07:25:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> Or should we be satisfied with the half-measure of including the qualname but not the module (at least for now)?

This is something I was wondering myself, too (also for other contexts). Let's take things one step at a time and limit ourselves just to __qualname__ in this issue. Including the module name can be discussed in a separate issue. (This question also comes up for the __repr__ of objects -- sometimes it includes the fully qualified name and sometimes it doesn't.)

For your last question, does this work?

>>> def foo(**kwargs): pass
>>> foo(**{1: 2})
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: keywords must be strings

(Also, the corrected link is here: )
Date User Action Args
2020-05-20 07:25:59chris.jerdoneksetrecipients: + chris.jerdonek, xtreak, Dennis Sweeney
2020-05-20 07:25:59chris.jerdoneksetmessageid: <>
2020-05-20 07:25:59chris.jerdoneklinkissue40679 messages
2020-05-20 07:25:59chris.jerdonekcreate