[issue19982] Add a "target" parameter to runpy.run_path and runpy.run_module

2017-11-06 Thread Nick Coghlan
Change by Nick Coghlan : -- versions: +Python 3.7 -Python 3.5 ___ Python tracker ___ ___

[issue19982] Add a "target" parameter to runpy.run_path and runpy.run_module

2017-11-06 Thread Nick Coghlan
Nick Coghlan added the comment: See issue 21862 and issue 9325 as potential use cases for this feature. While it looks like issue 21862 (-m switch support in cProfile) can be implemented just fine without it, this feature will be needed for the modules that execute the

[issue27666] "stack smashing detected" in PyCursesWindow_Box

2017-11-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for catching this Victor. -- ___ Python tracker ___

[issue27666] "stack smashing detected" in PyCursesWindow_Box

2017-11-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 69ea4b4deb123c9a3c986b7afb85183732784f4f by Serhiy Storchaka in branch '2.7': Fix bpo-27666 backporting error in _cursesmodule.c (#4305)

[issue9325] Add an option to pdb/trace/profile to run library module as a script

2017-11-06 Thread Nick Coghlan
Nick Coghlan added the comment: Issue 21862 is a related issue specifically for the cProfile module. In that case, cProfile's command line invocation *doesn't* use the main module, so the patch is able to just create a synthetic call to runpy.run_module as a string and

[issue31954] Don't prevent dict optimization by coupling with OrderedDict

2017-11-06 Thread INADA Naoki
INADA Naoki added the comment: Quick microbench: ``` $ ./python -m perf timeit --compare-to=`pwd`/python.master -s 'd = dict.fromkeys(range(1000))' -- "for i in range(1000): del d[i] d[i]=i " python.master: . 124 us +- 9 us python:

[issue21862] cProfile command-line should accept "-m module_name" as an alternative to script path

2017-11-06 Thread Nick Coghlan
Nick Coghlan added the comment: Interesting - I'd never looked at how cProfile works before, and the fact it already doesn't support the "-i" (interactive) switch makes it much simpler to handle than the pdb case. So from a runpy perspective, this approach gets a +1 from

[issue27666] "stack smashing detected" in PyCursesWindow_Box

2017-11-06 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +4268 stage: resolved -> patch review ___ Python tracker ___

[issue31965] Incorrect documentation for multiprocessing.connection.{Client, Listener}

2017-11-06 Thread Jelle Zijlstra
New submission from Jelle Zijlstra : https://docs.python.org/3/library/multiprocessing.html#multiprocessing.connection.Client claims that there is an "authenticate" argument, but it does not exist in the implementation

[issue31415] Add -X option to show import time

2017-11-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 088929cf62fa22c06f6a44e25915abce9048a545 by Serhiy Storchaka in branch 'master': bpo-31415: Improve error handling and caching of the importtime option. (#4138)

[issue31950] Default event loop policy doc lacks precision

2017-11-06 Thread Guido van Rossum
Guido van Rossum added the comment: Agreed that this needs more clarification. Is something stopping you from submitting a PR? Note that the thing about non-main-threads is mentioned in the docstring for BaseDefaultEventLoopPolicy. I agree that the best way to create a new

[issue31961] subprocess._execute_child doesn't accept a single PathLike argument for args

2017-11-06 Thread Anders Lorentsen
Anders Lorentsen added the comment: I was able to make a test that reproduces your code, and expectedly fails. Also implemented a fix for it. See a temporary diff here: https://pastebin.com/C9JWkg0i However, there is also a specific MS Windows version of _execute_child() (a

[issue28791] update sqlite to latest version before beta 1

2017-11-06 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset 31af650ee25f65794b75d4dfefed6fe4758781c1 by Mariatta in branch 'master': bpo-28791: Update Windows builds to use SQLite 3.21.0. (GH-4246)

[issue31963] AMD64 Debian PGO 3.x buildbot: compilation failed with an internal compiler error in create_edge

2017-11-06 Thread Neil Schemenauer
Neil Schemenauer added the comment: Oh I see. I'm at a loss then as to why the build is failing. A possible clue is the errors like: profiling:/var/lib/buildbot/slaves/enable-optimizations-bot/3.x.gps-debian-profile-opt.nondebug/build/Objects/setobject.gcda:Merge

[issue31963] AMD64 Debian PGO 3.x buildbot: compilation failed with an internal compiler error in create_edge

2017-11-06 Thread Gregory P. Smith
Gregory P. Smith added the comment: On Mon, Nov 6, 2017 at 3:11 PM Neil Schemenauer wrote: > > Neil Schemenauer added the comment: > > Hi Victor, > > My first guess is that the build bot is not cleaning the fprofile >

[issue31964] [3.4][3.5] pyexpat: compilaton of libexpat fails with: ISO C90 forbids mixed declarations and code

2017-11-06 Thread STINNER Victor
STINNER Victor added the comment: Python 3.6 is not affected since it uses ISO C99 which allows "mixed declarations and code". Python 2.7 is not affected since it doesn't use -Werror=declaration-after-statement. -- ___

[issue31964] [3.4][3.5] pyexpat: compilaton of libexpat fails with: ISO C90 forbids mixed declarations and code

2017-11-06 Thread STINNER Victor
New submission from STINNER Victor : /home/haypo/prog/python/3.5/Modules/expat/xmltok.c: In function 'utf8_toUtf8': /home/haypo/prog/python/3.5/Modules/expat/xmltok.c:408:3: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]

[issue27666] "stack smashing detected" in PyCursesWindow_Box

2017-11-06 Thread STINNER Victor
STINNER Victor added the comment: The Python 2.7 backport (commit b694770a2b23cd485c98bf673a8b2dc1a865d9df) is wrong. The _curses module cannot be compiled anymore: Example of compilation errors: /home/haypo/prog/python/2.7/Modules/_cursesmodule.c: In function

[issue31770] crash and refleaks when calling sqlite3.Cursor.__init__() more than once

2017-11-06 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue31843] sqlite3.connect() should accept PathLike objects

2017-11-06 Thread STINNER Victor
STINNER Victor added the comment: Thank you Allen Li for your feature request. Thank you very much Anders Lorentsen for addressing all my annoying comments on the pull request, and congratulations for your first contribution to CPython! It's a nice once ;-)

[issue31843] sqlite3.connect() should accept PathLike objects

2017-11-06 Thread STINNER Victor
STINNER Victor added the comment: New changeset a22a127458d75b9b7e65e058f5db5ff705df5696 by Victor Stinner (Anders Lorentsen) in branch 'master': bpo-31843: sqlite3.connect() now accepts PathLike objects as database name (#4299)

[issue31764] sqlite3.Cursor.close() crashes in case the Cursor object is uninitialized

2017-11-06 Thread STINNER Victor
STINNER Victor added the comment: New changeset b0331c94c2a210d50e43d99b249ec83ee165e70c by Victor Stinner (Miss Islington (bot)) in branch '3.6': bpo-31764: Prevent a crash in sqlite3.Cursor.close() in case the Cursor object is uninitialized (GH-3958) (#4303)

[issue31770] crash and refleaks when calling sqlite3.Cursor.__init__() more than once

2017-11-06 Thread STINNER Victor
STINNER Victor added the comment: New changeset 4b544aadd54fd2337d2ab5c137389cae8d1fd781 by Victor Stinner (Miss Islington (bot)) in branch '2.7': bpo-31770: Prevent a crash and refleaks when calling sqlite3.Cursor.__init__() more than once (GH-3968) (#4302)

[issue31770] crash and refleaks when calling sqlite3.Cursor.__init__() more than once

2017-11-06 Thread STINNER Victor
STINNER Victor added the comment: Thank you Oren Milman for your bug report and the bug fix! I merged your PR and backported it Python 3.6 and 2.7. -- versions: +Python 2.7, Python 3.6 ___ Python tracker

[issue31764] sqlite3.Cursor.close() crashes in case the Cursor object is uninitialized

2017-11-06 Thread STINNER Victor
Change by STINNER Victor : -- versions: +Python 2.7, Python 3.6 ___ Python tracker ___

[issue31770] crash and refleaks when calling sqlite3.Cursor.__init__() more than once

2017-11-06 Thread STINNER Victor
STINNER Victor added the comment: New changeset 9684cf69e32ae442c7be54521073ac78557f3bbf by Victor Stinner (Miss Islington (bot)) in branch '3.6': bpo-31770: Prevent a crash and refleaks when calling sqlite3.Cursor.__init__() more than once (GH-3968) (#4301)

[issue31940] copystat on symlinks fails for alpine -- faulty lchmod implementation?

2017-11-06 Thread STINNER Victor
STINNER Victor added the comment: If lchmod() fails with [Errno 95] Not supported, IMHO chmod(path, mode, follow_symlinks=False) should behaves as lchmod() doesn't exist and falls back to the next case, as if HAVE_LCHMOD wasn't defined, but implement such falls back

[issue31271] an assertion failure in io.TextIOWrapper.write

2017-11-06 Thread STINNER Victor
STINNER Victor added the comment: Serhiy: "You are right. But in any case the test should be fixed for 2.7." Done: I merged Oren's PR 3951. It seems like the bug was fixed in all (maintained) branches, so I close the issue. Thank you again Oren Milman for

[issue31271] an assertion failure in io.TextIOWrapper.write

2017-11-06 Thread STINNER Victor
STINNER Victor added the comment: New changeset 30537698b607d53fa9ce18522abb88469d5814b6 by Victor Stinner (Oren Milman) in branch '2.7': [2.7] bpo-31271: Fix an assertion failure in io.TextIOWrapper.write. (GH-3201) (#3951)

[issue31764] sqlite3.Cursor.close() crashes in case the Cursor object is uninitialized

2017-11-06 Thread STINNER Victor
STINNER Victor added the comment: @Oren: The 2.7 backport is not straighforward. Would you mind to backport the fix to 2.7, please? -- ___ Python tracker

[issue31764] sqlite3.Cursor.close() crashes in case the Cursor object is uninitialized

2017-11-06 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +4266 ___ Python tracker ___

[issue31764] sqlite3.Cursor.close() crashes in case the Cursor object is uninitialized

2017-11-06 Thread STINNER Victor
STINNER Victor added the comment: New changeset edb13ae48c17210fa4b2d40a6833ca09db5c121b by Victor Stinner (Oren Milman) in branch 'master': bpo-31764: Prevent a crash in sqlite3.Cursor.close() in case the Cursor object is uninitialized (#3958)

[issue31770] crash and refleaks when calling sqlite3.Cursor.__init__() more than once

2017-11-06 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +4265 ___ Python tracker ___

[issue31770] crash and refleaks when calling sqlite3.Cursor.__init__() more than once

2017-11-06 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +4264 ___ Python tracker ___

[issue31770] crash and refleaks when calling sqlite3.Cursor.__init__() more than once

2017-11-06 Thread STINNER Victor
STINNER Victor added the comment: New changeset e56ab746a965277ffcc4396d8a0902b6e072d049 by Victor Stinner (Oren Milman) in branch 'master': bpo-31770: Prevent a crash and refleaks when calling sqlite3.Cursor.__init__() more than once (#3968)

[issue31884] [Windows] subprocess set priority on windows

2017-11-06 Thread STINNER Victor
New submission from STINNER Victor : Please describe the issue. -- nosy: +haypo title: subprocess set priority on windows -> [Windows] subprocess set priority on windows versions: -Python 3.8 ___ Python tracker

[issue31904] Python should support VxWorks RTOS

2017-11-06 Thread STINNER Victor
STINNER Victor added the comment: FYI I already started a thread on python-dev: [Python-Dev] Partial support of a platform https://mail.python.org/pipermail/python-dev/2017-November/150238.html -- ___ Python tracker

[issue31940] copystat on symlinks fails for alpine -- faulty lchmod implementation?

2017-11-06 Thread STINNER Victor
STINNER Victor added the comment: I would prefer to catch os.lchmod() exception and reminds that lchmod() doesn't work. Search for _O_TMPFILE_WORKS in Lib/tempfile.py for a Python example of code trying to use a function, or falls back on something else. (I gave

[issue30952] [Windows] include Math extension in SQlite

2017-11-06 Thread Peter Otten
Peter Otten <__pete...@web.de> added the comment: A possible workaround is to use create_function(): >>> import sqlite3, math >>> db = sqlite3.connect(":memory:") >>> db.execute("select sin(?);", (math.pi,)).fetchone() Traceback (most recent call last): File "", line 1, in

[issue31963] AMD64 Debian PGO 3.x buildbot: compilation failed with an internal compiler error in create_edge

2017-11-06 Thread Neil Schemenauer
Neil Schemenauer added the comment: Hi Victor, My first guess is that the build bot is not cleaning the fprofile information after updating the source tree. A few options: - remove the profile-run-stamp file after checking out new code - call "make profile-removal"

[issue28791] update sqlite to latest version before beta 1

2017-11-06 Thread STINNER Victor
STINNER Victor added the comment: Oh wow, I didn't even know that Python included a copy of SQLite for Windows and macOS installers! I added it to my list of "embedded libraries" :-) http://haypo-notes.readthedocs.io/cpython.html#embedded-libraries -- nosy:

[issue31957] [Windows] PCbuild error: A numeric comparison was attempted

2017-11-06 Thread Steve Dower
Steve Dower added the comment: New changeset a6ffec2e88437ed4fecb10cb359cf2fb64781e9a by Steve Dower (Miss Islington (bot)) in branch '3.6': [3.6] bpo-31957: Fixes version detection. (GH-4298) (#4300)

[issue17611] Move unwinding of stack for "pseudo exceptions" from interpreter to compiler.

2017-11-06 Thread Neil Schemenauer
Neil Schemenauer added the comment: The attached pyperformance report compares cpython:master to nascheme:unwind_stack. If I've done the tests correctly, the unwind_stack version is slightly faster. -- Added file:

[issue31960] Protection against using a Future with another loop only works with await

2017-11-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: I'm not sure what the desired semantics for Futures and multiple loops is. On the one hand, there is little point in having two event loops in the same thread at once (except for testing purposes). On the other hand, the Future

[issue30952] [Windows] include Math extension in SQlite

2017-11-06 Thread STINNER Victor
Change by STINNER Victor : -- title: include Math extension in SQlite -> [Windows] include Math extension in SQlite ___ Python tracker

[issue31963] AMD64 Debian PGO 3.x buildbot: compilation failed with an internal compiler error in create_edge

2017-11-06 Thread STINNER Victor
New submission from STINNER Victor : http://buildbot.python.org/all/#/builders/47/builds/127 (...) gcc -pthread -c -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes-std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter

[issue30952] include Math extension in SQlite

2017-11-06 Thread Big Stone
Big Stone added the comment: Hi Victor, I would like to use math functions, specifically "exp(sum(log(x)))", on the Sqlite motor shipped embedded with Python on Windows. It's an important corner case of what I miss in Sqlite motor, that forced me to (wait to) rely on

[issue31945] Configurable blocksize in HTTP(S)Connection

2017-11-06 Thread STINNER Victor
STINNER Victor added the comment: The commit message contains much more information than the NEWS and What's New entries. Maybe the What's New entry can be completed, I don't know. In the meanwhile, I close the issue :-) Nir: Feel free to create a new PR if you want

[issue31945] Configurable blocksize in HTTP(S)Connection

2017-11-06 Thread STINNER Victor
STINNER Victor added the comment: Thank you Nir Soffer for this nice enhancement. Sadly, since it's a new feature, it cannot be backport to Python 3.6 nor 2.7, since it's a new feature. -- ___ Python tracker

[issue31945] Configurable blocksize in HTTP(S)Connection

2017-11-06 Thread STINNER Victor
STINNER Victor added the comment: New changeset ad455cd9243319b896c86074ffeb3bf78a82f4ec by Victor Stinner (Nir Soffer) in branch 'master': bpo-31945: Configurable blocksize in HTTP(S)Connection (#4279)

[issue31945] Configurable blocksize in HTTP(S)Connection

2017-11-06 Thread STINNER Victor
Change by STINNER Victor : -- type: -> enhancement versions: -Python 2.7, Python 3.6, Python 3.8 ___ Python tracker ___

[issue24340] co_stacksize estimate can be highly off

2017-11-06 Thread Neil Schemenauer
Neil Schemenauer added the comment: The WIP pull request PR# 2827 seems to help. The following code prints 86 on python3.6 and 25 with PR 2827 applied. def g(): try: pass except ImportError as e: pass try: pass except ImportError as e: pass try:

[issue31962] test_importlib double free or corruption

2017-11-06 Thread Thomas Knox
Change by Thomas Knox : -- components: +Tests ___ Python tracker ___ ___ Python-bugs-list

[issue31962] test_importlib double free or corruption

2017-11-06 Thread Thomas Knox
New submission from Thomas Knox : On a Raspberry Pi 3 running Linux pi3 4.9.58-v7+ #1046 SMP Tue Oct 24 17:07:15 BST 2017 armv7l GNU/Linux C(PP)FLAGS="-O6 -march=armv8-a+crc -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -ftree-vectorize" Built with ./configure

[issue31957] [Windows] PCbuild error: A numeric comparison was attempted

2017-11-06 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +4263 ___ Python tracker ___

[issue31957] [Windows] PCbuild error: A numeric comparison was attempted

2017-11-06 Thread Steve Dower
Steve Dower added the comment: New changeset 30f4fa456ef626ad7a92759f492ec7a268f7af4e by Steve Dower in branch 'master': bpo-31957: Fixes version detection. (#4298) https://github.com/python/cpython/commit/30f4fa456ef626ad7a92759f492ec7a268f7af4e --

[issue31843] sqlite3.connect() should accept PathLike objects

2017-11-06 Thread Anders Lorentsen
Anders Lorentsen added the comment: Had my first go at a python patch. Added a test case for it, and all tests passing when I test with `./python -bb -E -Wd -m test -v test.test_sqlite -r -w -uall -R 3:2` -- nosy: +Phaqui ___

[issue31843] sqlite3.connect() should accept PathLike objects

2017-11-06 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +4261 stage: -> patch review ___ Python tracker ___

[issue31957] [Windows] PCbuild error: A numeric comparison was attempted

2017-11-06 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +4260 stage: needs patch -> patch review ___ Python tracker ___

[issue17611] Move unwinding of stack for "pseudo exceptions" from interpreter to compiler.

2017-11-06 Thread Neil Schemenauer
Change by Neil Schemenauer : ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue24340] co_stacksize estimate can be highly off

2017-11-06 Thread Neil Schemenauer
Change by Neil Schemenauer : -- nosy: +nascheme ___ Python tracker ___ ___

[issue27169] __debug__ is not optimized out at compile time for anything but `if:` and `while:` blocks

2017-11-06 Thread Neil Schemenauer
Change by Neil Schemenauer : -- nosy: +nascheme ___ Python tracker ___ ___

[issue28708] Low FD_SETSIZE limit on Windows

2017-11-06 Thread desbma
desbma added the comment: I just want to say that I strongly support either bumping the value of FD_SETSIZE to something a lot higher than 512, or making it configurable from Python code. I am the author of a program that makes heavy use of asyncio. Some Windows users

[issue19982] Add a "target" parameter to runpy.run_path and runpy.run_module

2017-11-06 Thread Sanyam Khurana
Sanyam Khurana added the comment: Hey ncoghlan, Does this issue makes sense to be worked on for Python 3.7? -- nosy: +CuriousLearner ___ Python tracker

[issue21862] cProfile command-line should accept "-m module_name" as an alternative to script path

2017-11-06 Thread Sanyam Khurana
Change by Sanyam Khurana : -- pull_requests: +4259 ___ Python tracker ___ ___

[issue31957] [Windows] PCbuild error: A numeric comparison was attempted

2017-11-06 Thread Steve Dower
Change by Steve Dower : -- assignee: -> steve.dower stage: -> needs patch type: -> compile error versions: +Python 3.6 ___ Python tracker

[issue28907] test_pydoc fails if build is in sub-directory

2017-11-06 Thread Neil Schemenauer
Neil Schemenauer added the comment: Pretty sure the fix for bug 31028 also fixed this. Closing. -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> test_pydoc fails when run directly

[issue31028] test_pydoc fails when run directly

2017-11-06 Thread Neil Schemenauer
Change by Neil Schemenauer : -- pull_requests: +4258 ___ Python tracker ___ ___

[issue31681] pkgutil.get_data() leaks open files in Python 2.7

2017-11-06 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: -4016 ___ Python tracker ___ ___

[issue31961] subprocess._execute_child doesn't accept a single PathLike argument for args

2017-11-06 Thread Roy Williams
Roy Williams added the comment: Ignore my comment re: pathlib, it looks like PathLike is defined in `os` and not `pathlib`. -- ___ Python tracker

[issue21862] cProfile command-line should accept "-m module_name" as an alternative to script path

2017-11-06 Thread Sanyam Khurana
Sanyam Khurana added the comment: Thanks for the heads up! I'll do that ;) -- ___ Python tracker ___

[issue21862] cProfile command-line should accept "-m module_name" as an alternative to script path

2017-11-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: Sanyam, you definitely can. Step #1 would probably be to port the patch to git master and turn it into a GitHub PR. -- ___ Python tracker

[issue21862] cProfile command-line should accept "-m module_name" as an alternative to script path

2017-11-06 Thread Sanyam Khurana
Sanyam Khurana added the comment: Hey, seems like this bug is not updated for a while. Can I work on this? -- nosy: +CuriousLearner ___ Python tracker

[issue17852] Built-in module _io can lose data from buffered files at exit

2017-11-06 Thread Neil Schemenauer
Neil Schemenauer added the comment: Yes, my bad. I thought that accepting the pull would close the bug. -- resolution: -> fixed stage: backport needed -> resolved status: open -> closed ___ Python tracker

[issue28643] Broken makefile depends for profile-opt target

2017-11-06 Thread Neil Schemenauer
Neil Schemenauer added the comment: The previous behavior nearly drove me to drink. At least on my machine (and I have a relatively fast one), the profile-opt build takes a long time. After running "make" and checking things over, running "make install" will cause

[issue31961] subprocess._execute_child doesn't accept a single PathLike argument for args

2017-11-06 Thread Roy Williams
New submission from Roy Williams : Repro: ```python from pathlib import Path import subprocess subprocess.run([Path('/bin/ls')]) # Works Fine subprocess.run(Path('/bin/ls')) # Fails ``` The problem seems to originate from here:

[issue31960] Protection against using a Future with another loop only works with await

2017-11-06 Thread Antoine Pitrou
New submission from Antoine Pitrou : If you await a Future with another loop than a loop at instance creation (this is trivial to do accidentally when using threads), asyncio raises a RuntimeError. But if you use another part of the Future API, such as add_done_callback(),

[issue28643] Broken makefile depends for profile-opt target

2017-11-06 Thread STINNER Victor
STINNER Victor added the comment: Oh, I had this bug and I'm quite sure that I reported it, but I cannot find it anymore :-) -- nosy: +haypo ___ Python tracker

[issue30952] include Math extension in SQlite

2017-11-06 Thread STINNER Victor
STINNER Victor added the comment: > I would be interested in having SQLite shipped with the math extension Python uses the SQLite library installed on the system, at least on Linux. To load an extension, I found: https://sqlite.org/loadext.html

[issue31925] [NetBSD] test_socket creates too many locks

2017-11-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: test_socket creates many locks on all platforms. -- ___ Python tracker ___

[issue31943] Add asyncio.Handle.cancelled() method

2017-11-06 Thread Marat Sharafutdinov
Change by Marat Sharafutdinov : -- title: Add asyncio.Handle.cancelled() and asyncio.TimerHandle.when -> Add asyncio.Handle.cancelled() method ___ Python tracker

[issue31925] [NetBSD] test_socket creates too many locks

2017-11-06 Thread STINNER Victor
Change by STINNER Victor : -- title: test_socket creates too many locks -> [NetBSD] test_socket creates too many locks ___ Python tracker

[issue31939] Support return annotation in signature for Argument Clinic

2017-11-06 Thread Yury Selivanov
Change by Yury Selivanov : -- nosy: -yselivanov ___ Python tracker ___ ___

[issue31939] Support return annotation in signature for Argument Clinic

2017-11-06 Thread Tal Einat
Tal Einat added the comment: My apologies, I seem to have been the source of the confusion. I misunderstood your original meaning. -- ___ Python tracker

[issue31904] Python should support VxWorks RTOS

2017-11-06 Thread STINNER Victor
STINNER Victor added the comment: To support a new platform, you need a developer who can support this platform next years, a working buildbot, etc. You can start a discussion on python-dev to get a first feedback. Without a strong support, this issue should be

[issue31951] import curses is broken on windows

2017-11-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There are two open issues for adding support of the curses module on Windows: issue1005895 and issue2889. -- nosy: +serhiy.storchaka ___ Python tracker

[issue31934] Failure to build out of source from a not clean source

2017-11-06 Thread STINNER Victor
STINNER Victor added the comment: Note for myself: Xavier proposed PR 4255 fix :-) -- nosy: +haypo ___ Python tracker ___

[issue31935] subprocess.run() timeout not working with grandchildren and stdout=PIPE

2017-11-06 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___

[issue31951] import curses is broken on windows

2017-11-06 Thread Zachary Ware
Zachary Ware added the comment: Curses is available for Windows from Christopher Gohlke's site: https://www.lfd.uci.edu/~gohlke/pythonlibs/#curses We should clean up this situation, though, either by making the state of Windows curses support explicit in the docs or

[issue28340] [py2] TextIOWrapper.tell extremely slow

2017-11-06 Thread STINNER Victor
STINNER Victor added the comment: Berker Peksag, Antoine Pitrou (who implemented the discussed change) and me are opposed to backporting this optimization, so I close the issue as WONTFIX. The only known workaround is to upgrade to Python 3, sorry! Benjamin: Please

[issue17852] Built-in module _io can lose data from buffered files at exit

2017-11-06 Thread STINNER Victor
STINNER Victor added the comment: Neil pushed the commit 0a1ff24acfc15d8c7f2dc41000a6f3d9a31e7480. What is the status of this issue? Can we now close it? -- ___ Python tracker

[issue31949] Bugs in PyTraceBack_Print()

2017-11-06 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +4257 ___ Python tracker ___ ___

[issue31942] Document that support of start and stop parameters in the Sequence's index() is optional

2017-11-06 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-31956: "Add start and stop parameters to the array.index()". -- nosy: +haypo ___ Python tracker

[issue31948] [EASY] Broken MSDN links in msilib docs

2017-11-06 Thread STINNER Victor
Change by STINNER Victor : -- title: Broken MSDN links in msilib docs -> [EASY] Broken MSDN links in msilib docs ___ Python tracker

[issue28140] Attempt to give better errors for pip commands typed into the REPL

2017-11-06 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +yselivanov ___ Python tracker ___ ___

[issue31956] Add start and stop parameters to the array.index()

2017-11-06 Thread STINNER Victor
STINNER Victor added the comment: Николай Спахиев: Are you only asking for the feature, or are you interested to work on a concrete patch? -- nosy: +haypo ___ Python tracker

[issue31939] Support return annotation in signature for Argument Clinic

2017-11-06 Thread STINNER Victor
STINNER Victor added the comment: I'm sorry, I'm confused between docstrings and annotations. My first goal is to not loose the return type from the docstring when the select module is converted to Argument Clinic, at least for the simplest return types. Complex

[issue31951] import curses is broken on windows

2017-11-06 Thread Paul Moore
Paul Moore added the comment: The docs for the curses module say "While curses is most widely used in the Unix environment, versions are available for Windows, DOS, and possibly other systems as well." This is the only mention of platform support I can see. It might be

[issue31951] import curses is broken on windows

2017-11-06 Thread STINNER Victor
STINNER Victor added the comment: The curses module is not supported on Windows. -- nosy: +haypo ___ Python tracker ___

[issue31958] UUID versions are not validated to lie in the documented range

2017-11-06 Thread STINNER Victor
STINNER Victor added the comment: What do you propose? Raise an exception in the constructor if the version is not in the range 1..5? Or just modify the variant value? -- nosy: +haypo ___ Python tracker

  1   2   >