[issue33690] urlib.parse.urlencode with empty list and doseq=True drops the parameter

2018-05-29 Thread R. David Murray
R. David Murray added the comment: If a sequence as a value means repeated instances of a key with each value from the list, then logically an empty list means no instances of the key, as documented. Blank values aren't really part of the standard (such as it is): the absence of a parameter

[issue33530] Implement Happy Eyeball in asyncio

2018-05-29 Thread twisteroid ambassador
Change by twisteroid ambassador : -- pull_requests: +6867 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue33691] Refactor docstring handling code in the compiler

2018-05-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +6866 stage: -> patch review ___ Python tracker ___ ___ Python-bugs

[issue33691] Refactor docstring handling code in the compiler

2018-05-29 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Similar non-trivial code is used in several places in the compiler for handling docstrings. The proposed PR adds a helper _PyAST_GetDocString() for reusing a code. -- components: Interpreter Core messages: 318155 nosy: benjamin.peterson, brett.ca

[issue33597] Compact PyGC_Head

2018-05-29 Thread INADA Naoki
INADA Naoki added the comment: > Is the PR already ready for review? I think so. -- ___ Python tracker ___ ___ Python-bugs-list ma

[issue33690] urlib.parse.urlencode with empty list and doseq=True drops the parameter

2018-05-29 Thread Abhilash Raj
New submission from Abhilash Raj : When using `urllib.parse.urlencode` it is impossible to pass an empty list when doseq=True. So, I see the following behavior when using urlencode: In [3]: urlencode({'key': ['value']}, doseq=True) Out[3]: 'key=value' In [4]: urlencode({'key': []}, doseq=Tru

[issue33597] Compact PyGC_Head

2018-05-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Even with smaller benefit the idea looks worth to me. Is the PR already ready for review? -- ___ Python tracker ___ __

[issue33687] uu.py calls os.path.chmod which doesn't exist

2018-05-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +easy stage: -> needs patch versions: +Python 3.7, Python 3.8 ___ Python tracker ___ ___

[issue33687] uu.py calls os.path.chmod which doesn't exist

2018-05-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Looks as the proper fix to me. -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bug

[issue32911] Doc strings no longer stored in body of AST

2018-05-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I concur. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue33649] asyncio docs overhaul

2018-05-29 Thread Yury Selivanov
Yury Selivanov added the comment: > Yury: do you want to do the re-organization into high- and low-level APIs? > If you'd like me to do it, I'll need a more explicit listing of which APIs > fall into which category. Sure, I'll update this issue tomorrow or the day after with a more detailed

[issue33414] Make shutil.copytree use os.scandir to take advantage of cached is_(dir|file|symlink)

2018-05-29 Thread Giampaolo Rodola'
Change by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue22021] shutil.make_archive() root_dir do not work

2018-05-29 Thread bananaappletw
bananaappletw added the comment: I think this snippet might help you. shutil.make_archive(base_name='/tmp/issue22021archive', format='zip', root_dir='/tmp/issue22021/root/', base_dir='structure/content/') unzip -l /tmp/issue22021archive.zip Archive: /tmp/issue22021archive.zip Length

[issue32911] Doc strings no longer stored in body of AST

2018-05-29 Thread INADA Naoki
INADA Naoki added the comment: I think it's OK. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue33479] Document tkinter and threads

2018-05-29 Thread Ivan Pozdeev
Ivan Pozdeev added the comment: On 29.05.2018 23:20, Mark Roseman wrote: > Mark Roseman added the comment: > > Ivan, thanks for making a good first pass of this. The thread section still > feels a lot like 'fighting' with the model. Do you mind if I take a crack at > it? Won't get to it for

[issue23859] asyncio: document behaviour of wait() cancellation

2018-05-29 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset f95269404c03bd769a3551cd851b51b8f89672df by Yury Selivanov (Miss Islington (bot)) in branch '3.7': [3.7] bpo-23859: Document that asyncio.wait() does not cancel its futures (GH-7217) (#7227) https://github.com/python/cpython/commit/f95269404c03

[issue33638] condition lock not re-acquired

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

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

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

[issue32684] asyncio.gather(..., return_exceptions=True) swallows cancellation

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

[issue22087] asyncio: support multiprocessing (support fork)

2018-05-29 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset af9cda9845666e2f704177a431d29f91efbf828a by Yury Selivanov in branch '3.7': Revert "bpo-22087: Fix Policy.get_event_loop() to detect fork (GH-7208)" (GH-7233) https://github.com/python/cpython/commit/af9cda9845666e2f704177a431d29f91efbf828a -

[issue22087] asyncio: support multiprocessing (support fork)

2018-05-29 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 99279ad823a758288e4e41962abfc4dad8943ce8 by Yury Selivanov in branch 'master': Revert "bpo-22087: Fix Policy.get_event_loop() to detect fork (GH-7208)" (#7232) https://github.com/python/cpython/commit/99279ad823a758288e4e41962abfc4dad8943ce8 -

[issue32684] asyncio.gather(..., return_exceptions=True) swallows cancellation

2018-05-29 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 3ddee64587482082fcbab930ff82ed67aa9f4a0d by Yury Selivanov (Miss Islington (bot)) in branch '3.7': bpo-32684: Fix nits in tests (GH-7225) (#7231) https://github.com/python/cpython/commit/3ddee64587482082fcbab930ff82ed67aa9f4a0d -- ___

[issue31639] http.server and SimpleHTTPServer hang after a few requests

2018-05-29 Thread Julien Palard
Julien Palard added the comment: New changeset 4f53e2ac16e0bebae0a0c18f220295035b081ee3 by Julien Palard in branch '3.7': [3.7] bpo-31639: Change ThreadedHTTPServer to ThreadingHTTPServer class name (GH-7195) (GH-7219) https://github.com/python/cpython/commit/4f53e2ac16e0bebae0a0c18f22029503

[issue22087] asyncio: support multiprocessing (support fork)

2018-05-29 Thread Yury Selivanov
Yury Selivanov added the comment: Even though I committed a version of Dan's patch to 3.7 and 3.8, I've finally decided to revert it and do it properly instead. We should strive to implement a proper solution, not commit some half-working code. A concrete plan (for Python 3.8 probably): 1.

[issue22087] asyncio: support multiprocessing (support fork)

2018-05-29 Thread Yury Selivanov
Change by Yury Selivanov : -- pull_requests: +6865 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue22087] asyncio: support multiprocessing (support fork)

2018-05-29 Thread Yury Selivanov
Change by Yury Selivanov : -- pull_requests: +6864 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue32684] asyncio.gather(..., return_exceptions=True) swallows cancellation

2018-05-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +6863 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue32684] asyncio.gather(..., return_exceptions=True) swallows cancellation

2018-05-29 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 6f75bae74866b6acf638e3aa610d830d55b7e314 by Yury Selivanov in branch 'master': bpo-32684: Fix nits in tests (GH-7225) https://github.com/python/cpython/commit/6f75bae74866b6acf638e3aa610d830d55b7e314 -- ___

[issue32684] asyncio.gather(..., return_exceptions=True) swallows cancellation

2018-05-29 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 3b263e65a80cfcb1fc751834372533773ec024a4 by Yury Selivanov in branch '3.6': bpo-32684: Fix gather to propagate cancel of itself with return_exceptions (GH-7224) https://github.com/python/cpython/commit/3b263e65a80cfcb1fc751834372533773ec024a4

[issue33689] Blank lines in .pth file cause a duplicate sys.path entry

2018-05-29 Thread Malcolm Smith
New submission from Malcolm Smith : The `site` module documentation says that in .pth files, "Blank lines and lines beginning with # are skipped.". However, the implementation does not actually skip blank lines. It then joins the empty string to the site-packages directory, resulting in the s

[issue33688] asyncio child watchers aren't fork friendly

2018-05-29 Thread Zac Medico
Change by Zac Medico : -- nosy: +zmedico ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue23859] asyncio: document behaviour of wait() cancellation

2018-05-29 Thread Elvis Pranskevichus
Change by Elvis Pranskevichus : -- pull_requests: +6862 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue30935] document the new behavior of get_event_loop() in Python 3.6

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

[issue29788] [Security] tarfile: Add absolute_path option to tarfile, disabled by default

2018-05-29 Thread STINNER Victor
Change by STINNER Victor : -- title: tarfile: Add absolute_path option to tarfile, disabled by default -> [Security] tarfile: Add absolute_path option to tarfile, disabled by default ___ Python tracker _

[issue23859] asyncio: document behaviour of wait() cancellation

2018-05-29 Thread STINNER Victor
STINNER Victor added the comment: > https://github.com/python/cpython/commit/f9aeca2085464838f04bf13f816a1f861d43541f " + when a timeout accurs. " typo: accurs => occurs -- ___ Python tracker ___

[issue22087] asyncio: support multiprocessing (support fork)

2018-05-29 Thread Yury Selivanov
Yury Selivanov added the comment: another related issue: https://bugs.python.org/issue33688 -- ___ Python tracker ___ ___ Python-bu

[issue29512] regrtest refleak: implement bisection feature

2018-05-29 Thread STINNER Victor
STINNER Victor added the comment: I created the PR 7229 to rename Lib/test/bisect.py to Lib/test/bisect_cmd.py. -- ___ Python tracker ___ _

[issue33688] asyncio child watchers aren't fork friendly

2018-05-29 Thread Yury Selivanov
New submission from Yury Selivanov : _UnixDefaultEventLoopPolicy doesn't detect fork and tries to re-use the inherited child watcher. [1] is my idea how to fix this. Andrew, AFAIK subprocesses was something that you worked on at some point. Do you have time to look into this? Need tests and

[issue29512] regrtest refleak: implement bisection feature

2018-05-29 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +6861 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue22021] shutil.make_archive() root_dir do not work

2018-05-29 Thread Tobias Kunze
Tobias Kunze added the comment: I'm similarly confused by this issue. If somebody can help me understand what's going on, I'll put my understanding into a documentation patch. I have created this minimal example to demonstrate what I don't understand: I've created a directory structure within

[issue33638] condition lock not re-acquired

2018-05-29 Thread miss-islington
miss-islington added the comment: New changeset d8948c5e09c4a2a818f6f6cfaf8064f2c2138fa5 by Miss Islington (bot) in branch '3.7': bpo-32751: Wait for task cancellation in asyncio.wait_for() (GH-7216) https://github.com/python/cpython/commit/d8948c5e09c4a2a818f6f6cfaf8064f2c2138fa5 -

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

2018-05-29 Thread miss-islington
miss-islington added the comment: New changeset d8948c5e09c4a2a818f6f6cfaf8064f2c2138fa5 by Miss Islington (bot) in branch '3.7': bpo-32751: Wait for task cancellation in asyncio.wait_for() (GH-7216) https://github.com/python/cpython/commit/d8948c5e09c4a2a818f6f6cfaf8064f2c2138fa5 -

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

2018-05-29 Thread Steve Dower
Steve Dower added the comment: Thanks! -- assignee: -> steve.dower resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

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

2018-05-29 Thread Steve Dower
Steve Dower added the comment: New changeset 5583ef4777452e79278de80755d403f1c5b7781d by Steve Dower (Andrés Delfino) in branch '2.7': [2.7] bpo-33670: Expose Sphinx errorlevel (GH-7156). (GH-7201) https://github.com/python/cpython/commit/5583ef4777452e79278de80755d403f1c5b7781d --

[issue32684] asyncio.gather(..., return_exceptions=True) swallows cancellation

2018-05-29 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 036434273e6f6905403432c973d98ade1ae58197 by Yury Selivanov (Miss Islington (bot)) in branch '3.7': bpo-32684: Fix gather to propagate cancel of itself with return_exceptions (GH-7209) (#7222) https://github.com/python/cpython/commit/036434273e6

[issue29326] Blank lines in ._pth file are not ignored

2018-05-29 Thread Steve Dower
Steve Dower added the comment: Please create a new issue. This one is closed. -- ___ Python tracker ___ ___ Python-bugs-list mailin

[issue32676] test_asyncio emits many warnings when run in debug mode

2018-05-29 Thread Yury Selivanov
Yury Selivanov added the comment: I'll look into this. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue22087] asyncio: support multiprocessing (support fork)

2018-05-29 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue23859] asyncio: document behaviour of wait() cancellation

2018-05-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +6860 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue23859] asyncio: document behaviour of wait() cancellation

2018-05-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +6859 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue23859] asyncio: document behaviour of wait() cancellation

2018-05-29 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset f9aeca2085464838f04bf13f816a1f861d43541f by Yury Selivanov (Elvis Pranskevichus) in branch 'master': bpo-23859: Document that asyncio.wait() does not cancel its futures (#7217) https://github.com/python/cpython/commit/f9aeca2085464838f04bf13f816

[issue29301] decimal: Use FASTCALL and/or Argument Clinic

2018-05-29 Thread STINNER Victor
STINNER Victor added the comment: Sorry, I lost interest in this optimization. If someone wants to work on it, please open a new issue. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue26251] Use "Low-fragmentation Heap" memory allocator on Windows

2018-05-29 Thread STINNER Victor
STINNER Victor added the comment: I failed to find the bandwidth to work on this issue since 2 years, so I just abandon this idea. However the performance benefit is non obvious. -- resolution: -> out of date stage: -> resolved status: open -> closed ___

[issue31731] [2.7] test_io hangs on x86 Gentoo Refleaks 2.7

2018-05-29 Thread Zachary Ware
Zachary Ware added the comment: test_io is currently hung on that builder: buildbot 13541 0.0 0.1 4920 2508 pts/1Ss+ May28 0:00 \_ make buildbottest TESTOPTS=-j2 -R 3:3 -u-cpu TESTPYTHONOPTS= TESTTIMEOUT=11700 buildbot 13556 0.2 0.4 33620 9952 pts/1Sl+ May28 2:45 |

[issue30391] test_threading_handled() and test_threading_not_handled() of test_socketserver hangs randomly on AMD64 FreeBSD 10.x Shared 3.6

2018-05-29 Thread STINNER Victor
STINNER Victor added the comment: bpo-31233 and bpo-31151 have fixed the issue in Python 3.7. I'm not sure how to fix the issue in Python 2.7 and 3.6. But since I didn't see the failure recently, I close the issue. -- resolution: -> fixed stage: -> resolved status: open -> closed

[issue22087] asyncio: support multiprocessing (support fork)

2018-05-29 Thread Yury Selivanov
Change by Yury Selivanov : -- pull_requests: +6858 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue30758] test_pydoc hangs sometimes on 3.6 and master branches on ARMv7 Ubuntu 3.6/3.x

2018-05-29 Thread STINNER Victor
STINNER Victor added the comment: I didn't see the failure recently. -- resolution: -> out of date status: open -> closed ___ Python tracker ___ _

[issue33687] uu.py calls os.path.chmod which doesn't exist

2018-05-29 Thread Poul-Henning Kamp
New submission from Poul-Henning Kamp : Library file uu.py on at least 2.7 and 3.6 contains: try: os.path.chmod(out_file, mode) except AttributeError: pass As far as I can tell, os.path.chmod does not exist, so this always raises Attribu

[issue31180] test_multiprocessing_spawn hangs randomly

2018-05-29 Thread STINNER Victor
STINNER Victor added the comment: I didn't see the failure recently. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ _

[issue31233] socketserver.ThreadingMixIn leaks running threads after server_close()

2018-05-29 Thread STINNER Victor
STINNER Victor added the comment: The bug has been fixed in Python 3.7. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue31151] socketserver.ForkingMixIn.server_close() leaks zombie processes

2018-05-29 Thread STINNER Victor
STINNER Victor added the comment: The bug has been fixed in Python 3.7. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue31246] [2.7] test_signal.test_setitimer_tiny() fails randomly on x86-64 El Capitan 2.7

2018-05-29 Thread STINNER Victor
STINNER Victor added the comment: I didn't see the failure recently. I close the issue. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker __

[issue31424] test_socket hangs on x86 Gentoo Installed with X 3.x

2018-05-29 Thread STINNER Victor
STINNER Victor added the comment: I didn't see the failure recently. I close the issue. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker __

[issue31611] Tests failures using -u largefile when the disk is full

2018-05-29 Thread STINNER Victor
STINNER Victor added the comment: According to Serhiy's comment, largefile shouldn't be used with less than 2 GB of free disk space. It was my fault, it's not a bug ;-) -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Pyt

[issue31731] [2.7] test_io hangs on x86 Gentoo Refleaks 2.7

2018-05-29 Thread STINNER Victor
STINNER Victor added the comment: I didn't see the failure recently. I close the issue. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker __

[issue31851] test_subprocess hangs randomly on Windows with Python 3.x

2018-05-29 Thread STINNER Victor
STINNER Victor added the comment: I didn't see the failure recently, I close the issue. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker __

[issue31971] idle_test: failures on x86 Windows7 3.x

2018-05-29 Thread STINNER Victor
STINNER Victor added the comment: I didn't see the failure recently, I close the issue. -- resolution: -> out of date stage: patch review -> resolved status: open -> closed ___ Python tracker __

[issue32090] test_put() of test_multiprocessing queue tests has a race condition

2018-05-29 Thread STINNER Victor
STINNER Victor added the comment: I didn't see this failure recently, and I'm no longer able to reproduce the issue on Linux. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue32684] asyncio.gather(..., return_exceptions=True) swallows cancellation

2018-05-29 Thread Yury Selivanov
Change by Yury Selivanov : -- pull_requests: +6857 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue32091] test_s_option() of test_site.HelperFunctionsTests failed on x86 Gentoo Refleaks 3.6

2018-05-29 Thread STINNER Victor
STINNER Victor added the comment: I didn't see this failure recently. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___

[issue32156] Fix flake8 warning F401: ... imported but unused

2018-05-29 Thread STINNER Victor
STINNER Victor added the comment: > I suggest to split your patch on several PR for different domains, and let > the domain experts review changes separately. Right. I should recreate multiple PRs with fewer changes per PR. I close this issue. -- resolution: -> out of date stage: p

[issue32333] test_smtplib: dangling threads on x86 Gentoo Non-Debug with X 3.x

2018-05-29 Thread STINNER Victor
STINNER Victor added the comment: I didn't see this failure recently. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___

[issue32334] test_configparser left @test_2876_tmp temporary file on x86 Windows7 3.x

2018-05-29 Thread STINNER Victor
STINNER Victor added the comment: I didn't see this failure recently. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___

[issue32592] Drop support of Windows Vista in Python 3.7

2018-05-29 Thread STINNER Victor
STINNER Victor added the comment: I failed to fix failures on my PR. It's now too late for Python 3.7. If someone is interested to drop Vista support from Python 3.8, I suggest to open a new issue instead. -- resolution: -> out of date stage: patch review -> resolved status: open ->

[issue32637] Android: set sys.platform to android

2018-05-29 Thread STINNER Victor
STINNER Victor added the comment: Sadly, I failed to find anyone to help me on this issue and I lost interest on supporting Android, so I just close the issue. Sorry. -- resolution: -> out of date stage: patch review -> resolved status: open -> closed ___

[issue32646] test_asyncgen: race condition on test_async_gen_asyncio_gc_aclose_09(), random failure

2018-05-29 Thread STINNER Victor
STINNER Victor added the comment: I didn't see this failure recently. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___

[issue32654] Fixes Python for Android API 19

2018-05-29 Thread STINNER Victor
STINNER Victor added the comment: I'm sorry, but I'm not longer interested to work on supporting Android API 19. I close the bug. If someone wants to continue to work on the Android support, it's probably better to first focus on most recent Android versions. -- resolution: -> wont

[issue32676] test_asyncio emits many warnings when run in debug mode

2018-05-29 Thread STINNER Victor
STINNER Victor added the comment: Any progress on this issue? "python3.8 -X dev -m test_asyncio" logs dozens of warnings, so it's hard to spot regressions. -- ___ Python tracker

[issue32684] asyncio.gather(..., return_exceptions=True) swallows cancellation

2018-05-29 Thread Yury Selivanov
Change by Yury Selivanov : -- pull_requests: +6856 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33355] Windows 10 buildbot: 15 min timeout on test_mmap.test_large_filesize()

2018-05-29 Thread STINNER Victor
STINNER Victor added the comment: Some buildbots migrated to faster Azure models. Tests are now run without the largefile test resource on other buildbots. It seems like the issue is gone. Thanks for everyone who helped to fix this bug! -- resolution: -> fixed stage: -> resolved st

[issue33357] [EASY C] test_posix.test_posix_spawn_file_actions() leaks memory

2018-05-29 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> duplicate stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python

[issue33356] Windows 10 buildbot: test__xxsubinterpreters.test_already_running() fails randomly

2018-05-29 Thread STINNER Victor
STINNER Victor added the comment: I didn't see this failure recently, I close the bug. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___

[issue33638] condition lock not re-acquired

2018-05-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +6855 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

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

2018-05-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +6854 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

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

2018-05-29 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset e2b340ab4196e1beb902327f503574b5d7369185 by Yury Selivanov (Elvis Pranskevichus) in branch 'master': bpo-32751: Wait for task cancellation in asyncio.wait_for() (GH-7216) https://github.com/python/cpython/commit/e2b340ab4196e1beb902327f503574b5d

[issue33638] condition lock not re-acquired

2018-05-29 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset e2b340ab4196e1beb902327f503574b5d7369185 by Yury Selivanov (Elvis Pranskevichus) in branch 'master': bpo-32751: Wait for task cancellation in asyncio.wait_for() (GH-7216) https://github.com/python/cpython/commit/e2b340ab4196e1beb902327f503574b5d

[issue33640] [EASY DOC] uuid: endian of the bytes argument is not documented

2018-05-29 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +easy title: uuid: endian of the bytes argument is not documented -> [EASY DOC] uuid: endian of the bytes argument is not documented ___ Python tracker ___

[issue33615] test__xxsubinterpreters crashed on x86 Gentoo Refleaks 3.x

2018-05-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Buildbot AMD64 FreeBSD 10.x Shared 3.x is failing with the same problem: Assertion failed: (_PyGCHead_REFS(gc) != 0), function visit_decref, file Modules/gcmodule.c, line 277. Fatal Python error: Aborted -- nosy: +pablogsal __

[issue32684] asyncio.gather(..., return_exceptions=True) swallows cancellation

2018-05-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +6853 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue32684] asyncio.gather(..., return_exceptions=True) swallows cancellation

2018-05-29 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 863b6749093a86810c4077112a857363410cc221 by Yury Selivanov in branch 'master': bpo-32684: Fix gather to propagate cancel of itself with return_exceptions (GH-7209) https://github.com/python/cpython/commit/863b6749093a86810c4077112a857363410cc22

[issue22087] asyncio: support multiprocessing (support fork)

2018-05-29 Thread miss-islington
miss-islington added the comment: New changeset 2a7eb0b531656f4a77d85078e6e009e4b3639ef9 by Miss Islington (bot) in branch '3.7': bpo-22087: Fix Policy.get_event_loop() to detect fork (GH-7208) https://github.com/python/cpython/commit/2a7eb0b531656f4a77d85078e6e009e4b3639ef9 -- nosy

[issue33607] [subinterpreters] Explicitly track object ownership (and allocator).

2018-05-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: I agree with Victor, we shouldn't add PyObject fields that only have use in certain (minority) situations. The idea of tracking per arena will be non-trivial to implement, as only small objects (smaller than 512 bytes) use our own allocator; larger objects g

[issue33686] test_concurrent_futures: test_pending_calls_race() failed on x86 Windows7 3.6

2018-05-29 Thread STINNER Victor
New submission from STINNER Victor : x86 Windows7 3.6: http://buildbot.python.org/all/#/builders/90/builds/354 0:23:45 [111/407/1] test_concurrent_futures failed == FAIL: test_pending_calls_race (test.test_concurrent_futures.

[issue32911] Doc strings no longer stored in body of AST

2018-05-29 Thread Ned Deily
Ned Deily added the comment: Thank you all for your input and thank you, Inada-san and Serhiy, for the PRs. Is there anything more that needs to go in for 3.7.0b5 tomorrow so that this can be tested before the release candidate? If not, can we now close this again? If new issues arise wit

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

2018-05-29 Thread Yury Selivanov
Yury Selivanov added the comment: Yes, thanks Ned -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

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

2018-05-29 Thread Ned Deily
Ned Deily added the comment: Can we close this now? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue33597] Compact PyGC_Head

2018-05-29 Thread STINNER Victor
STINNER Victor added the comment: > As I said, the code just defers to "perf". And you should have tested that > :-) --track-memory and --tracemalloc have no unit tests, it's in the perf TODO list ;-) Well, it was just a remark. I'm looking for new contributors for perf! -- __

[issue31639] http.server and SimpleHTTPServer hang after a few requests

2018-05-29 Thread Julien Palard
Change by Julien Palard : -- pull_requests: +6852 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue33479] Document tkinter and threads

2018-05-29 Thread Mark Roseman
Mark Roseman added the comment: Ivan, thanks for making a good first pass of this. The thread section still feels a lot like 'fighting' with the model. Do you mind if I take a crack at it? Won't get to it for a few days, but in case you have any stuff you're in the middle of. I should clar

[issue33597] Compact PyGC_Head

2018-05-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: As I said, the code just defers to "perf". And you should have tested that :-) I'm not really interested in checking it. All I know is that the very old code (inherited from Unladen Swallow) did memory tracking correctly. And I have no reason to disbelieve

  1   2   3   >