aioutils.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:aionotify 作者: rbarrois 项目源码 文件源码
def _fatal_error(self, exc, message):
        if isinstance(exc, OSError) and exc.errno == errno.EIO:
            if self._loop.get_debug():
                logger.debug("%r: %s", self, message, exc_info=True)
        else:
            self._loop.call_exception_handler({
                'message': message,
                'exception': exc,
                'transport': self,
                'protocol': self._protocol,
            })
        self._close(error=exc)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号