New submission from Daniel Moore:

I originally posted this as a question on StackOverflow thinking I was doing 
something wrong:

http://stackoverflow.com/questions/43834494/python-3-6-attributeerror-simplequeue-object-has-no-attribute-poll/43835368#43835368

But I think I found the solution and answered my own question. I'm pretty sure 
you need to set:

self._poll = self._reader.poll

in the __setstate__ method in the SimpleQueue class of queues.py from the 
multiprocessing library. Otherwise, I'd love to know an alternative solution.

Thanks!

----------
components: Library (Lib), Windows
messages: 293209
nosy: Daniel Moore, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: “AttributeError: 'SimpleQueue' object has no attribute '_poll'”
type: crash
versions: Python 3.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30301>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to