Change by Andrew Svetlov :
--
assignee: -> asvetlov
nosy: +asvetlov
___
Python tracker
<https://bugs.python.org/issue25749>
___
___
Python-bugs-list mai
Change by Andrew Svetlov :
--
versions: +Python 3.7 -Python 3.4, Python 3.5
___
Python tracker
<https://bugs.python.org/issue25749>
___
___
Python-bugs-list mailin
Andrew Svetlov added the comment:
Nothing to do.
Python parser always report with such text on syntax error, there is nothing
special for async/await
--
nosy: +asvetlov
resolution: -> wont fix
stage: -> resolved
status: open -> closed
_
Andrew Svetlov added the comment:
Fixed in master already.
--
nosy: +asvetlov
resolution: -> out of date
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Andrew Svetlov added the comment:
Let's don't -- all combinations of hosts, ports, sock objects makes a mess
already.
I suggest not complicate already complex signature and just close the issue as
"won't fix".
Multiple server objects never was a problem.
-
Andrew Svetlov added the comment:
It was always awaitable object, in Python 3.7 the method was converted into
genuine coroutine.
--
nosy: +asvetlov
___
Python tracker
<https://bugs.python.org/issue25
Change by Andrew Svetlov :
--
resolution: -> fixed
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue25675>
___
___
Andrew Svetlov added the comment:
Done two years ago.
--
nosy: +asvetlov
resolution: -> fixed
stage: needs patch -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Andrew Svetlov :
--
resolution: -> wont fix
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Andrew Svetlov added the comment:
`remove_signal_handler()` should do nothing if `sys.is_finalizing()` is true.
--
assignee: -> asvetlov
nosy: +asvetlov
___
Python tracker
<https://bugs.python.org/issu
Andrew Svetlov added the comment:
Superseded by `asyncio.run()` function.
P.S.
Context manager is not a solution because `loop.shutdown_asyncgens()` should be
called before `loop.close()` and the method is a coroutine.
--
nosy: +asvetlov
resolution: -> wont fix
stage: -> re
Change by Andrew Svetlov :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
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
Change by Andrew Svetlov :
--
keywords: +patch
pull_requests: +4848
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue26133>
___
___
Py
Andrew Svetlov added the comment:
Implemented PR 4956 following Victor's suggestion.
--
___
Python tracker
<https://bugs.python.org/issue26133>
___
___
Pytho
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
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://
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.
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
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
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
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
Change by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<https://bugs.python.org/issue31821>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
Change by Andrew Svetlov :
--
keywords: +patch
pull_requests: +4866
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue32410>
___
___
Py
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
Change by Andrew Svetlov :
--
pull_requests: +4878
___
Python tracker
<https://bugs.python.org/issue32357>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Agree
--
___
Python tracker
<https://bugs.python.org/issue32415>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
Change by Andrew Svetlov :
--
pull_requests: +4885
___
Python tracker
<https://bugs.python.org/issue32327>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Andrew Svetlov :
--
pull_requests: +4891
___
Python tracker
<https://bugs.python.org/issue26133>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
Change by Andrew Svetlov :
--
pull_requests: +4899
___
Python tracker
<https://bugs.python.org/issue26133>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
Change by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<https://bugs.python.org/issue32437>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Agree with Srinivas
--
nosy: +asvetlov
___
Python tracker
<https://bugs.python.org/issue32424>
___
___
Python-bugs-list mailin
Change by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<https://bugs.python.org/issue17305>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
pypy for example has Element.copy()
--
___
Python tracker
<https://bugs.python.org/issue32424>
___
___
Python-bugs-list mailin
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
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.
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.
Change by Andrew Svetlov :
--
pull_requests: +4933
___
Python tracker
<https://bugs.python.org/issue32418>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Change by Andrew Svetlov :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Andrew Svetlov added the comment:
-1
--
nosy: +asvetlov
___
Python tracker
<https://bugs.python.org/issue32474>
___
___
Python-bugs-list mailing list
Unsub
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
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
Andrew Svetlov added the comment:
Victor, could you take a look?
--
nosy: +asvetlov, vstinner
___
Python tracker
<https://bugs.python.org/issue33565>
___
___
Change by Andrew Gaul :
--
nosy: +gaul
___
Python tracker
<https://bugs.python.org/issue22848>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
-1 for the proposal
--
___
Python tracker
<https://bugs.python.org/issue33544>
___
___
Python-bugs-list mailing list
Unsub
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
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
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
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
Change by Andrew Svetlov :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Andrew Svetlov added the comment:
Is the issue done?
--
___
Python tracker
<https://bugs.python.org/issue23749>
___
___
Python-bugs-list mailing list
Unsub
Change by Andrew Svetlov :
--
pull_requests: +6673
___
Python tracker
<https://bugs.python.org/issue33263>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Change by Andrew Svetlov :
--
resolution: -> rejected
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Andrew Svetlov added the comment:
Raising `InvalidStateError` sounds perfect.
Would you make a pull request?
--
___
Python tracker
<https://bugs.python.org/issue33
Change by Andrew Svetlov :
--
versions: +Python 3.8 -Python 3.6
___
Python tracker
<https://bugs.python.org/issue33238>
___
___
Python-bugs-list mailing list
Unsub
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
Change by Andrew Svetlov :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Andrew Svetlov added the comment:
Fixed failed sendfile tests on Windows (at least I hope so).
--
___
Python tracker
<https://bugs.python.org/issue33531>
___
___
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
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
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
Change by Andrew Svetlov :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Andrew Svetlov :
--
title: IDNA2008 encoding missing -> IDNA2008 encoding is missing
___
Python tracker
<https://bugs.python.org/issue17305>
___
_
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
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
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
Change by Andrew Svetlov :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Andrew Svetlov added the comment:
Looks like we need a proactor policy class.
--
___
Python tracker
<https://bugs.python.org/issue33792>
___
___
Python-bug
Andrew Svetlov added the comment:
Working on it
--
___
Python tracker
<https://bugs.python.org/issue33743>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Andrew Svetlov :
--
pull_requests: +7105
___
Python tracker
<https://bugs.python.org/issue33743>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Master already has the fix, added by 7ed61e9431e
--
versions: -Python 3.8
___
Python tracker
<https://bugs.python.org/issue33
Andrew Svetlov added the comment:
Aha, I see.
Thanks
--
___
Python tracker
<https://bugs.python.org/issue33743>
___
___
Python-bugs-list mailing list
Unsub
Andrew Berger added the comment:
I can make these changes. Would probably add a .exists method to PurePath,
using the _normal_accessor.stats staticmethod, then call that in __contains__
--
nosy: +aberger5b
___
Python tracker
<ht
Andrew Edmondson added the comment:
I made the patch. I'm not sure it's suitable to commit back as it is, as it
unrolls a macro but there seems to be a choice of macro in the code (depending
on certain conditions).
The problem is that icc can't handle a line that is so long
Andrew Edmondson added the comment:
See https://software.intel.com/en-us/forums/intel-c-compiler/topic/780574
--
___
Python tracker
<https://bugs.python.org/issue33
Andrew Berger added the comment:
I think the idea is that either a subdir or file could be valid inputs.
So `Path('/usr/bar') in Path('/etc/foo')` return True if
`Path('/etc/foo/usr/bar')` is either a dir or file.
As for PurePath, I did overlook that accessi
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
New submission from Andrew Valencia :
Build with -DLLTRACE, then:
>>> __lltrace__ = 1
>>> a = [1, 2, 3]
0: 100, 0
push 1
3: 100, 1
push 2
6: 100, 2
push 3
9: 103, 3
pop 3
pop 2
pop 1
push [1, 2, 3]
12: 90, 0
pop [1, 2, 3]
15: 100, 3
push None
18: 83
pop None
>>>
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
Change by Andrew Svetlov :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
New submission from Andrew Barnert :
See this StackOverflow question for a repro case:
https://stackoverflow.com/questions/51941260/
If you store a string that looks like an int in a TreeView's values, then call
widget.item(row), the dict's 'values' value has that string
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
Change by Andrew Svetlov :
--
components: +asyncio
nosy: +yselivanov
versions: +Python 3.8
___
Python tracker
<https://bugs.python.org/issue34622>
___
___
Pytho
Change by Andrew Svetlov :
--
keywords: +patch
pull_requests: +8591
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue34622>
___
___
Py
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
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
1901 - 2000 of 3160 matches
Mail list logo