[issue33238] AssertionError on await of Future returned by asyncio.wrap_future

2018-05-30 Thread Andrew Svetlov
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/0a28c0d12ee7201de039ced4d815f57f1f8fd48c

[issue31368] Add os.preadv() and os.pwritev()

2018-05-30 Thread YoSTEALTH
YoSTEALTH added the comment: I can't at the moment, i am out of country for couple more months. -- ___ Python tracker ___ ___ Pytho

[issue33691] Refactor docstring handling code in the compiler

2018-05-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 143ce5c6db77a0b9d451b8463dee6752358a9ea4 by Serhiy Storchaka in branch 'master': bpo-33691: Add _PyAST_GetDocString(). (GH-7236) https://github.com/python/cpython/commit/143ce5c6db77a0b9d451b8463dee6752358a9ea4 -- __

[issue33691] Refactor docstring handling code in the compiler

2018-05-30 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue33660] pathlib.Path.resolve() returns path with double slash when resolving a relative path in root directory

2018-05-30 Thread Andres Ayala
Change by Andres Ayala : -- nosy: +killerrex ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue33692] Chinese characters issue with input() function

2018-05-30 Thread Valentin Zhao
New submission from Valentin Zhao : DIRECTLY run(i.e., python xxx/xxx/input_test.py) the file below and input other Chinese characters, then press backspace to delete them. You will find that you cannot delete them all, and even the cursor in the terminal misplaces and overlaps with the chara

[issue33692] Chinese characters issue with input() function under Mac OSX

2018-05-30 Thread Valentin Zhao
Change by Valentin Zhao : -- title: Chinese characters issue with input() function -> Chinese characters issue with input() function under Mac OSX ___ Python tracker ___ _

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

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: Thank you Elvis for the documentation! Cancellation is one of the most complex part of asynchronous programming, and I don't think that asyncio documentation explains it properly. We may document the behaviour on cancellation for most task functions. https:

[issue33597] Compact PyGC_Head

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: I asked if this change breaks the stable ABI. Steve Dower replied: "Looks like it breaks the 3.7 ABI, which is certainly not allowed at this time. But it’s not a limited API structure, so no problem for 3.8." https://mail.python.org/pipermail/python-dev/2018-

[issue33693] test test_webbrowser failed

2018-05-30 Thread Greg Walters
New submission from Greg Walters : Python 3.70b4 Linux Mint 18.3 Dell Latitude-E5500 While running make test got the following error... == ERROR: test_get (test.test_webbrowser.ImportTest) ---

[issue33694] test_asyncio: test_start_tls_server_1() fails on Python on x86 Windows7 3.7 and 3.x

2018-05-30 Thread STINNER Victor
New submission from STINNER Victor : test_asyncio.test_start_tls_server_1() got many fixes recently: see bpo-32458 and bpo-33674... but it still fails on Python on x86 Windows7 3.x at revision bb9474f1fb2fc7c7ed9f826b78262d6a12b5f9e8 which contains all these fixes. The test fails even when te

[issue33694] test_asyncio: test_start_tls_server_1() fails on Python on x86 Windows7 3.7 and 3.x

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: The test fails also on x86 Windows7 3.7: http://buildbot.python.org/all/#/builders/111/builds/297 -- ___ Python tracker ___ _

[issue33693] test test_webbrowser failed

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: It seems to be a regression caused by bpo-24241. -- nosy: +vstinner ___ Python tracker ___ ___ Py

[issue24241] webbrowser default browser detection and/or public API for _trylist.

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: It seems like this issue introduced a regression: bpo-33693. -- nosy: +vstinner ___ Python tracker ___ __

[issue33693] test test_webbrowser failed

2018-05-30 Thread Greg Walters
Greg Walters added the comment: Thank you. On Wed, May 30, 2018 at 6:22 AM, STINNER Victor wrote: > > STINNER Victor added the comment: > > It seems to be a regression caused by bpo-24241. > > -- > nosy: +vstinner > > ___ > Python tracker >

[issue33692] Chinese characters issue with input() function under Mac OSX

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: input() uses readline. On macOS, readline is provided by libedit. It may be a bug in libedit which is an external dependency, and so not maintained by Python. -- components: +macOS -2to3 (2.x to 3.x conversion tool) nosy: +ned.deily, ronaldoussoren, v

[issue33693] test test_webbrowser failed

2018-05-30 Thread Martin Panter
Martin Panter added the comment: This sounds like the existing bug Issue 31014 -- nosy: +martin.panter superseder: -> webbrowser._synthesize uses outdated calling signature for webbrowser.register ___ Python tracker

[issue33693] test test_webbrowser failed

2018-05-30 Thread Greg Walters
Greg Walters added the comment: Thank you On Wed, May 30, 2018, 6:28 AM Martin Panter wrote: > > Martin Panter added the comment: > > This sounds like the existing bug Issue 31014 > > -- > nosy: +martin.panter > superseder: -> webbrowser._synthesize uses outdated calling signature

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

2018-05-30 Thread Tobias Kunze
Tobias Kunze added the comment: Thank you, that's what I figured out later last evening. To my understanding, the docs don't give any indication that base_dir is supposed to be relative to root_dir, so I'd add this information, and maybe add a similar example to the one above, if that's appr

[issue31014] webbrowser._synthesize uses outdated calling signature for webbrowser.register

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: bpo-33693 has been marked as a duplicate of this issue. It seems to be a regression caused by bpo-24241. -- nosy: +vstinner ___ Python tracker _

[issue31014] webbrowser._synthesize uses outdated calling signature for webbrowser.register

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: I'm surprised that test_webbrowser pass on my Fedora 28, but it fails for Greg Walters: https://bugs.python.org/issue33693#msg318163 Some tests are skipped depending on the OS? Maybe we should mock more things, or something else, to get a better code coverag

[issue33695] Have shutil.copytree(), copy() and copystat() use cached scandir() stat()s

2018-05-30 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola' : Patch in attachment makes shutil.copytree() use os.scandir() and (differently from #33414) DirEntry instances are passed around so that cached stat()s are used also from within copy2() and copystat() functions. The number of times the filesystem gets ac

[issue33695] Have shutil.copytree(), copy() and copystat() use cached scandir() stat()s

2018-05-30 Thread Giampaolo Rodola'
Change by Giampaolo Rodola' : -- keywords: +patch Added file: https://bugs.python.org/file47625/bpo-33695.patch ___ Python tracker ___ _

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

2018-05-30 Thread Nick Coghlan
Nick Coghlan added the comment: In that case, closing this as resolved. Folks interested in the idea of a "suite" compilation mode to compile a series of statements without special-casing the first one as a potential docstring, as well as the idea of a dedicated DocString AST node may want t

[issue33692] Chinese characters issue with input() function under Mac OSX

2018-05-30 Thread Xiang Zhang
Xiang Zhang added the comment: I could reproduce the behavior that console output doesn't match what Python gets. I agree with Victor this may not be a Python problem. I could also reproduce the behavior with Ruby reading Chinese characters from console. -- nosy: +xiang.zhang __

[issue33693] test test_webbrowser failed

2018-05-30 Thread Nick Coghlan
Change by Nick Coghlan : -- resolution: -> duplicate stage: -> resolved status: open -> closed type: compile error -> behavior ___ Python tracker ___

[issue33692] Chinese characters issue with input() function under Mac OSX

2018-05-30 Thread Ned Deily
Ned Deily added the comment: FTR: > On macOS, readline is provided by libedit. It *may* be provided by libedit. GNU readline is also commonly used on macOS, although it is not provided by Apple. The easiest way to tell which is in use is to examine the __doc__ attribute of the readline modu

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

2018-05-30 Thread R. David Murray
R. David Murray added the comment: Sounds reasonable to me. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue24241] webbrowser default browser detection and/or public API for _trylist.

2018-05-30 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: -1099 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33692] Chinese characters issue with input() function under Mac OSX

2018-05-30 Thread Ned Deily
Ned Deily added the comment: Xiang Zhang, was that on macOS? If so, can someone try on one or more Linux systems with a Chinese locale? I see the same behavior on Linux but I'm not sure that I'm testing it properly. -- ___ Python tracker

[issue31014] webbrowser._synthesize uses outdated calling signature for webbrowser.register

2018-05-30 Thread Nick Coghlan
Change by Nick Coghlan : -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue33597] Compact PyGC_Head

2018-05-30 Thread INADA Naoki
INADA Naoki added the comment: On Wed, May 30, 2018 at 7:14 PM STINNER Victor wrote: > STINNER Victor added the comment: > I asked if this change breaks the stable ABI. Steve Dower replied: > "Looks like it breaks the 3.7 ABI, which is certainly not allowed at this time. But it’s not a limi

[issue33695] Have shutil.copytree(), copy() and copystat() use cached scandir() stat()s

2018-05-30 Thread Giampaolo Rodola'
Change by Giampaolo Rodola' : -- nosy: +benhoyt, benjamin.peterson, brett.cannon, ncoghlan, serhiy.storchaka, stutzbach, tarek, vstinner, yselivanov ___ Python tracker ___ ___

[issue33696] Install python-docs-theme even if SPHINXBUILD is defined

2018-05-30 Thread Andrés Delfino
New submission from Andrés Delfino : On bug 33673, I fixed python-docs-theme only getting installed if SPHINXBUILD was not defined and Sphinx was not installed, which was an improvement, but not the correct fix for python-docs-theme installation. Now, python-docs-theme is getting installed onl

[issue33696] Install python-docs-theme even if SPHINXBUILD is defined

2018-05-30 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +6868 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

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

2018-05-30 Thread Vladimir Chebotarev
Vladimir Chebotarev added the comment: Hi. I guess this issue has to be reopen because Alexey erroneously broke adding empty paths to `sys.path` along with his patch. Official embeddable Pythons do contain a blank line in its ._pth, and this allowed users to import modules from script direc

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

2018-05-30 Thread Vladimir Chebotarev
Vladimir Chebotarev added the comment: I shall attach pull request soon. -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue33692] Chinese characters issue with input() function under Mac OSX

2018-05-30 Thread Xiang Zhang
Xiang Zhang added the comment: Yes, it's on MacOS. libedit and GNU deadline both have the behavior. I can see the same behavior on Ubuntu, LANG=en_US.UTF-8. -- ___ Python tracker __

[issue33597] Compact PyGC_Head

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: "Hopefully, PyGC_Head seems to be excluded from PyGC_Head, and so it seems like the PR 7043 doesn't break the stable *ABI*." Oops, I mean: PyGC_Head seems to be excluded *from the Py_LIMITED_API*. -- ___ Python tr

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

2018-05-30 Thread Vladimir Chebotarev
Change by Vladimir Chebotarev : -- pull_requests: +6869 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue33692] Chinese characters issue with input() function under Mac OSX

2018-05-30 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +6871 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue33697] test_zipfile.test_write_filtered_python_package() failed on AppVeyor, Python 3.6

2018-05-30 Thread STINNER Victor
Change by STINNER Victor : -- title: AppVeyor: -> test_zipfile.test_write_filtered_python_package() failed on AppVeyor, Python 3.6 ___ Python tracker ___ _

[issue33697] AppVeyor:

2018-05-30 Thread STINNER Victor
New submission from STINNER Victor : On my PR 7244, test_zipfile.test_write_filtered_python_package() failed on AppVeyor. https://ci.appveyor.com/project/python/cpython/build/3.6build16559/job/3lqiymop38oorsn0 == ERROR: test_

[issue33692] Chinese characters issue with input() function

2018-05-30 Thread Ned Deily
Ned Deily added the comment: So it's not a macOS-specific issue: editing the title et al accordingly -- nosy: -ronaldoussoren title: Chinese characters issue with input() function under Mac OSX -> Chinese characters issue with input() function ___

[issue33692] Chinese characters issue with input() function

2018-05-30 Thread Ned Deily
Change by Ned Deily : -- nosy: -ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue33692] Chinese characters issue with input() function

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset f7a19c28bda7b0ed3a440db80202013a86af6850 by Victor Stinner in branch '3.6': bpo-33692: pythoninfo detect libedit on Python 3.6 (GH-7244) https://github.com/python/cpython/commit/f7a19c28bda7b0ed3a440db80202013a86af6850 --

[issue33692] Chinese characters issue with input() function

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

[issue33532] test_multiprocessing_forkserver: TestIgnoreEINTR.test_ignore() fails on Travis CI

2018-05-30 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +6873 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue29512] regrtest refleak: implement bisection feature

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset 823c295efa4efea93cadc640ed6122cd9d86cec4 by Victor Stinner in branch '2.7': bpo-29512: Rename Lib/test/bisect.py to bisect_cmd.py (#7229) https://github.com/python/cpython/commit/823c295efa4efea93cadc640ed6122cd9d86cec4 -- ___

[issue29512] regrtest refleak: implement bisection feature

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: One year later, all issues have now been fixed ;-) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue33694] test_asyncio: test_start_tls_server_1() fails on Python on x86 Windows7 3.7 and 3.x

2018-05-30 Thread Yury Selivanov
Yury Selivanov added the comment: I can't reproduce test_start_tls_server_1 fails when I do (screenshot attached) 1. run test_asyncio 2. run test_asyncio.test_sslproto 3. run test_asyncio.test_sslproto -m test_start_tls_server_1 I run them in Windows 7 VM on Mac OS. All other tests pass fine

[issue33694] test_asyncio: test_start_tls_server_1() fails on Python on x86 Windows7 3.7 and 3.x

2018-05-30 Thread Andrew Svetlov
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. -- ___

[issue33694] test_asyncio: test_start_tls_server_1() fails on Python on x86 Windows7 3.7 and 3.x

2018-05-30 Thread Yury Selivanov
Yury Selivanov added the comment: > We can remove the socket buffers size manipulation at all without any problem. When I tried to do that I think I was having more failures with that test. But really up to you. -- ___ Python tracker

[issue33696] Install python-docs-theme even if SPHINXBUILD is defined

2018-05-30 Thread Steve Dower
Steve Dower added the comment: New changeset 05f1c8902c78dce66aed067444e2b973221bae2b by Steve Dower (Andrés Delfino) in branch 'master': bpo-33696: Install python-docs-theme even if SPHINXBUILD is defined (GH-7242) https://github.com/python/cpython/commit/05f1c8902c78dce66aed067444e2b973221ba

[issue33696] Install python-docs-theme even if SPHINXBUILD is defined

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

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

2018-05-30 Thread Steve Dower
Steve Dower added the comment: The python._pth file generated for the embeddable distribution includes ".", which allows you to import from the dist directory. The blank line should be ignored. If you want to misuse the embeddable distribution by not restricting its search paths, delete the

[issue33696] Install python-docs-theme even if SPHINXBUILD is defined

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

[issue32604] Expose the subinterpreters C-API in Python for testing use.

2018-05-30 Thread Eric Snow
Change by Eric Snow : -- pull_requests: +6877 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

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

2018-05-30 Thread Eric Snow
Change by Eric Snow : -- keywords: +patch pull_requests: +6876 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list m

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

2018-05-30 Thread Vladimir Chebotarev
Vladimir Chebotarev added the comment: Hi Steve. I'll try to explain what is my motivation. I need a reliable way to run Python (not matter embedded or not) in isolated mode, but still having current directory in `sys.path` (empty entry). Ironically I could misuse normal mode to simulate is

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

2018-05-30 Thread Malcolm Smith
Malcolm Smith added the comment: FYI: I have created issue 33689 for the non-Windows-specific issue. -- ___ Python tracker ___ ___

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

2018-05-30 Thread R. David Murray
R. David Murray added the comment: Vladimir, please open a new issue for this feature request. This issue is closed. -- nosy: +r.david.murray ___ Python tracker ___

[issue33698] `._pth` does not allow to populate `sys.path` empty entry

2018-05-30 Thread Vladimir Chebotarev
New submission from Vladimir Chebotarev : Moving from bpo-29326 Hi Steve. I'll try to explain what is my motivation. I need a reliable way to run Python (not matter embedded or not) in isolated mode, but still having current directory in `sys.path` (empty entry). Ironically I could misu

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

2018-05-30 Thread Ammar Askar
Ammar Askar added the comment: If this is actually an issue, and not just a documentation lapse I can create a pull request from my original patch. -- nosy: +ammar2 ___ Python tracker __

[issue33696] Install python-docs-theme even if SPHINXBUILD is defined

2018-05-30 Thread miss-islington
miss-islington added the comment: New changeset ea1982a475a619500c93bc3d60c6cb63a202b7ed by Miss Islington (bot) in branch '3.7': bpo-33696: Install python-docs-theme even if SPHINXBUILD is defined (GH-7242) https://github.com/python/cpython/commit/ea1982a475a619500c93bc3d60c6cb63a202b7ed -

[issue33698] `._pth` does not allow to populate `sys.path` with empty entry

2018-05-30 Thread Vladimir Chebotarev
Change by Vladimir Chebotarev : -- title: `._pth` does not allow to populate `sys.path` empty entry -> `._pth` does not allow to populate `sys.path` with empty entry ___ Python tracker __

[issue33696] Install python-docs-theme even if SPHINXBUILD is defined

2018-05-30 Thread miss-islington
miss-islington added the comment: New changeset 7301dd91e8326e9b74932e81f400aaee76d3cda1 by Miss Islington (bot) in branch '3.6': bpo-33696: Install python-docs-theme even if SPHINXBUILD is defined (GH-7242) https://github.com/python/cpython/commit/7301dd91e8326e9b74932e81f400aaee76d3cda1 -

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

2018-05-30 Thread Vladimir Chebotarev
Change by Vladimir Chebotarev : -- pull_requests: -6869 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue33238] AssertionError on await of Future returned by asyncio.wrap_future

2018-05-30 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue33699] Don't describe try's else clause in a footnote

2018-05-30 Thread Andrés Delfino
New submission from Andrés Delfino : This behavior has not changed in 11 years so I think it's safe to describe the "else" clause along the rest of the "try" clause. Attached PR fixes this. -- assignee: docs@python components: Documentation messages: 318205 nosy: adelfino, docs@python

[issue33699] Don't describe try's else clause in a footnote

2018-05-30 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +6881 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue2504] Add gettext.pgettext() and variants support

2018-05-30 Thread Cheryl Sabella
Change by Cheryl Sabella : -- pull_requests: +6882 stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list mai

[issue2504] Add gettext.pgettext() and variants support

2018-05-30 Thread Cheryl Sabella
Cheryl Sabella added the comment: I've created a pull request for this based on Éric's patch in 2010. I attempted to incorporate the changes from #29755 into the new functions and tests. I believe these changes take care of items 1 and 2 from msg122439. I haven't tried to address item 3 in

[issue33479] Document tkinter and threads

2018-05-30 Thread Mark Roseman
Mark Roseman added the comment: I've made some changes to what Ivan started, which you can find here: https://github.com/roseman/cpython/tree/tkinter_docs The first two commits are minor updates/improvements not really related to threading, and I suspect are uncontroversial. The last commi

[issue31368] Add os.preadv() and os.pwritev()

2018-05-30 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +6883 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue33694] test_asyncio: test_start_tls_server_1() fails on Python on x86 Windows7 3.7 and 3.x

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: > I used SNDBUF to enforce send buffer overloading. What is that? Would you mind to elaborate? I'm curious :-) -- ___ Python tracker ___ ___

[issue33692] Chinese characters issue with input() function

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset 9994eff17f943fb2c190708b12c96fef9838a425 by Victor Stinner in branch '2.7': bpo-33692: pythoninfo detect libedit on Python 2.7 (#7246) https://github.com/python/cpython/commit/9994eff17f943fb2c190708b12c96fef9838a425 -- __

[issue33700] [doc] Old version picker don't understand language tags in URL

2018-05-30 Thread Julien Palard
New submission from Julien Palard : In the old version picker used back in 3.5 [1], the function patch_url was patching using the following regex: var url_re = /\.org\/(\d|py3k|dev|((release\/)?\d\.\d[\w\d\.]*))\//, which does not expects a language tag. This means, for example, that bei

[issue33698] `._pth` does not allow to populate `sys.path` with empty entry

2018-05-30 Thread Steve Dower
Steve Dower added the comment: If your ._pth includes `import site`, then including a blank line in a `anything.pth` file should add the entry. Alternatively, if you can add "import sys; sys.path.insert(0, '')" to the start of your code that depends on it you should be fine. -- ___

[issue33700] [doc] Old version picker don't understand language tags in URL

2018-05-30 Thread Julien Palard
Julien Palard added the comment: 3rd possibility, docsbuild-scripts could also apply a patch during the doc compilation. -- ___ Python tracker ___ ___

[issue33590] sched.enter priority has no impact on execution

2018-05-30 Thread Matthew Fisher
Matthew Fisher added the comment: > I did look at the code :-) I also looked at the code. I had to do so to understand why the example output was not "as expected." ;) > I don't agree about the example in the documentation, it is a clear > demonstration about how to use the API in general

[issue33700] [doc] Old version picker don't understand language tags in URL

2018-05-30 Thread Ned Deily
Ned Deily added the comment: > Fix in the 3.5 branch which is not allowed as the branch is in "security > only" mode. I think you could appeal to the 3.5 Release Manager that this should go in. Since the 3.5 docs are only rebuilt manually these days (I think), in the worst case the current

[issue33532] test_multiprocessing_forkserver: TestIgnoreEINTR.test_ignore() fails on Travis CI

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: > https://travis-ci.org/python/cpython/jobs/379560387 More info about this failure: == Linux-4.4.0-112-generic-x86_64-with-debian-jessie-sid little-endian == CPU count: 48 Run tests in parallel using 4 child processes (...) 0:07:06 load avg: 24.76 [356/416/3]

[issue26826] Expose new copy_file_range() syscall in os module.

2018-05-30 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +6884 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue33701] test_datetime crashed (SIGSEGV) on Travis CI

2018-05-30 Thread STINNER Victor
New submission from STINNER Victor : https://travis-ci.org/python/cpython/jobs/385458840 0:00:11 load avg: 22.29 [ 23/415/1] test_datetime crashed (Exit code -11) Fatal Python error: Segmentation fault Current thread 0x2b52f7326400 (most recent call first): File "/home/travis/build/python

[issue33627] test-complex of test_numeric_tower.test_complex() crashes intermittently on Ubuntu buildbots

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-33701. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue31368] Add os.preadv() and os.pwritev()

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset 02e2a085dc1740b1cbf4ba2ed77335c84ce8a367 by Victor Stinner (Pablo Galindo) in branch 'master': bpo-31368: Enhance os.preadv() documentation (GH-7254) https://github.com/python/cpython/commit/02e2a085dc1740b1cbf4ba2ed77335c84ce8a367 --

[issue31368] Add os.preadv() and os.pwritev()

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

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

2018-05-30 Thread Abhilash Raj
Abhilash Raj added the comment: Would it then make sense to add a similar flag, keep_blank_values, in urlencode to achieve similar behavior as parse_qas? -- ___ Python tracker __

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

2018-05-30 Thread R. David Murray
R. David Murray added the comment: It would be odd to do that, since blank values are kept by default. -- ___ Python tracker ___ __

[issue31368] Add os.preadv() and os.pwritev()

2018-05-30 Thread miss-islington
miss-islington added the comment: New changeset 0e823c6efa4729f3cd19f96af82c673b10cd3ee2 by Miss Islington (bot) in branch '3.7': bpo-31368: Enhance os.preadv() documentation (GH-7254) https://github.com/python/cpython/commit/0e823c6efa4729f3cd19f96af82c673b10cd3ee2 -- nosy: +miss-i

[issue33532] test_multiprocessing_forkserver: TestIgnoreEINTR.test_ignore() fails on Travis CI

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: Davin, Antoine: any idea on this bug? I ran the full test suite and test_multiprocessing_forkserver in parallel in a Trust VM, but I failed to reproduce the bug. I did a similar test in a Ubuntu Trusty docker container: again, I'm unable to reproduce the bu

[issue31368] Add os.preadv() and os.pwritev()

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: Thanks Pablo Galindo for the new better documentation! (And thanks myself since I wrote the original documentation PR ;-)) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python

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

2018-05-30 Thread Abhilash Raj
Abhilash Raj added the comment: Ah! But blank lists aren't. That makes sense! Thank you! -- ___ Python tracker ___ ___ Python-bugs

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

2018-05-30 Thread Abhilash Raj
Change by Abhilash Raj : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue33532] test_multiprocessing_forkserver: TestIgnoreEINTR.test_ignore() fails on Travis CI

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: test_ignore() starts to fail more and more often on Travis CI for an unknown reason. https://travis-ci.org/python/cpython/jobs/385562187 == CPU count: 48 (...) Run tests in parallel using 4 child processes (...) 0:07:38 load avg: 128.04 [415/416/1] test_mult

[issue33532] test_multiprocessing_forkserver: TestIgnoreEINTR.test_ignore() fails on Travis CI

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: https://travis-ci.org/python/cpython/jobs/379560387 Re-running test 'test_multiprocessing_forkserver' in verbose mode (...) == ERROR: test_ignore (test.test_multiprocessing_forkserver.TestIgno

[issue33532] test_multiprocessing_forkserver: TestIgnoreEINTR.test_ignore() fails on Travis CI

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: Python 3.7: https://travis-ci.org/python/cpython/jobs/385458840 Re-running test 'test_multiprocessing_forkserver' in verbose mode == ERROR: test_ignore (test.test_multiprocessing_forkserver.

[issue33532] test_multiprocessing_forkserver: TestIgnoreEINTR.test_ignore() fails on Travis CI

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: Python 3.7: https://travis-ci.org/python/cpython/jobs/385474104 Re-running test 'test_multiprocessing_forkserver' in verbose mode == ERROR: test_ignore (test.test_multiprocessing_forkserver.

[issue33500] Python TKinter for Mac on latest 2.7.15 still extremely slow vs Windows

2018-05-30 Thread Michael Romero
Michael Romero added the comment: I don't have a minimal failing example as is being requested. What I do have is the smallest version of the code published by Berkeley's AI course that I could find that allows easy demonstration of the issue. "python pacman.py" is enough to demonstrate the

  1   2   >