[issue19840] The is no way to tell shutil.move to ignore metadata

2014-06-09 Thread Claudiu.Popa
Claudiu.Popa added the comment: Any type of feedback will be appreciated. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue21695] Idle 3.4.1-: closing Find in Files while in progress closes Idle

2014-06-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: I added try: except: and tested on installed 3.4.1, which previously failed. There is no way that I know of to start repository Idle without a console to print a traceback to. I added a missing import, removed an incorrect comment, added others, and changed 'p

[issue21695] Idle 3.4.1-: closing Find in Files while in progress closes Idle

2014-06-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset ec91ee7d9d8d by Terry Jan Reedy in branch '2.7': Issue #21695: Catch AttributeError created when user closes grep output window http://hg.python.org/cpython/rev/ec91ee7d9d8d New changeset d9c1f36494b6 by Terry Jan Reedy in branch '3.4': Issue #21695

[issue17457] Unittest discover fails with namespace packages and builtin modules

2014-06-09 Thread Claudiu.Popa
Claudiu.Popa added the comment: Can we close this? The feature already landed in Python 3.4. -- ___ Python tracker ___ ___ Python-bugs

[issue634412] RFC 2387 in email package

2014-06-09 Thread Abhilash Raj
Abhilash Raj added the comment: David: How does this API look? https://gist.github.com/maxking/2f37bae7875dde027e3c -- ___ Python tracker ___ _

[issue21309] Confusing "see also" for generic C-level __init__ methods in help output

2014-06-09 Thread Jacob Beck
Jacob Beck added the comment: I just got burned by this in io.StringIO, so I did a bit of looking. This was changed in r85710aa396ef in Objects/typeobject.c. The new revision makes as much sense as the old one, which wasn't helpful either and replaced an equally unhelpful revision at some poi

[issue21701] create_datagram_endpoint does not receive when both local_addr and remote_addr provided

2014-06-09 Thread Allen Riddell
Allen Riddell added the comment: I gather this is the desired behavior. If one specifies remote_addr then one only accepts packets from that address and port. Whereas if no remote_addr is given then one accepts packets from any address and any port. Sorry for the noise. -- resolution

[issue21701] create_datagram_endpoint does not receive when both local_addr and remote_addr provided

2014-06-09 Thread Allen Riddell
Allen Riddell added the comment: (couldn't figure out how to attach multiple files) -- client_good.py -- """Send and receive a messages using DatagramProtocol""" import asyncio import time class Helloer(asyncio.DatagramProtocol): def connection_made(self, transport): print('(helloe

[issue21701] create_datagram_endpoint does not receive when both local_addr and remote_addr provided

2014-06-09 Thread Allen Riddell
New submission from Allen Riddell: Creating a UDP connection through ``create_datagram_endpoint`` when specifying both remote_addr and local_addr does not work; messages are not received. If remote_addr is removed, messages are received. Easy to reproduce: works: python3 client_good.py & pyth

[issue20580] IDLE should support platform-specific default config defaults

2014-06-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: I closed #1517993 in favor of this. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue1517993] IDLE: config-main.def contains windows-specific settings

2014-06-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since #20580 has a much more specific plan, I am closing this one as a duplicate and back-referencing this from there. -- resolution: -> duplicate status: open -> closed superseder: -> IDLE should support platform-specific default config defaults ___

[issue3938] Clearing globals; interpreter -- IDLE difference

2014-06-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: I decided that anyone with a use case for a bare interpreter, if there is such a person, would and should be using the console, and that a closed issue is sufficient documentation for now. -- resolution: -> wont fix stage: test needed -> resolved stat

[issue21700] Missing mention of DatagramProtocol having connection_made and connection_lost methods

2014-06-09 Thread Allen Riddell
New submission from Allen Riddell: The following important information from PEP 3156 does not appear in the asyncio library documentation: """Datagram protocols have connection_made() and connection_lost() methods with the same signatures as stream protocols.""" Indeed, reading the docs it lo

[issue21659] IDLE: One corner calltip case

2014-06-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0b181c02df7c by Terry Jan Reedy in branch '2.7': Closes Issue 21659: Improve Idle calltips for *args, **kwargs in 2.7, where actual http://hg.python.org/cpython/rev/0b181c02df7c -- nosy: +python-dev resolution: -> fixed stage: commit revie

[issue14758] SMTPServer of smptd does not support binding to an IPv6 address

2014-06-09 Thread R. David Murray
R. David Murray added the comment: When I run the modified test suite on a machine regrtest tells me that the test modified the environment, specifically the asyncore.socket_map. Presumably there is some missing cleanup logic. -- ___ Python tracker

[issue1517993] IDLE: config-main.def contains windows-specific settings

2014-06-09 Thread Ned Deily
Ned Deily added the comment: Issue20580 covers much the same grounds; I was unaware of this issue when I opened it. -- ___ Python tracker ___ _

[issue21699] Windows Python 3.4.1 pyvenv doesn't work in directories with spaces.

2014-06-09 Thread eryksun
eryksun added the comment: The py.exe launcher relies on manual quoting in the shebang line. That's the case for the shebang embedded in this pip executable. The problem is the "simple launcher" used by distlib 0.1.8. It always quotes the executable, even if it's already quoted. This is fixed

[issue3938] Clearing globals; interpreter -- IDLE difference

2014-06-09 Thread Mark Lawrence
Mark Lawrence added the comment: The output from IDLE is still the same using both 3.4.1 and 3.5. FTR the output from iPython 2.0.0 appears the same, although it's pretty printed. -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.3 ___ Python tr

[issue1517993] IDLE: config-main.def contains windows-specific settings

2014-06-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: In 3.4, the only Windows-specific settings I see in config-main.def is [Keys] default= 1 name= IDLE Classic Windows I have presumed that this is somehow changed on other systems. If not, that is an issue. Config-keys.def actions (should) have a Meta variant wh

[issue1517993] IDLE: config-main.def contains windows-specific settings

2014-06-09 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: +ned.deily, terry.reedy type: -> behavior versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2 ___ Python tracker ___

[issue11437] IDLE crash on startup with typo in config-keys.cfg

2014-06-09 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: needs patch -> patch review versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker ___ ___

[issue5233] Enhance 2.7 IDLE to exec IDLESTARTUP/PYTHONSTARTUP on restart

2014-06-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is at least 2 issues: startup and restart. I closed #8378 as a partial duplicate of the startup issue. For startup, I reject the idea of changing the default and the meaning of -s. First, it would break the general back-compatibility policy and possibly b

[issue21597] Allow turtledemo code pane to get wider.

2014-06-09 Thread Lita Cho
Lita Cho added the comment: > 1. The minor one: The blue label does not have drop shadows, the red/yellow > buttons do. I created a patch to add a border around the label and create some padding between the buttons and the label. Let me know if this is less jarring than the previous version.

[issue21688] Improved error msg for make.bat htmlhelp

2014-06-09 Thread Olive Kilburn
Olive Kilburn added the comment: Before I installed HTML Help Workshop it would output many lines followed by " build succeeded, 1 warning. C:\Program is not recognized as an internal or external command, operable program or batch file. Build succeeded. All output should be in build\htmlhelp

[issue21597] Allow turtledemo code pane to get wider.

2014-06-09 Thread Lita Cho
Lita Cho added the comment: Hi Terry! > 2. More important: when I move the slider right, the text widen and the > canvas narrows relatively smoothly. This is not due to the mixing of Pack and Grid Managers. This is due to adding Frames within a Pane Window. If I just create two empty Pane Wi

[issue8378] PYTHONSTARTUP is not run by default when Idle is started

2014-06-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: David, thank you for the research on related issues. #5233 explicitly includes this proposal: "The former effect of -s would now be the default,". So I am closing this as a partial duplicate. I will explain here why I reject this. -- resolution: -> d

[issue5594] IDLE startup configuration

2014-06-09 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: kbk -> versions: +Python 2.7, Python 3.4, Python 3.5 -Python 3.3 ___ Python tracker ___ ___ P

[issue20903] smtplib.SMTP raises socket.timeout

2014-06-09 Thread R. David Murray
R. David Murray added the comment: Well, now that I applied your patch it can be :) Thanks. -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed versions: -Python 3.3 ___ Python tracker

[issue20903] smtplib.SMTP raises socket.timeout

2014-06-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6cd64ef6fc95 by R David Murray in branch '2.7': #20903: clarify what happens when an smtp connection timeout occurs. http://hg.python.org/cpython/rev/6cd64ef6fc95 New changeset ca88bcfa5c15 by R David Murray in branch '3.4': #20903: clarify what hap

[issue21692] Wrong order of expected/actual for assert_called_once_with

2014-06-09 Thread Fei Long Wang
Fei Long Wang added the comment: Okay, I can see your point now. Thanks for the clarification. -- ___ Python tracker ___ ___ Python-bu

[issue8378] PYTHONSTARTUP is not run by default when Idle is started

2014-06-09 Thread Mark Lawrence
Mark Lawrence added the comment: Terry what is your opinion on this? -- nosy: +BreamoreBoy, terry.reedy versions: +Python 3.5 -Python 3.2 ___ Python tracker ___ __

[issue21659] IDLE: One corner calltip case

2014-06-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Looks good on reading. When I get my repository copy repaired, I will test and either apply or report back. In 2.7 Lib/*.py, 9 module use 'kwds' and 28 use 'kwargs', so I will accept that change. -- assignee: -> terry.reedy stage: patch review -> comm

[issue18039] dbm.open(..., flag="n") does not work and does not give a warning

2014-06-09 Thread Claudiu.Popa
Claudiu.Popa added the comment: Thanks, Serhiy. Here's the new version of the patch. Hope that the warning message is clear enough. -- Added file: http://bugs.python.org/file35544/issue18039_1.patch ___ Python tracker

[issue21697] shutil.copytree() handles symbolic directory incorrectly

2014-06-09 Thread Ned Deily
Ned Deily added the comment: Thanks for the report. The bug is still present in the 3.4 and default (what will become the 3.5 release) branches; the 3.3 branch now only accepts security fixes. 2.7 does not fail. Would you be interested in producing a patch for the problem? -- keywor

[issue21685] zipfile module doesn't properly compress odt documents

2014-06-09 Thread R. David Murray
R. David Murray added the comment: So if I'm understanding correctly the python update to the file happens correctly in both cases, and the issue with the update not being immediately visible is an issue on the OpenOffice side of things. So I'm closing this as a 3rd party bug (though it sound

[issue18039] dbm.open(..., flag="n") does not work and does not give a warning

2014-06-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: With this patch 2 of 4 modes ('c' and 'n') work as for other dbm modules. So it would be better to document that 'r' and 'w' work nonstandard, than document that 'n' is not ignored. And while you are here, may be add a warning in 'r' and 'w' mode when the fi

[issue20699] Behavior of ZipFile with file-like object and BufferedWriter.

2014-06-09 Thread Ned Deily
Changes by Ned Deily : -- nosy: +benjamin.peterson, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue13924] Mercurial robots.txt should let robots crawl landing pages.

2014-06-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: Yes, I think we should whitelist rather than blacklist. The problem with letting engines index the repositories is the sheer resource cost when they fetch many heavy pages (such as annotate, etc.). -- ___ Python tra

[issue21659] IDLE: One corner calltip case

2014-06-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch. Now names of starred arguments never conflict with other parameters. -- keywords: +patch stage: -> patch review Added file: http://bugs.python.org/file35543/calltips_starred_names.patch ___ Python

[issue19143] Finding the Windows version getting messier (detect windows 8.1?)

2014-06-09 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +steve.dower ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue11437] IDLE crash on startup with typo in config-keys.cfg

2014-06-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Mark, they are both inactive at the moment. There are a number of issue around configuration, especially key bindings. I think the whole process needs review and redoing. For instance, I understand Roger as saying that the problematical known-invalid list (set

[issue21688] Improved error msg for make.bat htmlhelp

2014-06-09 Thread Zachary Ware
Zachary Ware added the comment: Could you give me the exact message you get currently? If it's just "'C:\Program' is not recognized as an internal or external command, operable program or batch file.", that's a different issue than if the whole path to hhc.exe is displayed. Otherwise, I like

[issue21372] multiprocessing.util.register_after_fork inconsistency

2014-06-09 Thread Marc Schlaich
Marc Schlaich added the comment: Your statement is not correct, it does work on Windows (where fork is not available) if you register the hook on module level instead of in `__main__`. -- ___ Python tracker __

[issue21310] ResourceWarning when open() fails with io.UnsupportedOperation: File or stream is not seekable

2014-06-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thanks Victor for the review. Thanks Martin for the report. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue21677] Exception context set to string by BufferedWriter.close()

2014-06-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Martin for your report. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 2.7 ___ Python tracker __

[issue21685] zipfile module doesn't properly compress odt documents

2014-06-09 Thread Raimondo Giammanco
Raimondo Giammanco added the comment: hit F9 ?!? I feel ashamed. The need to recalculate the fields simply slipped my mind. Of course, in some way Writer has to be told about the strings replacement. Maybe could my fault be partially justifiable if one consider the autoupdate behaviour with t

[issue21463] RuntimeError when URLopener.ftpcache is full

2014-06-09 Thread Erik Bray
Erik Bray added the comment: Thanks Skyler for finishing the job. I got busy/distracted. -- ___ Python tracker ___ ___ Python-bugs-li

[issue21699] Windows Python 3.4.1 pyvenv doesn't work in directories with spaces.

2014-06-09 Thread R. David Murray
R. David Murray added the comment: This *can't* work on Linux (see issue 20622). I don't know if it is possible to make it work on Windows, but I wonder: even if it is should we do so, since the point of the launcher is to make shebang lines work on Windows more or less how they do on Unix?

[issue12739] read stuck with multithreading and simultaneous subprocess.Popen

2014-06-09 Thread Geoffrey Bache
Geoffrey Bache added the comment: Thanks Victor, yes I already created my own lock which fixed the issue for me. Maybe it would be worth adding a note to the documentation about this in the meantime (especially for Python 2)? -- ___ Python tracker

[issue21699] Windows Python 3.4.1 pyvenv doesn't work in directories with spaces.

2014-06-09 Thread Justin Engel
New submission from Justin Engel: Venv virtual environments don't work with spaces in the path. (env) C:\My Directory\path > pip -V Fatal error in launcher: Unable to create process using '""C:\My Directory\path\env\Scripts\python.exe"" "C:\My Directory\path\env\Scripts\pip.exe" -V' -

[issue12739] read stuck with multithreading and simultaneous subprocess.Popen

2014-06-09 Thread STINNER Victor
STINNER Victor added the comment: Oh by the way, this issue was fixed on UNIX in Python 3.2: all file descriptors are now closed by default (close_fds=True by default on UNIX). -- ___ Python tracker __

[issue12739] read stuck with multithreading and simultaneous subprocess.Popen

2014-06-09 Thread STINNER Victor
STINNER Victor added the comment: The PEP 446 partially fixes this issue. The issue #19764 should fix it completly. Since you are using Python 2, you should not wait until the issue is fixed, but work around it. To workaround the issue: use you own lock around the creation of processes. Examp

[issue12739] read stuck with multithreading and simultaneous subprocess.Popen

2014-06-09 Thread Geoffrey Bache
Geoffrey Bache added the comment: Just ran into this on Python 2.6 also. -- versions: +Python 2.7 ___ Python tracker ___ ___ Python-bu

[issue12739] read stuck with multithreading and simultaneous subprocess.Popen

2014-06-09 Thread Geoffrey Bache
Changes by Geoffrey Bache : -- nosy: +gjb1002 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue21698] Platform.win32_ver() shows different values than expected on Windows 8.1

2014-06-09 Thread STINNER Victor
STINNER Victor added the comment: This issue is a duplicate of the issue #19143. -- nosy: +haypo resolution: -> duplicate status: open -> closed superseder: -> Finding the Windows version getting messier ___ Python tracker

[issue19143] Finding the Windows version getting messier (detect windows 8.1?)

2014-06-09 Thread STINNER Victor
Changes by STINNER Victor : -- title: Finding the Windows version getting messier -> Finding the Windows version getting messier (detect windows 8.1?) ___ Python tracker ___ ___

[issue11437] IDLE crash on startup with typo in config-keys.cfg

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

[issue11437] IDLE crash on startup with typo in config-keys.cfg

2014-06-09 Thread Mark Lawrence
Mark Lawrence added the comment: @Roger, Andrew could you pick this up again? -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Python-

[issue20903] smtplib.SMTP raises socket.timeout

2014-06-09 Thread Milan Oberkirch
Milan Oberkirch added the comment: Should this task get closed? (see comment above) -- nosy: +jesstess ___ Python tracker ___ ___ Pyth

[issue21698] Platform.win32_ver() shows different values than expected on Windows 8.1

2014-06-09 Thread R. David Murray
Changes by R. David Murray : -- nosy: +lemburg ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue14758] SMTPServer of smptd does not support binding to an IPv6 address

2014-06-09 Thread Milan Oberkirch
Changes by Milan Oberkirch : -- nosy: +jesstess ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue14758] SMTPServer of smptd does not support binding to an IPv6 address

2014-06-09 Thread Milan Oberkirch
Milan Oberkirch added the comment: I applied your suggestions. -- Added file: http://bugs.python.org/file35542/smtpd_060914.patch ___ Python tracker ___ _

[issue21698] Platform.win32_ver() shows different values than expected on Windows 8.1

2014-06-09 Thread Aviv Avital
New submission from Aviv Avital: On Windows 8.1, win32_ver() returns a Windows 8 version number: C:\>\Python27\python.exe Python 2.7.5 (default, May 15 2013, 22:43:36) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import platform

[issue21697] shutil.copytree() handles symbolic directory incorrectly

2014-06-09 Thread Shajunxing
New submission from Shajunxing: While using shutil.copytree() and the source containing symbolic directory (not symbolic file), an error will be raised. I checked the source code and found an obvlous mistake: shutil.copytree() using os.path.islink() to checker whether the source is a symbolic

[issue21310] ResourceWarning when open() fails with io.UnsupportedOperation: File or stream is not seekable

2014-06-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1e30ecbfe181 by Serhiy Storchaka in branch '2.7': Issue #21310: Fixed possible resource leak in failed open(). http://hg.python.org/cpython/rev/1e30ecbfe181 New changeset 17e7934905ab by Serhiy Storchaka in branch '3.4': Issue #21310: Fixed possible

[issue21692] Wrong order of expected/actual for assert_called_once_with

2014-06-09 Thread Michael Foord
Michael Foord added the comment: As David points out - in your example the "actual call" made is m.some_method('foo', 'bar'). Your assertion (the expectation) is m.some_method.assert_called_once_with('foo', 'baz'). So the traceback is correct. I don't think the ordering of expected/actual in

[issue21256] Sort keyword arguments in mock _format_call_signature

2014-06-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8e05e15901a8 by Kushal Das in branch 'default': Closes #21256: Printout of keyword args in deterministic order in mock calls. http://hg.python.org/cpython/rev/8e05e15901a8 -- nosy: +python-dev resolution: -> fixed stage: needs patch -> reso

[issue21679] Prevent extraneous fstat during open()

2014-06-09 Thread Bohuslav "Slavek" Kabrda
Bohuslav "Slavek" Kabrda added the comment: Thanks a lot for the code review! I'm attaching a revised version of the patch. Fixes I made: - added check whether PyLong_AsLong returned an error - removed "ADD_INTERNED(_blksize)" and "PyObject *_PyIO_str__blksize;" - I noticed that these are only