[issue32650] Debug support for native coroutines is broken

2018-01-28 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 3cfb84c65790f5f9377574f9be0799bdd9d0132c by Andrew Svetlov in branch '3.6': [3.6] bpo-32650 Add support for async generators and more test for coroutines in pdb (GH-5403). (#5411) https://github.com/python/cpyt

[issue32650] Debug support for native coroutines is broken

2018-01-29 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset d9c743b2d118530ca13a8e29f96f30950866bd56 by Andrew Svetlov (Miss Islington (bot)) in branch '3.6': bpo-32650: Add an asyncgen pdb test (GH-5406) (#5419) https://github.com/python/cpython/commit/d9c743b2d118530ca13a8e29f96f30

[issue32645] test_asyncio: TLS tests fail on "x86 Windows7" buildbot

2018-01-29 Thread Andrew Svetlov
Andrew Svetlov added the comment: Should be fixed by https://github.com/python/cpython/commit/0f54e00e963 -- ___ Python tracker <https://bugs.python.org/issue32

[issue32622] Implement loop.sendfile

2018-01-29 Thread Andrew Svetlov
Andrew Svetlov added the comment: I pretty sure it's fixed by https://github.com/python/cpython/commit/0f54e00e963 -- ___ Python tracker <https://bugs.python.org/is

[issue32645] test_asyncio: TLS tests fail on "x86 Windows7" buildbot

2018-01-29 Thread Andrew Svetlov
Andrew Svetlov added the comment: Thanks, Victor! -- ___ Python tracker <https://bugs.python.org/issue32645> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32650] Debug support for native coroutines is broken

2018-01-29 Thread Andrew Svetlov
Change by Andrew Svetlov : -- pull_requests: +5262 ___ Python tracker <https://bugs.python.org/issue32650> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17651] Errno checking replaced by concrete classes inherited from OSError

2018-01-29 Thread Andrew Svetlov
Andrew Svetlov added the comment: The issue is outdated and mostly fixed. Feel free to open a new one if needed. -- status: pending -> open ___ Python tracker <https://bugs.python.org/issu

[issue17651] Errno checking replaced by concrete classes inherited from OSError

2018-01-29 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue16705] Use concrete classes inherited from OSError instead of errno check

2018-01-29 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue16705> ___ ___

[issue16648] stdib should use new exception types from PEP 3151

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

[issue14799] Tkinter ttk tests hang on linux

2018-01-29 Thread Andrew Svetlov
Andrew Svetlov added the comment: Yes, everything works on Ubuntu 17.10 Closing the issue -- resolution: -> works for me stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue32624] Implement WriteTransport.is_protocol_paused()

2018-01-29 Thread Andrew Svetlov
Andrew Svetlov added the comment: Let's not do it: the new method is not required for starttls/sendfile, the name and behavior is questionable. New issue should be created with use case example. -- resolution: -> rejected stage: -> resolved status: ope

[issue32724] Fix references to commands in Doc/pdb.rst

2018-01-30 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 67adb31a416864f853772c3e74a06caeadc9b6f1 by Andrew Svetlov (Stéphane Wirtel) in branch 'master': bpo-32724: Fix references to commands in Doc/pdb.rst (GH-5444) https://github.com/python/cpython/commit/67adb31a416864f853772c3e74a06c

[issue32724] Fix references to commands in Doc/pdb.rst

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

[issue32741] Add asyncio.TimerHandle.when() function

2018-02-01 Thread Andrew Svetlov
New submission from Andrew Svetlov : Should just return self._when attribute. I need it for testing purposes. Without the method there is no possibility to figure out scheduled wakeup time. An alternative is waiting for callback but the approach increases unittest execution time and not very

[issue31106] os.posix_fallocate() generate exception with errno 0

2018-02-01 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 3a04c52a9eb03e31c60037248b872f3662002a4d by Andrew Svetlov (Miss Islington (bot)) in branch '3.6': bpo-31106: Fix handling of erros in posix_fallocate() and posix_fadvise() (GH-3000) (GH-3000) (#4101) https://github.com/python/cpyt

[issue32741] Add asyncio.TimerHandle.when() function

2018-02-01 Thread Andrew Svetlov
Andrew Svetlov added the comment: In aiohttp we have HTTP keepalivve support. A function schedules a delayed callback. On processing a new request the callback is cancelled and rescheduled to a new time. I like to check cancellation state (now it is possible with public API) and scheduled

[issue32741] Add asyncio.TimerHandle.when() function

2018-02-01 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +5300 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue32741> ___ ___ Py

[issue32741] Add asyncio.TimerHandle.when() function

2018-02-01 Thread Andrew Svetlov
Andrew Svetlov added the comment: Thanks. Let's do it. The addition is really very trivial. -- ___ Python tracker <https://bugs.python.org/issue32741> ___ ___

[issue32741] Add asyncio.TimerHandle.when() function

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

[issue32748] Improve _asyncio.TaskStepMethWrapper and TaskWakeupMethWrapper reprs

2018-02-02 Thread Andrew Svetlov
New submission from Andrew Svetlov : Currently both helper classes have no custom tp_repr slot, it leads to autogenerated values. Both helpers are private but in debug mode asyncio loop reports about slow callbacks, the message doesn't point on executed coroutine -- it just p

[issue32748] Improve _asyncio.TaskStepMethWrapper and TaskWakeupMethWrapper reprs

2018-02-02 Thread Andrew Svetlov
Andrew Svetlov added the comment: False alarm, sorry. -- ___ Python tracker <https://bugs.python.org/issue32748> ___ ___ Python-bugs-list mailing list Unsub

[issue32748] Improve _asyncio.TaskStepMethWrapper and TaskWakeupMethWrapper reprs

2018-02-02 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue32762] Choose protocol implementation on transport.set_protocol()

2018-02-04 Thread Andrew Svetlov
New submission from Andrew Svetlov : New buffered transports was introduced in Python 3.7. Actual transport implementation (get_buffer() or data_received()) is determined in transport constructor. Protocol can be changed by `set_protocol()` method, the implementation should be reselected

[issue32763] write() method in Transport should not buffer data

2018-02-04 Thread Andrew Svetlov
Andrew Svetlov added the comment: Transport buffers writes if kernel buffer is full, the behavior is intentional and present starting from very beginning of asyncio development. Moreover, two plain socket.send() calls can be joined into single TCP packet, TCP protocol is a STREAM of data by

[issue32394] socket lib beahavior change in 3.6.4

2018-02-04 Thread Andrew Svetlov
Andrew Svetlov added the comment: We don't remove unsupported socket flags on Unix, why should we do it for Windows? -- nosy: +asvetlov ___ Python tracker <https://bugs.python.org/is

[issue32394] socket lib beahavior change in 3.6.4

2018-02-04 Thread Andrew Svetlov
Andrew Svetlov added the comment: Socket constants a compile time values, obviously concrete operation system might not support a flag -- but we do nothing with it in runtime. All flags available on compile time are exposed, it's true for modules like socket, os, selec

[issue32394] socket lib beahavior change in 3.6.4

2018-02-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: What's about other OS/flags? Should we commit that every exposed socket flag is supported in runtime? It looks like very heavy burden. Or the issue is specific for TCP_KEEPCNT for Windows only? -- ___ P

[issue30698] asyncio sslproto do not shutdown ssl layer cleanly

2018-02-05 Thread Andrew Svetlov
Change by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker <https://bugs.python.org/issue30698> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32394] socket lib beahavior change in 3.6.4

2018-02-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: I suggest closing the issue as "won't fix": checking in runtime for only for TCP flags on Windows is a weird exception. Checking all flags on all supported platforms is impossible. Client libraries should process such situ

[issue32394] socket lib beahavior change in 3.6.4

2018-02-06 Thread Andrew Svetlov
Andrew Svetlov added the comment: If the fix will land into 3.6 bugfix release only -- I can live with it, while the overall looks tricky. Ned Deily, what do you think about? -- ___ Python tracker <https://bugs.python.org/issue32

[issue32622] Implement loop.sendfile

2018-02-06 Thread Andrew Svetlov
Change by Andrew Svetlov : -- pull_requests: +5387 stage: resolved -> patch review ___ Python tracker <https://bugs.python.org/issue32622> ___ ___ Python-

[issue32751] wait_for(future, ...) should wait for the future (even if a timeout occurs)

2018-02-06 Thread Andrew Svetlov
Andrew Svetlov added the comment: Hmm, I don't see an easy way to fix it. awaiting for cancelled task potentially can wait forever. Adding another timeout looks too confusing. Iterating over a couple of loop steps is not reliable: try/finally block in awaited task can perform async IO

[issue32751] wait_for(future, ...) should wait for the future (even if a timeout occurs)

2018-02-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: Agree. Should we report about cancelled but still executing tasks? It would be a nice feature. I'm talking not about `wait_for` only but task cancellation in general. -- ___ Python tracker <https://bugs.py

[issue32394] socket lib beahavior change in 3.6.4

2018-02-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: Ok -- ___ Python tracker <https://bugs.python.org/issue32394> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32751] wait_for(future, ...) should wait for the future (even if a timeout occurs)

2018-02-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: Theoretically we can start monitoring cancelled tasks and report about them if the task is still not finished, say, in a minute or two. It is a new feature, sure. I'm fine with waiting for cancelled task in wai

[issue32841] Asyncio.Condition prevents cancellation

2018-02-14 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 5746510b7aef423fa4afc92b2abb919307b1dbb9 by Andrew Svetlov (Bar Harel) in branch 'master': bpo-32841: Fix cancellation in awaiting asyncio.Condition (#5665) https://github.com/python/cpython/commit/5746510b7aef423fa4afc92b2abb91

[issue32841] Asyncio.Condition prevents cancellation

2018-02-14 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset a23eecab9a0b724bdfde83d159ac2415927f042a by Andrew Svetlov (Miss Islington (bot)) in branch '3.6': bpo-32841: Fix cancellation in awaiting asyncio.Condition (GH-5665) (GH-5683) https://github.com/python/cpyt

[issue32841] Asyncio.Condition prevents cancellation

2018-02-14 Thread Andrew Svetlov
Andrew Svetlov added the comment: Thanks Bar Harel -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue32841] Asyncio.Condition prevents cancellation

2018-02-14 Thread Andrew Svetlov
Andrew Svetlov added the comment: Well, makes sense -- ___ Python tracker <https://bugs.python.org/issue32841> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32779] urljoining an empty query string doesn't clear query string

2018-02-15 Thread Andrew Svetlov
Andrew Svetlov added the comment: Python follows not WhatWG but RFC. https://tools.ietf.org/html/rfc3986#section-5.2.2 is proper definition for url joining algorithm. -- nosy: +asvetlov ___ Python tracker <https://bugs.python.org/issue32

[issue32870] Documentation typo (2.x only) for deque.remove

2018-02-18 Thread Andrew Scheller
New submission from Andrew Scheller : https://docs.python.org/2/library/collections.html#collections.deque.remove says "Removed the first occurrence of value." I believe the "Removed" should be changed to just "Remove" ? (this has already been fixed i

[issue32870] Documentation typo (2.x only) for deque.remove

2018-02-18 Thread Andrew Scheller
Andrew Scheller added the comment: Looks like https://bugs.python.org/issue24269 is where this got fixed for the 3.x documentation ;-) -- ___ Python tracker <https://bugs.python.org/issue32

[issue32870] Documentation typo (2.x only) for deque.remove

2018-02-18 Thread Andrew Scheller
Change by Andrew Scheller : -- type: -> enhancement ___ Python tracker <https://bugs.python.org/issue32870> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue32942] Regression: test_script_helper fails

2018-02-24 Thread Andrew Brezovsky
New submission from Andrew Brezovsky : Test test_script_helper fails, details: Running Debug|Win32 interpreter... == CPython 3.8.0a0 (heads/master:6cdb7954b0, Feb 24 2018, 17:25:46) [MSC v.1912 32 bit (Intel)] == Windows-10-10.0.16299-SP0 little-endian == cwd: \cpython\build\test_python_7920

[issue32622] Implement loop.sendfile

2018-02-25 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset a19fb3c6aaa7632410d1d9dcb395d7101d124da4 by Andrew Svetlov in branch 'master': bpo-32622: Native sendfile on windows (#5565) https://github.com/python/cpython/commit/a19fb3c6aaa7632410d1d9dcb395d7

[issue32610] asyncio.all_tasks() should return only non-finished tasks.

2018-02-26 Thread Andrew Svetlov
Andrew Svetlov added the comment: After re-thinking I come to another idea: let's keep `all_tasks()` behavior as is but add an `active_tasks()` function for returning all non-finished tasks. It should be done in Python 3.8 -- versions: +Python 3.8 -Pytho

[issue32394] socket lib beahavior change in 3.6.4

2018-02-26 Thread Andrew Svetlov
Andrew Svetlov added the comment: I think PRs could be merged -- ___ Python tracker <https://bugs.python.org/issue32394> ___ ___ Python-bugs-list mailin

[issue29406] asyncio SSL contexts leak sockets after calling close with certain Apache servers

2018-02-26 Thread Andrew Svetlov
Andrew Svetlov added the comment: I'll take a look on the evening -- ___ Python tracker <https://bugs.python.org/issue29406> ___ ___ Python-bugs-list m

[issue32875] Add __exit__() method to event loops

2018-02-26 Thread Andrew Svetlov
Andrew Svetlov added the comment: Agree -- ___ Python tracker <https://bugs.python.org/issue32875> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26792] docstrings of runpy.run_{module,path} are rather sparse

2018-02-26 Thread Andrew Brezovsky
Andrew Brezovsky added the comment: I'll update these based on the information in the HTML docs. -- nosy: +abrezovsky ___ Python tracker <https://bugs.python.org/is

[issue26792] docstrings of runpy.run_{module,path} are rather sparse

2018-02-26 Thread Andrew Brezovsky
Change by Andrew Brezovsky : -- keywords: +patch pull_requests: +5692 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue32972] unittest.TestCase coroutine support

2018-03-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: I'm with Yuri: subclassing is under better control. The need for a new subclass is relative rare, for the whole asyncio world AsyncioTestCase should be enough. Another async framework most likely require a different test tool with another game

[issue33024] asyncio.WriteTransport.set_write_buffer_limits orders its args unintuitively and inconsistently with its companion function's return value

2018-03-08 Thread Andrew Svetlov
Andrew Svetlov added the comment: We cannot change the method signature without breaking backward compatibility. I doubt if we should do something with the issue. -- ___ Python tracker <https://bugs.python.org/issue33

[issue32972] unittest.TestCase coroutine support

2018-03-09 Thread Andrew Svetlov
Andrew Svetlov added the comment: 1. We have an agreement that we need `asyncSetUp` and all family. I strongly support it. `super()` call is crucial argument I think. 2. Should async setup/teardown methods be a part of `unittest.TestCase` or we need a new AsyncTestCase class? I believe

[issue33037] Skip sending/receiving after SSL transport closing

2018-03-09 Thread Andrew Svetlov
New submission from Andrew Svetlov : Now asyncio raises exceptions like "None type has no method feed_appdata" because self._sslpipe is set to None on closing. See https://github.com/aio-libs/aiohttp/issues/2546 for more details. IMHO the fix should just skip accessing self._sslpi

[issue33037] Skip sending/receiving after SSL transport closing

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

[issue33037] Skip sending/receiving after SSL transport closing

2018-03-10 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 5e80a71ab67045fecec46573a1892e240b569ace by Andrew Svetlov in branch 'master': bpo-33037: Skip sending/receiving after SSL transport closing (GH-6044) https://github.com/python/cpython/commit/5e80a71ab67045fecec46573a1892e

[issue33037] Skip sending/receiving after SSL transport closing

2018-03-10 Thread Andrew Svetlov
Change by Andrew Svetlov : -- pull_requests: +5820 ___ Python tracker <https://bugs.python.org/issue33037> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33037] Skip sending/receiving after SSL transport closing

2018-03-10 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset bf0d1165174e8347b4d3a731c4e47e8288f1d01b by Andrew Svetlov (Miss Islington (bot)) in branch '3.7': bpo-33037: Skip sending/receiving after SSL transport closing (GH-6044) (GH-6057) https://github.com/python/cpyt

[issue33037] Skip sending/receiving after SSL transport closing

2018-03-10 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 017e9fda922a143ac9f1601cbde05e80214852d2 by Andrew Svetlov in branch '3.6': [3.6] bpo-33037: Skip sending/receiving after SSL transport closing (GH-6044) (GH-6058) https://github.com/python/cpyt

[issue33056] LEaking files in concurrent.futures.process

2018-03-12 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 095ee415cee41bf24c3a1108c23307e5baf168dd by Andrew Svetlov (Thomas Moreau) in branch 'master': bpo-33056 FIX leaking fd in concurrent.futures.ProcessPoolExecutor (#6084) https://github.com/python/cpyt

[issue33056] LEaking files in concurrent.futures.process

2018-03-13 Thread Andrew Svetlov
Andrew Svetlov added the comment: Antoine sorry, will do next time -- components: +Windows, XML -Library (Lib) nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker <https://bugs.python.org/issue33

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

2018-03-23 Thread Andrew Svetlov
Andrew Svetlov added the comment: The problem of the example is: all 1 tasks starts in the same moment, than waits for 1 sec each and at the same moment every task clones itself. Adding a jitter into example can solve the issue. -- ___ Python

[issue33221] Add stats for asyncio task usage.

2018-04-03 Thread Andrew Svetlov
New submission from Andrew Svetlov : I suggest adding a `Task.stats()` method. The method should return a dict with the task usage statistics. Dict keys: - total_time: a time between task creation and a moment of the call (or task finishing timestamp if the task has finished). The value

[issue33221] Add stats for asyncio task usage.

2018-04-03 Thread Andrew Svetlov
Andrew Svetlov added the comment: Well, event based solution is more powerful than just statistic collection. Please keep me in the loop. -- ___ Python tracker <https://bugs.python.org/issue33

[issue29613] Support for SameSite Cookies

2018-04-08 Thread Andrew Svetlov
Andrew Svetlov added the comment: Alex, the PR has landed into 3.8 (master). Should the issue's "versions" field be updated? Now it is 3.7 -- nosy: +asvetlov ___ Python tracker <https://bugs.pyt

[issue6135] subprocess seems to use local encoding and give no choice

2017-10-10 Thread Andrew Clegg
Andrew Clegg added the comment: The commit for this bug (720f0cf580e2) introduces encoding and errors arguments but doesn't actually document what the values of these should be. In the case of the encoding it could be reasonably guessed, but the only way to determine what the val

[issue6135] subprocess seems to use local encoding and give no choice

2017-10-11 Thread Andrew Clegg
Andrew Clegg added the comment: I meant the former; I'll look a bit more at the documentation and submit an issue/patch. As regards the 'text' flag - universal_newlines is actually exactly that already. I've just checked the code of subprocess.py and the universal_newlin

[issue31756] subprocess.run should alias universal_newlines to text

2017-10-11 Thread Andrew Clegg
New submission from Andrew Clegg : Following on from https://bugs.python.org/issue6135 The subprocess module by default returns bytes from subprocess calls. It has a text mode, but this can only be accessed by slightly tangential arguments (setting encoding, errors or universal_newlines

[issue6135] subprocess seems to use local encoding and give no choice

2017-10-11 Thread Andrew Clegg
Andrew Clegg added the comment: RFE submitted as issue31756 , thanks -- ___ Python tracker <https://bugs.python.org/issue6135> ___ ___ Python-bugs-list mailin

[issue31756] subprocess.run should alias universal_newlines to text

2017-10-11 Thread Andrew Clegg
Andrew Clegg added the comment: OK great, I'll get working on a patch. -- ___ Python tracker <https://bugs.python.org/issue31756> ___ ___ Python-bugs-list m

[issue31756] subprocess.run should alias universal_newlines to text

2017-10-19 Thread Andrew Clegg
Change by Andrew Clegg : -- keywords: +patch pull_requests: +4018 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue31756> ___ ___ Py

[issue31872] SSL BIO is broken for internationalized domains

2017-10-26 Thread Andrew Svetlov
New submission from Andrew Svetlov : `SSLContext.wrap_bio` creates a new `SSLObject` instance with passed `server_hostname`. The name becomes IDNA-decoded: `'xn--2qq421aovb6v1e3pu.xn--j6w193g'` is converted to `'雜草工作室.香港'` by `SSLObject` constructor. Than on SSL handshake

[issue31872] SSL BIO is broken for internationalized domains

2017-10-26 Thread Andrew Svetlov
Change by Andrew Svetlov : -- type: -> behavior ___ Python tracker <https://bugs.python.org/issue31872> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue31872] SSL BIO is broken for internationalized domains

2017-10-27 Thread Andrew Svetlov
Change by Andrew Svetlov : -- versions: -Python 3.5 ___ Python tracker <https://bugs.python.org/issue31872> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30423] [asyncio] orphan future close loop and cause "RuntimeError: Event loop stopped before Future completed."

2017-11-01 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset d1e34031f68a3c7523a5376575c87cd0fea2425c by Andrew Svetlov (jimmylai) in branch 'master': [asyncio] bpo-30423: add regression test for orphan future causes "RuntimeError: Event loop stopped before Future completed." (#3295

[issue31872] SSL BIO is broken for internationalized domains

2017-11-02 Thread Andrew Svetlov
Andrew Svetlov added the comment: Duplicate of #28414 Nathaniel thanks for Pull Request! -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> SSL match_hostname fails for internationalized domain names __

[issue31620] asyncio.Queue leaks memory if the queue is empty and consumers poll it frequently

2017-11-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset c62f0cb3b1f6f9ca4ce463b1c99b0543bdfa38d6 by Andrew Svetlov (Suren Nihalani) in branch 'master': bpo-31620: have asyncio/queues not leak memory when you've exceptions during waiting (#3813) https://github.com/python

[issue31620] asyncio.Queue leaks memory if the queue is empty and consumers poll it frequently

2017-11-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset ac4f6d4448fb6f9affb817bafb8357450fe43349 by Andrew Svetlov (Miss Islington (bot)) in branch '3.6': bpo-31620: have asyncio/queues not leak memory when you've exceptions during waiting (GH-3813) (#4326) https://github.com/python

[issue32015] Asyncio looping during simultaneously socket read/write and reconnection

2017-11-14 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset e1d62e0b7cc842d6b75b4d480391f4a94e503255 by Andrew Svetlov (Andrey Egorov) in branch 'master': bpo-32015: Asyncio looping during simultaneously socket read/write an… (#4386) https://github.com/python/cpyt

[issue32015] Asyncio looping during simultaneously socket read/write and reconnection

2017-11-14 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.5, Python 3.8 ___ Python tracker <https://bugs.python.or

[issue32015] Asyncio looping during simultaneously socket read/write and reconnection

2017-11-14 Thread Andrew Svetlov
Change by Andrew Svetlov : -- pull_requests: +4341 ___ Python tracker <https://bugs.python.org/issue32015> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32015] Asyncio looping during simultaneously socket read/write and reconnection

2017-11-14 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset cc0961c517c31578f6a40a4dc7ea177d62c256b7 by Andrew Svetlov in branch '3.6': [3.6] bpo-32015: Asyncio looping during simultaneously socket read/write an… (GH-4386) (#4393) https://github.com/python/cpyt

[issue29406] asyncio SSL contexts leak sockets after calling close with certain Apache servers

2017-11-14 Thread Andrew Svetlov
Andrew Svetlov added the comment: I'm picking up the issue. Will provide an updated PR soon. -- assignee: yselivanov -> asvetlov nosy: +asvetlov ___ Python tracker <https://bugs.python.org

[issue29406] asyncio SSL contexts leak sockets after calling close with certain Apache servers

2017-11-14 Thread Andrew Svetlov
Andrew Svetlov added the comment: I'm skeptical about `critical` priority. The bugfix could be backported to Python 3.6 but I very not sure about the need for 3.5. It is a desirable fix but not secure. Yury Selivanov please confirm. -- ___ P

[issue29406] asyncio SSL contexts leak sockets after calling close with certain Apache servers

2017-11-15 Thread Andrew Svetlov
Change by Andrew Svetlov : -- pull_requests: +4351 ___ Python tracker <https://bugs.python.org/issue29406> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31867] Duplicated keys in MIME type_map with different values

2017-11-17 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset f02f5e5c3eb815fff9578dc58de60374c6baaa3d by Andrew Svetlov (Henk-Jaap Wagenaar) in branch 'master': bpo-31867: Remove duplicates in default mimetypes. (#4388) https://github.com/python/cpython/commit/f02f5e5c3eb815fff9578dc58de603

[issue31867] Duplicated keys in MIME type_map with different values

2017-11-17 Thread Andrew Svetlov
Andrew Svetlov added the comment: Henk-Jaap thanks for contribution! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

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

2017-11-18 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue31943> ___ ___

[issue32069] Drop loop._make_legacy_ssl_transport

2017-11-18 Thread Andrew Svetlov
New submission from Andrew Svetlov : It uses `wrap_socket` and exists only for backward compatibility with Python without ssl.MemoryBIO, which is Python 3.4 Let's cut it out from Python 3.7 and 3.6 -- it's safe, pretty sure. -- components: Library (Lib), asyncio messages: 3

[issue32069] Drop loop._make_legacy_ssl_transport

2017-11-18 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +4388 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue32069> ___ ___ Py

[issue32069] Drop loop._make_legacy_ssl_transport

2017-11-18 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 51d546ae4d563fde608e23c9c337fefd7e95c93f by Andrew Svetlov in branch 'master': bpo-32069: Drop legacy SSL transport (#4451) https://github.com/python/cpython/commit/51d546ae4d563fde608e23c9c337fe

[issue32069] Drop loop._make_legacy_ssl_transport

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

[issue32166] Drop python 3.4 code from asyncio.coroutines

2017-11-29 Thread Andrew Svetlov
New submission from Andrew Svetlov : Dropped lines are never executed by supported Python versions. The code exists for sake of keeping the same code base for stdlib asyncio and third-party library with the same name. Since Python 3.4 asyncio is a part of stdlib, asyncio on PyPI is not

[issue32166] Drop python 3.4 code from asyncio.coroutines

2017-11-29 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +4548 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue32166> ___ ___ Py

[issue32166] Drop python 3.4 code from asyncio.coroutines

2017-11-29 Thread Andrew Svetlov
Andrew Svetlov added the comment: Separate PyPI package is for Python 3.3 only. Python 3.4 is shipped with asyncio in standard batteries. https://github.com/python/asyncio development is stopped, no new PyPI release is expected. Thank you for pointing on 3.4 specific code in other files

[issue32169] Drop python 3.4 code from asyncio.unix_events

2017-11-29 Thread Andrew Svetlov
Change by Andrew Svetlov : -- assignee: asvetlov components: Library (Lib), asyncio nosy: asvetlov, yselivanov priority: normal severity: normal status: open title: Drop python 3.4 code from asyncio.unix_events versions: Python 3.7 ___ Python tracker

[issue32169] Drop python 3.4-3.5 code from asyncio.unix_events

2017-11-29 Thread Andrew Svetlov
Change by Andrew Svetlov : -- title: Drop python 3.4 code from asyncio.unix_events -> Drop python 3.4-3.5 code from asyncio.unix_events ___ Python tracker <https://bugs.python.org/issu

[issue32169] Drop python 3.4-3.5 code from asyncio.unix_events

2017-11-29 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +4549 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue32169> ___ ___ Py

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