[issue34270] Add names to asyncio tasks
Eric Snow
report at bugs.python.org
Thu Aug 9 11:39:36 EDT 2018
Eric Snow <ericsnowcurrently at gmail.com> added the comment:
I'm not too invested in any changes happening at this point, actually. :) Mostly I happened to be reading through the commit and noticed the inconsistency. If I had reviewed the PR then I would have asked that it be fixed. So I figured I'd mention it.
FWIW, I don't expect it would cause any problems. It could result in a different (between the two implementations) Task repr if the name's type (a str subclass) implements __repr__. There's also the possibility of side-effects (from the implementation of the name's type). Neither is a big deal (especially the latter since it's *not* a common use case). On the other had, the matter is made moot by using PyUnicode_CheckExact(). :)
----------
resolution: -> fixed
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34270>
_______________________________________
More information about the Python-bugs-list
mailing list