[issue19521] parallel build race condition on AIX since python-3.2

2014-06-04 Thread Michael Haubenwallner
Changes by Michael Haubenwallner michael.haubenwall...@salomon.at: -- hgrepos: +248 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19521 ___ ___

[issue10656] Out of tree build fails on AIX

2014-06-04 Thread Michael Haubenwallner
Changes by Michael Haubenwallner michael.haubenwall...@salomon.at: -- title: Out of tree build fails on AIX 5.3 - Out of tree build fails on AIX versions: +Python 3.4, Python 3.5 ___ Python tracker rep...@bugs.python.org

[issue10656] Out of tree build fails on AIX 5.3

2014-06-04 Thread Michael Haubenwallner
Changes by Michael Haubenwallner michael.haubenwall...@salomon.at: -- hgrepos: -246 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10656 ___ ___

[issue10656] Out of tree build fails on AIX

2014-06-04 Thread Michael Haubenwallner
Michael Haubenwallner added the comment: Basically the same as Tristan's patch, with a little improvement to not rely on PATH to find makexp_aix within ld_so_aix. Thanks! -- Added file: http://bugs.python.org/file35476/issue10656-out-of-source-build-on-aix.patch

[issue18292] Idle: test AutoExpand.py

2014-06-04 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com: Added file: http://bugs.python.org/file35477/test-autoexpand3.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18292 ___

[issue16189] ld_so_aix not found

2014-06-04 Thread Michael Haubenwallner
Changes by Michael Haubenwallner michael.haubenwall...@salomon.at: -- hgrepos: -247 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16189 ___ ___

[issue16189] ld_so_aix not found

2014-06-04 Thread Michael Haubenwallner
Michael Haubenwallner added the comment: Problem here is that LDSHARED points to $(BINLIBDEST)/config/ld_so_aix, but it should be $(LIBPL)/ld_so_aix. Although an independent problem, this diff shares context with file#35476, so this patch depends on issue #10656. -- keywords: +patch

[issue19521] parallel build race condition on AIX since python-3.2

2014-06-04 Thread Michael Haubenwallner
Changes by Michael Haubenwallner michael.haubenwall...@salomon.at: -- hgrepos: -248 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19521 ___ ___

[issue19521] parallel build race condition on AIX since python-3.2

2014-06-04 Thread Michael Haubenwallner
Michael Haubenwallner added the comment: Patch including configure update now. -- Added file: http://bugs.python.org/file35479/issue19521-parallel-build-race-on-aix.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19521

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

2014-06-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: According to my local copy of the repository, rev88617 2014 Jan 21 removed what I believe was the only line with 'if ob.im_self'. The change may have been in 2.7.5, certainly 2.7.6. I cannot find it in the current code. Please recheck your version; this may

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

2014-06-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: I guess rev #s are different on different systems. Try d55d1cbf5f9a or revd55d1cbf5f9a -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21654 ___

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

2014-06-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Line 1.20 in the correct link. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21654 ___ ___ Python-bugs-list

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

2014-06-04 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: Added file: http://bugs.python.org/file35480/fix_calltips.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21654 ___

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

2014-06-04 Thread Raymond Hettinger
Raymond Hettinger added the comment: I've checked both the recently released 2.7.7 and the current 27 head on the hg repo. They both have the error. A suggested patch is attached. -- ___ Python tracker rep...@bugs.python.org

[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

[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

[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

[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

[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

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

2014-06-04 Thread Adam Matan
Changes by Adam Matan a...@matan.name: -- title: pip.get_installed_distributions() Does not - pip.get_installed_distributions() Does not return packages in the current working directory ___ Python tracker rep...@bugs.python.org

[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

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

2014-06-04 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21654 ___

[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 xmmintrin.h #define UINT128

[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

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

2014-06-04 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +amaury.forgeotdarc, belopolsky, meador.inge ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21658 ___

[issue17390] display python version on idle title bar

2014-06-04 Thread Kent Johnson
Changes by Kent Johnson k...@kentsjohnson.com: -- nosy: -kjohnson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17390 ___ ___ Python-bugs-list

[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 status:

[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

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

2014-06-04 Thread Michael Haubenwallner
Changes by Michael Haubenwallner michael.haubenwall...@salomon.at: -- hgrepos: +249 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21660 ___ ___

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

2014-06-04 Thread Michael Haubenwallner
Changes by Michael Haubenwallner michael.haubenwall...@salomon.at: -- keywords: +patch Added file: http://bugs.python.org/file35481/6510f2df0d81.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21660

[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

[issue10740] sqlite3 module breaks transactions and potentially corrupts data

2014-06-04 Thread Jan Hudec
Changes by Jan Hudec b...@ucw.cz: -- versions: +Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10740 ___

[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

[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

[issue21614] Case sensitivity problem in multiprocessing.

2014-06-04 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +brett.cannon, eric.snow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21614 ___ ___

[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)

[issue17390] display python version on idle title bar

2014-06-04 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com: -- nosy: +sahutd ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17390 ___ ___

[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

[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

[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:

[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

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

2014-06-04 Thread Michael Haubenwallner
Changes by Michael Haubenwallner michael.haubenwall...@salomon.at: -- keywords: +patch Added file: http://bugs.python.org/file35485/32143cda4d80.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15590

[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

[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

[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

[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 gu...@python.org: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20475 ___

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

2014-06-04 Thread Guido van Rossum
Changes by Guido van Rossum gu...@python.org: -- resolution: - rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21180 ___

[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

[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()

[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

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

2014-06-04 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: +vinay.sajip ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21663 ___ ___

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

2014-06-04 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +ned.deily ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15590 ___ ___ Python-bugs-list mailing list

[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 rep...@bugs.python.org http://bugs.python.org/issue20475 ___

[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

[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? --

[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

[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

[issue21665] 2.7.7 ttk widgets not themed

2014-06-04 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +steve.dower, zach.ware ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21665 ___ ___ Python-bugs-list

[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

[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 -

[issue21664] multiprocessing leaks temporary directories pymp-xxx

2014-06-04 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +sbt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21664 ___ ___ Python-bugs-list mailing list

[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 module args = cmdl.parse_intermixed_args() File D:\my\py\glu\glu.py,

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

2014-06-04 Thread Glenn Linderman
Changes by Glenn Linderman v+pyt...@g.nevcal.com: -- type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21666 ___ ___

[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 rep...@bugs.python.org http://bugs.python.org/issue21665 ___

[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