[issue11612] xml.dom.minidom fail to parse SVG file.

2011-03-19 Thread Ned Deily
Ned Deily added the comment: The .svg file you attached appears to have a faulty URI in it on line 4: xmlns:s="http://inkscape.sourceforge.net/DTD/s odipodi-0.dtd" The error goes away if that space character is removed. It might be nice for expatbuilder to provide a better diagnostic in t

[issue11612] xml.dom.minidom fail to parse SVG file.

2011-03-19 Thread Campbell Barton
New submission from Campbell Barton : python3.2mu -c "import xml.dom.minidom ; xml.dom.minidom.parse('gnome-cpu-frequency-applet.svg')" --- gives the following traceback Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.2/xml/dom/minidom.py", line 1939, in parse

[issue11611] wxPython PropertyGrid Demo error and fix

2011-03-19 Thread Ned Deily
Changes by Ned Deily : -- resolution: -> invalid stage: -> committed/rejected status: open -> closed type: compile error -> ___ Python tracker ___

[issue11611] wxPython PropertyGrid Demo error and fix

2011-03-19 Thread Arif Zaman
Arif Zaman added the comment: Thanks, will do. Arif On Sun, Mar 20, 2011 at 2:35 AM, Ned Deily wrote: > > Ned Deily added the comment: > > What demo file are you referring to? If it is something to do with > wxPython, you probably want to refer to the bug tracker for that project. > wxPyt

[issue11603] Python crashes or hangs when rebinding __repr__ as __str__

2011-03-19 Thread Andreas Stührk
Changes by Andreas Stührk : Added file: http://bugs.python.org/file21300/issue_11603.patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue11603] Python crashes or hangs when rebinding __repr__ as __str__

2011-03-19 Thread Andreas Stührk
Changes by Andreas Stührk : Removed file: http://bugs.python.org/file21283/issue_11603.patch ___ Python tracker ___ ___ Python-bugs-list maili

[issue11603] Python crashes or hangs when rebinding __repr__ as __str__

2011-03-19 Thread Andreas Stührk
Andreas Stührk added the comment: On Sat, Mar 19, 2011 at 12:41 AM, Terry J. Reedy wrote: > Whether or not this fixes issue ('should' is a bit vague, confirmation is > needed) this seems like a good idea. Yes, it fixes the issue. I wrote "should" because I was a bit in a hurry and hadn't put

[issue10050] urllib.request still has old 2.x urllib primitives

2011-03-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks again. Agree to use of returning the block size to the returnhook callable. But this is going be a deviation from the existing behavior which was present to inform the user at regular intervals and did not bother to provide any 'progressive size' relate

[issue7198] Extraneous newlines with csv.writer on Windows

2011-03-19 Thread R. David Murray
Changes by R. David Murray : -- assignee: skip.montanaro -> r.david.murray status: closed -> open ___ Python tracker ___ ___ Python-bug

[issue7198] Extraneous newlines with csv.writer on Windows

2011-03-19 Thread R. David Murray
R. David Murray added the comment: Gah, I messed up the push. Now I have to backport the doc fix :( -- ___ Python tracker ___ ___ Pyt

[issue3080] Full unicode import system

2011-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset dc38c4d65cd9 by Victor Stinner in branch 'default': Issue #3080: Fix call to case_ok() in find_init_module() http://hg.python.org/cpython/rev/dc38c4d65cd9 -- ___ Python tracker

[issue3080] Full unicode import system

2011-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset f8d6f6797909 by Victor Stinner in branch 'default': Issue #3080: Fix case_ok() using case_bytes() http://hg.python.org/cpython/rev/f8d6f6797909 -- ___ Python tracker _

[issue3080] Full unicode import system

2011-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6c80ac44ae9c by Victor Stinner in branch 'default': Issue #3080: zipimport has a full unicode suppport http://hg.python.org/cpython/rev/6c80ac44ae9c New changeset b50a0d44545a by Victor Stinner in branch 'default': Issue #3080: PyImport_Cleanup() u

[issue10050] urllib.request still has old 2.x urllib primitives

2011-03-19 Thread Jeff McNeil
Jeff McNeil added the comment: Take four! Includes Antoine's suggestions. I changed the callback to return (block num, read size, file size) as opposed to (block num, block size, file size) as this seems to make more sense. I appreciate the back and forth. I'd be happy to create issues & han

[issue11567] http.server error message format

2011-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 135a0d7bc4db by Senthil Kumaran in branch '3.1': Issue #11567 - Let's have the DOCTYPE as HTML instead of XHTML. http://hg.python.org/cpython/rev/135a0d7bc4db -- ___ Python tracker

[issue7198] Extraneous newlines with csv.writer on Windows

2011-03-19 Thread R. David Murray
R. David Murray added the comment: Fixed now. Thanks, and sorry for the delay, and the confusion. -- resolution: accepted -> fixed stage: needs patch -> committed/rejected ___ Python tracker __

[issue7198] Extraneous newlines with csv.writer on Windows

2011-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset ab27f16f707a by R David Murray in branch 'default': #7198: add newlines='' to csv.writer docs. http://hg.python.org/cpython/rev/ab27f16f707a New changeset 959f666470cc by R David Murray in branch 'default': Merge #7198 doc fix. http://hg.python.org

[issue11567] http.server error message format

2011-03-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: Ezio Melotti wrote: > This is just nitpicking, but serving XHTML as text/html is wrong. While, I thought this statement is correct and expected the Internet media-type should be something else (application/xhtml+xml), but as per w3c, it is not wrong to serv

[issue11282] 3.3 unittest document not kept consist with code

2011-03-19 Thread Ezio Melotti
Changes by Ezio Melotti : -- assignee: michael.foord -> ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue11563] test_urllibnet is triggering a ResourceWarning

2011-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 53c8f2bd0316 by Senthil Kumaran in branch '3.2': Add NEWS for Issue #11563. http://hg.python.org/cpython/rev/53c8f2bd0316 -- ___ Python tracker _

[issue11567] http.server error message format

2011-03-19 Thread Éric Araujo
Éric Araujo added the comment: I agree with Ezio. I noticed the commit but didn’t comment: I wanted to bring up the subject of HTML-producing modules in the stdlib and advocate use of HTML 5 (for real, pragmatic reasons, not because of a mode effect—I’ll dig up a number of links that explain

[issue3080] Full unicode import system

2011-03-19 Thread STINNER Victor
STINNER Victor added the comment: > test_runpy fails on Windows on make_legacy_pyc() (of test.support), > I don't know why. Gotcha: I replaced mkdir() by CreateDirectoryW(), but the "directory already exists" error was not ignored. Fixed by 2debe178697b. -- __

[issue11046] setup.py/configure [darwin]

2011-03-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've filed Issue11485 for the SDK issue (the default SDK should be more sane for normal use). AFAIK that means it is not necessary to keep this issue open. -- resolution: -> later status: open -> pending ___ Pyt

[issue10444] A mechanism is needed to override waiting for Python threads to finish

2011-03-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: This looks like an ugly hack to solve a slightly exotic problem. You could instead enumerate() all threads and set their daemon flag to False, before shutting down the interpreter. -- nosy: +pitrou ___ Python track

[issue10883] urllib: socket is not closed explicitly

2011-03-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: I saw the partial fix suggested by the patch, but for some reason I did not see ResourceWarning being shutup. Let's look at this again. The warnings are all from the (old) ftp portion of the code.. -- ___ Python tra

[issue10444] A mechanism is needed to override waiting for Python threads to finish

2011-03-19 Thread Michael Hughes
Michael Hughes added the comment: Hey guys We don't always have control over all of the threads launched within our application. We might have inexperienced users writing basic scripts using threads, but they don't know enough about setting them to Daemon. Previous versions of the Python inte

[issue10954] No warning for csv.writer API change

2011-03-19 Thread John Machin
John Machin added the comment: Terry, I have already made the point """the docs bug is #7198. This is the meaningful-exception bug.""" My review is """changing 'should' to 'must' is not very useful without a consistent interpretation of what those two words mean and without any enforcement o

[issue11563] test_urllibnet is triggering a ResourceWarning

2011-03-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: Victor - Issue9740 and Issue3566 talks about the need to have persistent connection. 3.3 would be a good target to have this feature in. Shall add the NEWS entry. Nadeem Vawda - Thanks for your patch. I committed the fix as part of another bug (Issue3566). I

[issue11563] test_urllibnet is triggering a ResourceWarning

2011-03-19 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- Removed message: http://bugs.python.org/msg131456 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue3080] Full unicode import system

2011-03-19 Thread STINNER Victor
STINNER Victor added the comment: > Replace open_exclusive() by fopen(name, "wb") on Windows: is it correct? I reverted this change in my Mercurial branch (unicode_import). > rename xxxobj => xxx to keep original names and have a short patch done > catch encoding errors in case_ok() done >

[issue11563] test_urllibnet is triggering a ResourceWarning

2011-03-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: Victor - Issue9740 and Issue3566 talks about the need to have persistent connection. 3.3 would be a good target to have this feature in. Shall add the NEWS entry. Nadeen Wadwa - Thanks for your patch. I committed the fix as part of another bug (Issue3566). I

[issue10883] urllib: socket is not closed explicitly

2011-03-19 Thread Nadeem Vawda
Nadeem Vawda added the comment: Would it be possible to commit this partial fix now? It gets rid of 4 of the 8 warnings that I am currently seeing in test_urllib2net. (As an aside, for anyone reading this who hasn't seen issue11563, test_urllibnet is now warning-free) -- ___

[issue11236] getpass.getpass does not respond to ctrl-c or ctrl-z

2011-03-19 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: The attached 11236.depend.patch updates Merlijn's patch so that it applies cleanly just in case the #11466.5.patch is used in the end. -- Added file: http://bugs.python.org/file21298/11236.depend.patch ___ P

[issue3080] Full unicode import system

2011-03-19 Thread STINNER Victor
Changes by STINNER Victor : -- Removed message: http://bugs.python.org/msg123994 ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue11466] getpass.getpass doesn't close tty file

2011-03-19 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: On Sat, Mar 19, 2011 at 01:29:28PM +, Éric Araujo wrote: > It’s a private function, if that makes the patch smaller let’s change it. The promised 11466.5.patch. It: - Fixes #11466 resource warning. - Fixes bogus newline which would ha

[issue3080] Full unicode import system

2011-03-19 Thread STINNER Victor
Changes by STINNER Victor : Added file: http://bugs.python.org/file21296/issue3080.py ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue3566] httplib persistent connections violate MUST in RFC2616 sec 8.1.4.

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

[issue9740] Support for HTTP 1.1 persistent connections throughout the standard library

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

[issue10954] No warning for csv.writer API change

2011-03-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since this is not a doc issue, doc people would not especially see it. That aside... What is *your* review. Does it satisfy you? Answer on #7198 if you want. And please be a bit patient as people are learning the new hg system. --

[issue11485] Default SDK value on MacOSX needs changing

2011-03-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: The 10.4 SDK needs to be changed in 2.7, 3.1 and 3.2 as well: the most recent version of Xcode no longer ships with the 10.4 SDK (and possibly without the 10.5 SDK as well, I'll writing this at the airport and haven't downloaded the latest release yet). --

[issue11609] urllib-related buildbot failures

2011-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 00459310b136 by Senthil Kumaran in branch 'default': closes issue11609. buildbot related failures in the test_urllibnet. http://hg.python.org/cpython/rev/00459310b136 -- ___ Python tracker

[issue11609] urllib-related buildbot failures

2011-03-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: Buildbots pass the tests again. -- priority: release blocker -> resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker

[issue10954] No warning for csv.writer API change

2011-03-19 Thread John Machin
John Machin added the comment: The doc patch proposed by Skip on 2001-01-24 for this bug has NOT been reviewed, let alone applied. Sibling bug #7198 has been closed in error. Somebody please help. -- nosy: +skip.montanaro ___ Python tracker

[issue11607] Apllication crashes when saving file

2011-03-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: Please also add the platform you are using python on, and which installer you used to install Python. Assuming that you have a problem with IDLE: If you used "Mac OS X 64-bit/32-bit Installer (3.2) for Mac OS X 10.6": did you install a new copy of Tcl/Tk? T

[issue11610] Improving property to accept abstract methods

2011-03-19 Thread Darren Dale
Darren Dale added the comment: Here is a new patch that addresses a couple problems found in review: * Unit tests contained a typo (Property instead of property) * DeprecationWarning would be issued when importing abc rather than when creating abstractproperty. (whether abstractproperty should

[issue11611] wxPython PropertyGrid Demo error and fix

2011-03-19 Thread Ned Deily
Ned Deily added the comment: What demo file are you referring to? If it is something to do with wxPython, you probably want to refer to the bug tracker for that project. wxPython is not part of the standard Python library. See http://www.wxpython.org/ and http://trac.wxwidgets.org/ ---

[issue11609] urllib-related buildbot failures

2011-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5c83a375a23e by Senthil Kumaran in branch '3.2': Call unfakehttp in order to close connection while opening the connection through a fakehttp object. http://hg.python.org/cpython/rev/5c83a375a23e -- nosy: +python-dev _

[issue7198] Extraneous newlines with csv.writer on Windows

2011-03-19 Thread John Machin
John Machin added the comment: Skip, The changes that I suggested have NOT been made. Please re-read the doc page you pointed to. The "writer" paragraph does NOT mention that newline='' is required when writing. The "writer" examples do NOT include newline=''. The examples have NOT been enhan

[issue11205] Evaluation order of dictionary display is different from reference manual.

2011-03-19 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- priority: normal -> high ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue11567] http.server error message format

2011-03-19 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue11610] Improving property to accept abstract methods

2011-03-19 Thread Daniel Urban
Daniel Urban added the comment: I looked at the patch (I didn't test it yet), my comments are on Rietveld. -- ___ Python tracker ___

[issue11611] wxPython PropertyGrid Demo error and fix

2011-03-19 Thread Arif Zaman
New submission from Arif Zaman : In the wxPython Demo the PropertyGrid code has the lines # # Let's use some simple custom editor # # NOTE: Editor must be registered *before* adding a property that # uses it. pg.RegisterEditor(TrivialPropertyEd

[issue11610] Improving property to accept abstract methods

2011-03-19 Thread Daniel Urban
Changes by Daniel Urban : -- nosy: +durban ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue5863] bz2.BZ2File should accept other file-like objects. (issue4274045)

2011-03-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: Given the absence of response on python-dev, I'd say simply remove the obsolete copyright notice. -- ___ Python tracker ___ ___

[issue11608] GzipFile cannot be used for streaming

2011-03-19 Thread Daniel Stutzbach
Changes by Daniel Stutzbach : -- nosy: +stutzbach ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue8387] use universal newline mode in csv module examples

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue9755] Fix refcounting details in Py3k C API documentation

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue9788] atexit and execution order

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue9650] format codes in time.strptime docstrings

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue10401] Globals / builtins cache

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue10444] A mechanism is needed to override waiting for Python threads to finish

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue10954] No warning for csv.writer API change

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue11205] Evaluation order of dictionary display is different from reference manual.

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue11421] Subversion keywords missing on 2.5 checkout

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue9348] Calling argparse's add_argument with the wrong number of metavars causes delayed error message

2011-03-19 Thread Denver Coneybeare
Denver Coneybeare added the comment: For kicks, I just took a look at this old, forgotten issue. I agree with the submitter that add_argument() should fail if nargs and metavar do not match, instead of having format_help() raise the exception later on. I've attached a patch (issue9348_patch_

[issue11007] stack tracebacks should give the relevant class name

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue11419] Python-ast.[ch] out-of-date w.r.t. sources in fresh 2.5 checkout

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue11445] python.exe on OS X shared-llbrary build erroneously linked to MacPorts python library

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue11439] subversion keyword breakage

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue11579] python 2.5 does not build from hg - looks for subversion keywords

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue11549] Rewrite peephole to work on AST

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue10515] csv sniffer does not recognize quotes at the end of line

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro : -- assignee: skip.montanaro -> nosy: -skip.montanaro ___ Python tracker ___ ___ Python-bugs-list mailing

[issue11575] addresses.txt file leaks into search engines

2011-03-19 Thread Georg Brandl
Georg Brandl added the comment: Your interpretation was correct indeed. It's an email address we're talking about here, which is necessarily a public bit of information, not a private one like a Social Security or credit card number. Anyway, the repo is now private, so nobody will be able to

[issue11610] Improving property to accept abstract methods

2011-03-19 Thread Darren Dale
Darren Dale added the comment: The discussion on python-ideas: http://mail.python.org/pipermail/python-ideas/2011-March/009411.html -- ___ Python tracker ___ __

[issue11456] Documentation csv RFC4180

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro : -- resolution: -> accepted status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue11610] Improving property to accept abstract methods

2011-03-19 Thread Darren Dale
New submission from Darren Dale : I posted a suggestion at python-ideas that the declaration of abstract properties could be improved in such a way that they could be declared with either the long-form or decorator syntax using the built-in property and abc.abstractmethod: {{{ class MyPropert

[issue11575] addresses.txt file leaks into search engines

2011-03-19 Thread Skip Montanaro
Skip Montanaro added the comment: I interpreted "not a big deal" to mean that having addresses exposed was not a big deal. Too many pronouns perhaps. -- status: pending -> open ___ Python tracker

[issue11583] os.path.isdir() is slow on windows

2011-03-19 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue11572] bring Lib/copy.py to 100% coverage

2011-03-19 Thread Brandon Craig Rhodes
Brandon Craig Rhodes added the comment: Nick Coghlan writes: > Nick Coghlan added the comment: > > Regarding "__reduce__", other readers will have the same question Éric > did, so that point should definitely go in a comment after the > "__reduce_ex__" check. I had initially wanted to make a

[issue11456] Documentation csv RFC4180

2011-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset c63d7374b89a by Skip Montanaro in branch 'default': Mention RFC 4180. Based on input by Tony Wallace in issue 11456. http://hg.python.org/cpython/rev/c63d7374b89a -- nosy: +python-dev ___ Python tracker

[issue11575] addresses.txt file leaks into search engines

2011-03-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, the repo is now private. -- resolution: -> fixed status: open -> pending ___ Python tracker ___ __

[issue11572] bring Lib/copy.py to 100% coverage

2011-03-19 Thread Nick Coghlan
Nick Coghlan added the comment: Regarding "__reduce__", other readers will have the same question Éric did, so that point should definitely go in a comment after the "__reduce_ex__" check. -- ___ Python tracker _

[issue11609] urllib-related buildbot failures

2011-03-19 Thread Antoine Pitrou
New submission from Antoine Pitrou : Many urllib-related buildbot failures recently, this seems to be cause by one of the recent urllib commits. 3.2 and 3.3 are affected. http://www.python.org/dev/buildbot/all/builders/AMD64%20Gentoo%20Wide%203.x/builds/1255 -- assignee: orsenthil com

[issue11563] test_urllibnet is triggering a ResourceWarning

2011-03-19 Thread Nadeem Vawda
Nadeem Vawda added the comment: urlopen_HttpTests.test_willclose() fails to call unfakehttp(), which breaks subsequent runs of test_urllib2_localnet, test_urllib2net and test_urllibnet. Fix attached. -- Added file: http://bugs.python.org/file21292/unfakehttp.diff

[issue11607] Apllication crashes when saving file

2011-03-19 Thread Eric Smith
Eric Smith added the comment: You're going to need to supply more information. What application? Can you post the source code? What does "crashes" mean? Is it giving a Python traceback? If so, please supply it. Thanks. -- nosy: +eric.smith ___ Pyt

[issue11608] GzipFile cannot be used for streaming

2011-03-19 Thread Enrico Zini
New submission from Enrico Zini : Hello, this snippet does not work, because GzipFile wants a file-like object that can do tell() and seek(): #!/usr/bin/python import gzip from urllib import urlopen zfd = urlopen("http://ftp.debian.org/debian/dists/sid/Contents-udeb.gz";) fd = gzip.GzipFile(

[issue11459] Python select.select does not correctly report read readyness

2011-03-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: Fixed now, thank you! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed versions: +Python 3.3 ___ Python tracker __

[issue11459] Python select.select does not correctly report read readyness

2011-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1dc52ecb8949 by Antoine Pitrou in branch '3.1': Issue #11459: A `bufsize` value of 0 in subprocess.Popen() really creates http://hg.python.org/cpython/rev/1dc52ecb8949 New changeset 7451da272111 by Antoine Pitrou in branch '3.2': Issue #11459: A `b

[issue11607] Apllication crashes when saving file

2011-03-19 Thread roobman26
New submission from roobman26 : when i try to save a file it saves, but then the application crashes. The same thing happens when I try to open a saved file. -- assignee: ronaldoussoren components: Macintosh messages: 131424 nosy: ronaldoussoren, roobman26 priority: normal severity: nor

[issue11459] Python select.select does not correctly report read readyness

2011-03-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is the adapted patch for 3.1, with a test case. -- nosy: +pitrou Added file: http://bugs.python.org/file21291/11459_v3.patch ___ Python tracker __

[issue11575] addresses.txt file leaks into search engines

2011-03-19 Thread Georg Brandl
Georg Brandl added the comment: As I said, I'm not opposed to make the repo private. I don't need to convince anyone. You sound like you're trying to change my opinion here. -- ___ Python tracker __

[issue11575] addresses.txt file leaks into search engines

2011-03-19 Thread Skip Montanaro
Skip Montanaro added the comment: Tom Pinckney thinks it's a big deal. I suspect he might be interested to know why you think it's not. We are entitled to our own opinions about privacy, but the request at hand concerns another person's privacy. He's the one you need to convince. --

[issue11605] EMail generator.flatten() disintegrates over non-ascii multipart/alternative

2011-03-19 Thread R. David Murray
R. David Murray added the comment: I can reproduce this just using message_from_binary_file and BytesGenerator on your input file, so thanks for attaching the email. I have a test in the test suite that is *supposed* to test this, but clearly there is a case here that is not being tested. I

[issue10050] urllib.request still has old 2.x urllib primitives

2011-03-19 Thread Jeff McNeil
Jeff McNeil added the comment: I'll make those changes, sure. I had the same thought re: block size, but I was trying to keep inline with what the current function did. -- ___ Python tracker

[issue11606] maxlinelen exceeded by email module's body_encode() function

2011-03-19 Thread R. David Murray
Changes by R. David Murray : -- assignee: -> r.david.murray stage: -> patch review type: -> behavior versions: +Python 2.7, Python 3.1, Python 3.2, Python 3.3 ___ Python tracker _

[issue11605] EMail generator.flatten() disintegrates over non-ascii multipart/alternative

2011-03-19 Thread R. David Murray
Changes by R. David Murray : -- assignee: -> r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue7198] Extraneous newlines with csv.writer on Windows

2011-03-19 Thread Skip Montanaro
Skip Montanaro added the comment: Actually, I was thinking of another doc patch for the csv module. Your changes (or something very like them) made it into the 3.2 release, as you can see here: http://docs.python.org/py3k/library/csv.html S -- resolution: -> accepted status: open

[issue7198] Extraneous newlines with csv.writer on Windows

2011-03-19 Thread Skip Montanaro
Skip Montanaro added the comment: John> John Machin added the comment: John> Can somebody please review my "doc patch" submitted 2 months ago? My apologies. I have it in my sandbox, but a combination of the switch to Mercurial and lack of round tuits has conspired to keep me from checkin

[issue11466] getpass.getpass doesn't close tty file

2011-03-19 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: On Sat, Mar 19, 2011 at 01:29:28PM +, Éric Araujo wrote: > It’s a private function, it that makes the patch smaller let’s change it. You get a new patch from me tomorrow evening at the latest -- ___ Pyth

[issue11236] getpass.getpass does not respond to ctrl-c or ctrl-z

2011-03-19 Thread Éric Araujo
Éric Araujo added the comment: If this bugs needs to be solved before #11466 can be fixed, let’s mark it as a dependency. -- ___ Python tracker ___

  1   2   >