[issue17285] subprocess.check_output incorrectly state that output is always bytes

2013-03-19 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- resolution: -> fixed stage: needs patch -> commit review status: open -> closed ___ Python tracker ___ _

[issue17285] subprocess.check_output incorrectly state that output is always bytes

2013-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset f4accfad1bf6 by Gregory P. Smith in branch '3.3': clarifiy the documentation for issue17285. see also commit http://hg.python.org/cpython/rev/f4accfad1bf6 New changeset d31cab1dabae by Gregory P. Smith in branch 'default': clarifiy the documentation

[issue16512] imghdr doesn't support jpegs with an ICC profile

2013-03-19 Thread Kovid Goyal
Kovid Goyal added the comment: The attached patch is insufficient, for example, it fails on http://nationalpostnews.files.wordpress.com/2013/03/budget.jpeg?w=300&h=1571 Note that the linux file utility identifies a files as "JPEG Image data" if the first two bytes of the file are \xff\xd8. A

[issue12466] sporadic failures of test_close_fds and test_pass_fds in test_subprocess

2013-03-19 Thread Gregory P. Smith
Gregory P. Smith added the comment: Some way for me to reproduce this is needed. -- stage: -> test needed ___ Python tracker ___ ___

[issue16475] Support object instancing and recursion in marshal

2013-03-19 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: I should add comments explaining this to the file. -- ___ Python tracker ___ ___ Python-bugs

[issue16475] Support object instancing and recursion in marshal

2013-03-19 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: I thought I had explained this already, but can't find it, so here is the explanation: It matches the pattern of r_ref(), which semantically is a combination of r_ref_register() and r_ref_insert(). It is a convenence calling pattern because these funct

[issue16475] Support object instancing and recursion in marshal

2013-03-19 Thread Benjamin Peterson
Benjamin Peterson added the comment: I don't understand some of this code. Why does r_ref_reserve take a first parameter which it just returns on success without using? -- nosy: +benjamin.peterson ___ Python tracker

[issue17474] Remove the deprecated methods of Request class

2013-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset d805cfa523ec by Senthil Kumaran in branch '3.3': #17474 - Mark the deprecated Request methods as deprecated-removed. Review by Ezio Melotti http://hg.python.org/cpython/rev/d805cfa523ec New changeset ed6817ff19b8 by Senthil Kumaran in branch 'defau

[issue17490] Use converter functions to implement ast.literal_eval

2013-03-19 Thread Nick Coghlan
Nick Coghlan added the comment: Heh, that's what I get for wanting to go get dinner. I'll regenerate it in the morning. -- ___ Python tracker ___

[issue12466] sporadic failures of test_close_fds and test_pass_fds in test_subprocess

2013-03-19 Thread Gregory P. Smith
Gregory P. Smith added the comment: fyi - sem_open is unrelated, nothing in subprocess needs that. -- ___ Python tracker ___ ___ Pytho

[issue17485] Deleting Request data does not update Content-length header.

2013-03-19 Thread R. David Murray
R. David Murray added the comment: Thanks, Daniel. I moved the test so that it would be run even if the network resource is not enabled. -- nosy: +r.david.murray resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> behavior _

[issue17490] Use converter functions to implement ast.literal_eval

2013-03-19 Thread Benjamin Peterson
Benjamin Peterson added the comment: Interesting patch. :) -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mai

[issue16464] urllib.request: opener not resetting content-length

2013-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset b1579eb4e1bc by R David Murray in branch 'default': #17485: Delete the Content-Length header if the data attribute is deleted. http://hg.python.org/cpython/rev/b1579eb4e1bc -- ___ Python tracker

[issue17485] Deleting Request data does not update Content-length header.

2013-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset b1579eb4e1bc by R David Murray in branch 'default': #17485: Delete the Content-Length header if the data attribute is deleted. http://hg.python.org/cpython/rev/b1579eb4e1bc -- nosy: +python-dev ___ Python

[issue15038] Optimize python Locks on Windows

2013-03-19 Thread Kristján Valur Jónsson
Changes by Kristján Valur Jónsson : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailin

[issue15038] Optimize python Locks on Windows

2013-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 08b87dda6f6a by Kristján Valur Jónsson in branch 'default': Issue #15038 : Fixing the condition broadcast and docs. http://hg.python.org/cpython/rev/08b87dda6f6a New changeset fde60d3f542e by Kristján Valur Jónsson in branch '3.3': Issue #15038 : Fi

[issue10296] ctypes catches BreakPoint error on windows 32

2013-03-19 Thread Kristján Valur Jónsson
Changes by Kristján Valur Jónsson : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailin

[issue13477] tarfile module should have a command line

2013-03-19 Thread Brandon Craig Rhodes
Brandon Craig Rhodes added the comment: Larry Hastings writes: > Huh. tar *can* infer it from the data itself. On the other hand, it > chooses explicitly not to. I guess "tar" knows explicit is better > than implicit too ;-) I am told that the refusal of "tar" to introspect the data is beca

[issue17492] Increase test coverage for random (up to 99%)

2013-03-19 Thread Víctor Terrón
New submission from Víctor Terrón: I'm attaching a patch to increase the code coverage of the random module to 99% (only one line missing, see issue #17489; it's reported as 89%, however, because of the _test(N=2000) function, which is not executed when the unit tests are run). Many of the new

[issue16475] Support object instancing and recursion in marshal

2013-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 01372117a5b4 by Kristján Valur Jónsson in branch 'default': Issue #16475: Support object instancing, recursion and interned strings http://hg.python.org/cpython/rev/01372117a5b4 -- nosy: +python-dev ___ P

[issue2052] Allow changing difflib._file_template character encoding.

2013-03-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: In 3.2, it is line 1629: content="text/html; charset=ISO-8859-1" /> That charset was only standard for Western European documents limited to that charset. Now, even such limited-char docs often use 'utf-8' (python.org does). The result of putting an

[issue17491] Consolidate traceback.format_tb and traceback.print_tb

2013-03-19 Thread Radu Voicilas
New submission from Radu Voicilas: This is a patch that consolidates the implementation of traceback.format_tb and traceback.print_tb into one common internal function traceback._get_tb. The current implementations are almost identical, except that the print_tb() ones also prints to a file ...

[issue15927] csv.reader() does not support escaped newline when quoting=csv.QUOTE_NONE

2013-03-19 Thread R. David Murray
R. David Murray added the comment: Although this is clearly a bug fix, it also represents a behavior change that could cause a working program to fail. I have therefore only applied it to 3.4, but I'm open to arguments that it should be backported. Thanks for the patch, Michael. -- a

[issue15927] csv.reader() does not support escaped newline when quoting=csv.QUOTE_NONE

2013-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 940748853712 by R David Murray in branch 'default': #15927: Fix cvs.reader parsing of escaped \r\n with quoting off. http://hg.python.org/cpython/rev/940748853712 -- nosy: +python-dev ___ Python tracker

[issue17490] Use converter functions to implement ast.literal_eval

2013-03-19 Thread Nick Coghlan
Changes by Nick Coghlan : -- nosy: +larry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue17490] Use converter functions to implement ast.literal_eval

2013-03-19 Thread Nick Coghlan
New submission from Nick Coghlan: Currently, ast.literal_eval uses a long if/elif chain to implement the limited parsing of the AST. This issue proposes changing the implementation to make it easy to extend to cover some of the implementation details of PEP 436 (Argument Clinic). -- f

[issue17489] random.Random implements __getstate__() and __reduce__()

2013-03-19 Thread Víctor Terrón
New submission from Víctor Terrón: The random.Random class implements both the __getstate__() and __reduce__() methods. My knowledge of the pickle module is very limited, but apparently this causes __getstate__() never to get called. Maybe this is a remnant from earlier code, or are both metho

[issue15927] csv.reader() does not support escaped newline when quoting=csv.QUOTE_NONE

2013-03-19 Thread Michael Johnson
Michael Johnson added the comment: On input, the reader sees a line like ['one\\\n','element'] from the file iterator and successfully escapes the newline character, but still interprets the end of the string as the end of a record. I've attached a patch that modifies this behavior, so

[issue16754] Incorrect shared library extension on linux

2013-03-19 Thread Matthias Klose
Matthias Klose added the comment: the patch so.diff - introduces two new macros EXT_SUFFIX and SHLIB_SUFFIX, and uses these instead of the SO macro. - keeps the SO macro, and restores it to it's original value - Removes the SHLIB_EXT preprocessor define (only used in Python/dynload_hpux

[issue17488] subprocess.Popen bufsize=0 parameter behaves differently in Python 3 than in 2

2013-03-19 Thread Gregory P. Smith
New submission from Gregory P. Smith: The subprocess module in Python 3 uses io.open(file_descriptor, mode, bufsize) to create its Popen stdout, stderr and stdin file objects. In Python 2, it used the old os.fdopen which created an old-style python 2 file object that simply wraps libc's FILE*

[issue5550] [urllib.request]: Comparison of HTTP headers should be insensitive to the case

2013-03-19 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: -> orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue16754] Incorrect shared library extension on linux

2013-03-19 Thread Nick Coghlan
Changes by Nick Coghlan : -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue10212] struct.unpack and cStringIO.StringIO don't support new buffer

2013-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset be4bec689de3 by Kristján Valur Jónsson in branch '2.7': Issue #10212: Support new buffer interface for struct.unpack and http://hg.python.org/cpython/rev/be4bec689de3 -- nosy: +python-dev ___ Python track

[issue10211] BufferObject doesn't support new buffer interface

2013-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6b3217b96a77 by Kristján Valur Jónsson in branch '2.7': Issue #10211 : Buffer object should support the new buffer interface. http://hg.python.org/cpython/rev/6b3217b96a77 -- nosy: +python-dev ___ Python

[issue12098] Child process running as debug on Windows

2013-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset b0b507268d7c by Kristján Valur Jónsson in branch '2.7': Issue #12098 : Fix a missing import in the unittests. http://hg.python.org/cpython/rev/b0b507268d7c -- ___ Python tracker

[issue17467] Enhancement: give mock_open readline() and readlines() methods

2013-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 684b75600fa9 by Michael Foord in branch 'default': Closes issue 17467. Add readline and readlines support to unittest.mock.mock_open http://hg.python.org/cpython/rev/684b75600fa9 -- nosy: +python-dev resolution: -> fixed stage: patch revie

[issue17245] ctypes libffi needs to align the x86 stack to 16 bytes

2013-03-19 Thread Gregory P. Smith
Gregory P. Smith added the comment: I've updated libffi to v3.0.13 which contains the fixes for this in 2.7, 3.2, 3.3 and 3.4. if someone wants to apply a surgical patch to fix this problem, the one mentioned above is good as well as: https://github.com/atgreen/libffi/commit/ee18766b1698114

[issue12098] Child process running as debug on Windows

2013-03-19 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: The buildbots page has been down for a while now, I can't see what's going on. -- ___ Python tracker ___ ___

[issue15235] allow newer berkeley db versions

2013-03-19 Thread Matthias Klose
Matthias Klose added the comment: fixed -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list ma

[issue17484] add tests for getpass

2013-03-19 Thread R. David Murray
R. David Murray added the comment: I've added some review comments, mostly style issues. -- nosy: +r.david.murray ___ Python tracker ___ _

[issue16293] curses.ungetch raises OverflowError when given -1

2013-03-19 Thread STINNER Victor
STINNER Victor added the comment: The following example returns immediatly, whereas I expected it to block. So I consider that ungetch(-1) should fail, but I may be wrong. --- import curses def test_screen(screen): screen.nodelay(True) key = screen.getch() screen.nodelay(False)

[issue17477] update the bsddb module do build with db 5.x versions

2013-03-19 Thread Matthias Klose
Matthias Klose added the comment: > Is this a backport "as-is" of the external pybsddb3 5.3.0 code I maintain?. > If that is the case, could be some incompatibilities with current > bsddb module in stock 2.7. yes. Could you point me to these possible incompatibilities? Afaics all test cases did

[issue17471] Patch for Additional Test Coverage for urllib.error

2013-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset ae9aea1b3546 by Senthil Kumaran in branch '3.2': #17471 - Increasing the urllib.error test coverage. Bringing it to 100%. Based on patch contributed by Daniel Wozniak http://hg.python.org/cpython/rev/ae9aea1b3546 New changeset 8e9cf147fbca by Senth

[issue17477] update the bsddb module do build with db 5.x versions

2013-03-19 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- nosy: -gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue13248] deprecated in 3.2/3.3, should be removed in 3.4

2013-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 612d8bbcfa3a by Terry Jan Reedy in branch 'default': Issue #13248: removed deprecated and undocumented difflib.isbjunk, isbpopular. http://hg.python.org/cpython/rev/612d8bbcfa3a -- ___ Python tracker

[issue17209] get_wch() doesn't handle KeyboardInterrupt

2013-03-19 Thread STINNER Victor
STINNER Victor added the comment: See also #8862. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue8862] curses.wrapper does not restore terminal if curses.getkey() gets KeyboardInterrupt

2013-03-19 Thread STINNER Victor
STINNER Victor added the comment: See also #17209. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue17192] libffi-3.0.13 import

2013-03-19 Thread Gregory P. Smith
Gregory P. Smith added the comment: 2.7, 3.2, 3.3 and 3.4 have all be updated to ctypes v3.0.13. fwiw, I tried a build of 3.3 on Sparc Solaris 10 using snakebite (nitrogen) and ctypes builds and links but two tests fail: ctypes.test.test_bitfields.C_Test test_ints and test_shorts failed. That

[issue17477] update the bsddb module do build with db 5.x versions

2013-03-19 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Berkeley DB 6.0 is inminent. A month or two. Is this a backport "as-is" of the external pybsddb3 5.3.0 code I maintain?. If that is the case, could be some incompatibilities with current bsddb module in stock 2.7. I don't care (a lot) anymore keeping compatib

[issue17471] Patch for Additional Test Coverage for urllib.error

2013-03-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: Avoiding the static test is actually a good idea for Exception "messages", as there is no guarantee for those to be consistent across revs. But this one is slightly different in HTTPError str represent and we better be consistent in this. I dont see changing

[issue10296] ctypes catches BreakPoint error on windows 32

2013-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset b2e8392a8f77 by Kristján Valur Jónsson in branch '2.7': Issue #10296 : Don't handle BreakPoint exceptions using http://hg.python.org/cpython/rev/b2e8392a8f77 New changeset bc5778b488c1 by Kristján Valur Jónsson in branch '3.2': Issue #10296 : Don't

[issue17445] Handle bytes comparisons in difflib.Differ

2013-03-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: The surrogate escape approach embodies the 3.x recommendation: decode bytes to strings, manipulate strings, encode strings to bytes. It also makes it possible to wrap the existing context/unified_diff functions, without touching them, with a simple 12 line funct

[issue1525919] email package content-transfer-encoding behaviour changed

2013-03-19 Thread R. David Murray
Changes by R. David Murray : -- title: email package quoted printable behaviour changed -> email package content-transfer-encoding behaviour changed ___ Python tracker ___ ___

[issue1525919] email package quoted printable behaviour changed

2013-03-19 Thread R. David Murray
R. David Murray added the comment: I've committed the doc change. I'm going to be lazy and leave this issue open to deal with the encodings module fix. -- ___ Python tracker

[issue12098] Child process running as debug on Windows

2013-03-19 Thread R. David Murray
R. David Murray added the comment: Early indications are that this backport broke test running on the buildbots: http://buildbot.python.org/all/builders/AMD64%20OpenIndiana%202.7/builds/1614 -- nosy: +r.david.murray ___ Python tracker

[issue17471] Patch for Additional Test Coverage for urllib.error

2013-03-19 Thread Daniel Wozniak
Daniel Wozniak added the comment: Sure, your way is much easier to tell what is getting tested. The only thing I was trying to avoid is including the static text "HTTP Error" so the test will not break if that static text changes. That said, I really doubt the text would change for any reason.

[issue17150] pprint could use line continuation for long string literals

2013-03-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a patch. -- keywords: +patch stage: -> patch review Added file: http://bugs.python.org/file29492/str_pprint.patch ___ Python tracker __

[issue17471] Patch for Additional Test Coverage for urllib.error

2013-03-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: Daniel, Agree to your point. Sorry that i did not run the coverage before. I would prefer to do the check this way for readability of the test code and get to 100% coverage. >>> expected_errmsg = 'HTTP Error %s: %s' %(err.code, err.msg) >>>

[issue17192] libffi-3.0.13 import

2013-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 43e8da639462 by Gregory P. Smith in branch '3.2': Fixes issue #17192: Update the ctypes module's libffi to v3.0.13. This http://hg.python.org/cpython/rev/43e8da639462 New changeset f23274357fc8 by Gregory P. Smith in branch '3.3': Fixes Issue #1719

[issue17484] add tests for getpass

2013-03-19 Thread Thomas Fenzl
Changes by Thomas Fenzl : Added file: http://bugs.python.org/file29491/getpass_tests-2.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue1525919] email package quoted printable behaviour changed

2013-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset ba500b179c3a by R David Murray in branch '3.2': #1525919: Document MIMEText+set_payload encoding behavior. http://hg.python.org/cpython/rev/ba500b179c3a New changeset fcbc28ef96a3 by R David Murray in branch '3.3': Merge: #1525919: Document MIMEText

[issue17484] add tests for getpass

2013-03-19 Thread Thomas Fenzl
New submission from Thomas Fenzl: This is a patch adding tests for the platform independend and unix specific parts of getpass. I also default initialized passwd in unix_getpass. Otherwise almost all tests would require full mocking of termios settings and such. -- keywords: +patch Add

[issue12098] Child process running as debug on Windows

2013-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 37f52e71f4cd by Kristján Valur Jónsson in branch '2.7': Issue #12098: multiprocessing on Windows now starts child processes http://hg.python.org/cpython/rev/37f52e71f4cd -- ___ Python tracker

[issue17480] pyvenv should be installed someplace more obvious on Windows

2013-03-19 Thread Jason R. Coombs
Jason R. Coombs added the comment: The installers don't put anything on PATH by default. Activestate installers and my custom installers do put PythonNN and PythonNN\Scripts on the path. It's true that PythonNN\Scripts is the place that third-party command-line tools are installed. I don't bel

[issue1159051] Handle corrupted gzip files with unexpected EOF

2013-03-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I will be offline some time. Feel free to revert these changes in 2.7-3.3 if it is necessary. -- ___ Python tracker ___ ___

[issue17477] update the bsddb module do build with db 5.x versions

2013-03-19 Thread Matthias Klose
Matthias Klose added the comment: checked the update with 4.6, 5.1 and 5.3 builds. -- ___ Python tracker ___ ___ Python-bugs-list mail

[issue17477] update the bsddb module do build with db 5.x versions

2013-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 83fd64c97296 by doko in branch '2.7': - Issue #17477: Update the bsddb module to pybsddb 5.3.0, supporting http://hg.python.org/cpython/rev/83fd64c97296 New changeset df9d2adafc2c by doko in branch '2.7': Reindent files for: http://hg.python.org/cpy

[issue9350] add remove_argument_group to argparse

2013-03-19 Thread Sanjeev Paskaradevan
Changes by Sanjeev Paskaradevan : -- versions: +Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue1525919] email package quoted printable behaviour changed

2013-03-19 Thread R. David Murray
R. David Murray added the comment: Reviewing this again, it seems to me that there are two separate issues reported here: (1) set_payload on an existing MIMEText object no longer encodes (but it has now been a long time since it changed). (2) the functions in the encodings module, given an alr

[issue9350] add remove_argument_group to argparse

2013-03-19 Thread Sanjeev Paskaradevan
Changes by Sanjeev Paskaradevan : -- keywords: +patch Added file: http://bugs.python.org/file29489/remove_argument_group.patch ___ Python tracker ___ _

[issue9350] add remove_argument_group to argparse

2013-03-19 Thread Sanjeev Paskaradevan
Changes by Sanjeev Paskaradevan : -- nosy: +Sanjeev ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue5550] [urllib.request]: Comparison of HTTP headers should be insensitive to the case

2013-03-19 Thread karl
karl added the comment: The wireshark trace is a different domain than the code example. But let's see. cocobear added: headers = [("Content-Type","application/oct-stream"),] with a "Content-Type", not the capitalized "Type". BUT in the source code or urllib/request.py there is http://hg.pyt

[issue17487] wave.Wave_read.getparams should be more user friendly

2013-03-19 Thread R. David Murray
R. David Murray added the comment: This seems like a reasonable idea to me, thanks for the patch. Adding tests for getparams would be a good thing ;) -- nosy: +r.david.murray versions: -Python 3.3 ___ Python tracker

[issue17465] Gut devinabox

2013-03-19 Thread R. David Murray
R. David Murray added the comment: Coverage takes a long time to run. So I think what is needed is running it once to build the full report (I then shared that on a local http server), and a script the sprinters can run to re-run it just against the module they are writing tests for. Which i

[issue17465] Gut devinabox

2013-03-19 Thread Brett Cannon
Brett Cannon added the comment: One piece of feedback I could stand to get from people who have used a devinabox at a sprint is how often a certain step is repeated in terms of coverage.py (since it's the most complicated one). Which one happens the most? 1. Checkout, setup, build, and cover o

[issue1159051] Handle corrupted gzip files with unexpected EOF

2013-03-19 Thread Matthias Klose
Changes by Matthias Klose : -- priority: release blocker -> normal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue17487] wave.Wave_read.getparams should be more user friendly

2013-03-19 Thread Popa Claudiu
New submission from Popa Claudiu: wave.Wave_read/Wave_write.getparams returns a tuple with various info about the wav file, when it could return a namedtuple, that can be manipulated in a richer way. I attached a patch. It doesn't have any tests, mainly because .getparams isn't tested at all i

[issue9090] Error code 10035 calling socket.recv() on a socket with a timeout (WSAEWOULDBLOCK - A non-blocking socket operation could not be completed immediately)

2013-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0f5e1e642dc3 by Kristján Valur Jónsson in branch '2.7': issue #9090 : Take the same approach for socketmodule as daytimemodule http://hg.python.org/cpython/rev/0f5e1e642dc3 -- ___ Python tracker

[issue17471] Patch for Additional Test Coverage for urllib.error

2013-03-19 Thread Daniel Wozniak
Daniel Wozniak added the comment: Senthil, The two lines you excluded from that patch give us coverage on HTTPError.__str__ , I added to the existing interface test so as not to re-produce the code there. I still think it could be added since it will give us that last line of coverage and ver

[issue17445] Handle bytes comparisons in difflib.Differ

2013-03-19 Thread R. David Murray
Changes by R. David Murray : Removed file: http://bugs.python.org/file29486/6dedcdbe7cd5.diff ___ Python tracker ___ ___ Python-bugs-list mail

[issue17465] Gut devinabox

2013-03-19 Thread Brett Cannon
Brett Cannon added the comment: Here is the overall plan. 1. A README for core devs leading a sprint to make sure they remember to have the right repositories cloned, files downloaded, and docs built; stuff they already know how to do and thus don't need a tool to do for them which constantly

[issue17477] update the bsddb module do build with db 5.x versions

2013-03-19 Thread Gregory P. Smith
Gregory P. Smith added the comment: fyi, I un-cc'd myself as I don't maintain this module anymore; jcea does. :) I agree with the patch. Support for anything older than 4.3 is completely pointless in 2.7 and supporting 5.x is likely required for future OS distros wanting to ship 2.7. ---

[issue17471] Patch for Additional Test Coverage for urllib.error

2013-03-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: Daniel - I could not really get the need for this check. +>>> msg = str(err) +>>> str(err.code) in msg and err.msg in msg The other one was really useful and probably covered the reasonstr. Thanks for the patch. -- resolution: -> fixed stage

[issue17471] Patch for Additional Test Coverage for urllib.error

2013-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 33f02ccb5301 by Senthil Kumaran in branch '3.2': #17471 - Improve urllib2 test coverage. Patch contributed by Daniel Wozniak http://hg.python.org/cpython/rev/33f02ccb5301 New changeset 4e59a7fc69c6 by Senthil Kumaran in branch '3.3': #17471 - merge

[issue17477] update the bsddb module do build with db 5.x versions

2013-03-19 Thread Matthias Klose
Changes by Matthias Klose : Added file: http://bugs.python.org/file29487/bsddb.diff ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue17477] update the bsddb module do build with db 5.x versions

2013-03-19 Thread Matthias Klose
Changes by Matthias Klose : Removed file: http://bugs.python.org/file29475/bsddb.diff ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue17486] datetime.timezone returns the wrong tzname()

2013-03-19 Thread Lennart Regebro
New submission from Lennart Regebro: When calling tzname() on a timezone object it will return "UTC" + the offset. >>> from datetime import timezone, timedelta, datetime >>> tz = timezone(timedelta(hours=3)) >>> dt = datetime(2013, 3, 14, 12, 30, tzinfo=tz) >>> dt.tzname() 'UTC+03:00' But this

[issue17445] Handle bytes comparisons in difflib.Differ

2013-03-19 Thread R. David Murray
Changes by R. David Murray : -- keywords: +patch Added file: http://bugs.python.org/file29486/6dedcdbe7cd5.diff ___ Python tracker ___ ___

[issue8862] curses.wrapper does not restore terminal if curses.getkey() gets KeyboardInterrupt

2013-03-19 Thread R. David Murray
R. David Murray added the comment: Committed. We couldn't think of a way to write a test, so I committed it without one. Thanks July and Marc. -- nosy: +r.david.murray resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 3.3, Python 3.4 ___

[issue17468] Generator memory leak

2013-03-19 Thread Anssi Kääriäinen
Anssi Kääriäinen added the comment: I am trying to read the code, and it seems objects of type generator are uncollectable if the code of the generator has a block of other type than SETUP_LOOP. I can see how try-finally for example in the generator would cause problems - the finally might ref

[issue17449] dev guide appears not to cover the benchmarking suite

2013-03-19 Thread Brett Cannon
Brett Cannon added the comment: No it does not, but it should. -- assignee: brett.cannon -> keywords: +easy ___ Python tracker ___ __

[issue8862] curses.wrapper does not restore terminal if curses.getkey() gets KeyboardInterrupt

2013-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8a08607abf32 by R David Murray in branch '3.2': #8862: Fix curses cleanup with getchar is interrupted by a signal. http://hg.python.org/cpython/rev/8a08607abf32 New changeset 342ef2ed8d05 by R David Murray in branch '3.3': Merge: #8862: Fix curses c

[issue17485] Deleting Request data does not update Content-length header.

2013-03-19 Thread Daniel Wozniak
New submission from Daniel Wozniak: The patch to fix issue http://bugs.python.org/issue16464 neglects the deleter method of the Request.data property. This allows Request._data to get updated without removing the Content-length header. -- components: Library (Lib) files: patch.diff key

[issue9090] Error code 10035 calling socket.recv() on a socket with a timeout (WSAEWOULDBLOCK - A non-blocking socket operation could not be completed immediately)

2013-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset f22b93b318a5 by Kristján Valur Jónsson in branch '2.7': issue #9090 : Limit the fix to windows since getting a portable simple http://hg.python.org/cpython/rev/f22b93b318a5 -- ___ Python tracker

[issue17484] add tests for getpass

2013-03-19 Thread Thomas Fenzl
Changes by Thomas Fenzl : -- components: Tests nosy: Thomas Fenzl priority: normal severity: normal status: open title: add tests for getpass type: enhancement versions: Python 3.4 ___ Python tracker __

[issue2518] smtpd.py to handle huge email

2013-03-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- versions: +Python 3.4 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue17483] Can not tell urlopen not to check the hostname for https connections.

2013-03-19 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: -> orsenthil nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue5993] python produces zombie in webbrowser.open

2013-03-19 Thread Andrew Gorcester
Andrew Gorcester added the comment: I was able to reproduce on Ubuntu with Python 3.4 compiled from trunk 2013-03-17, but only with Firefox and not with Chrome. -- nosy: +andrewsg ___ Python tracker ___

[issue2518] smtpd.py to handle huge email

2013-03-19 Thread R. David Murray
Changes by R. David Murray : -- components: +email -Library (Lib) nosy: +barry, r.david.murray ___ Python tracker ___ ___ Python-bugs-l

[issue8862] curses.wrapper does not restore terminal if curses.getkey() gets KeyboardInterrupt

2013-03-19 Thread Ned Deily
Changes by Ned Deily : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/ma

  1   2   >