Message323341
> 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. |
|
| Date |
User |
Action |
Args |
| 2018-08-09 15:44:29 | alex.gronholm | set | recipients:
+ alex.gronholm, asvetlov, eric.snow, yselivanov |
| 2018-08-09 15:44:29 | alex.gronholm | set | messageid: <[email protected]> |
| 2018-08-09 15:44:29 | alex.gronholm | link | issue34270 messages |
| 2018-08-09 15:44:29 | alex.gronholm | create | |
|