[issue18292] Idle: test AutoExpand.py

2014-06-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Coverage 100%. 2.7 version was easy, so committed after a few minor changes. We can revisit using the mock later. -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue21665] 2.7.7 ttk widgets not themed

2014-06-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Could you please provide minimal example? -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Py

[issue21666] Argparse exceptions should include which argument has a problem

2014-06-04 Thread Glenn Linderman
Changes by Glenn Linderman : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue21666] Argparse exceptions should include which argument has a problem

2014-06-04 Thread Glenn Linderman
New submission from Glenn Linderman: I coded up a new program, with a bunch of options, and got the following traceback when I tried to run it: Traceback (most recent call last): File "D:\my\py\renmany.py", line 273, in args = cmdl.parse_intermixed_args() File "D:\my\py\glu\glu.py", li

[issue21664] multiprocessing leaks temporary directories pymp-xxx

2014-06-04 Thread Ned Deily
Changes by Ned Deily : -- nosy: +sbt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/ma

[issue18292] Idle: test AutoExpand.py

2014-06-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset bdbcd0ae0bde by Terry Jan Reedy in branch '2.7': Issue #18292: Idle - test AutoExpand. Patch by Saihadhav Heblikar. http://hg.python.org/cpython/rev/bdbcd0ae0bde New changeset bbdcf09e3097 by Terry Jan Reedy in branch '3.4': Issue #18292: Idle - tes

[issue18381] unittest warnings counter

2014-06-04 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the review, Giampaolo. Attached a new patch which fixes text_logging and test_doctest tests. However, this patch will broke the current behavior of test.support.check_warnings. See Lib/test/test_xml_etree.py for example: test test_xml_etree crashed

[issue21665] 2.7.7 ttk widgets not themed

2014-06-04 Thread Ned Deily
Changes by Ned Deily : -- nosy: +steve.dower, zach.ware ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue21665] 2.7.7 ttk widgets not themed

2014-06-04 Thread Les Bothwell
New submission from Les Bothwell: I developed a number of small apps using ttk in 2.7.6. After installing 2.7.7 all the ttk widgets look like standard Tkinter ones. I reverted to 2.7.6 and everything looks Ok again. (I tried reinstalling 2.7.7 again with the same result) Windows 7 X64 using

[issue15590] --libs is inconsistent for python-config --libs and pkgconfig python --libs

2014-06-04 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: Michael Haubenwallner: Could you show output of 'python-config-3.5 --ldflags' and 'python-config-3.5 --libs' without and with this patch (on GNU/Linux and AIX)? -- ___ Python tracker

[issue21627] Concurrently closing files and iterating over the open files directory is not well specified

2014-06-04 Thread Steven Stewart-Gallus
Steven Stewart-Gallus added the comment: Okay, so the Python directory seems to be where wrappers over low level or missing functionality is placed. So I guess I should make a _Py_setcloexec function in a Python/setcloexec.c and a definition in Include/setcloexec.h? -- ___

[issue21659] IDLE: One corner calltip case

2014-06-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Unless you feel like struggling with the 2.7's custom calltip calculation code for possibly little or no gain, please close this as wont' fix. See #20122, especially msg208454 and point 3. f6f2d9d04cd0 made this change to improve the calltip for *x and **y fro

[issue20475] pystone.py in 3.4 still uses time.clock(), even though it's marked as deprecated since 3.3

2014-06-04 Thread STINNER Victor
STINNER Victor added the comment: Instead of time.time, time.perf_counter would be better. -- ___ Python tracker ___ ___ Python-bugs-l

[issue15590] --libs is inconsistent for python-config --libs and pkgconfig python --libs

2014-06-04 Thread Ned Deily
Changes by Ned Deily : -- nosy: +ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue21663] venv upgrade fails on Windows when copying TCL files

2014-06-04 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue21664] multiprocessing leaks temporary directories pymp-xxx

2014-06-04 Thread Mike Frysinger
Mike Frysinger added the comment: this has been fixed between py3.2 and py3.3: http://hg.python.org/cpython/diff/831ae71d0bdc/Lib/multiprocessing/managers.py so just asking for that to be backported to the py2.x branch :) -- nosy: +vapier ___ Python

[issue20319] concurrent.futures.wait() can block forever even if Futures have completed

2014-06-04 Thread Glenn Langford
Glenn Langford added the comment: > the wait is actually returning after the 15 seconds, although nothing is > reported as finished...What kind of debug information from the futures would > be useful? What is the state of the pending Futures that wait() is stuck on? (e.g. display f.running()

[issue20475] pystone.py in 3.4 still uses time.clock(), even though it's marked as deprecated since 3.3

2014-06-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 38acef3c3228 by Guido van Rossum in branch 'default': Replace deprecated time.clock() with time.time(). Fixes issue #20475. http://hg.python.org/cpython/rev/38acef3c3228 -- nosy: +python-dev ___ Python tr

[issue21180] Efficiently create empty array.array, consistent with bytearray

2014-06-04 Thread Guido van Rossum
Changes by Guido van Rossum : -- resolution: -> rejected status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue20475] pystone.py in 3.4 still uses time.clock(), even though it's marked as deprecated since 3.3

2014-06-04 Thread Guido van Rossum
Changes by Guido van Rossum : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue21664] multiprocessing leaks temporary directories pymp-xxx

2014-06-04 Thread Yu-Ju Hong
New submission from Yu-Ju Hong: When running many managers (e.g. > 10) in parallel on a decent machine, there is often a number of pymp-xxx directories left in /tmp after the run. After some digging and debugging, I think the cause is that multiprocessing.managers.SyncManager waits for the man

[issue21663] venv upgrade fails on Windows when copying TCL files

2014-06-04 Thread BC
New submission from BC: When upgrading a virtual environment on Windows with venv, the following error is encountered: Error: [WinError 183] Cannot create a file when that file already exists: 'C:\\Users\\user\\Documents\\sandbox\\Lib\\tcl8.6' Affects both Python 3.3.5 and 3.4.1. Tested on Wi

[issue18807] Allow venv to create copies, even when symlinks are supported

2014-06-04 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: The os.chmod() will fail if path is a symlink. At the very least it must be guarded by a `not os.path.islink()` call like above it. I'll add this check to 3.4 and 3.5. -- nosy: +barry ___ Python tracker

[issue15590] --libs is inconsistent for python-config --libs and pkgconfig python --libs

2014-06-04 Thread Michael Haubenwallner
Changes by Michael Haubenwallner : -- keywords: +patch Added file: http://bugs.python.org/file35485/32143cda4d80.diff ___ Python tracker ___ _

[issue15590] --libs is inconsistent for python-config --libs and pkgconfig python --libs

2014-06-04 Thread Michael Haubenwallner
Michael Haubenwallner added the comment: So this diff - depending on issue#21660 - now drops showing any $LIBS from python-config, as python-modules usually do not link against any python-known libraries. Instead, now there is a new configure variable LINKFORMODULE, which is shown by python-c

[issue21662] datamodel documentation: fix typo and phrasing

2014-06-04 Thread Steve Dougherty
New submission from Steve Dougherty: "Should" was missing an o, and putting the reason first makes the sentence flow better. -- assignee: docs@python components: Documentation files: typo2.diff keywords: patch messages: 219763 nosy: docs@python, sdougherty priority: normal severity: nor

[issue21661] setuptools documentation: typo

2014-06-04 Thread Steve Dougherty
New submission from Steve Dougherty: Typo - "it's" is a contraction for "it is" or "it has." "Its" is the posessive form. -- assignee: docs@python components: Documentation files: typo1.diff keywords: patch messages: 219762 nosy: docs@python, sdougherty priority: normal severity: normal

[issue10740] sqlite3 module breaks transactions and potentially corrupts data

2014-06-04 Thread aaugustin
aaugustin added the comment: > On the other hand there is absolutely nothing broken on the implicit BEGIN > (which is required by dbapi2 specification) nor on the isolation_level > property which controls it. Those shouldn't be touched; there is no reason to. Nothing broken... unless one consi

[issue17390] display python version on idle title bar

2014-06-04 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : -- nosy: +sahutd ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue21588] Idle: make editor title bar user configurable

2014-06-04 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: Attaching a patch to make title bar user configurable. In this patch The title bar is configurable for PyShellEditorWindow(EditorWindow), PyShell and OutputWindow. The user may add the following parameters - py_major_version (3) py_minor_v

[issue21614] Case sensitivity problem in multiprocessing.

2014-06-04 Thread R. David Murray
Changes by R. David Murray : -- nosy: +brett.cannon, eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10740] sqlite3 module breaks transactions and potentially corrupts data

2014-06-04 Thread R. David Murray
R. David Murray added the comment: And our policy is that enhancements can only go in the next release. We cannot change the default behavior in maintenance releases for backward compatibility reasons, and we cannot provide for a requested change in behavior without introducing an API change

[issue10740] sqlite3 module breaks transactions and potentially corrupts data

2014-06-04 Thread Jan Hudec
Jan Hudec added the comment: This is somewhat borderline between bug and enhancement. The behaviour is described in the documentation and does not violate dbapi2 specification, but at the same time it is a serious misfeature and gratuitous restriction of perfectly good functionality of the und

[issue10740] sqlite3 module breaks transactions and potentially corrupts data

2014-06-04 Thread Jan Hudec
Changes by Jan Hudec : -- versions: +Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4 ___ Python tracker ___ ___ Python-bugs

[issue10740] sqlite3 module breaks transactions and potentially corrupts data

2014-06-04 Thread Jan Hudec
Jan Hudec added the comment: Mike, David, The bug is that sqlite module issues implicit COMMIT. SQLite never needs this, many programs need to NOT have it and they can't opt out as isolation_level affects implicit begins only. Most programs will do some changes to data after changing the sche

[issue21660] Substitute @TOKENS@ from sysconfig variables, for python-config and python.pc

2014-06-04 Thread Michael Haubenwallner
Changes by Michael Haubenwallner : -- keywords: +patch Added file: http://bugs.python.org/file35481/6510f2df0d81.diff ___ Python tracker ___ _

[issue21660] Substitute @TOKENS@ from sysconfig variables, for python-config and python.pc

2014-06-04 Thread Michael Haubenwallner
Changes by Michael Haubenwallner : -- hgrepos: +249 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue21660] Substitute @TOKENS@ from sysconfig variables, for python-config and python.pc

2014-06-04 Thread Michael Haubenwallner
New submission from Michael Haubenwallner: On the way to fix issue#15590 especially for AIX, I've discovered that the values provided by config.status used to substitute @TOKEN@ in python-config, python.pc as well as python-config.py may contain references to Makefile variables not known withi

[issue21659] IDLE: One corner calltip case

2014-06-04 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: def f(args, kwds, *args1, **kwargs): pass Then calltip for "f(" shows invalid signature "(args, kwds, *args, **kwds)". -- components: IDLE messages: 219755 nosy: kbk, roger.serwy, serhiy.storchaka, terry.reedy priority: normal severity: normal statu

[issue17390] display python version on idle title bar

2014-06-04 Thread Kent Johnson
Changes by Kent Johnson : -- nosy: -kjohnson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue21658] __m128, can't build 3.4.1 with intel 14.0.0

2014-06-04 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +amaury.forgeotdarc, belopolsky, meador.inge ___ Python tracker ___ ___ Python-bugs-list mailin

[issue21427] installer not working

2014-06-04 Thread Uwe
Uwe added the comment: the installer went 2/3 through the process and was installing already something in the default dir c:\Python34 Then after a small pause the error message was shown and the installer removed all the files leaving an empty ..\lib in the default dir The behavior is quite rep

[issue21658] __m128, can't build 3.4.1 with intel 14.0.0

2014-06-04 Thread Alain Miniussi
New submission from Alain Miniussi: In ffi64.c, intel 14.0.0 has an issue with: {{{ #if defined(__INTEL_COMPILER) #define UINT128 __m128 #else ... }}} At leat on Linux CentOS 6.5, an include directive is required for __m128: {{{ #if defined(__INTEL_COMPILER) #include #define UINT128 __m128 #els

[issue21654] IDLE call tips emitting future warnings about ElementTree objects

2014-06-04 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue20319] concurrent.futures.wait() can block forever even if Futures have completed

2014-06-04 Thread Sebastian Kreft
Sebastian Kreft added the comment: @haypo: I've reproduced the issue with both 2 and 3 processes in parallel. @glangford: the wait is actually returning after the 15 seconds, although nothing is reported as finished. So, it's getting stuck in the while loop. However, I imagine that without tim

[issue21657] pip.get_installed_distributions() Does not return packages in the current working directory

2014-06-04 Thread Adam Matan
Changes by Adam Matan : -- title: pip.get_installed_distributions() Does not -> pip.get_installed_distributions() Does not return packages in the current working directory ___ Python tracker _

[issue21657] pip.get_installed_distributions() Does not

2014-06-04 Thread Adam Matan
New submission from Adam Matan: Abstract: Calling pip.get_installed_distributions() from a directory with a setup.py file returns a list which does not include the package(s) listed in the setup.py file. Steps to reproduce: 1. Create a virtual environment and activate it. 2. Download any pyth

[issue21654] IDLE call tips emitting future warnings about ElementTree objects

2014-06-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is 2.7 only. Warnings may have been expanded a bit in 2.7.7. I know there are plans to widen net further in 2.7.8. We can leave this open until you are convinced it works or discover otherwise. -- ___ Python tr

[issue21654] IDLE call tips emitting future warnings about ElementTree objects

2014-06-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 09b33fc96a50 by Terry Jan Reedy in branch '2.7': Issue #21654: Fix interaction with warnings. Patch by Raymond Hettinger. http://hg.python.org/cpython/rev/09b33fc96a50 -- nosy: +python-dev ___ Python trac

[issue21656] Create test coverage for TurtleScreenBase in Turtle

2014-06-04 Thread Lita Cho
New submission from Lita Cho: Turtle module currently doesn't have any tests. This ticket is tracking the tests created for TurtleScreenBase. -- components: Tests messages: 219748 nosy: Lita.Cho, jesstess priority: normal severity: normal status: open title: Create test coverage for Tur

[issue21655] Write Unit Test for Vec2 class in the Turtle Module

2014-06-04 Thread Lita Cho
New submission from Lita Cho: Ingrid and I are trying to add test coverage to the Turtle module as there isn't one currently. Going to work on testing the Vec2 module. -- components: Tests, Tkinter messages: 219747 nosy: Lita.Cho, jesstess priority: normal severity: normal status: open