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 JelleZijlstra
Recipients JelleZijlstra, SilentGhost, ethan.furman
Date 2016-06-06.13:55:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1465221327.53.0.603000964131.issue27232@psf.upfronthosting.co.za>
In-reply-to
Content
No, that issue just adds the address to the repr() of types. It is not normal to use repr for type objects in error messages:

>>> int(None)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
>>> open(None, 0)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: open() argument 2 must be str, not int
>>> os.fspath(None)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: expected str, bytes or os.PathLike object, not <class 'NoneType' at 0x1086bb638>
History
Date User Action Args
2016-06-06 13:55:27JelleZijlstrasetrecipients: + JelleZijlstra, SilentGhost, ethan.furman
2016-06-06 13:55:27JelleZijlstrasetmessageid: <1465221327.53.0.603000964131.issue27232@psf.upfronthosting.co.za>
2016-06-06 13:55:27JelleZijlstralinkissue27232 messages
2016-06-06 13:55:27JelleZijlstracreate