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
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
Andrew Svetlov added the comment:
Should be fixed by https://github.com/python/cpython/commit/0f54e00e963
--
___
Python tracker
<https://bugs.python.org/issue32
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
Andrew Svetlov added the comment:
Thanks, Victor!
--
___
Python tracker
<https://bugs.python.org/issue32645>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Andrew Svetlov :
--
pull_requests: +5262
___
Python tracker
<https://bugs.python.org/issue32650>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Change by Andrew Svetlov :
--
resolution: -> out of date
stage: needs patch -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Andrew Svetlov :
--
resolution: -> fixed
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue16705>
___
___
Change by Andrew Svetlov :
--
resolution: -> fixed
stage: needs patch -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
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
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
Change by Andrew Svetlov :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
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
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
Change by Andrew Svetlov :
--
keywords: +patch
pull_requests: +5300
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue32741>
___
___
Py
Andrew Svetlov added the comment:
Thanks.
Let's do it.
The addition is really very trivial.
--
___
Python tracker
<https://bugs.python.org/issue32741>
___
___
Change by Andrew Svetlov :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
Andrew Svetlov added the comment:
False alarm, sorry.
--
___
Python tracker
<https://bugs.python.org/issue32748>
___
___
Python-bugs-list mailing list
Unsub
Change by Andrew Svetlov :
--
resolution: -> out of date
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
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
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
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
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
Change by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<https://bugs.python.org/issue30698>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
Change by Andrew Svetlov :
--
pull_requests: +5387
stage: resolved -> patch review
___
Python tracker
<https://bugs.python.org/issue32622>
___
___
Python-
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
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
Andrew Svetlov added the comment:
Ok
--
___
Python tracker
<https://bugs.python.org/issue32394>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
Andrew Svetlov added the comment:
Thanks Bar Harel
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Andrew Svetlov added the comment:
Well, makes sense
--
___
Python tracker
<https://bugs.python.org/issue32841>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
Change by Andrew Scheller :
--
type: -> enhancement
___
Python tracker
<https://bugs.python.org/issue32870>
___
___
Python-bugs-list mailing list
Unsubscrib
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
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
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
Andrew Svetlov added the comment:
I think PRs could be merged
--
___
Python tracker
<https://bugs.python.org/issue32394>
___
___
Python-bugs-list mailin
Andrew Svetlov added the comment:
I'll take a look on the evening
--
___
Python tracker
<https://bugs.python.org/issue29406>
___
___
Python-bugs-list m
Andrew Svetlov added the comment:
Agree
--
___
Python tracker
<https://bugs.python.org/issue32875>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Change by Andrew Brezovsky :
--
keywords: +patch
pull_requests: +5692
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
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
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
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
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
Change by Andrew Svetlov :
--
keywords: +patch
pull_requests: +5805
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33037>
___
___
Py
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
Change by Andrew Svetlov :
--
pull_requests: +5820
___
Python tracker
<https://bugs.python.org/issue33037>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
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
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
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
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
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
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
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
Andrew Clegg added the comment:
RFE submitted as issue31756 , thanks
--
___
Python tracker
<https://bugs.python.org/issue6135>
___
___
Python-bugs-list mailin
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
Change by Andrew Clegg :
--
keywords: +patch
pull_requests: +4018
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue31756>
___
___
Py
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
Change by Andrew Svetlov :
--
type: -> behavior
___
Python tracker
<https://bugs.python.org/issue31872>
___
___
Python-bugs-list mailing list
Unsubscrib
Change by Andrew Svetlov :
--
versions: -Python 3.5
___
Python tracker
<https://bugs.python.org/issue31872>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
__
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
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
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
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
Change by Andrew Svetlov :
--
pull_requests: +4341
___
Python tracker
<https://bugs.python.org/issue32015>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
Change by Andrew Svetlov :
--
pull_requests: +4351
___
Python tracker
<https://bugs.python.org/issue29406>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
Change by Andrew Svetlov :
--
resolution: -> fixed
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue31943>
___
___
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
Change by Andrew Svetlov :
--
keywords: +patch
pull_requests: +4388
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue32069>
___
___
Py
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
Change by Andrew Svetlov :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
versions: -Python 3.6
___
Python tracker
<https://bugs.python.or
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
Change by Andrew Svetlov :
--
keywords: +patch
pull_requests: +4548
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue32166>
___
___
Py
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
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
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
Change by Andrew Svetlov :
--
keywords: +patch
pull_requests: +4549
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue32169>
___
___
Py
1701 - 1800 of 3160 matches
Mail list logo