[issue36049] No __repr__() for queue.PriorityQueue and queue.LifoQueue
Stéphane Wirtel
report at bugs.python.org
Wed Feb 20 07:17:49 EST 2019
Stéphane Wirtel <stephane at wirtel.be> added the comment:
@remi.lapeyre
In fact, I am not sure about the performance issue but in the code of _collectionsmodule.c#deque_repr we create a PySequence_List, it's a new list. So for me, but maybe I am wrong, we will iterate over the deque container for the creation of the new list.
now, I think it's not a big issue (to confirm by @rhettinger)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36049>
_______________________________________
More information about the Python-bugs-list
mailing list