Message314050
> 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. :) |
|
Date |
User |
Action |
Args |
2018-03-18 18:01:05 | pablogsal | set | recipients:
+ pablogsal, pitrou, davin, Henrique Andrade |
2018-03-18 18:01:05 | pablogsal | set | messageid: <1521396065.37.0.467229070634.issue33081@psf.upfronthosting.co.za> |
2018-03-18 18:01:05 | pablogsal | link | issue33081 messages |
2018-03-18 18:01:05 | pablogsal | create | |
|