[issue11549] Rewrite peephole to work on AST

2011-03-19 Thread Eugene Toder
Eugene Toder elto...@gmail.com added the comment: AFAICT my patch has everything that #1346238 has, except BoolOps, which can be easily added (there's a TODO). I don't want to add any new code, though, until the current patch will get reviewed -- adding code will only make reviewing harder.

[issue11604] Have type(n,b,d) check for type(b[i]) is module

2011-03-19 Thread Ray.Allen
Ray.Allen ysj@gmail.com added the comment: I am only suggesting a check for module because the is the only mistake I remember anyone reporting. Passing a number as a base class gives a similar message, but no one does that. And as far as I know, there is no way in general to

[issue10812] Add some posix functions

2011-03-19 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 96e09d039433 by Ross Lagerwall in branch 'default': Fix refleak introduced by #10812. http://hg.python.org/cpython/rev/96e09d039433 -- ___ Python tracker rep...@bugs.python.org

[issue11465] Set documentation: Link to wikipedia

2011-03-19 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: I concur with the other respondants. Also, experience has shown a near zero learning curve for sets. For whatever reason, people seem to just get it and not require further explanation. -- nosy: +rhettinger

[issue7198] Extraneous newlines with csv.writer on Windows

2011-03-19 Thread John Machin
John Machin sjmac...@lexicon.net added the comment: Can somebody please review my doc patch submitted 2 months ago? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7198 ___

[issue11463] IncompleteRead: IncompleteRead(168 bytes read)

2011-03-19 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Since the reporter did not get back with more details (testing against curl or a HEAD output to eliminate server issues), I am closing this issue. -- resolution: - invalid status: pending - closed

[issue11549] Rewrite peephole to work on AST

2011-03-19 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11549 ___ ___ Python-bugs-list

[issue11563] test_urllibnet is triggering a ResourceWarning

2011-03-19 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset edc3d3b07435 by Senthil Kumaran in branch '3.2': Closes issue11563 - test_urllibnet ResourceWarning. Patch by Jeff McNeil. http://hg.python.org/cpython/rev/edc3d3b07435 New changeset dfceb98767c0 by Senthil Kumaran in branch

[issue11412] Section numbers in the Library Reference have a trailing period

2011-03-19 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: WFM then. -- resolution: - works for me status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11412 ___

[issue11563] test_urllibnet is triggering a ResourceWarning

2011-03-19 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: @Senthil Kumaran: Because your patch touchs not only the test, can you document your change in Misc/NEWS? Sending a new HTTP header should be documented. Is there an issue to support persistent connections in

[issue11575] addresses.txt file leaks into search engines

2011-03-19 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Sure, the repo can go private if deemed necessary. I still think this is not a big deal anyway. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11575

[issue11605] EMail generator.flatten() disintegrates over UTF-8 multipart/alternative

2011-03-19 Thread Steffen Daode Nurpmeso
New submission from Steffen Daode Nurpmeso sdao...@googlemail.com: Hi David, i'm having real problems here! Got a multipart mail and i get this: __ Traceback (most recent call last): File /Users/steffen/usr/bin/s-postman.py, line 1239, in save_ticket mb.add(ticket.message()) File

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

2011-03-19 Thread Michael Henry
New submission from Michael Henry pyt...@drmikehenry.com: The email module's body_encode() function (found in quoprimime.py) can generate oversized encoded lines that exceed the maximum line length specified by the maxlinelen parameter. The attached test case

[issue11605] EMail generator.flatten() disintegrates over UTF-8 multipart/alternative

2011-03-19 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment: Just want to point out that to my knowledge the mail is absolutely correct, in respect to classification and content. BytesGenerator tries to warp a UTF-8 message (which effectively contains LATIN1 data in the text part) to

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

2011-03-19 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment: By the way, instead of using my postman you may also reuse the stuff from #11401. To crash that instead of generator_booom.mbox simply change whatever character in the text/plain part to a valid LATIN1 (charset=ISO-8859-1)

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

2011-03-19 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com added the comment: Attached is a patch which uses -1 for the buffer size of popen(). This gets translated by the io.open() to the default io buffer size. -- Added file: http://bugs.python.org/file21290/11459_v2.patch

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

2011-03-19 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I don't think the tests should be moved from one file to the other. It's making more difficult to tell whether you have changed them or not. I think moving the tests (as well as changing the synopsis, hello Eric) are cosmetic changes that are

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

2011-03-19 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: About security: i think that you, Éric, have referred to this when you've said your patch is not uncontroversial. No, I was only referring to the fact that one unrelated change was present in a patch while it was still being discussed in

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

2011-03-19 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Nice cleanup. -reductor = getattr(x, __reduce__, None) -if reductor: -rv = reductor() -else: -raise Error(un(shallow)copyable object of type %s % cls) +raise

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

2011-03-19 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- Removed message: http://bugs.python.org/msg130613 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11236 ___

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

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

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

2011-03-19 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso sdao...@googlemail.com 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 --

[issue7198] Extraneous newlines with csv.writer on Windows

2011-03-19 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: John John Machin sjmac...@lexicon.net 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

[issue7198] Extraneous newlines with csv.writer on Windows

2011-03-19 Thread Skip Montanaro
Skip Montanaro s...@pobox.com 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: -

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

2011-03-19 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- assignee: - r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11605 ___ ___

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

2011-03-19 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- assignee: - r.david.murray stage: - patch review type: - behavior versions: +Python 2.7, Python 3.1, Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org

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

2011-03-19 Thread Jeff McNeil
Jeff McNeil j...@jmcneil.net 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 rep...@bugs.python.org

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

2011-03-19 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[issue11575] addresses.txt file leaks into search engines

2011-03-19 Thread Skip Montanaro
Skip Montanaro s...@pobox.com 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

[issue11575] addresses.txt file leaks into search engines

2011-03-19 Thread Georg Brandl
Georg Brandl ge...@python.org 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 rep...@bugs.python.org

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

2011-03-19 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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 rep...@bugs.python.org

[issue11607] Apllication crashes when saving file

2011-03-19 Thread roobman26
New submission from roobman26 rlsander...@gmail.com: 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

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

2011-03-19 Thread Roundup Robot
Roundup Robot devnull@devnull 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':

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

2011-03-19 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Fixed now, thank you! -- resolution: - fixed stage: patch review - committed/rejected status: open - closed versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org

[issue11608] GzipFile cannot be used for streaming

2011-03-19 Thread Enrico Zini
New submission from Enrico Zini enr...@enricozini.org: 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;)

[issue11607] Apllication crashes when saving file

2011-03-19 Thread Eric Smith
Eric Smith e...@trueblade.com 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

[issue11563] test_urllibnet is triggering a ResourceWarning

2011-03-19 Thread Nadeem Vawda
Nadeem Vawda nadeem.va...@gmail.com 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:

[issue11609] urllib-related buildbot failures

2011-03-19 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: 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 --

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

2011-03-19 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com 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 rep...@bugs.python.org

[issue11575] addresses.txt file leaks into search engines

2011-03-19 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Ok, the repo is now private. -- resolution: - fixed status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11575 ___

[issue11456] Documentation csv RFC4180

2011-03-19 Thread Roundup Robot
Roundup Robot devnull@devnull 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

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

2011-03-19 Thread Brandon Craig Rhodes
Brandon Craig Rhodes bran...@rhodesmill.org added the comment: Nick Coghlan rep...@bugs.python.org writes: Nick Coghlan ncogh...@gmail.com 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

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

2011-03-19 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11583 ___ ___

[issue11575] addresses.txt file leaks into search engines

2011-03-19 Thread Skip Montanaro
Skip Montanaro s...@pobox.com 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 rep...@bugs.python.org

[issue11610] Improving property to accept abstract methods

2011-03-19 Thread Darren Dale
New submission from Darren Dale dsdal...@gmail.com: 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:

[issue11456] Documentation csv RFC4180

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- resolution: - accepted status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11456 ___

[issue11610] Improving property to accept abstract methods

2011-03-19 Thread Darren Dale
Darren Dale dsdal...@gmail.com added the comment: The discussion on python-ideas: http://mail.python.org/pipermail/python-ideas/2011-March/009411.html -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11610

[issue11575] addresses.txt file leaks into search engines

2011-03-19 Thread Georg Brandl
Georg Brandl ge...@python.org 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

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

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- assignee: skip.montanaro - nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10515 ___

[issue11549] Rewrite peephole to work on AST

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11549 ___ ___ Python-bugs-list

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

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11579 ___ ___ Python-bugs-list

[issue11439] subversion keyword breakage

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11439 ___ ___ Python-bugs-list

[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 s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11445 ___ ___ Python-bugs-list

[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 s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11419 ___ ___ Python-bugs-list

[issue11007] stack tracebacks should give the relevant class name

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11007 ___ ___ Python-bugs-list

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

2011-03-19 Thread Denver Coneybeare
Denver Coneybeare denver.coneybe...@gmail.com 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

[issue11421] Subversion keywords missing on 2.5 checkout

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11421 ___ ___ Python-bugs-list

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

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11205 ___ ___ Python-bugs-list

[issue10954] No warning for csv.writer API change

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10954 ___ ___ Python-bugs-list

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

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10444 ___ ___ Python-bugs-list

[issue10401] Globals / builtins cache

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10401 ___ ___ Python-bugs-list

[issue9650] format codes in time.strptime docstrings

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9650 ___ ___ Python-bugs-list

[issue9788] atexit and execution order

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9788 ___ ___ Python-bugs-list

[issue9755] Fix refcounting details in Py3k C API documentation

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9755 ___ ___ Python-bugs-list

[issue8387] use universal newline mode in csv module examples

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8387 ___ ___ Python-bugs-list

[issue11608] GzipFile cannot be used for streaming

2011-03-19 Thread Daniel Stutzbach
Changes by Daniel Stutzbach stutzb...@google.com: -- nosy: +stutzbach ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11608 ___ ___ Python-bugs-list

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

2011-03-19 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Given the absence of response on python-dev, I'd say simply remove the obsolete copyright notice. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5863

[issue11610] Improving property to accept abstract methods

2011-03-19 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +durban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11610 ___ ___ Python-bugs-list

[issue11611] wxPython PropertyGrid Demo error and fix

2011-03-19 Thread Arif Zaman
New submission from Arif Zaman arifza...@gmail.com: 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.

[issue11610] Improving property to accept abstract methods

2011-03-19 Thread Daniel Urban
Daniel Urban urban.dani...@gmail.com added the comment: I looked at the patch (I didn't test it yet), my comments are on Rietveld. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11610 ___

[issue11567] http.server error message format

2011-03-19 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11567 ___ ___ Python-bugs-list

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

2011-03-19 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- priority: normal - high ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11205 ___ ___

[issue7198] Extraneous newlines with csv.writer on Windows

2011-03-19 Thread John Machin
John Machin sjmac...@lexicon.net 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

[issue11609] urllib-related buildbot failures

2011-03-19 Thread Roundup Robot
Roundup Robot devnull@devnull 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

[issue11611] wxPython PropertyGrid Demo error and fix

2011-03-19 Thread Ned Deily
Ned Deily n...@acm.org 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

[issue11610] Improving property to accept abstract methods

2011-03-19 Thread Darren Dale
Darren Dale dsdal...@gmail.com 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

[issue11607] Apllication crashes when saving file

2011-03-19 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com 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

[issue10954] No warning for csv.writer API change

2011-03-19 Thread John Machin
John Machin sjmac...@lexicon.net 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 ___

[issue11609] urllib-related buildbot failures

2011-03-19 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Buildbots pass the tests again. -- priority: release blocker - resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue11609] urllib-related buildbot failures

2011-03-19 Thread Roundup Robot
Roundup Robot devnull@devnull 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

[issue11485] Default SDK value on MacOSX needs changing

2011-03-19 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com 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

[issue10954] No warning for csv.writer API change

2011-03-19 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu 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. --

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

2011-03-19 Thread Senthil Kumaran
Changes by Senthil Kumaran orsent...@gmail.com: -- assignee: - orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9740 ___ ___

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

2011-03-19 Thread Senthil Kumaran
Changes by Senthil Kumaran orsent...@gmail.com: -- assignee: - orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3566 ___ ___

[issue3080] Full unicode import system

2011-03-19 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: Added file: http://bugs.python.org/file21296/issue3080.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3080 ___

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

2011-03-19 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso sdao...@googlemail.com 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

[issue3080] Full unicode import system

2011-03-19 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- Removed message: http://bugs.python.org/msg123994 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3080 ___

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

2011-03-19 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso sdao...@googlemail.com 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

[issue10883] urllib: socket is not closed explicitly

2011-03-19 Thread Nadeem Vawda
Nadeem Vawda nadeem.va...@gmail.com 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)

[issue11563] test_urllibnet is triggering a ResourceWarning

2011-03-19 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com 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

[issue3080] Full unicode import system

2011-03-19 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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

[issue11563] test_urllibnet is triggering a ResourceWarning

2011-03-19 Thread Senthil Kumaran
Changes by Senthil Kumaran orsent...@gmail.com: -- Removed message: http://bugs.python.org/msg131456 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11563 ___

[issue11563] test_urllibnet is triggering a ResourceWarning

2011-03-19 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com 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

[issue10954] No warning for csv.writer API change

2011-03-19 Thread John Machin
John Machin sjmac...@lexicon.net 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

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

2011-03-19 Thread Michael Hughes
Michael Hughes michaelahug...@gmail.com 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

[issue10883] urllib: socket is not closed explicitly

2011-03-19 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com 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.. --

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

2011-03-19 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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

[issue11046] setup.py/configure [darwin]

2011-03-19 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com 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

[issue3080] Full unicode import system

2011-03-19 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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. --

[issue11567] http.server error message format

2011-03-19 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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

  1   2   >