Pablo Galindo Salgado <pablog...@gmail.com> added the comment: > RAII in C++ ensures that, on object destruction, resources that have been > acquired will be closed and deallocated.
Which is exactly what is happening here. When the queue gets destroyed (because the reference count reaches 0 or because of the garbage collector) resources that have been acquired by the queue will be closed an deallocated. Sadly, I don't think I have anything different to apport to this discussion, so let's see what other people opinions are on this. Of course, feel free to start a thread on python-dev or python-ideas on how to improve the design. :) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33081> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com