[issue15852] typos in curses argument error messages

2017-12-20 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue32395] asyncio.StreamReader.readuntil is not general enough

2017-12-20 Thread Andrew Svetlov
Andrew Svetlov added the comment: Support multiple separators looks easy, I don't expect any performance impact. Like we already have it for strings: s.startswith(('\n', '\r')) Regexps are more expensive thing, callbacks are kind of evil. Let's add a patch for mu

[issue32321] functools.reduce has a redundant guard or needs a pure Python fallback

2017-12-20 Thread Andrew Svetlov
Andrew Svetlov added the comment: See discussion in https://bugs.python.org/issue12428 (especially the last message) -- nosy: +asvetlov ___ Python tracker <https://bugs.python.org/issue32

[issue26133] asyncio: ugly error related to signal handlers at exit if the loop is not closed explicitly

2017-12-20 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +4848 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue26133> ___ ___ Py

[issue26133] asyncio: ugly error related to signal handlers at exit if the loop is not closed explicitly

2017-12-21 Thread Andrew Svetlov
Andrew Svetlov added the comment: Implemented PR 4956 following Victor's suggestion. -- ___ Python tracker <https://bugs.python.org/issue26133> ___ ___ Pytho

[issue26357] asyncio.wait loses coroutine return value

2017-12-21 Thread Andrew Svetlov
Andrew Svetlov added the comment: Let's close as "wont fix". If user need an identity for awaited coroutine -- he/she should return it as part of coroutine result. -- nosy: +asvetlov resolution: -> wont fix stage: -> resolved s

[issue28212] Closing server in asyncio is not efficient

2017-12-21 Thread Andrew Svetlov
Andrew Svetlov added the comment: Superseded by https://bugs.python.org/issue32391 -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Add StreamWriter.wait_closed() ___ Python tracker <https://

[issue30996] add coroutine AbstractEventLoop.sock_close

2017-12-21 Thread Andrew Svetlov
Andrew Svetlov added the comment: Well, removing the reader on future cancellation makes sense. Can be done by add_done_callback(). Yury, what do you think? -- nosy: +asvetlov versions: +Python 3.7 ___ Python tracker <https://bugs.python.

[issue32323] urllib.parse.urlsplit() must not lowercase() IPv6 scope value

2017-12-21 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset fdb148f949e3ae66036b75163ff68042d19cf0fc by Andrew Svetlov (Miss Islington (bot)) in branch '3.6': bpo-32323: urllib.parse.urlsplit() must not lowercase() IPv6 scope value (GH-4867) (#4959) https://github.com/python/cpyt

[issue32323] urllib.parse.urlsplit() must not lowercase() IPv6 scope value

2017-12-21 Thread Andrew Svetlov
Andrew Svetlov added the comment: RFC doesn't specify a case for Zone ID, let's keep it untouched (no lowercasing) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.8 ___ Pyt

[issue26133] asyncio: ugly error related to signal handlers at exit if the loop is not closed explicitly

2017-12-21 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 4a02543cf97e8cbf9293741379f977b85531e4c2 by Andrew Svetlov in branch 'master': bpo-26133: Dont unsubscribe signals in UNIX even loop on interpreter shutdown (#4956) https://github.com/python/cpyt

[issue26133] asyncio: ugly error related to signal handlers at exit if the loop is not closed explicitly

2017-12-21 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 3bc68cff5b821e83ee5df8b8cd13f4f54151b406 by Andrew Svetlov (Miss Islington (bot)) in branch '3.6': bpo-26133: Dont unsubscribe signals in UNIX even loop on interpreter shutdown (GH-4956) (#4962) https://github.com/python/cpyt

[issue31821] pause_reading() doesn't work from connection_made()

2017-12-21 Thread Andrew Svetlov
Change by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker <https://bugs.python.org/issue31821> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32115] Ignored SIGCHLD causes asyncio.Process.wait to hang forever

2017-12-21 Thread Andrew Svetlov
Andrew Svetlov added the comment: Thank for bug report. Do you know other widespread tools with this problem? plan9port sounds too esoteric to me. -- nosy: +asvetlov versions: +Python 3.6, Python 3.7 -Python 3.5 ___ Python tracker <ht

[issue32410] Implement loop.sock_sendfile method

2017-12-22 Thread Andrew Svetlov
New submission from Andrew Svetlov : The method should be low-level coroutine, implemented on loops with native sendfile support only (UnixEventLoop). The signature should be close to socket.sendfile() method Next step is implementing loop.sendfile(transport, ...) with fallback to sending by

[issue32410] Implement loop.sock_sendfile method

2017-12-22 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +4866 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue32410> ___ ___ Py

[issue32396] Implement method to write/read to serials without blocking on windows with asyncio

2017-12-22 Thread Andrew Svetlov
Andrew Svetlov added the comment: Looking on serial port support in twisted (https://github.com/twisted/twisted/blob/trunk/src/twisted/internet/_win32serialport.py) I see that it is implemented by OVERLAPPED structure and ReadFile/WriterFile calls. On other hand loop.sock_send() in

[issue32357] Optimize asyncio.iscoroutine() and loop.create_task() for non-native coroutines

2017-12-23 Thread Andrew Svetlov
Change by Andrew Svetlov : -- pull_requests: +4878 ___ Python tracker <https://bugs.python.org/issue32357> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32415] Add Task.get_loop() and Future.get_loop()

2017-12-23 Thread Andrew Svetlov
Andrew Svetlov added the comment: Agree -- ___ Python tracker <https://bugs.python.org/issue32415> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32418] Implement Server.get_loop() method

2017-12-23 Thread Andrew Svetlov
New submission from Andrew Svetlov : Future and Task will have the method (bpo-32415) AbstractServer and Server should support it too. -- components: Library (Lib), asyncio messages: 308963 nosy: asvetlov, yselivanov priority: normal severity: normal status: open title: Implement

[issue29780] Interpreter hang on self._epoll.poll(timeout, max_ev)

2017-12-23 Thread Andrew Svetlov
Andrew Svetlov added the comment: I see no hang in attached snapshot but notmal behavior. asyncio iterates over epoll.poll constantly waiting for network events or timeout. Closing the issue. -- nosy: +asvetlov resolution: -> works for me stage: -> resolved status: open -&g

[issue26666] File object hook to modify select(ors) event mask

2017-12-23 Thread Andrew Svetlov
Andrew Svetlov added the comment: Out of asynio library scope. -- nosy: +asvetlov resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue32327] Make asyncio methods documented as coroutines - coroutines.

2017-12-23 Thread Andrew Svetlov
Change by Andrew Svetlov : -- pull_requests: +4885 ___ Python tracker <https://bugs.python.org/issue32327> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26133] asyncio: ugly error related to signal handlers at exit if the loop is not closed explicitly

2017-12-24 Thread Andrew Svetlov
Change by Andrew Svetlov : -- pull_requests: +4891 ___ Python tracker <https://bugs.python.org/issue26133> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26133] asyncio: ugly error related to signal handlers at exit if the loop is not closed explicitly

2017-12-24 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 4f146f9ed133b9ad56d4ee7a653396836af34067 by Andrew Svetlov in branch 'master': bpo-26133: Clear signals list on interpreter finalizing (#5002) https://github.com/python/cpython/commit/4f146f9ed133b9ad56d4ee7a653396

[issue26133] asyncio: ugly error related to signal handlers at exit if the loop is not closed explicitly

2017-12-24 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 5ff5d1167de88eb37265dcaf1396d12617a0ace7 by Andrew Svetlov (Miss Islington (bot)) in branch '3.6': bpo-26133: Clear signals list on interpreter finalizing (GH-5002) (#5003) https://github.com/python/cpyt

[issue26133] asyncio: ugly error related to signal handlers at exit if the loop is not closed explicitly

2017-12-24 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.6, Python 3.7 -Python 3.5 ___ Python tracker <https://bugs.python.or

[issue31721] assertion failure in FutureObj_finalize() after setting _log_traceback to True

2017-12-25 Thread Andrew Svetlov
Andrew Svetlov added the comment: _log_traceback is a private property and asyncio implementation detail, you should never touch it. -- nosy: +asvetlov resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracke

[issue26133] asyncio: ugly error related to signal handlers at exit if the loop is not closed explicitly

2017-12-25 Thread Andrew Svetlov
Change by Andrew Svetlov : -- pull_requests: +4899 ___ Python tracker <https://bugs.python.org/issue26133> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26133] asyncio: ugly error related to signal handlers at exit if the loop is not closed explicitly

2017-12-26 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset a8f4e15f3d33084862ddd3a7d58cd00034e94f16 by Andrew Svetlov in branch 'master': bpo-26133: Fix typos (#5010) https://github.com/python/cpython/commit/a8f4e15f3d33084862ddd3a7d58cd0

[issue26133] asyncio: ugly error related to signal handlers at exit if the loop is not closed explicitly

2017-12-26 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 32518b439b9590cce0ef0639e558dc1ce2e152bb by Andrew Svetlov (Miss Islington (bot)) in branch '3.6': bpo-26133: Fix typos (GH-5010) (#5014) https://github.com/python/cpython/commit/32518b439b9590cce0ef0639e558dc

[issue32437] UnicodeError: 'IDNA does not round-trip'

2017-12-28 Thread Andrew Svetlov
Change by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker <https://bugs.python.org/issue32437> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32424] Rename copy() to __copy__() in xml.etree.ElementTree.Element Python implementation

2017-12-28 Thread Andrew Svetlov
Andrew Svetlov added the comment: Agree with Srinivas -- nosy: +asvetlov ___ Python tracker <https://bugs.python.org/issue32424> ___ ___ Python-bugs-list mailin

[issue17305] IDNA2008 encoding missing

2017-12-28 Thread Andrew Svetlov
Change by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker <https://bugs.python.org/issue17305> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32424] Rename copy() to __copy__() in xml.etree.ElementTree.Element Python implementation

2017-12-28 Thread Andrew Svetlov
Andrew Svetlov added the comment: pypy for example has Element.copy() -- ___ Python tracker <https://bugs.python.org/issue32424> ___ ___ Python-bugs-list mailin

[issue32424] Rename copy() to __copy__() in xml.etree.ElementTree.Element Python implementation

2017-12-28 Thread Andrew Svetlov
Andrew Svetlov added the comment: I mean dropping `.copy()` breaks not only compatibility between pure python versions but also between pypy releases and pypy/CPython code. That's why I suggest to keep `.copy()` as an alias for `__c

[issue32424] Rename copy() to __copy__() in xml.etree.ElementTree.Element Python implementation

2017-12-28 Thread Andrew Svetlov
Andrew Svetlov added the comment: For derivative Python implementation there is a standard strategy: they uses a copy of CPython standard library. Tthat's why any new module should have a pure Python implementation and that's why https://www.python.org/dev/peps/pep-0399/ exists.

[issue32424] Rename copy() to __copy__() in xml.etree.ElementTree.Element Python implementation

2017-12-28 Thread Andrew Svetlov
Andrew Svetlov added the comment: Yes. For designing from scratch copy() is not necessary but if we have it for decade -- better to unify pure Python and C implementation by adding missing methods. -- ___ Python tracker <https://bugs.python.

[issue32418] Implement Server.get_loop() method

2017-12-30 Thread Andrew Svetlov
Change by Andrew Svetlov : -- pull_requests: +4933 ___ Python tracker <https://bugs.python.org/issue32418> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32418] Implement Server.get_loop() method

2017-12-30 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset ffcb4c0165827d0a48ea973cc88bc134c74879fb by Andrew Svetlov in branch 'master': bpo-32418: Postfix, raise NotImplementdError and close resources in tests (#5052) https://github.com/python/cpython/commit/ffcb4c0165827d0a48ea973cc88bc1

[issue32418] Implement Server.get_loop() method

2017-12-30 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue32474] argparse nargs should support string wrapped integers too

2018-01-01 Thread Andrew Svetlov
Andrew Svetlov added the comment: -1 -- nosy: +asvetlov ___ Python tracker <https://bugs.python.org/issue32474> ___ ___ Python-bugs-list mailing list Unsub

[issue32472] Mention of __await__ missing in Coroutine Abstract Methods

2018-01-02 Thread Andrew Svetlov
Andrew Svetlov added the comment: `Coroutine` is inherited from `Awaitable`, that's why inherited abstract `__await__` method is present. It **is** consistent with the rest of the document: e.g. Mapping has no `__len__` method but inherits it from Collection which in turn is inherited

[issue30782] Allow limiting the number of concurrent tasks in asyncio.as_completed

2018-01-11 Thread Andrew Svetlov
Andrew Svetlov added the comment: Third parties are not python core devs responsibility. I don't aware about existing library with such functionality. -- ___ Python tracker <https://bugs.python.org/is

[issue33565] strange tracemalloc results

2018-05-18 Thread Andrew Svetlov
Andrew Svetlov added the comment: Victor, could you take a look? -- nosy: +asvetlov, vstinner ___ Python tracker <https://bugs.python.org/issue33565> ___ ___

[issue33544] Asyncio Event.wait() is a hold over from before awaitable, and should be awaitable

2018-05-19 Thread Andrew Svetlov
Andrew Svetlov added the comment: -1 for the proposal -- ___ Python tracker <https://bugs.python.org/issue33544> ___ ___ Python-bugs-list mailing list Unsub

[issue26819] _ProactorReadPipeTransport pause_reading()/resume_reading() broken if called before any read is perfored

2018-05-20 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 4151061855b571bf8a7579daa7875b8e243057b9 by Andrew Svetlov (CtrlZvi) in branch 'master': bpo-26819: Prevent proactor double read on resume (#6921) https://github.com/python/cpython/commit/4151061855b571bf8a7579daa7875b

[issue33263] Asyncio server enters an invalid state after a request with SO_LINGER

2018-05-21 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset a84d0b361a26c05c6fadc6640591ec3feee5bfb5 by Andrew Svetlov (Vlad Starostin) in branch 'master': bpo-33263: Fix FD leak in _SelectorSocketTransport (GH-6450) https://github.com/python/cpython/commit/a84d0b361a26c05c6fadc6640591ec

[issue33263] Asyncio server enters an invalid state after a request with SO_LINGER

2018-05-21 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset b8b800090ff0954117a26ffcb501307823f3d33a by Andrew Svetlov (Miss Islington (bot)) in branch '3.7': bpo-33263: Fix FD leak in _SelectorSocketTransport (GH-6450) (#7022) https://github.com/python/cpyt

[issue33523] loop.run_until_complete re-entrancy to support more complicated codebases in transition to asyncio

2018-05-21 Thread Andrew Svetlov
Andrew Svetlov added the comment: Sorry, no. The feature was requested many times but was constantly rejected. By this, you are adding a BLOCKING call to your async function. At least it leads to log warning about too long callback execution. Moreover, I suspect that `run_until_complete

[issue33037] Skip sending/receiving after SSL transport closing

2018-05-21 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue23749] asyncio missing wrap_socket (starttls)

2018-05-21 Thread Andrew Svetlov
Andrew Svetlov added the comment: Is the issue done? -- ___ Python tracker <https://bugs.python.org/issue23749> ___ ___ Python-bugs-list mailing list Unsub

[issue33263] Asyncio server enters an invalid state after a request with SO_LINGER

2018-05-21 Thread Andrew Svetlov
Change by Andrew Svetlov : -- pull_requests: +6673 ___ Python tracker <https://bugs.python.org/issue33263> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33546] asyncio.Condition should become awaitable in 3.9

2018-05-21 Thread Andrew Svetlov
Andrew Svetlov added the comment: No, condition variables don't work this way. The proper code looks like: async with cond: while not : await cond.wait() It cannot be collapsed to just `await cond`. -- resolution: -> rejected stage: -> resolved s

[issue33544] Asyncio Event.wait() is a hold over from before awaitable, and should be awaitable

2018-05-21 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> rejected stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue33238] AssertionError on await of Future returned by asyncio.wrap_future

2018-05-21 Thread Andrew Svetlov
Andrew Svetlov added the comment: Raising `InvalidStateError` sounds perfect. Would you make a pull request? -- ___ Python tracker <https://bugs.python.org/issue33

[issue33238] AssertionError on await of Future returned by asyncio.wrap_future

2018-05-21 Thread Andrew Svetlov
Change by Andrew Svetlov : -- versions: +Python 3.8 -Python 3.6 ___ Python tracker <https://bugs.python.org/issue33238> ___ ___ Python-bugs-list mailing list Unsub

[issue33263] Asyncio server enters an invalid state after a request with SO_LINGER

2018-05-21 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 7208bfb64b74f31f9704be3f01f26861c9cf092b by Andrew Svetlov in branch '3.6': [3.6] bpo-33263: Fix FD leak in _SelectorSocketTransport (GH-6450) (#7025) https://github.com/python/cpython/commit/7208bfb64b74f31f9704be3f01f268

[issue33263] Asyncio server enters an invalid state after a request with SO_LINGER

2018-05-21 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue33531] test_asyncio: test_subprocess test_stdin_broken_pipe() failure on Travis CI

2018-05-21 Thread Andrew Svetlov
Andrew Svetlov added the comment: Fixed failed sendfile tests on Windows (at least I hope so). -- ___ Python tracker <https://bugs.python.org/issue33531> ___ ___

[issue33624] Implement subclass hooks for asyncio abstract classes

2018-05-23 Thread Andrew Svetlov
New submission from Andrew Svetlov : To make clean inheritance hierarchy of objects implemented by third-party loop implementations. Now is impossible to implement AbstractServer in C or Cython. See also https://github.com/MagicStack/uvloop/issues/131 -- components: asyncio messages

[issue33605] Detect accessing event loop from a different thread outside of _debug

2018-05-23 Thread Andrew Svetlov
Andrew Svetlov added the comment: Heh, should we sacrifice performance? Documentation for asyncio explicitly states that the only safe interthreading call is `call_soon_threadsafe()`. If people use multithreaded environments with asyncio (Why? Usually `run_in_executor()` doesn't re

[issue26819] _ProactorReadPipeTransport pause_reading()/resume_reading() broken if called before any read is perfored

2018-05-25 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 749afe81ec0a4b92ad6b89a67c82f2c04f79c5ac by Andrew Svetlov (CtrlZvi) in branch '3.6': [3.6] bpo-26819: Prevent proactor double read on resume (GH-6921) (#7110) https://github.com/python/cpython/commit/749afe81ec0a4b92ad6b89a67c82f2

[issue26819] _ProactorReadPipeTransport pause_reading()/resume_reading() broken if called before any read is perfored

2018-05-25 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue17305] IDNA2008 encoding is missing

2018-05-28 Thread Andrew Svetlov
Change by Andrew Svetlov : -- title: IDNA2008 encoding missing -> IDNA2008 encoding is missing ___ Python tracker <https://bugs.python.org/issue17305> ___ _

[issue33654] asyncio: transports don't support switching between Protocol and BufferedProtocol

2018-05-29 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 2179022d94937d7b0600b0dc192ca6fa5f53d830 by Andrew Svetlov (Yury Selivanov) in branch 'master': bpo-33654: Support protocol type switching in SSLTransport.set_protocol() (#7194) https://github.com/python/cpyt

[issue33238] AssertionError on await of Future returned by asyncio.wrap_future

2018-05-30 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 0a28c0d12ee7201de039ced4d815f57f1f8fd48c by Andrew Svetlov (jhaydaman) in branch 'master': bpo-33238: Add InvalidStateError to concurrent.futures. (GH-7056) https://github.com/python/cpython/commit/0a28c0d12ee7201de039ced4d815f5

[issue33694] test_asyncio: test_start_tls_server_1() fails on Python on x86 Windows7 3.7 and 3.x

2018-05-30 Thread Andrew Svetlov
Andrew Svetlov added the comment: I used SNDBUF to enforce send buffer overloading. It is not required by sendfile tests but I thought that better to have non-mocked way to test such situations. We can remove the socket buffers size manipulation at all without any problem

[issue33238] AssertionError on await of Future returned by asyncio.wrap_future

2018-05-30 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue33792] asyncio: how to set a "Proactor event loop" policy? Issue with asyncio.run()

2018-06-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: Looks like we need a proactor policy class. -- ___ Python tracker <https://bugs.python.org/issue33792> ___ ___ Python-bug

[issue33743] test_asyncio raises a deprecation warning

2018-06-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: Working on it -- ___ Python tracker <https://bugs.python.org/issue33743> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33743] test_asyncio raises a deprecation warning

2018-06-07 Thread Andrew Svetlov
Change by Andrew Svetlov : -- pull_requests: +7105 ___ Python tracker <https://bugs.python.org/issue33743> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33743] test_asyncio raises a deprecation warning

2018-06-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: Master already has the fix, added by 7ed61e9431e -- versions: -Python 3.8 ___ Python tracker <https://bugs.python.org/issue33

[issue33743] test_asyncio raises a deprecation warning

2018-06-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: Aha, I see. Thanks -- ___ Python tracker <https://bugs.python.org/issue33743> ___ ___ Python-bugs-list mailing list Unsub

[issue34075] asyncio: We should prohibit setting a ProcessPoolExecutor in with set_default_executor

2018-07-13 Thread Andrew Svetlov
Andrew Svetlov added the comment: Agree, restricting to ThreadPoolExecutor sounds reasonable. A custom executor may have the same problem as ProcessPoolExecutor. Moreover it can work under same scenarios but crash with other third-party libs

[issue33833] ProactorEventLoop raises AssertionError

2018-07-30 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 9045199c5aaeac9b52537581be127d999b5944ee by Andrew Svetlov (twisteroid ambassador) in branch 'master': bpo-33833: Fix ProactorSocketTransport AssertionError (#7893) https://github.com/python/cpyt

[issue33833] ProactorEventLoop raises AssertionError

2018-07-30 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue34622] Extract asyncio exceptions into a separate file

2018-09-10 Thread Andrew Svetlov
New submission from Andrew Svetlov : Their public import paths are still the same, e.g. `asyncio.CancelledError`. The change pursuits a better asyncio internal code structure. -- messages: 324952 nosy: asvetlov priority: normal severity: normal status: open title: Extract asyncio

[issue34622] Extract asyncio exceptions into a separate file

2018-09-10 Thread Andrew Svetlov
Change by Andrew Svetlov : -- components: +asyncio nosy: +yselivanov versions: +Python 3.8 ___ Python tracker <https://bugs.python.org/issue34622> ___ ___ Pytho

[issue34622] Extract asyncio exceptions into a separate file

2018-09-10 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +8591 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34622> ___ ___ Py

[issue33986] asyncio: Typo in documentation: BaseSubprocessTransport -> SubprocessTransport

2018-09-11 Thread Andrew Svetlov
Andrew Svetlov added the comment: Superseded by #33649 -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> asyncio docs overhaul ___ Python tracker <https://bugs.python

[issue34630] Don't log ssl cert errors in asyncio

2018-09-11 Thread Andrew Svetlov
New submission from Andrew Svetlov : It is reported as a regular exception, not need to log it (as we skip logging of connection errors already). -- messages: 325032 nosy: asvetlov priority: normal severity: normal status: open title: Don't log ssl cert errors in as

[issue34630] Don't log ssl cert errors in asyncio

2018-09-11 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +8611 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34630> ___ ___ Py

[issue34622] Extract asyncio exceptions into a separate file

2018-09-11 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 0baa72f4b2e7185298d09cf64c7b591efcd22af0 by Andrew Svetlov in branch 'master': bpo-34622: Extract asyncio exceptions into a separate module (GH-9141) https://github.com/python/cpython/commit/0baa72f4b2e7185298d09cf64c7b59

[issue34622] Extract asyncio exceptions into a separate file

2018-09-11 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue34634] New asyncio streams API

2018-09-11 Thread Andrew Svetlov
New submission from Andrew Svetlov : Currently, we have separate classes: reader and writer. It is very inconvenient: these classes are tightly coupled internally, there is no sense to have two objects to the single logical entity. The second problem is `writer.write()` synchronous API. To

[issue34634] New asyncio streams API

2018-09-11 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +8621 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34634> ___ ___ Py

[issue34638] Avoid circular references in asyncio streams

2018-09-11 Thread Andrew Svetlov
New submission from Andrew Svetlov : Now we have a cross-reference between asyncio stream reader and protocol. It prevents objects deletion on ref-counting and requires a garbage collector run to destroy the stream. -- components: asyncio messages: 325095 nosy: asvetlov, yselivanov

[issue34638] Avoid circular references in asyncio streams

2018-09-11 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +8635 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34638> ___ ___ Py

[issue34638] Avoid circular references in asyncio streams

2018-09-12 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset a5d1eb8d8b7add31b5f5d9bbb31cee1a491b2c08 by Andrew Svetlov in branch 'master': bpo-34638: Store a weak reference to stream reader to break strong references loop (GH-9201) https://github.com/python/cpyt

[issue34638] Avoid circular references in asyncio streams

2018-09-12 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue34630] Don't log ssl cert errors in asyncio

2018-09-12 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 0dd71807a98c4a86ece2aea869ea99f09204b16b by Andrew Svetlov in branch 'master': bpo-34630: Skip logging SSL certificate errors by asyncio code (GH-9169) https://github.com/python/cpython/commit/0dd71807a98c4a86ece2aea869ea99

[issue34655] Support sendfile in asyncio streams API

2018-09-12 Thread Andrew Svetlov
Change by Andrew Svetlov : -- components: asyncio nosy: asvetlov, yselivanov priority: normal severity: normal status: open title: Support sendfile in asyncio streams API versions: Python 3.8 ___ Python tracker <https://bugs.python.org/issue34

[issue34666] Implement async write and async close in asyncio StreamWriter

2018-09-13 Thread Andrew Svetlov
New submission from Andrew Svetlov : Methods are needed for providing consistent stream API with control flow switched on by default. -- components: asyncio messages: 325279 nosy: asvetlov, yselivanov priority: normal severity: normal status: open title: Implement async write and

[issue34666] Implement async write and async close in asyncio StreamWriter

2018-09-13 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +8706 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34666> ___ ___ Py

[issue34490] transport.get_extra_info('sockname') of test_asyncio fails on AIX

2018-09-13 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.4, Python 3.5, Python 3.6 ___ Python tracker <https://bugs.python.or

[issue34490] transport.get_extra_info('sockname') of test_asyncio fails on AIX

2018-09-13 Thread Andrew Svetlov
Change by Andrew Svetlov : -- pull_requests: +8716 ___ Python tracker <https://bugs.python.org/issue34490> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34666] Implement async write and async close in asyncio StreamWriter

2018-09-13 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 11194c877c902a6c3b769d85be887c2272e0a541 by Andrew Svetlov in branch 'master': bpo-34666: Implement stream.awrite() and stream.aclose() (GH-9274) https://github.com/python/cpython/commit/11194c877c902a6c3b769d85be887c

[issue34490] transport.get_extra_info('sockname') of test_asyncio fails on AIX

2018-09-13 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset d0491cd7fd8a22093ab1ae54eee51fb0e7805c0d by Andrew Svetlov in branch '3.7': [3.7] bpo-34490: Fix test_asyncio for AIX - do not call transport.get_extra_info('sockname') (GH-8907) (#9286) https://github.com/p

[issue34666] Implement async write and async close in asyncio StreamWriter

2018-09-13 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

<    12   13   14   15   16   17   18   19   20   21   >