This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pablogsal
Recipients Henrique Andrade, davin, pablogsal, pitrou
Date 2018-03-18.18:01:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1521396065.37.0.467229070634.issue33081@psf.upfronthosting.co.za>
In-reply-to
Content
> 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. :)
History
Date User Action Args
2018-03-18 18:01:05pablogsalsetrecipients: + pablogsal, pitrou, davin, Henrique Andrade
2018-03-18 18:01:05pablogsalsetmessageid: <1521396065.37.0.467229070634.issue33081@psf.upfronthosting.co.za>
2018-03-18 18:01:05pablogsallinkissue33081 messages
2018-03-18 18:01:05pablogsalcreate