Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Marko Rauhamaa Newsgroups: comp.lang.python Subject: Re: Benefits of asyncio Date: Tue, 03 Jun 2014 16:42:28 +0300 Organization: A noiseless patient Spider Lines: 13 Message-ID: <87d2equn23.fsf@elektro.pacujo.net> References: <874n03t5t9.fsf@elektro.pacujo.net> <7x4n03dor0.fsf@ruckus.brouhaha.com> <878upe8poc.fsf@elektro.pacujo.net> <87ha42uos2.fsf@elektro.pacujo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx05.eternal-september.org; posting-host="ff5cf27ef3d5b31f034d3b72bdc27a41"; logging-data="15357"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+smCf4e8P9YUgyvjkNQQSK" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) Cancel-Lock: sha1:OOOLVutwXIxq8cnPH4127f8z2RY= sha1:bh27eAhNRIYft4ATNv0oHt9eGYQ= Xref: csiph.com comp.lang.python:72516 Chris Angelico : > https://docs.python.org/3.4/library/logging.html#logging.Logger.debug > > What happens if that blocks? How can you make sure it won't? I haven't used that class. Generally, Python standard libraries are not readily usable for nonblocking I/O. For myself, I have solved that particular problem my own way. Marko