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.16:46:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1521391583.97.0.467229070634.issue33081@psf.upfronthosting.co.za>
In-reply-to
Content
Notice that the documentation for close says:

> Indicate that no more data will be put on this queue by the current process. The background thread will quit once it has flushed all buffered data to the pipe. This is called automatically when the queue is garbage collected.

The method does not promise to close any pipe, just "Indicate that no more data will be put on this queue by the current process". Closing prematurely the writer side could lead to issues. I still do not understand why you would want to close the pipes but maintain the queue alive.

I could be missing something, so let's see if other people think differently about this.
History
Date User Action Args
2018-03-18 16:46:24pablogsalsetrecipients: + pablogsal, pitrou, davin, Henrique Andrade
2018-03-18 16:46:23pablogsalsetmessageid: <1521391583.97.0.467229070634.issue33081@psf.upfronthosting.co.za>
2018-03-18 16:46:23pablogsallinkissue33081 messages
2018-03-18 16:46:23pablogsalcreate