[issue20451] os.exec* mangles argv on windows (splits on spaces, etc)

2014-07-15 Thread Raymond Hettinger
Raymond Hettinger added the comment: My vote is for leaving this alone and letting the higher level functions be more clever. Changing this function is certain to break existing code in unpredictable ways. That is sensible. Marking this as closed. -- resolution: - wont fix

[issue19776] Provide expanduser() on Path objects

2014-07-15 Thread Claudiu Popa
Claudiu Popa added the comment: Since all the comments have been addressed, it would be nice if this gets committed. -- stage: patch review - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19776

[issue18615] sndhdr.whathdr could return a namedtuple

2014-07-15 Thread Claudiu Popa
Claudiu Popa added the comment: Serhiy, if there's no actual gain in changing this, should we close the issue? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18615 ___

[issue18615] sndhdr.whathdr could return a namedtuple

2014-07-15 Thread Raymond Hettinger
Raymond Hettinger added the comment: This is a reasonable improvement. It was what named tuples were intended to be used for. -- assignee: - rhettinger nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18615

[issue18974] Use argparse in the diff script

2014-07-15 Thread Raymond Hettinger
Raymond Hettinger added the comment: Approved. Go ahead and apply this. -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18974 ___

[issue21984] list(itertools.repeat(1)) causes the system to hang

2014-07-15 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- components: +Library (Lib) -Extension Modules stage: - resolved ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21984 ___

[issue20663] Introduce exception argument to iter

2014-07-15 Thread Raymond Hettinger
Raymond Hettinger added the comment: The recipe has been in the docs for a good while and as far as I can tell, no one ever uses this in real-code. That suggests that it should remain as a recipe and not become part of the core language (feature creep is not good for learnability or

[issue21970] Broken code for handling file://host in urllib.request.FileHandler.file_open

2014-07-15 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for the report. Point 2 is definitely a bug (and an overlook by me), I will fix it. I think, the url[:2] == '//' check was present for ftp case which supported file:// protocol. I can't see a clear requirement to change here. The scenarios you

[issue12067] Doc: remove errors about mixed-type comparisons.

2014-07-15 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- assignee: rhettinger - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12067 ___ ___

[issue20663] Introduce exception argument to iter

2014-07-15 Thread Josh Rosenberg
Josh Rosenberg added the comment: The main example that comes to mind was a variant of functools.lru_cache I wrote that expired cache entries after they reached a staleness threshold. The details elude me (this was a work project from a year ago), but it was basically what I was describing; a

[issue18974] Use argparse in the diff script

2014-07-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 08b3ee523577 by Serhiy Storchaka in branch 'default': Issue #18974: Tools/scripts/diff.py now uses argparse instead of optparse. http://hg.python.org/cpython/rev/08b3ee523577 -- nosy: +python-dev ___

[issue18974] Use argparse in the diff script

2014-07-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thanks Raymond. -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18974 ___

[issue16099] robotparser doesn't support request rate and crawl delay parameters

2014-07-15 Thread Nikolay Bogoychev
Nikolay Bogoychev added the comment: Hey, Just a friendly reminder that there has been no activity for a month and a half and v3 is pending for review (: -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16099

[issue21983] segfault in ctypes.cast

2014-07-15 Thread Mark Lawrence
Mark Lawrence added the comment: I'll provide a patch but I don't know which test file to use, can somebody please advise. -- nosy: +BreamoreBoy, amaury.forgeotdarc, belopolsky, meador.inge ___ Python tracker rep...@bugs.python.org

[issue18615] sndhdr.whathdr could return a namedtuple

2014-07-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If Raymond found this feature helpful, I have no strong objection. Only several comments: * A named tuple is documented as having fields: type, sampling_rate, channels, frames, bits_per_sample. * User tests in existing code return tuples. what() and

[issue21968] 'abort' object is not callable

2014-07-15 Thread Walter Dörwald
Walter Dörwald added the comment: The problem seems to be in that line: except imaplib.IMAP4_SSL.abort, imaplib.IMAP4.abort: This does *not* catch both exception classes, but catches only IMAP4_SSL.abort and stores the exception object in imaplib.IMAP4.abort. What you want is: except

[issue14414] xmlrpclib leaves connection in broken state if server returns error without content-length

2014-07-15 Thread Mark Lawrence
Mark Lawrence added the comment: @Joachim I'm sorry about the delay in replying to you. Can someone take a look at this please as it's out of my league. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org

[issue14730] Implementation of the PEP 419: Protecting cleanup statements from interruptions

2014-07-15 Thread Mark Lawrence
Mark Lawrence added the comment: FTR PEP 419 has been deferred as there's no champion. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14730 ___

[issue16182] readline: Wrong tab completion scope indices in Unicode terminals

2014-07-15 Thread Mark Lawrence
Mark Lawrence added the comment: @Kaarle please accept our apologies for the delay in getting back to you. Can one of our unicode gurus comment please. -- components: +Unicode nosy: +BreamoreBoy, ezio.melotti, lemburg, loewis versions: +Python 3.5 -Python 3.2, Python 3.3

[issue15443] datetime module has no support for nanoseconds

2014-07-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le 14/07/2014 22:53, Tim Peters a écrit : That consumes exactly 10 bytes today. Add nanoseconds, and it will take at least 11 (if 4 bits are insanely squashed into the bytes currently devoted to microseconds), and more likely 12 (if nanoseconds are sanely

[issue16185] include path in subprocess.Popen() file not found error messages on Windows

2014-07-15 Thread Mark Lawrence
Mark Lawrence added the comment: Slipped under the radar? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16185 ___ ___

[issue7946] Convoy effect with I/O bound threads and New GIL

2014-07-15 Thread Dima Tisnek
Dima Tisnek added the comment: What happened to this bug and patch? -- nosy: +Dima.Tisnek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7946 ___

[issue7946] Convoy effect with I/O bound threads and New GIL

2014-07-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: Not much :) The patch is complex and the issue hasn't proved to be significant in production code. Do you have a (real-world) workload where this shows up? Le 15/07/2014 09:52, Dima Tisnek a écrit : Dima Tisnek added the comment: What happened to this bug

[issue16232] curses.textpad.Textbox backtrace support

2014-07-15 Thread Mark Lawrence
Mark Lawrence added the comment: @emeaudroid please accept our apologies for the delay in getting back to you. Can someone take a look at this please as I don't have a *nix box to play with. -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 2.6

[issue19776] Provide expanduser() on Path objects

2014-07-15 Thread Claudiu Popa
Claudiu Popa added the comment: This new patch fixes some comments from Serhiy. Thanks for the review! -- stage: commit review - patch review Added file: http://bugs.python.org/file35955/issue19776_2.patch ___ Python tracker rep...@bugs.python.org

[issue21968] 'abort' object is not callable

2014-07-15 Thread Apple Grew
Apple Grew added the comment: Oops. I totally missed this. Thanks for pointing this out. I would have never found this. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21968

[issue21968] 'abort' object is not callable

2014-07-15 Thread R. David Murray
R. David Murray added the comment: That's why we made the syntax require the 'as' keyword in 3.x :) -- nosy: +r.david.murray resolution: - not a bug stage: - resolved ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21968

[issue16242] Pickle and __getattr__

2014-07-15 Thread Mark Lawrence
Mark Lawrence added the comment: @Joseph please accept our apologies for the delay in getting back to you. -- nosy: +BreamoreBoy, alexandre.vassalotti, pitrou versions: +Python 3.4, Python 3.5 -Python 2.6 ___ Python tracker rep...@bugs.python.org

[issue16237] bdist_rpm SPEC files created with distutils may be distro specific

2014-07-15 Thread Mark Lawrence
Mark Lawrence added the comment: Who is best placed to produce a patch for this? -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16237

[issue8843] urllib2 Digest Authorization uri must match request URI

2014-07-15 Thread Mark Lawrence
Mark Lawrence added the comment: @Andrew we're sorry about the delay in getting back to you. @Senthil can you comment on this please. -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org

[issue21793] httplib client/server status refactor

2014-07-15 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: +berker.peksag stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21793 ___

[issue8843] urllib2 Digest Authorization uri must match request URI

2014-07-15 Thread Demian Brecht
Changes by Demian Brecht demianbre...@gmail.com: -- nosy: +dbrecht ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8843 ___ ___ Python-bugs-list

[issue18016] subprocess should open stdin in mode w+b on windows

2014-07-15 Thread Steve Dower
Steve Dower added the comment: With 2.7 and 3.4 (same for 32- and 64-bit): f = open('test.bin', 'wb') f.write(b' ' * (1024*1024*100)) 104857600 f.close() import os os.stat('test.bin').st_size 104857600 The linked KB only applies to VS 2003 and VS 2005 (VC7 and VC8), so I'm not entirely

[issue19450] Bug in sqlite in Windows binaries

2014-07-15 Thread Steve Dower
Steve Dower added the comment: I don't know enough about the SQLite API to determine whether we can safely upgrade from 3.6.21 in Python 2.7, but since this doesn't appear to be a security issue I don't see any solid justification for doing it anyway. If someone else does it, I'll build it,

[issue16652] socket.getfqdn docs are not explicit enough about the algorithm.

2014-07-15 Thread Mark Lawrence
Mark Lawrence added the comment: I'm assuming that this still needs doing. -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16652

[issue16729] Document how to provide defaults for setup.py commands options

2014-07-15 Thread Mark Lawrence
Mark Lawrence added the comment: @Eric could you comment on this please. -- components: -Distutils2 nosy: +BreamoreBoy, dstufft versions: -Python 2.6, Python 3.1, Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org

[issue21928] Incorrect reference to partial() in functools.wraps documentation

2014-07-15 Thread R. David Murray
R. David Murray added the comment: I would rewrite it as: This is a convenience function for invoking update_wrapper() as a function decorator when defining a wrapper function. It is equivalent to partial(update_wrapper, wrapped=wrapped, assigned=assigned, updated=updated). For example:

[issue16834] ioctl mutate_flag behavior in regard to the buffer size limit

2014-07-15 Thread Mark Lawrence
Mark Lawrence added the comment: @Yuval sorry about the delay in replying. Can a *nix person comment on this please as I stick with Windows. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16834

[issue16663] Poor documentation for METH_KEYWORDS

2014-07-15 Thread Mark Lawrence
Mark Lawrence added the comment: @r3m0t we're sorry about the delay in getting back to you. Could you write a patch that covers this? -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 2.6, Python 3.1, Python 3.2, Python 3.3 ___

[issue19954] test_tk floating point exception on my gentoo box with tk 8.6.1

2014-07-15 Thread R. David Murray
R. David Murray added the comment: Originally I didn't respond because I wanted to report it to Gentoo first, but I've never managed to do so and there's no reason to keep the issue here open when it is clearly third party. -- resolution: - third party stage: needs patch - resolved

[issue16859] tarfile.TarInfo.fromtarfile does not check read() return value

2014-07-15 Thread Mark Lawrence
Mark Lawrence added the comment: @Lars can we have a comment on this please. -- nosy: +BreamoreBoy type: - behavior versions: +Python 2.7, Python 3.4, Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16859

[issue14326] IDLE - allow shell to support different locales

2014-07-15 Thread Mark Lawrence
Mark Lawrence added the comment: @Terry one that appears to have escaped your eagle eye :) -- nosy: +BreamoreBoy, terry.reedy versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14326

[issue19450] Bug in sqlite in Windows binaries

2014-07-15 Thread Ned Deily
Ned Deily added the comment: IMO, what third-party libraries are included with the Windows and OS X binary installers, what versions of them, and when to update them are questions without firm established policy answers, say in a PEP. In many ways, for the installers we are performing the

[issue8972] subprocess.list2cmdline doesn't quote the character

2014-07-15 Thread R. David Murray
R. David Murray added the comment: The problem pointed to by this report was resolved by the revert. The issue of what to do about a list passed with shell=True is addressed (with no consensus) by issue 7839. A proposal to add a windows equivalent of shlex.quote has been floated, but no

[issue19450] Bug in sqlite in Windows binaries

2014-07-15 Thread Steve Dower
Changes by Steve Dower steve.do...@microsoft.com: -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19450 ___ ___

[issue21927] BOM appears in stdin when using Powershell

2014-07-15 Thread R. David Murray
R. David Murray added the comment: I find it amusing that the complaint is that Python isn't detecting the BOM and using the info when powershell produces it, but when python produces the BOM, it is powershell that isn't detecting it and using the information. So it looks like there's a bug

[issue17783] run the testsuite in batched mode

2014-07-15 Thread Mark Lawrence
Mark Lawrence added the comment: I'm assuming that this classifies as an enhancement and that the whole world ought to be interested in regrtest. -- nosy: +BreamoreBoy type: - enhancement versions: +Python 3.5 -Python 3.4 ___ Python tracker

[issue18615] sndhdr.whathdr could return a namedtuple

2014-07-15 Thread Claudiu Popa
Claudiu Popa added the comment: Thanks, Serhiy, for the review. Here's the updated version. -- Added file: http://bugs.python.org/file35956/issue18615.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18615

[issue17605] mingw-meta: build interpeter core

2014-07-15 Thread Mark Lawrence
Mark Lawrence added the comment: There are a pile of mingw enhancement requests with this and #18653, #18654 and #19245 being meta issues. What is the official status of mingw within Python? Is the originator of these issues solely responsible for taking them forward? -- nosy:

[issue17695] _sysconfigdata broken with universal builds on OSX

2014-07-15 Thread Mark Lawrence
Mark Lawrence added the comment: Can our OSX gurus comment on this please. -- nosy: +BreamoreBoy, ned.deily versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17695

[issue18615] sndhdr.whathdr could return a namedtuple

2014-07-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: A namedtuple is still wrongly documented. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18615 ___ ___

[issue21918] Convert test_tools to directory

2014-07-15 Thread Zachary Ware
Zachary Ware added the comment: Here's a new version of the patch in response to review comments. Patch is in --git format, which means no Rietveld link for this one. Changes from the first patch: - Remove Tools/parser/test_unparse.py entirely (moved to Lib/test/test_tools/) - Remove

[issue19776] Provide expanduser() on Path objects

2014-07-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Doc example is still looks confusing. Is your home directory /home? There is a question. What should pathlib's expanduser() do in case when user directory can't be determined (or user does not exist)? Perhaps unlike to os.path.expanduser() it should raise

[issue21084] IDLE can't deal with characters above the range (U+0000-U+FFFF)

2014-07-15 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21084 ___ ___

[issue9390] Error in sys.excepthook on windows when redirecting output of the script

2014-07-15 Thread Mark Lawrence
Mark Lawrence added the comment: I can't reproduce this with 3.4.1 or 3.5.0a0. I don't have a 2.7.x to test on, can it still be reproduced with later versions of 2.7? Does the introduction of pylauncher impact all on this wrt registry keys? -- nosy: +BreamoreBoy, steve.dower,

[issue20663] Introduce exception argument to iter

2014-07-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ram, your opening post here is essentially a copy of your opening post on python-ideas, as if the long discussion there, involving about 6 serious discussants other than you, never happened. Instead of restarting the discussion from scratch, you need to

[issue12020] Attribute error with flush on stdout,stderr

2014-07-15 Thread Mark Lawrence
Mark Lawrence added the comment: With 3.4.1 and similarly with 3.5.0a0 I get Testing python 3.4 C:\python34\python.exe: can't open file 'attributeError.py': [Errno 2] No such file or directory Traceback (most recent call last): File C:\Users\Mark\MyPython\mytest.py, line 34, in module

[issue20663] Introduce exception argument to iter

2014-07-15 Thread Ram Rachum
Ram Rachum added the comment: Terry: Thanks for your example use case. I hope that Raymond would be convinced. I take your point regarding summarizing the discussion, sorry about that. Regarding me writing a test: I'm only willing to write code for a feature for Python if there's general

[issue21935] Implement AUTH command in smtpd.

2014-07-15 Thread Milan Oberkirch
Milan Oberkirch added the comment: There is no real API in the current patch and authenticating has no effect (other then preventing you from authenticating again and storing the username). I am wondering how the user should turn AUTH on/off. Solution 1: add a keyword argument 'enable_AUTH'

[issue21935] Implement AUTH command in smtpd.

2014-07-15 Thread R. David Murray
R. David Murray added the comment: Describing how a programmer would implement authentication is exactly the API I was referring to, and that includes the signature and semantics of _verify_user_credentials. I agree that (1) seems the cleanest. I'd favor 1.1, NotImplemented, which lets the

[issue21918] Convert test_tools to directory

2014-07-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: About load_tests() -- look at Lib/test/test_email/__init__.py. Otherwise LGTM. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21918 ___

[issue11702] dir on return value of msilib.OpenDatabase() crashes python

2014-07-15 Thread Mark Lawrence
Mark Lawrence added the comment: The attached patch is short and sweet and looks okay to my untrained eye. I believe it should apply cleanly as there've been very few changes to _msi.c. Can we have a formal patch review please. -- nosy: +BreamoreBoy, steve.dower, tim.golden,

[issue11702] dir on return value of msilib.OpenDatabase() crashes python

2014-07-15 Thread Brian Curtin
Changes by Brian Curtin br...@python.org: -- nosy: -brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11702 ___ ___ Python-bugs-list

[issue21645] test_read_all_from_pipe_reader() of test_asyncio hangs on FreeBSD 9

2014-07-15 Thread STINNER Victor
STINNER Victor added the comment: I created a new repository just for this issue: http://hg.python.org/sandbox/issue21645 I added a lot of debug. It looks like a race condition: the SIGCHLD signal is handled in a thread B (a C thread, not a Python), whereas the asyncio event loop is running

[issue21645] test_read_all_from_pipe_reader() of test_asyncio hangs on FreeBSD 9

2014-07-15 Thread STINNER Victor
STINNER Victor added the comment: I'm running tests on the buildbot AMD64 FreeBSD 9.0 custom: http://buildbot.python.org/all/builders/AMD64%20FreeBSD%209.0%20custom/builds/27/steps/test/logs/stdio -- ___ Python tracker rep...@bugs.python.org

[issue18615] sndhdr.whathdr could return a namedtuple

2014-07-15 Thread Claudiu Popa
Claudiu Popa added the comment: Here's a new version. It adds versionchanged directive for 'whathdr' and 'what'. Serhiy, I hope that now I got right the documentation of the return type. I didn't understand at first what was wrong. -- Added file:

[issue21645] test_read_all_from_pipe_reader() of test_asyncio hangs on FreeBSD 9

2014-07-15 Thread STINNER Victor
STINNER Victor added the comment: (1) the thread B gets the SIGCHLD signal: it writes a byte into the self pipe of the event loop C signal_handler: sig_num=20, thread=34468857856 trip_signal(20): write() (2) in the main thread, the event loop is awaken by the write in the pipe... but

[issue9699] invalid call of Windows API _popen() generating The input line is too long error message

2014-07-15 Thread Mark Lawrence
Mark Lawrence added the comment: @Tim can you pick this up? -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9699 ___

[issue21765] Idle: make 3.x HyperParser work with non-ascii identifiers.

2014-07-15 Thread Tal Einat
Tal Einat added the comment: I'm attaching a patch which really fixes this issue, along with additional tests for idlelib.HyperParser. I did indeed have to fix PyParse as well. I got it working with re.subn() as Martin suggested, but the performance was much worse (between 100x and 1000x

[issue9099] multiprocessing/win32: WindowsError: [Error 0] Success on Pipe()

2014-07-15 Thread Mark Lawrence
Mark Lawrence added the comment: I'm not sure how we take this forward as the code was changed via #11750, can somebody please advise. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9099

[issue20663] Introduce exception argument to iter

2014-07-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Here is a test that now fails. from collections import deque d = deque((0,)) old = [] try: while True: n = d.popleft() old.append((n, len(d))) if n 5: d.extend((n+1, n+2)) except IndexError: pass d =

[issue6820] Redefinition of HAVE_STRFTIME can cause compiler errors.

2014-07-15 Thread Mark Lawrence
Mark Lawrence added the comment: There is no way that I'm commenting on the patch as it's against pyconfig.h, what do our experts think of this? -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 2.6 ___ Python tracker

[issue21645] Race condition in signal handling on FreeBSD

2014-07-15 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- title: test_read_all_from_pipe_reader() of test_asyncio hangs on FreeBSD 9 - Race condition in signal handling on FreeBSD ___ Python tracker rep...@bugs.python.org

[issue12480] urllib2 doesn't use proxy (fieddler2), configed the proxy with ProxyHandler

2014-07-15 Thread Mark Lawrence
Mark Lawrence added the comment: @Senthil what if anything can we do with this issue? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12480 ___

[issue9099] multiprocessing/win32: WindowsError: [Error 0] Success on Pipe()

2014-07-15 Thread Brian Curtin
Changes by Brian Curtin br...@python.org: -- nosy: -brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9099 ___ ___ Python-bugs-list

[issue9699] invalid call of Windows API _popen() generating The input line is too long error message

2014-07-15 Thread Brian Curtin
Changes by Brian Curtin br...@python.org: -- nosy: -brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9699 ___ ___ Python-bugs-list

[issue21765] Idle: make 3.x HyperParser work with non-ascii identifiers.

2014-07-15 Thread Tal Einat
Changes by Tal Einat talei...@gmail.com: Removed file: http://bugs.python.org/file35959/taleinat.20140716.IDLE_HyperParser_unicode_ids.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21765 ___

[issue21765] Idle: make 3.x HyperParser work with non-ascii identifiers.

2014-07-15 Thread Tal Einat
Changes by Tal Einat talei...@gmail.com: Added file: http://bugs.python.org/file35960/taleinat.20140716.IDLE_HyperParser_unicode_ids_v2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21765 ___

[issue9341] allow argparse subcommands to be grouped

2014-07-15 Thread paul j3
paul j3 added the comment: This patch probably won't work with [parents]. see http://bugs.python.org/issue16807 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9341 ___

[issue21985] test_asyncio prints some junk

2014-07-15 Thread Antoine Pitrou
New submission from Antoine Pitrou: It could be nice if it could stay silent (at least in non-verbose mode). [ 24/390] test_asyncio Task was destroyed but it is pending! task: Task pending coro=CoroutineGatherTests.wrap_futures.locals.coro() running at

[issue21927] BOM appears in stdin when using Powershell

2014-07-15 Thread Jason R. Coombs
Jason R. Coombs added the comment: I agree there appears to be an inconsistency in how Powershell handles pipes between child processes and between itself and child processes. I'm not complaining about Python, but rather trying to find the best practice here. I'm currently using

[issue16807] argparse group nesting lost on inheritance

2014-07-15 Thread paul j3
paul j3 added the comment: The subcommands grouping mechanism proposed in http://bugs.python.org/issue9341 probably does not work with [parents] either. This _add_container_actions method is brittle. It has to know too much about the structure of a parser and its groups. Any change to that

[issue17250] argparse: Issue 15906 patch; positional with nargs='*' and string default

2014-07-15 Thread paul j3
paul j3 added the comment: Positionals with '*' are discussed in more detail in: http://bugs.python.org/issue9625 - argparse: Problem with defaults for variable nargs when using choices http://bugs.python.org/issue16878 - argparse: positional args with nargs='*' defaults to []

[issue16878] argparse: positional args with nargs='*' defaults to []

2014-07-15 Thread paul j3
paul j3 added the comment: The documentation patch here should note that a positional '*' string default is not parsed (i.e. does not pass through _get_value). (see http://bugs.python.org/issue17250) -- ___ Python tracker rep...@bugs.python.org

[issue21986] Pickleability of code objects is inconsistent

2014-07-15 Thread ppperry
New submission from ppperry: In IDLE: code = compile(dummy_code, test, exec) pickle.dumps(code) cidlelib.rpc\nunpickle_code\np0\n(S'c\\x00\\x00\\x00\\x00\\x00\\x00

[issue21955] ceval.c: implement fast path for integers with a single digit

2014-07-15 Thread Zach Byrne
Zach Byrne added the comment: So I'm trying something pretty similar to Victor's pseudo-code and just using timeit to look for speedups timeit('x+x', 'x=10', number=1000) before: 1.193423141393 1.1988609210002323 1.1998214110003573 1.206968028999654 1.2065417159997196 after:

[issue21793] httplib client/server status refactor

2014-07-15 Thread Martin Panter
Changes by Martin Panter vadmium...@gmail.com: -- nosy: +vadmium ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21793 ___ ___ Python-bugs-list

[issue21986] Pickleability of code objects is inconsistent

2014-07-15 Thread ppperry
Changes by ppperry maprea...@olum.org: -- type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21986 ___ ___ Python-bugs-list mailing

[issue21815] imaplib truncates some untagged responses

2014-07-15 Thread Lita Cho
Lita Cho added the comment: I have a patch for this. With my patch, the debug output is fixed. -- keywords: +patch Added file: http://bugs.python.org/file35962/imap_regex.patch ___ Python tracker rep...@bugs.python.org

[issue21815] imaplib truncates some untagged responses

2014-07-15 Thread Lita Cho
Lita Cho added the comment: Here is a log of the output. -- Added file: http://bugs.python.org/file35963/imaplib_log_with_patch.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21815 ___

[issue21901] test_selectors.PollSelectorTestCase.test_above_fd_setsize reported killed by shell

2014-07-15 Thread R. David Murray
R. David Murray added the comment: rdmurray@pydev:~/python/p34python -c 'import resource; print(resource.getrlimit(resource.RLIMIT_NOFILE))' (1024L, 1048576L) Unfortunately the buildbot box is offline at the moment and it may be a bit before I can get it back, so I can't compare the results

[issue16237] bdist_rpm SPEC files created with distutils may be distro specific

2014-07-15 Thread Nick Coghlan
Nick Coghlan added the comment: Actually, with RHEL and CentOS 7 out the door, I believe we could potentially just rip the whole mess out of the upstream project. Slavek, this is about a hack Dave and I put into bdist_rpm to get Python 3 packages building correctly on RHEL 6. I believe the

[issue21986] Pickleability of code objects is inconsistent

2014-07-15 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +kbk, roger.serwy, terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21986 ___ ___

[issue21987] TarFile.getmember on directory requires trailing slash iff over 100 chars

2014-07-15 Thread Brendan Moloney
New submission from Brendan Moloney: If a directory path is under 100 char you have to omit the trailing slash from the name passed to 'getmember'. If it is over 100 you have to include the trailing slash. As a work around I can use the private '_getmember' with 'normalize=True'. I tested on

[issue21815] imaplib truncates some untagged responses

2014-07-15 Thread Jessica McKellar
Jessica McKellar added the comment: Thanks for the patch, Lita! Lita: I have some patch feedback for you at the end of this message. -- Lita and I talked about this a bit via email; here's some additional context from that conversation: There were a couple of questions to answer before

[issue21815] imaplib truncates some untagged responses

2014-07-15 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21815 ___

[issue16729] Document how to provide defaults for setup.py commands options

2014-07-15 Thread Éric Araujo
Éric Araujo added the comment: In my opinion it's easier and more common to put default options in a setup.cfg file, rather than in the Python code. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16729

[issue21815] imaplib truncates some untagged responses

2014-07-15 Thread Lita Cho
Lita Cho added the comment: Yes! I agree, this change will need tests. I will start working on creating those now. Here is test I did to create a flag with brackets. import imaplib mail = imaplib.IMAP4_SSL('imap.gmail.com') mail.login('usern...@gmail.com', 'password') # Enter your login here

[issue12800] 'tarfile.StreamError: seeking backwards is not allowed' when extract symlink

2014-07-15 Thread Andrew Garner
Andrew Garner added the comment: This seems to be a similar to issue10761 where symlinks are not being overwritten by TarFile.extract but is only an issue in streaming mode and only in python3. To reproduce, attempt to extract a symlink from a tarfile opened with 'r|' and overwrite an

[issue21815] imaplib truncates some untagged responses

2014-07-15 Thread Lita Cho
Lita Cho added the comment: Here is the code in order to see the bug. imaplib.Debug = 5 mail = imaplib.IMAP4_SSL('imap.gmail.com') mail.login(username, password) # Enter your login here mail.select('test') -- ___ Python tracker

  1   2   >