New submission from Serhiy Storchaka: It is common that exhausted iterator frees a reference to iterating sequence. All builtin sequences (list, tuple, str, bytes, bytearray), set and dict support this. It would be nice if dequeue will support this too.
---------- components: Extension Modules messages: 261265 nosy: rhettinger, serhiy.storchaka priority: normal severity: normal stage: needs patch status: open title: Exhausted dequeue iterator should free a reference to a deque type: enhancement versions: Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26496> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com