[issue21646] Add tests for turtle.ScrolledCanvas

2014-06-03 Thread Jessica McKellar
Changes by Jessica McKellar jesst...@mit.edu: -- assignee: - jesstess ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21646 ___ ___

[issue21640] References to other Python version in sidebar of documentation index is not up to date

2014-06-03 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed the follwing changesets. 2.7 b8655be522d4 3.4 e6dce5611dae 3.5 50c9df76bb77 -- resolution: - fixed stage: - resolved status: open - closed type: - behavior ___ Python tracker rep...@bugs.python.org

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

2014-06-03 Thread Michael Haubenwallner
Michael Haubenwallner added the comment: Well, they should not be identical, as they are for different use cases. pkg-config python is to build an application containing a python interpreter (like python$EXE): + Link against libpython.so. Additionally, + re-export symbols from libpython.so

[issue1683368] object.__init__ shouldn't allow args/kwds

2014-06-03 Thread Raymond Hettinger
Raymond Hettinger added the comment: Jason, I made some recommendations on this subject in my blog post a few years ago: http://rhettinger.wordpress.com/2011/05/26/super-considered-super/ ''' A more flexible approach is to have every method in the ancestor tree cooperatively designed to

[issue21643] File exists error during venv --upgrade

2014-06-03 Thread Senthil Kumaran
Senthil Kumaran added the comment: I could not reproduce this in 3.4 / 3.5 [localhost 21643]$ ./python.exe Tools/scripts/pyvenv --upgrade usage: venv [-h] [--system-site-packages] [--symlinks | --copies] [--clear] [--upgrade] [--without-pip] ENV_DIR [ENV_DIR ...] venv:

[issue20611] socket.create_connection() doesn't handle EINTR properly

2014-06-03 Thread Gregory P. Smith
Gregory P. Smith added the comment: Something like the patch i'm attaching to socketmodule.c is what I would prefer. I haven't looked at or tried tests for it yet. -- assignee: - gregory.p.smith keywords: +patch Added file:

[issue20611] socket.create_connection() doesn't handle EINTR properly

2014-06-03 Thread Gregory P. Smith
Changes by Gregory P. Smith g...@krypto.org: -- versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20611 ___ ___

[issue20611] socket.create_connection() doesn't handle EINTR properly

2014-06-03 Thread Gregory P. Smith
Changes by Gregory P. Smith g...@krypto.org: -- stage: - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20611 ___ ___ Python-bugs-list

[issue21272] use _sysconfigdata to itinialize distutils.sysconfig

2014-06-03 Thread Michael Haubenwallner
Changes by Michael Haubenwallner michael.haubenwall...@salomon.at: -- nosy: +haubi ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21272 ___ ___

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

2014-06-03 Thread Michael Haubenwallner
Changes by Michael Haubenwallner michael.haubenwall...@salomon.at: -- nosy: +haubi ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17454 ___ ___

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

[issue18235] _sysconfigdata.py wrong on AIX installations

2014-06-03 Thread Michael Haubenwallner
Changes by Michael Haubenwallner michael.haubenwall...@salomon.at: Removed file: http://bugs.python.org/file32542/python-tip-aix-absbuilddir.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18235

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

[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

[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 stdin, line 1, in module BufferError: Existing exports

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

[issue10656] Out of tree build fails on AIX 5.3

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

[issue16189] ld_so_aix not found

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

[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

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

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

[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 rep...@bugs.python.org

[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

[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

[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

[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 socket.socket fd=668, family=AddressFamily.AF_INET,

[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

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

[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 this? Yes.

[issue21648] urllib urlopener leaves open sockets for FTP connection

2014-06-03 Thread Senthil Kumaran
Changes by Senthil Kumaran sent...@uthcode.com: -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21648 ___ ___ Python-bugs-list

[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

[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 STINNER Victor
STINNER Victor added the comment: Oh, my test lacks a unit test! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21643 ___ ___ Python-bugs-list

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

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

[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

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

[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

[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

[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 rdmur...@bitdance.com: -- nosy: +kushal.das ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21600 ___ ___

[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 rep...@bugs.python.org

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

[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

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

[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

[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

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

[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

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

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

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

2014-06-03 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- Removed message: http://bugs.python.org/msg219682 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13659 ___

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

2014-06-03 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- Removed message: http://bugs.python.org/msg219683 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13659 ___

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

[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

[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

[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 rep...@bugs.python.org

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

2014-06-03 Thread Zachary Ware
Changes by Zachary Ware zachary.w...@gmail.com: -- nosy: +zach.ware ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19980 ___ ___ Python-bugs-list

[issue21652] Python 2.7.7 regression in mimetypes module on Windows

2014-06-03 Thread Jean-Paul Calderone
Changes by Jean-Paul Calderone jean-p...@hybridcluster.com: -- nosy: +exarkun ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21652 ___ ___

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

[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

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

[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

[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

[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 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 python msi file /l*v py.log and attach the (possibly compressed) py.log. Verify that it actually did install py.exe into c:\windows. --

[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 rep...@bugs.python.org http://bugs.python.org/issue21638 ___ ___ Python-bugs-list mailing

[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 rep...@bugs.python.org

[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

[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 rep...@bugs.python.org

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

[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

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

[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

[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 rdmur...@bitdance.com: -- resolution: - rejected stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21637 ___

[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

[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

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

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

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

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

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

[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

[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

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

2014-06-03 Thread Yury Selivanov
Changes by Yury Selivanov yselivanov...@gmail.com: -- nosy: +yselivanov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21326 ___ ___

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

[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

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

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

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

[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

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

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

2014-06-03 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- keywords: +easy nosy: +terry.reedy stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21654 ___

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

2014-06-03 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +ghaering versions: +Python 3.4, Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21653 ___

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

2014-06-03 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- keywords: +easy stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21653 ___