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 pitrou
Recipients Henrique Andrade, davin, pablogsal, pitrou
Date 2018-03-23.16:57:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1521824233.23.0.467229070634.issue33081@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for reporting this.  I agree this is a real issue, but it doesn't exist on Python 3 anymore:

>>> q = multiprocessing.Queue()
>>> q.put(1)
>>> q.get()
1
>>> threading.enumerate()
[<_MainThread(MainThread, started 139978753529600)>, <Thread(QueueFeederThread, started daemon 139978667779840)>]
>>> q.close()
>>> threading.enumerate()
[<_MainThread(MainThread, started 139978753529600)>]
>>> os.getpid()
17318

And in another terminal:

$ ls -la /proc/17318/fd
total 0
dr-x------ 2 antoine antoine  0 mars  23 17:51 .
dr-xr-xr-x 9 antoine antoine  0 mars  23 17:51 ..
lrwx------ 1 antoine antoine 64 mars  23 17:52 0 -> /dev/pts/8
lrwx------ 1 antoine antoine 64 mars  23 17:52 1 -> /dev/pts/8
lrwx------ 1 antoine antoine 64 mars  23 17:51 2 -> /dev/pts/8


I'm uninterested in fixing this on Python 2, so I'm closing.
History
Date User Action Args
2018-03-23 16:57:13pitrousetrecipients: + pitrou, davin, Henrique Andrade, pablogsal
2018-03-23 16:57:13pitrousetmessageid: <1521824233.23.0.467229070634.issue33081@psf.upfronthosting.co.za>
2018-03-23 16:57:13pitroulinkissue33081 messages
2018-03-23 16:57:13pitroucreate