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 alex.gronholm
Recipients alex.gronholm, asvetlov, eric.snow, yselivanov
Date 2018-08-09.15:44:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1533829469.28.0.56676864532.issue34270@psf.upfronthosting.co.za>
In-reply-to
Content
> On the other had, the matter is made moot by using PyUnicode_CheckExact()

Then, in order to keep the pure Python implementation in sync, we'd have to change it to something like this:

if name is None:
   self._name = f'Task-{_task_name_counter()}'
elif isinstance(name, str):
   self._name = name
else:
   self._name = str(name)

I don't know about you, but it looks pretty awkward to me.
History
Date User Action Args
2018-08-09 15:44:29alex.gronholmsetrecipients: + alex.gronholm, asvetlov, eric.snow, yselivanov
2018-08-09 15:44:29alex.gronholmsetmessageid: <1533829469.28.0.56676864532.issue34270@psf.upfronthosting.co.za>
2018-08-09 15:44:29alex.gronholmlinkissue34270 messages
2018-08-09 15:44:29alex.gronholmcreate