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 vstinner
Recipients gvanrossum, ngg, vstinner, yselivanov
Date 2016-02-17.09:07:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1455700059.27.0.514907630837.issue26371@psf.upfronthosting.co.za>
In-reply-to
Content
"If this usage is not supported (...)"

You can use threads, but access concurrently asyncore/asynchat from different threads. You have to build a communicate channel between your threads using thread-safe primitive like queue.Queue. asyncio has a builtin support for that: loop.call_soon_threadsafe().

Why not using asyncio instead of having to rebuild your own implementation?
History
Date User Action Args
2016-02-17 09:07:39vstinnersetrecipients: + vstinner, gvanrossum, yselivanov, ngg
2016-02-17 09:07:39vstinnersetmessageid: <1455700059.27.0.514907630837.issue26371@psf.upfronthosting.co.za>
2016-02-17 09:07:39vstinnerlinkissue26371 messages
2016-02-17 09:07:38vstinnercreate