[issue38019] asyncio subprocess AttributeError: 'NoneType' object has no attribute '_add_reader' / '_remove_reader'

2019-09-30 Thread Marat Sharafutdinov
Marat Sharafutdinov added the comment: Andrew, thank you! -- ___ Python tracker <https://bugs.python.org/issue38019> ___ ___ Python-bugs-list mailing list Unsub

[issue38019] asyncio subprocess AttributeError: 'NoneType' object has no attribute '_add_reader' / '_remove_reader'

2019-09-19 Thread Marat Sharafutdinov
Marat Sharafutdinov added the comment: Andrew, it would be nice to have it fixed within 3.8. Hope you'll find time for this. -- ___ Python tracker <https://bugs.python.org/is

[issue38019] asyncio subprocess AttributeError: 'NoneType' object has no attribute '_add_reader' / '_remove_reader'

2019-09-13 Thread Marat Sharafutdinov
Change by Marat Sharafutdinov : -- title: AttributeError: 'NoneType' object has no attribute '_add_reader' / '_remove_reader' -> asyncio subprocess AttributeError: 'NoneType' object has no attribute '_add_reader' / '_re

[issue38019] AttributeError: 'NoneType' object has no attribute '_add_reader' / '_remove_reader'

2019-09-03 Thread Marat Sharafutdinov
New submission from Marat Sharafutdinov : I'm trying to use dwdiff (https://os.ghalkes.nl/dwdiff.html) to compare two text files. While running subprocess I'm getting the following errors: ``` Traceback (most recent call last): File "test_dwdiff.py", line 17, in

[issue36629] imaplib test fails with errno 101

2019-04-15 Thread Marat Sharafutdinov
Marat Sharafutdinov added the comment: Thank you for the patch, Victor! -- ___ Python tracker <https://bugs.python.org/issue36629> ___ ___ Python-bugs-list m

[issue36629] imaplib test fails with errno 101

2019-04-14 Thread Marat Sharafutdinov
Marat Sharafutdinov added the comment: I see this error on my local Bamboo CI (runs on CentOS 7). -- ___ Python tracker <https://bugs.python.org/issue36

[issue36629] imaplib test fails with errno 101

2019-04-14 Thread Marat Sharafutdinov
New submission from Marat Sharafutdinov : == FAIL: test_imap4_host_default_value (test.test_imaplib.TestImaplib) -- Traceback (most recent call last): File

[issue35974] os.DirEntry.inode() returns invalid value within Docker container

2019-02-11 Thread Marat Sharafutdinov
New submission from Marat Sharafutdinov : I'm trying to build Python 3.7.2 within official CentOS 7.6.1810 image (https://hub.docker.com/_/centos) and getting the following error during testing: == FAIL: test_attri

[issue33115] Asyncio loop blocks with a lot of parallel tasks

2018-03-23 Thread Marat Sharafutdinov
Marat Sharafutdinov added the comment: Concerning the example adding a jitter is useful, thanks! But anyway in case there will be something not constant as sleeping for 1 sec is, the problem will continue to appear. -- ___ Python tracker <ht

[issue33115] Asyncio loop blocks with a lot of parallel tasks

2018-03-22 Thread Marat Sharafutdinov
Marat Sharafutdinov added the comment: Does this mean that GC uses most part of CPU time so the loop blocks? And another question: do you have any plans to optimize the loop so it would be possible to run really lot of tasks in parallel? Thanks

[issue33115] Asyncio loop blocks with a lot of parallel tasks

2018-03-21 Thread Marat Sharafutdinov
Marat Sharafutdinov added the comment: But why if I use multiprocessing (run 100 tasks by 100 workers) it still continue blocking loop within some workers? Are 100 tasks "a lot of work" for asyncio loop? ```python import asyncio from multiprocessing import Process worker_c

[issue33115] Asyncio loop blocks with a lot of parallel tasks

2018-03-21 Thread Marat Sharafutdinov
New submission from Marat Sharafutdinov : I want to schedule a lot of parallel tasks, but it becomes slow with loop blocking: ```python import asyncio task_count = 1 async def main(): for x in range(1, task_count + 1): asyncio.ensure_future(f(x)) async def f(x): if x

[issue31943] Add asyncio.Handle.cancelled() method

2017-11-18 Thread Marat Sharafutdinov
Change by Marat Sharafutdinov : -- versions: +Python 3.7 -Python 3.6 ___ Python tracker <https://bugs.python.org/issue31943> ___ ___ Python-bugs-list mailin

[issue31943] Add asyncio.Handle.cancelled() method

2017-11-06 Thread Marat Sharafutdinov
Change by Marat Sharafutdinov : -- title: Add asyncio.Handle.cancelled() and asyncio.TimerHandle.when -> Add asyncio.Handle.cancelled() method ___ Python tracker <https://bugs.python.org/issu

[issue31943] Add asyncio.Handle.cancelled() and asyncio.TimerHandle.when

2017-11-04 Thread Marat Sharafutdinov
New submission from Marat Sharafutdinov : It would be handy to access the loop's time the Handle's callback will be called at if you are using delayed calls with "delay" (not "when") argument. Also it is useful to know whether the call was cancelled

[issue26795] Fix PEP 344 Python version

2016-04-18 Thread Marat Sharafutdinov
New submission from Marat Sharafutdinov: Should be 3.0 instead of 2.5 -- assignee: docs@python components: Documentation files: pep-0344-version.patch keywords: patch messages: 263667 nosy: decaz, docs@python priority: normal severity: normal status: open title: Fix PEP 344 Python