[issue33669] str.format should raise exception when placeholder number doesn't match argument number

2018-05-28 Thread Xiang Zhang
Xiang Zhang added the comment: Yes, this is a breaking change. A currently working piece of code suddenly raises an exception. But, please note Serhiy in your example you have the same bug as me, you've gotten an oversight bug in it: it's {:d} not %s. That's why I want the

[issue32458] test_asyncio: test_start_tls_server_1() fails randomly

2018-05-28 Thread Giampaolo Rodola'
Change by Giampaolo Rodola' : -- nosy: -giampaolo.rodola ___ Python tracker ___ ___

[issue32458] test_asyncio: test_start_tls_server_1() fails randomly

2018-05-28 Thread STINNER Victor
STINNER Victor added the comment: > OK, sounds good, will do that. Race condition! I created https://github.com/python/cpython/pull/7157 to increase the timeout from 5 seconds to 60 seconds. -- ___ Python tracker

[issue33469] RuntimeError after closing loop that used run_in_executor

2018-05-28 Thread Yury Selivanov
Yury Selivanov added the comment: Hopefully asyncio.run() in Python 3.7 will handle this case correctly. -- ___ Python tracker

[issue33505] Optimize asyncio.ensure_future by reordering if conditions

2018-05-28 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset e549c4be5fb010f5faf12236af8faa720a1429be by Yury Selivanov (jimmylai) in branch 'master': bpo-33505: Optimize asyncio.ensure_future by reordering if conditions (GH-6836)

[issue31647] asyncio: StreamWriter write_eof() after close raises mysterious AttributeError

2018-05-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +6790 ___ Python tracker ___

[issue32832] doctest should support custom ps1/ps2 prompts

2018-05-28 Thread Tim Peters
Tim Peters added the comment: You missed my point about IPython: forget "In/Out arrays, etc". What you suggest is inadequate for _just_ changing PS1/PS2 for IPython. Again, read their `parse()` function. They support _more than one_ set of PS1/PS2 conventions. So the

[issue33672] Fix Task.__repr__ crash when trying to format Cython's bogus coroutines

2018-05-28 Thread Yury Selivanov
Change by Yury Selivanov : -- components: asyncio nosy: asvetlov, yselivanov priority: normal severity: normal status: open title: Fix Task.__repr__ crash when trying to format Cython's bogus coroutines type: behavior versions: Python 3.6, Python 3.7, Python 3.8

[issue33639] Use high-performance os.sendfile() in shutil.copy*

2018-05-28 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Closing as duplicate of #33671. -- stage: resolved -> patch review ___ Python tracker ___

[issue32458] test_asyncio: test_start_tls_server_1() fails randomly

2018-05-28 Thread Yury Selivanov
Yury Selivanov added the comment: > If the purpose is to detect when the test hangs: use a timeout of 5 minutes, > or at least 1 minute (60 seconds). OK, sounds good, will do that. -- ___ Python tracker

[issue32458] test_asyncio: test_start_tls_server_1() fails randomly

2018-05-28 Thread STINNER Victor
STINNER Victor added the comment: > Yeah, I agree. The current timeout for the test is 5 seconds and it tries to > transfer 2mb of data, which isn't that much actually. I'll bump the timeout > and reduce the amount of data transferred in >

[issue33670] Use errorlevel of Sphinx main() in Doc\make.bat

2018-05-28 Thread Andrés Delfino
Andrés Delfino added the comment: After the PR: C:\Users\adelfino\Desktop\Personal\repos\cpython\Doc>make venv Using py -3.6 (found with py.exe) Merging Misc/NEWS with py -3.6 -m blurb Running Sphinx v1.7.4 Sphinx error: Builder name venv not registered or available

[issue33639] Use high-performance os.sendfile() in shutil.copy*

2018-05-28 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Closing as duplicate of #33671. -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> Efficient zero-copy for shutil.copy* functions (Linux, OSX and Win)

[issue32591] Deprecate sys.set_coroutine_wrapper and replace it with more focused API(s)

2018-05-28 Thread Yury Selivanov
Change by Yury Selivanov : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue31467] cElementTree behaves differently compared to ElementTree

2018-05-28 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: -6786 ___ Python tracker ___

[issue33671] Efficient efficient zero-copy syscalls for shutil.copy* functions (Linux, OSX and Win)

2018-05-28 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola' : Patch in attachment uses platform specific zero-copy syscalls on Linux and Solaris (os.sendfile(2)), Windows (CopyFileW) and OSX (fcopyfile(2)) speeding up shutil.copyfile() and other functions using it (copy(), copy2(), copytree(),

[issue33671] Efficient zero-copy for shutil.copy* functions (Linux, OSX and Win)

2018-05-28 Thread Giampaolo Rodola'
Change by Giampaolo Rodola' : -- title: Efficient efficient zero-copy syscalls for shutil.copy* functions (Linux, OSX and Win) -> Efficient zero-copy for shutil.copy* functions (Linux, OSX and Win) ___ Python tracker

[issue31647] asyncio: StreamWriter write_eof() after close raises mysterious AttributeError

2018-05-28 Thread Yury Selivanov
Change by Yury Selivanov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue31647] asyncio: StreamWriter write_eof() after close raises mysterious AttributeError

2018-05-28 Thread Yury Selivanov
Yury Selivanov added the comment: Merged, thanks for looking into this! BTW, if you have any other bugfixes in mind, today is pretty much last chance to get them into 3.7.0 -- ___ Python tracker

[issue33671] Efficient zero-copy for shutil.copy* functions (Linux, OSX and Win)

2018-05-28 Thread Giampaolo Rodola'
Change by Giampaolo Rodola' : -- nosy: +SilentGhost, StyXman, asvetlov, desbma, facundobatista, gps, josh.r, martin.panter, ncoghlan, neologix, petr.viktorin, pitrou, python-dev, r.david.murray, tarek, vstinner, yselivanov ___

[issue23749] asyncio missing wrap_socket (starttls)

2018-05-28 Thread Yury Selivanov
Change by Yury Selivanov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue33469] RuntimeError after closing loop that used run_in_executor

2018-05-28 Thread Yury Selivanov
Yury Selivanov added the comment: Ah, I see, the callback that tracks the state of the wrapped concurrent.Future doesn't check that the loop is closed and its future has been cancelled. I think this is a bug. -- ___ Python tracker

[issue33669] str.format should raise exception when placeholder number doesn't match argument number

2018-05-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If issue28308 be implemented, it may be that the Python compiler itself will emit a warning. -- ___ Python tracker ___

[issue33673] Install python-docs-theme even if Sphinx is already installed

2018-05-28 Thread Andrés Delfino
New submission from Andrés Delfino : python-docs-theme is being installed only if Sphinx is not installed too. PR fixes this. -- components: Demos and Tools messages: 317892 nosy: adelfino priority: normal severity: normal status: open title: Install python-docs-theme even if Sphinx is

[issue33673] Install python-docs-theme even if Sphinx is already installed

2018-05-28 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +6798 stage: -> patch review ___ Python tracker ___ ___

[issue33673] Install python-docs-theme even if Sphinx is already installed

2018-05-28 Thread Andrés Delfino
Andrés Delfino added the comment: This applies to Windows's make.bat. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue33669] str.format should raise exception when placeholder number doesn't match argument number

2018-05-28 Thread Eric V. Smith
Eric V. Smith added the comment: This was a deliberate design choice, and as Serhiy notes, at least partially driven by translations. It seems to me it would be a job for a linter to point out a problem, if the string is a constant. -- nosy: +eric.smith

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

2018-05-28 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset dbf102271fcc316f353c7e0a283811b661d128f2 by Yury Selivanov in branch 'master': bpo-33654: Support BufferedProtocol in set_protocol() and start_tls() (GH-7130) https://github.com/python/cpython/commit/dbf102271fcc316f353c7e0a283811b661d128f2

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

2018-05-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +6799 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32458] test_asyncio: test_start_tls_server_1() fails randomly

2018-05-28 Thread Yury Selivanov
Yury Selivanov added the comment: https://github.com/python/cpython/pull/7130 is in. It includes many tests for TLS tests as well as bugfixes to asyncio code. Hopefully this all will make tests more stable. -- ___ Python tracker

[issue33505] Optimize asyncio.ensure_future by reordering if conditions

2018-05-28 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset f8fdb368e3d8d048bffc248fbe1023651c276671 by Yury Selivanov (Miss Islington (bot)) in branch '3.7': bpo-33505: Optimize asyncio.ensure_future by reordering if conditions (GH-6836) (#7162)

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

2018-05-28 Thread miss-islington
miss-islington added the comment: New changeset bc3a002e7d5a921e233a5ee0b0f5610c6510b647 by Miss Islington (bot) in branch '3.7': bpo-33654: Support BufferedProtocol in set_protocol() and start_tls() (GH-7130) https://github.com/python/cpython/commit/bc3a002e7d5a921e233a5ee0b0f5610c6510b647

[issue33614] Compilation of Python fails on AMD64 Windows8.1 Refleaks 3.x

2018-05-28 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +6800 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue33669] str.format should raise exception when placeholder number doesn't match argument number

2018-05-28 Thread Eric V. Smith
Eric V. Smith added the comment: I still think it's a job for a linter, even if the compiler optimizes away the call to .format(). -- ___ Python tracker ___

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

2018-05-28 Thread Yury Selivanov
Yury Selivanov added the comment: Closing in favour of https://bugs.python.org/issue33654 -- resolution: -> duplicate stage: -> resolved status: open -> closed type: -> behavior ___ Python tracker

[issue30945] loop.create_server does not detect if the interface is IPv6 enabled

2018-05-28 Thread Yury Selivanov
Yury Selivanov added the comment: Does anybody wants to make a PR to fix this? -- ___ Python tracker ___ ___ Python-bugs-list

[issue32832] doctest should support custom ps1/ps2 prompts

2018-05-28 Thread Sergey B Kirpichev
Sergey B Kirpichev added the comment: > They support _more than one_ set of PS1/PS2 conventions. I saw this, not sure if that's required. IMHO, same effect should be possible by running doctest several times with different conventions. > Who would it help? In principle, any project, that

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

2018-05-28 Thread Yury Selivanov
Change by Yury Selivanov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> behavior ___ Python tracker ___

[issue33505] Optimize asyncio.ensure_future by reordering if conditions

2018-05-28 Thread Yury Selivanov
Change by Yury Selivanov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue32458] test_asyncio: test_start_tls_server_1() fails randomly

2018-05-28 Thread Yury Selivanov
Change by Yury Selivanov : -- pull_requests: +6801 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33667] Mock calls on mutable objects

2018-05-28 Thread Pawel
Pawel added the comment: Ok, fair enough. Thank You for explanation. I was just surprised with this behaviour. On the other hand, I don't like mutable objects and I'm trying to avoid them. -- ___ Python tracker

[issue33614] Compilation of Python fails on AMD64 Windows8.1 Refleaks 3.x

2018-05-28 Thread Steve Dower
Steve Dower added the comment: New changeset e97ba4c690613d734843db218aeedce2f0e5937f by Steve Dower in branch 'master': bpo-33614: Ensures module definition files for the stable ABI on Windows are correctly regenerated. (GH-7165)

[issue33614] Compilation of Python fails on AMD64 Windows8.1 Refleaks 3.x

2018-05-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +6802 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33614] Compilation of Python fails on AMD64 Windows8.1 Refleaks 3.x

2018-05-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +6803 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33614] Compilation of Python fails on AMD64 Windows8.1 Refleaks 3.x

2018-05-28 Thread Ned Deily
Ned Deily added the comment: Steve - PR 7165 appears to have caused a buildbot failure: http://buildbot.python.org/all/#/builders/12/builds/910 -- ___ Python tracker ___

[issue33671] Efficient zero-copy for shutil.copy* functions (Linux, OSX and Win)

2018-05-28 Thread Stefan Behnel
Stefan Behnel added the comment: Nice, I really like this. Apart from the usual bit of minor style issues, I couldn't see anything inherently wrong with the PR, but I'll leave the detailed reviews to those who'd have to maintain the code in the future. :) -- nosy: +scoder

[issue32410] Implement loop.sock_sendfile method

2018-05-28 Thread Yury Selivanov
Change by Yury Selivanov : -- pull_requests: +6807 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12486] tokenize module should have a unicode API

2018-05-28 Thread Thomas Kluyver
Thomas Kluyver added the comment: The tests on PR #6957 are passing now, if anyone has time to have a look. :-) -- ___ Python tracker ___

[issue32523] inconsistent spacing in changelog.html

2018-05-28 Thread Ned Deily
Ned Deily added the comment: @mdk, Would you have time to take a look at this? Thanks! -- nosy: +mdk versions: +Python 3.8 ___ Python tracker ___

[issue33672] Fix Task.__repr__ crash when trying to format Cython's bogus coroutines

2018-05-28 Thread Yury Selivanov
New submission from Yury Selivanov : New changeset 989b9e0e6d7dd2fa911f9bfd4744e7f3a82d6006 by Yury Selivanov in branch 'master': bpo-33672: Fix Task.__repr__ crash with Cython's bogus coroutines (GH-7161) https://github.com/python/cpython/commit/989b9e0e6d7dd2fa911f9bfd4744e7f3a82d6006

[issue33614] Compilation of Python fails on AMD64 Windows8.1 Refleaks 3.x

2018-05-28 Thread Steve Dower
Steve Dower added the comment: Thanks! I guess we were getting lucky in the past, as that error could have shown up for any number of reasons... -- ___ Python tracker ___

[issue33672] Fix Task.__repr__ crash when trying to format Cython's bogus coroutines

2018-05-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +6808 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33674] asyncio: race condition in SSLProtocol

2018-05-28 Thread STINNER Victor
New submission from STINNER Victor : While debugging bpo-32458 (functional test on START TLS), I found a race condition in SSLProtocol of asyncio/sslproto.py. Sometimes, _sslpipe.feed_ssldata() is called before _sslpipe.shutdown(). * SSLProtocol.connection_made() ->

[issue33674] asyncio: race condition in SSLProtocol

2018-05-28 Thread STINNER Victor
STINNER Victor added the comment: Workaround: diff --git a/Lib/asyncio/sslproto.py b/Lib/asyncio/sslproto.py index 2bfa45dd15..4a5dbb38a1 100644 --- a/Lib/asyncio/sslproto.py +++ b/Lib/asyncio/sslproto.py @@ -592,7 +592,7 @@ class SSLProtocol(protocols.Protocol): # (b'', 1) is a

[issue33614] Compilation of Python fails on AMD64 Windows8.1 Refleaks 3.x

2018-05-28 Thread miss-islington
miss-islington added the comment: New changeset c489a767af46f33e73d96a5746e46a7365814db2 by Miss Islington (bot) in branch '3.6': bpo-33614: Ensures module definition files for the stable ABI on Windows are correctly regenerated. (GH-7165)

[issue31647] asyncio: StreamWriter write_eof() after close raises mysterious AttributeError

2018-05-28 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 7e8819a589c7630db9d440826143ad0a1daf948e by Yury Selivanov (Miss Islington (bot)) in branch '3.6': bpo-31647: Fix write_eof() after close() for SelectorSocketTransport (GH-7149) (#7154)

[issue32458] test_asyncio: test_start_tls_server_1() fails randomly

2018-05-28 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 8267ea2e84d355f00654dec3ad782fc7b1f680f1 by Yury Selivanov in branch 'master': bpo-32458: Further tune start_tls tests (#7166) https://github.com/python/cpython/commit/8267ea2e84d355f00654dec3ad782fc7b1f680f1 --

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

2018-05-28 Thread Yury Selivanov
Change by Yury Selivanov : -- keywords: +patch pull_requests: +6809 stage: -> patch review ___ Python tracker ___ ___

[issue32458] test_asyncio: test_start_tls_server_1() fails randomly

2018-05-28 Thread STINNER Victor
STINNER Victor added the comment: While Yury seems unable to reproduce the bug, it's easy for me to reproduce it on Linux. After 2 hours of debugging, I found the root issue: a race condition not in the test, but in asyncio itself! => bpo-33674 "asyncio: race condition in SSLProtocol".

[issue32458] test_asyncio: test_start_tls_server_1() fails randomly

2018-05-28 Thread miss-islington
miss-islington added the comment: New changeset 4b828467a3fcec0c1947e8326f67b8db12a4f303 by Miss Islington (bot) in branch '3.7': bpo-32458: Further tune start_tls tests (GH-7166) https://github.com/python/cpython/commit/4b828467a3fcec0c1947e8326f67b8db12a4f303 -- nosy:

[issue33674] asyncio: race condition in SSLProtocol

2018-05-28 Thread STINNER Victor
STINNER Victor added the comment: loop.start_tls() method is new in Python 3.7. If possible, I would prefer to not see it with a builtin race condition, since such race condition is really hard to debug :-( So I raise the priority to release blocker. Sorry again Ned! -- nosy:

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

2018-05-28 Thread Yury Selivanov
Yury Selivanov added the comment: After an off-list discussion I think I was able to convince Andrew to change the behaviour of the newly added asyncio.all_tasks() to return only pending tasks. The logic behind this is that: 1. there's no good known use case for returning a list of all

[issue33667] Mock calls on mutable objects

2018-05-28 Thread R. David Murray
Change by R. David Murray : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Python unittest.mock.mock_calls stores references to arguments instead of their values ___ Python tracker

[issue32038] Add API to intercept socket.close()

2018-05-28 Thread Yury Selivanov
Yury Selivanov added the comment: Closing this one. Using private socket.socket APIs works fine for uvloop/asyncio. -- resolution: -> rejected stage: -> resolved status: open -> closed type: -> enhancement ___ Python tracker

[issue33671] Efficient zero-copy for shutil.copy* functions (Linux, OSX and Win)

2018-05-28 Thread Stefan Behnel
Stefan Behnel added the comment: Regarding the benchmarks, just to be sure, did you try reversing the run order to make sure you don't get unfair caching effects for the later runs? -- ___ Python tracker

[issue33674] asyncio: race condition in SSLProtocol

2018-05-28 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +6810 stage: -> patch review ___ Python tracker ___ ___

[issue32672] .then execution of actions following a future's completion

2018-05-28 Thread Yury Selivanov
Change by Yury Selivanov : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33614] Compilation of Python fails on AMD64 Windows8.1 Refleaks 3.x

2018-05-28 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +6804 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33614] Compilation of Python fails on AMD64 Windows8.1 Refleaks 3.x

2018-05-28 Thread miss-islington
miss-islington added the comment: New changeset 3757939e9c00a36f939d774ec5c79e5d6b9a77bb by Miss Islington (bot) in branch '3.7': bpo-33614: Ensures module definition files for the stable ABI on Windows are correctly regenerated. (GH-7165)

[issue33674] asyncio: race condition in SSLProtocol

2018-05-28 Thread STINNER Victor
STINNER Victor added the comment: Yury Selivanov told me that usually it's safer to add call_soon(), than to remove call_soon(). But adding many call_soon() can make asyncio SSL slower. SSLProtocol doesn't seem to like call_soon(), it's only used at: * connection_lost():

[issue32458] test_asyncio: test_start_tls_server_1() fails randomly

2018-05-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +6805 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33674] asyncio: race condition in SSLProtocol

2018-05-28 Thread Yury Selivanov
Yury Selivanov added the comment: The fix is correct and the bug is now obvious: data_received() occur pretty much any time after connection_made() call; if call_soon() is used in connection_made(), data_received() may find the protocol in an incorrect state. Kudos Victor for debugging

[issue33674] asyncio: race condition in SSLProtocol

2018-05-28 Thread Yury Selivanov
Yury Selivanov added the comment: And I agree, this should make it to 3.7.0 -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue33469] RuntimeError after closing loop that used run_in_executor

2018-05-28 Thread Yury Selivanov
Change by Yury Selivanov : -- keywords: +patch pull_requests: +6806 stage: -> patch review ___ Python tracker ___ ___

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

2018-05-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +6816 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue33672] Fix Task.__repr__ crash when trying to format Cython's bogus coroutines

2018-05-28 Thread Ned Deily
Ned Deily added the comment: bug fix, go for it. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25228] Regression in http.cookies parsing with brackets and quotes

2018-05-28 Thread Sam Park
Change by Sam Park : -- nosy: +spark ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32410] Implement loop.sock_sendfile method

2018-05-28 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 7165754b6b5f3b7c07050d921fa1c58bba5f0ff1 by Yury Selivanov in branch 'master': bpo-32410: Avoid blocking on file IO in sendfile fallback code (GH-7172) https://github.com/python/cpython/commit/7165754b6b5f3b7c07050d921fa1c58bba5f0ff1

[issue29392] msvcrt.locking crashes python

2018-05-28 Thread Steve Dower
Change by Steve Dower : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25228] Regression in http.cookies parsing with brackets and quotes

2018-05-28 Thread Sam Park
Sam Park added the comment: I'm seeing a similar issue with curly brackets. from Cookie import BaseCookie cookie = BaseCookie('asd={"asd"}; my-real-cookie=stuff i care about; blah=blah') assert 'my-real-cookie' in cookie # False -- ___ Python

[issue33672] Fix Task.__repr__ crash when trying to format Cython's bogus coroutines

2018-05-28 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 075c662086859f864aa1179f57367aa470ee6335 by Yury Selivanov (Miss Islington (bot)) in branch '3.7': bpo-33672: Fix Task.__repr__ crash with Cython's bogus coroutines (GH-7161) (GH-7173)

[issue33671] Efficient zero-copy for shutil.copy* functions (Linux, OSX and Win)

2018-05-28 Thread Марк Коренберг
Марк Коренберг added the comment: http://man7.org/linux/man-pages/man2/ioctl_ficlonerange.2.html That possibly should be used under Linux in order to really acheive zero-copying. Just like modern cp command. -- nosy: +socketpair ___ Python tracker

[issue32410] Implement loop.sock_sendfile method

2018-05-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +6817 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33675] Buildbot AMD64 Windows10 3.6 fails to compile

2018-05-28 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : It seems that since c489a767af46f33e73d96a5746e46a7365814db2 the AMD64 Windows10 buildbot for Python3.6 fails to compile. Error log: Using "C:\Program Files (x86)\MSBuild\14.0\bin\\msbuild.exe" (found in the registry) Cannot locate MSBuild.exe on

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

2018-05-28 Thread Yury Selivanov
Yury Selivanov added the comment: Ned, this one would also be nice to have in 3.7.0. The patch alters the behaviour of new 3.7 api. -- priority: normal -> release blocker ___ Python tracker

[issue33675] Buildbot AMD64 Windows10 3.6 fails to compile

2018-05-28 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: http://buildbot.python.org/all/#/builders/31/builds/321 -- ___ Python tracker ___ ___

[issue33614] Compilation of Python fails on AMD64 Windows8.1 Refleaks 3.x

2018-05-28 Thread Steve Dower
Steve Dower added the comment: I *believe* this change will prevent the issue in the future, so marking this as fixed. But I wasn't able to reproduce it locally, so there may be something funny about either the file system or the version of MSBuild on the buildbots that caused it to not

[issue31647] asyncio: StreamWriter write_eof() after close raises mysterious AttributeError

2018-05-28 Thread Yury Selivanov
Yury Selivanov added the comment: Would be great to have this change in 3.7.0 (it's safe to merge it IMO) -- nosy: +larry, ned.deily priority: normal -> release blocker ___ Python tracker

[issue33675] Buildbot AMD64 Windows10 3.6 fails to compile

2018-05-28 Thread Ned Deily
Ned Deily added the comment: If it's a problem with a Windows build, you should add the Windows component so the Windows team is nosied. But, in this case, I think Steve has already fixed this. -- components: +Windows nosy: +ned.deily, paul.moore, steve.dower, tim.golden, zach.ware

[issue32380] functools.singledispatch interacts poorly with methods

2018-05-28 Thread Ethan Smith
Ethan Smith added the comment: This was fixed, so I think it can be closed. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue23749] asyncio missing wrap_socket (starttls)

2018-05-28 Thread STINNER Victor
STINNER Victor added the comment: I found a race condition in START TLS: bpo-33674. I'm fixing it (I'm just waiting to merge my PR which has already been approved). -- ___ Python tracker

[issue32457] Windows Python cannot handle an early PATH entry containing ".." and python.exe

2018-05-28 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue33469] RuntimeError after closing loop that used run_in_executor

2018-05-28 Thread miss-islington
miss-islington added the comment: New changeset 8d8b86116fae91570c26fa48974b54986fbd1b72 by Miss Islington (bot) in branch '3.7': bpo-33469: RuntimeError after closing loop that used run_in_executor (GH-7171) https://github.com/python/cpython/commit/8d8b86116fae91570c26fa48974b54986fbd1b72

[issue33642] IDLE: Use variable number of lines in CodeContext

2018-05-28 Thread Cheryl Sabella
Cheryl Sabella added the comment: I pushed a commit for these three items. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue33672] Fix Task.__repr__ crash when trying to format Cython's bogus coroutines

2018-05-28 Thread Yury Selivanov
Change by Yury Selivanov : -- pull_requests: +6815 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33353] test_asyncio: test_sock_sendfile_mix_with_regular_send() hangs on FreeBSD

2018-05-28 Thread STINNER Victor
STINNER Victor added the comment: Hum, the test still fails on AMD64 FreeBSD CURRENT Debug 3.x :-( http://buildbot.python.org/all/#/builders/60/builds/77 test_sock_client_ops (test.test_asyncio.test_events.PollEventLoopTests) ... ok Timeout (0:15:00)! Thread 0x00080139d000 (most recent

[issue33623] Fix possible SIGSGV when asyncio.Future is created in __del__

2018-05-28 Thread Yury Selivanov
Yury Selivanov added the comment: Would be great to merge this in 3.7.0. The change is super safe to merge. -- nosy: +ned.deily priority: normal -> release blocker ___ Python tracker

[issue33675] Buildbot AMD64 Windows10 3.6 fails to compile

2018-05-28 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Could http://buildbot.python.org/all/#/builders/90/builds/350 be related to this? -- ___ Python tracker ___

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

2018-05-28 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 416c1ebd9896b394790dcb4f9f035b1a44ebe9ff by Yury Selivanov in branch 'master': bpo-32610: Fix asyncio.all_tasks() to return only pending tasks. (GH-7174) https://github.com/python/cpython/commit/416c1ebd9896b394790dcb4f9f035b1a44ebe9ff

[issue30317] test_timeout() of test_multiprocessing_spawn.WithManagerTestBarrier fails randomly on x86 Windows7 3.x buildbot

2018-05-28 Thread STINNER Victor
STINNER Victor added the comment: Recent failure on x86 Windows7 3.x: http://buildbot.python.org/all/#/builders/58/builds/914 == FAIL: test_timeout (test.test_multiprocessing_spawn.WithManagerTestQueue)

  1   2   3   >