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

2014-06-03 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

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

2014-06-03 Thread Raymond Hettinger
Changes by Raymond Hettinger : Added file: http://bugs.python.org/file35480/fix_calltips.py ___ Python tracker ___ ___ Python-bugs-list mailin

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

2014-06-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Line 1.20 in the correct link. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

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

2014-06-03 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 ___ __

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

2014-06-03 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 ha

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

2014-06-03 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 ___

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

2014-06-03 Thread Michael Haubenwallner
Changes by Michael Haubenwallner : -- hgrepos: -248 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue16189] ld_so_aix not found

2014-06-03 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 v

[issue16189] ld_so_aix not found

2014-06-03 Thread Michael Haubenwallner
Changes by Michael Haubenwallner : -- hgrepos: -247 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue18292] Idle: test AutoExpand.py

2014-06-03 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : Added file: http://bugs.python.org/file35477/test-autoexpand3.diff ___ Python tracker ___ ___ Python-bugs-list

[issue10656] "Out of tree" build fails on AIX

2014-06-03 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 _

[issue10656] "Out of tree" build fails on AIX

2014-06-03 Thread Michael Haubenwallner
Changes by Michael Haubenwallner : -- 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 ___ ___

[issue10656] "Out of tree" build fails on AIX 5.3

2014-06-03 Thread Michael Haubenwallner
Changes by Michael Haubenwallner : -- hgrepos: -246 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

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

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

[issue21653] Row.keys() in sqlite3 returns a list, not a tuple

2014-06-03 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- keywords: +easy stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue21653] Row.keys() in sqlite3 returns a list, not a tuple

2014-06-03 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +ghaering versions: +Python 3.4, Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing

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

2014-06-03 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- keywords: +easy nosy: +terry.reedy stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list

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

2014-06-03 Thread Raymond Hettinger
New submission from Raymond Hettinger: While editing code that uses ElementTree, the call tips code is working in the background and emits warnings to the console: Warning (from warnings module): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/idlelib/CallTips.py", lin

[issue17390] display python version on idle title bar

2014-06-03 Thread Raymond Hettinger
Raymond Hettinger added the comment: I don't know if this is related but the Window tab has been affect as well. It shows all open windows like this *Python 2.7.7 Shell* Python 2.7.7: demo.py /Users/raymond/class/demo.py Python 2.7.7: download.py /Users/raymond/class/download.py This is

[issue18409] Idle: test AutoComplete.py

2014-06-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: The coverage of Phil's patch is about 60%. I decided to push it with slight modification so he is properly credited with what he did. Changes: Move mock AutoCompleteWindow to test file; too special. Move ac_func to mock_idle for use in other tests; well done! R

[issue18409] Idle: test AutoComplete.py

2014-06-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4f1abf87df12 by Terry Jan Reedy in branch '2.7': Issue #18409: Idle: add unittest for AutoComplete. Patch by Phil Webster. http://hg.python.org/cpython/rev/4f1abf87df12 New changeset bf8710cf896b by Terry Jan Reedy in branch '3.4': Issue #18409: Idl

[issue13631] readline fails to parse some forms of .editrc under editline (libedit) emulation on Mac OS X

2014-06-03 Thread Zvezdan Petkovic
Zvezdan Petkovic added the comment: Ned, I just signed the contributor agreement form. -- ___ Python tracker ___ ___ Python-bugs-list

[issue21326] asyncio: request clearer error message when event loop closed

2014-06-03 Thread STINNER Victor
STINNER Victor added the comment: Attached asyncio_closed_py34.patch: minimum patch to fix this issue. run_forever() and run_until_complete() raises a RuntimeError if the event loop was closed. The patch only uses the private attribute BaseEventLoop._closed in the BaseEventLoop class, not out

[issue15599] test_threaded_import fails sporadically on Windows and FreeBSD

2014-06-03 Thread STINNER Victor
STINNER Victor added the comment: A recent failure. As usual, the test passed at the second run. http://buildbot.python.org/all/builders/AMD64%20FreeBSD%2010.0%203.x/builds/2180/steps/test/logs/stdio == FAIL: test_parallel_meta

[issue21326] asyncio: request clearer error message when event loop closed

2014-06-03 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +yselivanov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue21326] asyncio: request clearer error message when event loop closed

2014-06-03 Thread STINNER Victor
STINNER Victor added the comment: I fixed the issue in Python 3.5 by adding a new BaseEventLoop.is_closed() method. Calling run_forever() or run_until_complete() now raises an error. I don't know yet if this issue should be fixed in Python 3.4. If it should be fixed, I don't know how it should

[issue21326] asyncio: request clearer error message when event loop closed

2014-06-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 690b6ddeee9c by Victor Stinner in branch 'default': Issue #21326: Add asyncio.BaseEventLoop.is_closed() method http://hg.python.org/cpython/rev/690b6ddeee9c -- nosy: +python-dev ___ Python tracker

[issue18381] unittest warnings counter

2014-06-03 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: FWICT Berker's patch LGTM. Michael, are you OK with committing this? -- ___ Python tracker ___ __

[issue21651] asyncio tests ResourceWarning

2014-06-03 Thread STINNER Victor
STINNER Victor added the comment: Thanks for the patch. I also applied it to Tulip. -- nosy: +haypo resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue21651] asyncio tests ResourceWarning

2014-06-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9d2c0b41c1d5 by Victor Stinner in branch '3.4': Issue #21651: Fix ResourceWarning when running asyncio tests on Windows. http://hg.python.org/cpython/rev/9d2c0b41c1d5 New changeset b2f329e9cd18 by Victor Stinner in branch 'default': (Merge 3.4) Issu

[issue21559] OverflowError should not happen for integer operations

2014-06-03 Thread Josh Rosenberg
Josh Rosenberg added the comment: It usually doesn't just mean "outside a required range", it means "outside the range of values representable due to implementation specific limitations (e.g. the function is converting to a C type)". You don't raise OverflowError because your function only all

[issue21119] asyncio create_connection resource warning

2014-06-03 Thread STINNER Victor
STINNER Victor added the comment: I fixed the issues in Tulip, Python 3.4 and 3.5. Thanks for the report. -- resolution: works for me -> fixed status: open -> closed ___ Python tracker _

[issue21119] asyncio create_connection resource warning

2014-06-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset d0dd3eb5b5ef by Victor Stinner in branch '3.4': Issue #21119: asyncio now closes sockets on errors http://hg.python.org/cpython/rev/d0dd3eb5b5ef New changeset bbd773ed9584 by Victor Stinner in branch '3.4': Issue #21119: asyncio: Make sure that sock

[issue21653] Row.keys() in sqlite3 returns a list, not a tuple

2014-06-03 Thread Andrew McKinlay
New submission from Andrew McKinlay: The documentation here (https://docs.python.org/2/library/sqlite3.html#sqlite3.Row.keys) says that the method returns a tuple. It returns a list. -- assignee: docs@python components: Documentation messages: 219724 nosy: amckinlay, docs@python priori

[issue21637] Add a warning section exaplaining that tempfiles are opened in binary mode

2014-06-03 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-

[issue21637] Add a warning section exaplaining that tempfiles are opened in binary mode

2014-06-03 Thread Josh Rosenberg
Josh Rosenberg added the comment: Adding warnings for something that is clearly documented (both in the constructor prototype line and again in the spelled out documentation of the "mode" argument) is wasteful, particularly when accidental misuse would immediately lead to an exception being th

[issue21416] argparse should accept bytes arguments as originally passed

2014-06-03 Thread Zachary Ware
Zachary Ware added the comment: The type parameter of ArgumentParser is a callable that will be called with the value of some member of sys.argv, it does *not* specify what the returned type will be. You can just use os.fsencode as the type argument: >>> import os >>> import argparse >>> p =

[issue21427] installer not working

2014-06-03 Thread Martin v . Löwis
Martin v. Löwis added the comment: That the removal of 3.4 removes py.exe despite 3.3 still being installed is easy to explain: the registration of the reference counter failed, hence the file was not reference counted, and the first removal decided to remove it (there being no reference count

[issue18141] tkinter.Image.__del__ can throw an exception if module globals are destroyed in the wrong order

2014-06-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am planning the make the simplifying change. But does is solve the problem you had? -- ___ Python tracker ___ ___

[issue18132] buttons in turtledemo disappear on small screens

2014-06-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: I had forgotten until I reread Lundh's note. I made the same assumption about 'master window'. Certainly 'conservative' is safest. Lita has not posted a patch, but since she is a (paid) summer intern (until mid August), I expect she will. If not, you can help

[issue18141] tkinter.Image.__del__ can throw an exception if module globals are destroyed in the wrong order

2014-06-03 Thread Jan Kanis
Jan Kanis added the comment: The main block has been like that from the beginning of recorded time. I could see a use for this if the turtle demo allowed changing of the code in the gui, but it doesn't. -- ___ Python tracker

[issue21427] installer not working

2014-06-03 Thread Zachary Ware
Zachary Ware added the comment: Here's the log, and some notes: Starting state: - Python 3.3.5 installed to P:\Python33 - Python 3.4.1 installed to P:\Python34 - py[w].exe present in C:\Windows State after Python 3.4.1 uninstalled by python-3.4.1.msi (and manually removed P:\Python34 which sti

[issue21638] Seeking to EOF is too inefficient!

2014-06-03 Thread Linlin Yan
Linlin Yan added the comment: I ensured that the problem is in libc. I will try to figure out it by updating libc or optimizing some related parameters. -- resolution: -> third party status: open -> closed ___ Python tracker

[issue21638] Seeking to EOF is too inefficient!

2014-06-03 Thread Linlin Yan
Linlin Yan added the comment: Thanks! I agree with that. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue21427] installer not working

2014-06-03 Thread Martin v . Löwis
Martin v. Löwis added the comment: Zachary: It "shouldn't" work for you, given this report. Please run msiexec /i /l*v py.log and attach the (possibly compressed) py.log. Verify that it actually did install py.exe into c:\windows. -- ___ Python t

[issue18132] buttons in turtledemo disappear on small screens

2014-06-03 Thread Jan Kanis
Jan Kanis added the comment: I wasn't aware that mixing grid and pack was a bad idea, as I was looking over turtledemo to learn how to use tkinter. The patch replaces a packing in one frame with a grid. All direct children of the graph_frame are gridded. graph_frame itself is still packed and

[issue21427] installer not working

2014-06-03 Thread Steve Dower
Steve Dower added the comment: That reasoning makes sense. I don't see any other way to achieve the same thing without requiring a newer version of Windows Installer on the machine (msidbComponentAttributesDisableRegistryReflection requires 4.0). Having a second component for 32-bit OS may be

[issue21623] build ssl failed use vs2010 express

2014-06-03 Thread Martin v . Löwis
Martin v. Löwis added the comment: I have no idea what might be causing this. I think it only can be resolved if Mo Jia actually researches the errors himself. Mo Jia, pick one particular error, and stick to it until you completely understand it. If you cannot do this, we may have to wait unti

[issue21344] save scores or ratios in difflib get_close_matches

2014-06-03 Thread Zachary Ware
Zachary Ware added the comment: Absent Tim's satisfaction regarding a use-case, I'm closing the issue. Russell, if you do package this up for pypi and it does become popular (for some definition of 'popular' :), feel free to reopen this issue or open a new one. -- resolution: -> rej

[issue21638] Seeking to EOF is too inefficient!

2014-06-03 Thread Charles-François Natali
Charles-François Natali added the comment: > I agree that Python 2 should use fopen / fread rather than directly read(). > But you may misunderstand this. The 'strace' tool reports Linux system > calls, including read() rather than fread(), and I guess that read() should > be finally called in fr

[issue21623] build ssl failed use vs2010 express

2014-06-03 Thread Zachary Ware
Zachary Ware added the comment: Mo Jia wrote: > @Zachary Ware , don't change anything after clone from the repo. What > i do is just cd python src dir and runing : Tools\buildbot\build.bat > . the openssl verison is 1.0.1g . Seem the external.bat don't build > openssl . I see the readme " Th

[issue21652] Python 2.7.7 regression in mimetypes module on Windows

2014-06-03 Thread Jean-Paul Calderone
Changes by Jean-Paul Calderone : -- nosy: +exarkun ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue19980] Improve help('non-topic') response

2014-06-03 Thread Zachary Ware
Changes by Zachary Ware : -- nosy: +zach.ware ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue21642] "_ if 1else _" does not compile

2014-06-03 Thread Joshua Landau
Joshua Landau added the comment: Here's a minimal example of the difference: 1e #>>> ... etc ... #>>> SyntaxError: invalid token 1t #>>> ... etc ... #>>> SyntaxError: invalid syntax -- ___ Python tracker

[issue21427] installer not working

2014-06-03 Thread Zachary Ware
Zachary Ware added the comment: Martin v. Löwis wrote: > I never got to test this out of lack of a 32-bit Windows installation, > apparently, it doesn't work. It does work on my 32-bit machine, though; I have had no issues installing 32-bit Python 3.3 or 3.4 on 32-bit Windows 7 Pro. If there's

[issue21427] installer not working

2014-06-03 Thread Martin v . Löwis
Martin v. Löwis added the comment: Here is the rationale: 1. py.exe is a 32-bit binary installed into C:\windows, see PEP 397. It's in C:\windows so that it will be on the path for both 32-bit and 64-bit processes. 2. py.exe is installed by multiple installers (both 32-bit and 64-bit, and mult

[issue21427] installer not working

2014-06-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think what Steve meant is that *if* the 32-bit installer is working right, then it should be the default because it would then work for everyone, while the 64-bit installer cannot possibly work for people with 32-bit windows. --

[issue13659] Add a help() viewer for IDLE's Shell.

2014-06-03 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- Removed message: http://bugs.python.org/msg219683 ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue13659] Add a help() viewer for IDLE's Shell.

2014-06-03 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- Removed message: http://bugs.python.org/msg219682 ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue21197] venv does not create lib64 directory and appropriate symlinks

2014-06-03 Thread Vinay Sajip
Vinay Sajip added the comment: > The added 64-bit test unnecessary adds an import for struct. I corrected this when fixing #21643. -- ___ Python tracker ___

[issue21643] "File exists" error during venv --upgrade

2014-06-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 27e1b4a9de07 by Vinay Sajip in branch '3.4': Issue #21643: Updated test and fixed logic bug in lib64 symlink creation. http://hg.python.org/cpython/rev/27e1b4a9de07 New changeset 71eda9bd8875 by Vinay Sajip in branch 'default': Closes #21643: Merged

[issue21623] build ssl failed use vs2010 express

2014-06-03 Thread Mo Jia
Mo Jia added the comment: @Roundup Robot . Clone the newest 3.4 tag. The unicode problem is ok now . @Zachary Ware , don't change anything after clone from the repo. What i do is just cd python src dir and runing : Tools\buildbot\build.bat . the openssl verison is 1.0.1g . Seem the external.ba

[issue21365] asyncio.Task reference misses the most important fact about it, related info spread around intros and example commentary instead

2014-06-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Victor, since you wrote much of the asyncio doc, any comment on this request? -- nosy: +terry.reedy ___ Python tracker ___ _

[issue21427] installer not working

2014-06-03 Thread Uwe
Uwe added the comment: not sure what you mean: the installer for 64 bit is working fine the installer for 32 bit is not working - this is true also for the new version 3.4.1 for those who may try: compiling is tricky with VC2010 pro -- ___ Python tra

[issue21427] installer not working

2014-06-03 Thread Steve Dower
Steve Dower added the comment: eryksun's analysis is correct. If the component is marked 64-bit then it will not install on a 32-bit OS. This needs to be switched for the 32-bit installer. (I also don't see why you'd want to set the 64-bit SharedDLLs key for a 32-bit DLL. Is there some reason

[issue21600] mock.patch.stopall doesn't work with patch.dict to sys.modules

2014-06-03 Thread Michael Foord
Michael Foord added the comment: Yep, patch.dict wasn't designed with stopall in mind so it needs adding. Thanks for pointing this out and your fix. Your patch isn't quite right, those operations shouldn't be inside the try excepts. (And there are no tests.) -- assignee: -> michael.

[issue19980] Improve help('non-topic') response

2014-06-03 Thread Mark Lawrence
Mark Lawrence added the comment: Please find attached a first pass at a patch file. Help('') produces help for the str class as discussed. I found the difference between help('help') and help() very confusing. The former produced the help output but left you at the interactive prompt, the l

[issue21427] installer not working

2014-06-03 Thread Mark Lawrence
Mark Lawrence added the comment: FWIW I've never had any installation problems involving py.exe. -- nosy: +BreamoreBoy ___ Python tracker ___

[issue21427] installer not working

2014-06-03 Thread Zachary Ware
Zachary Ware added the comment: Nosy-ing the Windows installer experts; I haven't had any problems with this and am not familiar with the MSI library or tool. -- nosy: +loewis, steve.dower ___ Python tracker _

[issue21600] mock.patch.stopall doesn't work with patch.dict to sys.modules

2014-06-03 Thread R. David Murray
Changes by R. David Murray : -- nosy: +kushal.das ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue21652] Python 2.7.7 regression in mimetypes module on Windows

2014-06-03 Thread James Y Knight
New submission from James Y Knight: The change done for issue9291 in Python 2.7.7 caused the mimetypes.types_map dict to change to contain a mixture of str and unicode objects, rather than just str, as it always had before. This causes twisted.web to crash when serving static files on Windows.

[issue21439] Numerous minor issues in Language Reference

2014-06-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset be8492101251 by Zachary Ware in branch '3.4': Issue #21439: Fix a couple of typos. http://hg.python.org/cpython/rev/be8492101251 New changeset 99b469758f49 by Zachary Ware in branch 'default': Issue #21439: Merge with 3.4 http://hg.python.org/cpytho

[issue21641] smtplib leaves open sockets around if SMTPResponseException is raised in __init__

2014-06-03 Thread Senthil Kumaran
Senthil Kumaran added the comment: The first patch was correct and consistent with how other Exceptions were closing the socket. Fixed this and thanks for the patch. -- assignee: -> orsenthil nosy: +orsenthil resolution: -> fixed stage: -> resolved status: open -> closed versions: +P

[issue21641] smtplib leaves open sockets around if SMTPResponseException is raised in __init__

2014-06-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset d5c76646168d by Senthil Kumaran in branch '3.4': Fix issue #21641: Close the socket before raising the SMTPResponseException. Fixes the ResourceWarning in the test run. http://hg.python.org/cpython/rev/d5c76646168d New changeset 7ea84a25d863 by Sen

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

2014-06-03 Thread Glenn Langford
Glenn Langford added the comment: > My workload is launching two subprocess in parallel, and whenever one is > ready, launches another one. Since you have timeout=15.0, wait() should return at least every 15s. Can you determine if the wait is being repeatedly called in the while loop, and if s

[issue21643] "File exists" error during venv --upgrade

2014-06-03 Thread STINNER Victor
STINNER Victor added the comment: Ok, this bug is a regression introduced in Python 3.4.1. -- nosy: +larry priority: normal -> release blocker ___ Python tracker ___

[issue21643] "File exists" error during venv --upgrade

2014-06-03 Thread STINNER Victor
STINNER Victor added the comment: Oh, my test lacks a unit test! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue21643] "File exists" error during venv --upgrade

2014-06-03 Thread STINNER Victor
STINNER Victor added the comment: Full traceback (I modified venv/__main__.py): haypo@smithers$ /opt/py34/bin/python3 -m venv --upgrade ENV Error: [Errno 17] File exists: '/home/haypo/ENV/lib' -> '/home/haypo/ENV/lib64' Traceback (most recent call last): File "/opt/py34/lib/python3.4/runpy.py"

[issue21643] "File exists" error during venv --upgrade

2014-06-03 Thread Virgil Dupras
Virgil Dupras added the comment: I could reproduce the bug on the v3.4.1 tag, on the 3.4 branch and on the default branch. I think that one of the conditions for the bug to arise is to have the "lib64" symlink created (as described in #21197). I reproduced the bug on Gentoo and Arch environmen

[issue21648] urllib urlopener leaves open sockets for FTP connection

2014-06-03 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue18292] Idle: test AutoExpand.py

2014-06-03 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: Attached a patch incorporating changes from msg219661 and test-autoexp-18292.diff >>"I would like to cover those because " Done >>Point 2 Done >>"self.bell() makes no sound for me. How about you?" No sound for me as well. >>Do you see anything like t

[issue13659] Add a help() viewer for IDLE's Shell.

2014-06-03 Thread Tomić Milan
Tomić Milan added the comment: Sorry. Misplaced. Please delete. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue13659] Add a help() viewer for IDLE's Shell.

2014-06-03 Thread Tomić Milan
Tomić Milan added the comment: I have just installed IDLEX-1.12 on Python3.4. Once I open the Documentation Viewer the docstrings are written to the terminal window instead to the Documentation Viewer which remains empty. They are triggered correctly once I type the opening bracket of the func

[issue21651] asyncio tests ResourceWarning

2014-06-03 Thread Claudiu.Popa
New submission from Claudiu.Popa: Running asyncio tests on Windows will give a ResourceWarning. The attached patch fixes this problem. [1/1] test_asyncio D:\Projects\cpython\lib\test\test_asyncio\test_events.py:233: ResourceWarning: unclosed gc.collect() D:\Projects\cpython\lib\test\test_as

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

2014-06-03 Thread Matthias Klose
Matthias Klose added the comment: they are. assume you build the zlib and elementtree extensions as builtins, then libs for an interpreter includes libz and libexpat, while they are not needed for extensions. -- ___ Python tracker

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

2014-06-03 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: They are not for different cases. Difference between is a result of the fact that they were implemented independently at different times. Linking of extension modules against libpythonX.Y.so is a good idea anyway. It avoids build failure w

[issue21650] add json.tool option to avoid alphabetic sort of fields

2014-06-03 Thread Berker Peksag
Berker Peksag added the comment: Here's a patch with a test case. -- keywords: +patch nosy: +berker.peksag stage: -> patch review versions: +Python 3.5 -Python 2.7 Added file: http://bugs.python.org/file35468/issue21650.diff ___ Python tracker

[issue21650] add json.tool option to avoid alphabetic sort of fields

2014-06-03 Thread Pavel Kazlou
Pavel Kazlou added the comment: This is the line in module I'm talking about: json.dump(obj, outfile, sort_keys=True, indent=4) -- ___ Python tracker ___

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

2014-06-03 Thread STINNER Victor
STINNER Victor added the comment: > the whole process got stuck after launching about 3K subprocess How many processes are running at the same time when the whole process is stuck? -- ___ Python tracker __

[issue21650] add json.tool option to avoid alphabetic sort of fields

2014-06-03 Thread Pavel Kazlou
New submission from Pavel Kazlou: Currently when you use json.tool, fields are reordered alphabetically. In source code the value of sort_keys is hardcoded to be true. It should be easy to expose this option as command line parameter. -- components: Library (Lib) messages: 219675 nosy: P

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

2014-06-03 Thread Sebastian Kreft
Sebastian Kreft added the comment: I'm using the Python 3.4.1 compiled from source and I'm may be hitting this issue. My workload is launching two subprocess in parallel, and whenever one is ready, launches another one. In one of the runs, the whole process got stuck after launching about 3K

[issue16189] ld_so_aix not found

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

[issue10656] "Out of tree" build fails on AIX 5.3

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

[issue21649] Mention "Recommendations for Secure Use of TLS and DTLS"

2014-06-03 Thread Antoine Pitrou
New submission from Antoine Pitrou: The IETF has a draft for TLS protocol recommendations, perhaps we can mention it in the ssl module docs: http://tools.ietf.org/html/draft-ietf-uta-tls-bcp -- assignee: docs@python components: Documentation messages: 219673 nosy: christian.heimes, doc

[issue21644] Optimize bytearray(int) constructor to use calloc()

2014-06-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: Responding to a comment in issue21233: >Before: >=== >>>> x = bytearray(0) >>>> m = memoryview(x) >>>> x.__init__(10) >Traceback (most recent call last): > File "", line 1, in >BufferError: Existing e

[issue21648] urllib urlopener leaves open sockets for FTP connection

2014-06-03 Thread Claudiu.Popa
New submission from Claudiu.Popa: To be precise, when running test_urllib on a machine with a local FTP server, but with a set of credentials different than the ones used by test_urllib.urlopen_HttpTests.test_ftp_nonexisting. In this case, ftpwrapper from urllib.request will succesfully connec

[issue18235] _sysconfigdata.py wrong on AIX installations

2014-06-03 Thread Michael Haubenwallner
Michael Haubenwallner added the comment: issue#10656 is the out-of-source part already. -- ___ Python tracker ___ ___ Python-bugs-list

[issue18235] _sysconfigdata.py wrong on AIX installations

2014-06-03 Thread Michael Haubenwallner
Changes by Michael Haubenwallner : Removed file: http://bugs.python.org/file32542/python-tip-aix-absbuilddir.patch ___ Python tracker ___ ___

[issue21641] smtplib leaves open sockets around if SMTPResponseException is raised in __init__

2014-06-03 Thread Claudiu.Popa
Claudiu.Popa added the comment: It's actually better to close the socket in __init__ in this case. -- Added file: http://bugs.python.org/file35466/issue21641.patch ___ Python tracker ___

[issue17454] ld_so_aix not used when linking c++ (scipy)

2014-06-03 Thread Michael Haubenwallner
Changes by Michael Haubenwallner : -- nosy: +haubi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

  1   2   >