[issue12346] Python 2.7.2 source code build (release) depends on mercurial

2011-06-17 Thread Ralf Schmitt
Ralf Schmitt added the comment: trunk configure.in contains code that checks for the existence of a .hg repository. See rev 435eec7b41f0 -- nosy: +schmir ___ Python tracker ___

[issue12333] test_packaging failures under Solaris

2011-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 276530424350 by Victor Stinner in branch 'default': Issue #12333: restore the previous dir before removing the current directory http://hg.python.org/cpython/rev/276530424350 -- nosy: +python-dev ___ Pyt

[issue12310] Segfault in test_multiprocessing

2011-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset e6e7e42efdc2 by Victor Stinner in branch '3.2': Issue #12310: finalize the old process after _run_after_forkers() http://hg.python.org/cpython/rev/e6e7e42efdc2 New changeset a73e5c1f57d7 by Victor Stinner in branch 'default': (Merge 3.2) Issue #123

[issue12310] Segfault in test_multiprocessing

2011-06-17 Thread STINNER Victor
STINNER Victor added the comment: Let's try on "real" buildbots. If the commit fixes the issue on 3.x, I will port the fix to Python 2.7. -- ___ Python tracker ___

[issue12333] test_packaging failures under Solaris

2011-06-17 Thread STINNER Victor
STINNER Victor added the comment: 276530424350 fixed the failures on "x86 OpenIndiana 3.x" buildbot. -- nosy: +haypo resolution: -> fixed status: open -> closed ___ Python tracker

[issue12342] characters with ord above 65535 fail to display in IDLE

2011-06-17 Thread STINNER Victor
STINNER Victor added the comment: Instead of ValueError: unsupported character I suggest: ValueError: unsupported character (U+1): Tcl doesn't support characters outside U+-U+ range What do you think? -- ___ Python tracker

[issue12263] punycode codec ignores the error handler argument

2011-06-17 Thread STINNER Victor
STINNER Victor added the comment: @Martin: Can you review my patch? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue12333] test_packaging failures under Solaris

2011-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6e5a9f16d831 by Victor Stinner in branch 'default': Issue #12333: close files before removing the directory http://hg.python.org/cpython/rev/6e5a9f16d831 New changeset 144cea8db9a5 by Victor Stinner in branch 'default': Issue #12333: run tests on t

[issue12133] ResourceWarning in urllib.request

2011-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset ad6bdfd7dd4b by Victor Stinner in branch '3.2': Issue #12133: fix a ResourceWarning in urllib.request http://hg.python.org/cpython/rev/ad6bdfd7dd4b New changeset 57a98feb508e by Victor Stinner in branch 'default': (Merge 3.2) Issue #12133: fix a Re

[issue12133] ResourceWarning in urllib.request

2011-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 18e6ccc332d5 by Victor Stinner in branch '2.7': Issue #12133: AbstractHTTPHandler.do_open() of urllib.request closes the HTTP http://hg.python.org/cpython/rev/18e6ccc332d5 -- ___ Python tracker

[issue12133] ResourceWarning in urllib.request

2011-06-17 Thread STINNER Victor
STINNER Victor added the comment: I tested the patch on Python 3.3: the full test suite pass on Linux. I applied your patch on Python 2.7, 3.2 and 3.3, thanks Ezio. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue12309] os.environ was modified by test_packaging

2011-06-17 Thread STINNER Victor
STINNER Victor added the comment: A patch fixing os.environ warning for test_command_build_ext.py: diff --git a/Lib/packaging/tests/test_command_build_ext.py b/Lib/packaging/tests/test_command_build_ext.py --- a/Lib/packaging/tests/test_command_build_ext.py +++ b/Lib/packaging/tests/test_comma

[issue10883] urllib: socket is not closed explicitly

2011-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset ca18f7f35c28 by Victor Stinner in branch '3.2': Issue #10883: test_urllib2net closes socket explicitly http://hg.python.org/cpython/rev/ca18f7f35c28 New changeset 6d38060f290c by Victor Stinner in branch 'default': (Merge 3.2) Issue #10883: test_ur

[issue10883] urllib: socket is not closed explicitly

2011-06-17 Thread STINNER Victor
STINNER Victor added the comment: ftp_close.patch: - (in passive mode) FTP.ntransfercmd() closes explicitly the socket on error: the caller has not access to the socket on error - OtherNetworkTests of test_urllib2net clears CacheFTPHandler cache: add a CacheFTPHandler.clear_cache() for that

[issue12352] multiprocessing.Value() hangs

2011-06-17 Thread greg.ath
New submission from greg.ath : Hi, My multithreaded application uses multithreading.Value() to ensure thread-safe operations on shared data. For unexpected reasons, after some change in my code, the function will consistently hang. I did a gdb backtrace of the hanging process, and I discovere

[issue12346] Python 2.7.2 source code build (release) depends on mercurial

2011-06-17 Thread R. David Murray
R. David Murray added the comment: That needs to be ported to the other branches, then. Ezio, on a completely unrelated note, notice what happened to Ralf's reference. I think the regexes may need to be reordered. -- nosy: +ezio.melotti ___ Python

[issue9246] os.getcwd() hardcodes max path len

2011-06-17 Thread STINNER Victor
STINNER Victor added the comment: Simpler patch replacing 1026 constant by MAXPATHLEN. On my Linux box, MAXPATHLEN is 4096 and os.pathconf('/', 'PC_PATH_MAX') returns 4096. I am able to get a path of 4095 bytes using the patch. -- Added file: http://bugs.python.org/file22394/os_getcwd

[issue9246] os.getcwd() hardcodes max path len

2011-06-17 Thread STINNER Victor
STINNER Victor added the comment: You may use get_current_dir_name() which allocates the memory for us. I can adapt os_getcwd_buffer-2.patch to support Solaris/OpenBSD, but do we need a dynamic buffer? (do we need to support OS without PATH_MAX) -- ___

[issue9246] os.getcwd() hardcodes max path len

2011-06-17 Thread STINNER Victor
STINNER Victor added the comment: bigpath2.py: script to check the maximum path length of os.getcwd(). -- Added file: http://bugs.python.org/file22395/bigpath2.py ___ Python tracker

[issue12310] Segfault in test_multiprocessing

2011-06-17 Thread STINNER Victor
STINNER Victor added the comment: test_multiprocessing pass with success on PPC Tiger 3.x (and x86 Tiger 3.x, but the segfaults only occurred on PPC), but this issue is a sporadic issue. I close the issue because I hope that it is closed, but reopen it if you still see segfaults on PPC Tiger

[issue12320] test_packaging failures

2011-06-17 Thread STINNER Victor
STINNER Victor added the comment: I fixed the issue #12333. I don't see any test_packaging failure anymore, let's close this issue. -- resolution: -> fixed status: open -> closed ___ Python tracker _

[issue9246] os.getcwd() hardcodes max path len

2011-06-17 Thread Martin v . Löwis
Martin v. Löwis added the comment: > I can adapt os_getcwd_buffer-2.patch to support Solaris/OpenBSD, but > do we need a dynamic buffer? (do we need to support OS without > PATH_MAX) >From a practicality point of view, we need to make no change at all: nobody sane ever has a current working dir

[issue8716] test_tk/test_tkk_guionly fails on OS X if run from buildbot slave daemon -- crashes Python

2011-06-17 Thread R. David Murray
R. David Murray added the comment: Bump, this failure is still happening on the ppc tiger buildbot periodically. -- nosy: +ned.deily ___ Python tracker ___ __

[issue12353] argparse cannot handle empty arguments

2011-06-17 Thread Bryan Jacobs
New submission from Bryan Jacobs : Parsing arguments with argparse fails with an IndexError when one of the arguments is the empty string (''). This is caused by an access to the zero'th element of the argument value, without a preceding length check. Fixed by the below patch: Index: Lib/argp

[issue12281] bytes.decode('mbcs', 'ignore') does replace undecodable bytes on Windows Vista or later

2011-06-17 Thread STINNER Victor
STINNER Victor added the comment: > What about something like .decode('mbcs', errors='windows')? Yes, we can use an error handler specific to the mbcs codec, but I would prefer to not introduce special error handlers. For os.fsencode(), we can keep it unchanged, or add an optional "flags" ar

[issue12313] make install misses test dirs for packaging and email modules

2011-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset c9d27c63b45c by R David Murray in branch 'default': #12313: update Makefile.pre.in to account for email tests moving to 'test' dir http://hg.python.org/cpython/rev/c9d27c63b45c -- nosy: +python-dev ___ P

[issue12313] make install misses test dirs for packaging and email modules

2011-06-17 Thread R. David Murray
R. David Murray added the comment: Well, regardless of whether or not I understand what's going on, clearly those directories in the makefile needed updating, so I did it. -- ___ Python tracker __

[issue4470] smtplib SMTP_SSL not working.

2011-06-17 Thread R. David Murray
R. David Murray added the comment: Torsten, can you provide a clear, failing unittest for this? -- ___ Python tracker ___ ___ Python-b

[issue4470] smtplib SMTP_SSL not working.

2011-06-17 Thread Torsten Bronger
Torsten Bronger added the comment: No, I don't know how to do that. All I can provide is a minimal version of my code that triggers the above mentioned traceback. It is: import smtplib s = smtplib.SMTP_SSL("relay-auth.rwth-aachen.de") s.login("***", "***") s.sendmail("bron...@physik.rwth-aa

[issue4470] smtplib SMTP_SSL not working.

2011-06-17 Thread Torsten Bronger
Torsten Bronger added the comment: Sorry, it must be: import smtplib s = smtplib.SMTP_SSL("relay-auth.rwth-aachen.de") s.login("***", "***") s.sendmail("bron...@physik.rwth-aachen.de", ["bronger.ran...@googlemail.com"], "Hello") (A bracket was missing.) -- _

[issue12353] argparse cannot handle empty arguments

2011-06-17 Thread R. David Murray
R. David Murray added the comment: Thanks for the report and patch. I'm setting this to test needed since the final patch will need a unit test. The idiomatic way to do this kind of check is 'if not argstring or arg_string[0] not in self.fromfile_prefix_chars):' -- nosy: +bethard, r

[issue4470] smtplib SMTP_SSL not working.

2011-06-17 Thread R. David Murray
R. David Murray added the comment: According to your traceback you should be seeing the error in the first line (the creation of the SMTP_SSL object). If I run that line at the python prompt of python2.7.1, I get your connection failure. If I run it using 2.7 tip (or 3.3 tip), the connectio

[issue12328] multiprocessing's overlapped PipeConnection on Windows

2011-06-17 Thread sbt
sbt added the comment: > You are right, we need a manual reset *or* we must ensure that every > user of _PyOS_SigintEvent only does so from the main thread. On second thoughts, even using an auto-reset event, resetting the event before waiting is unavoidable. Otherwise you are liable to catch

[issue11767] Maildir iterator leaks file descriptors by default

2011-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset fea1920ae75f by R David Murray in branch '3.2': #11767: use context manager to close file in __getitem__ to prevent FD leak http://hg.python.org/cpython/rev/fea1920ae75f New changeset 1d7a91358517 by R David Murray in branch 'default': merge #11767

[issue11767] Maildir iterator leaks file descriptors by default

2011-06-17 Thread R. David Murray
R. David Murray added the comment: The patch doesn't work on 2.7. The failures are related to #11700, although that would seem to indicate that something *is* trying to close the file. I have no idea what. -- dependencies: +mailbox.py proxy updates _

[issue12347] add an "extras" in packaging.pypi.simple.Crawler

2011-06-17 Thread Éric Araujo
Changes by Éric Araujo : -- assignee: -> tarek components: +Distutils2 nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list

[issue12348] case sensitivity in packaging.pypi.simple.Crawler

2011-06-17 Thread Éric Araujo
Changes by Éric Araujo : -- assignee: -> tarek components: +Distutils2 nosy: +eric.araujo title: case sensitivness in packaging.pypi.simple.Crawler -> case sensitivity in packaging.pypi.simple.Crawler versions: +Python 3.3 ___ Python tracker

[issue12326] Linux 3: tests should avoid using sys.platform == 'linux2'

2011-06-17 Thread Éric Araujo
Éric Araujo added the comment: Martin’s sys.platform = 'linux' sounds good to me too. -- nosy: +eric.araujo ___ Python tracker ___ __

[issue5572] distutils ignores the LIBS configure env var

2011-06-17 Thread Éric Araujo
Éric Araujo added the comment: > This wasn't so much a feature request as a request for review. >From a tracker process viewpoint, any report is a bug, a feature request or a >doc bug. A bug can be defined as a discrepancy between the doc and the code. >Given that I found no mention of LIBS

[issue12333] test_packaging failures under Solaris

2011-06-17 Thread Éric Araujo
Éric Araujo added the comment: Thanks for tackling this while I was offline. -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue12167] test_packaging reference leak

2011-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 27a70dfc38cc by Éric Araujo in branch 'default': Packaging tests: don’t let an internal cache grow indefinitely. http://hg.python.org/cpython/rev/27a70dfc38cc -- ___ Python tracker

[issue12167] test_packaging reference leak

2011-06-17 Thread Éric Araujo
Éric Araujo added the comment: > I could not find any test in distutils/tests that imports extension modules. test_build_ext builds and imports xx. -- ___ Python tracker ___ __

[issue12133] ResourceWarning in urllib.request

2011-06-17 Thread Éric Araujo
Éric Araujo added the comment: Yay! -- nosy: +alexis, eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue12167] test_packaging reference leak

2011-06-17 Thread Éric Araujo
Éric Araujo added the comment: We’re down to 100 refleaks. Thanks to the negative refleaks of test_pydoc, we now have a few refleaks to spare! Seriously, what does a negative refleak mean? -- ___ Python tracker

[issue11767] Maildir iterator leaks file descriptors by default

2011-06-17 Thread Filip Gruszczyński
Filip Gruszczyński added the comment: Should I try to do something about this right now or should I wait until #1170 is finished&closed and only then try to fix this issue too? -- ___ Python tracker _

[issue5572] distutils ignores the LIBS configure env var

2011-06-17 Thread Collin Winter
Collin Winter added the comment: I have provided justification in the original patch submission. Without this patch, we were unable to cleanly apply gcc's feedback-directed optimization system to Python. FDO yields significant performance improvements. --

[issue6584] gzip module has no custom exception

2011-06-17 Thread Filip Gruszczyński
Filip Gruszczyński added the comment: Bump! Antoine, do you think the patch is acceptable and can be committed now? -- ___ Python tracker ___

[issue11767] Maildir iterator leaks file descriptors by default

2011-06-17 Thread R. David Murray
R. David Murray added the comment: Well, if you want to you could investigate further, and try the patch from #11700 and see what is left to do here after it has been applied. I'll try to get 11700 in soon, though. -- ___ Python tracker

[issue12354] packaging.pypi.simple docs use both client and crawler variable, which might be confusing

2011-06-17 Thread Filip Gruszczyński
New submission from Filip Gruszczyński : In documentation for packaging.pypi.simple in first code snippet crawler variable is created on which further operations will be performed. However in all next snippets there is client variable, which is a little confusing on first sight. This could be

[issue12354] packaging.pypi.simple docs use both client and crawler variable, which might be confusing

2011-06-17 Thread Filip Gruszczyński
Filip Gruszczyński added the comment: And a small, quick patch to docs. -- keywords: +patch Added file: http://bugs.python.org/file22396/12354.patch ___ Python tracker ___ _

[issue12354] packaging.pypi.simple docs use both client and crawler variable, which might be confusing

2011-06-17 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the report. I’m editing the doc to fix all instances of client and also improve phrasing in the whole file. -- assignee: docs@python -> eric.araujo ___ Python tracker __

[issue12342] characters with ord above 65535 fail to display in IDLE

2011-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: >ValueError: unsupported character (U+1): Tcl doesn't support characters >outside U+-U+ range Slightly shorter and without the double :s. ValueError: character U+1 is above the range (U+-U+) allowed by Tcl/Tk. I agree with a change l

[issue12350] Improve stat_result.st_blocks and st_blksize documentation

2011-06-17 Thread Lars Wirzenius
Lars Wirzenius added the comment: Right. So I guess at least the following should be changed (I'll make an actual patch once there's consensus): * st_blocks should say that the size of block is often 512 bytes, but that's not guaranteed, and there's no way to know for sure * st_blksize shoul

[issue12167] test_packaging reference leak

2011-06-17 Thread R. David Murray
R. David Murray added the comment: It means that objects were garbage collected. The refleak test runs the test multiple times, and ignores the first N runs to allow the object count to "settle". But sometimes it either doesn't settle, or later runs end up with objects getting garbage colle

[issue6584] gzip module has no custom exception

2011-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Your changes appear to address all three of Antoine's 'nits'. -- stage: patch review -> commit review ___ Python tracker ___ ___

[issue12350] Improve stat_result.st_blocks and st_blksize documentation

2011-06-17 Thread R. David Murray
R. David Murray added the comment: I think that wording is as good as we can do for now. Providing a way to determine the size of st_blocks blocks should be a separate issue (a feature request). That enhancement can include an update to these docs, but since it is an enhancement it will onl

[issue9246] os.getcwd() hardcodes max path len

2011-06-17 Thread Santoso Wijaya
Changes by Santoso Wijaya : -- nosy: +santa4nt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue12346] Python 2.7.2 source code build (release) depends on mercurial

2011-06-17 Thread Santoso Wijaya
Changes by Santoso Wijaya : -- nosy: +santa4nt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue12348] case sensitivity in packaging.pypi.simple.Crawler

2011-06-17 Thread Filip Gruszczyński
Filip Gruszczyński added the comment: When I started looking at this I noticed following behaviour: >>> from packaging.pypi.simple import Crawler >>> client = Crawler() >>> client.get_releases('webob') Traceback (most recent call last): File "", line 1, in File "/home/gruszczy/Projects/pyt

[issue12355] Crawler doesn't follow redirection

2011-06-17 Thread Filip Gruszczyński
New submission from Filip Gruszczyński : When looking at issue #12348 I have noticed following behaviour: from packaging.pypi.simple import Crawler c = Crawler() c.get_releases('webob') Traceback (most recent call last): File "test_crawl.py", line 3, in c.get_releases('webob') File "/h

[issue12345] Add math.tau

2011-06-17 Thread Daniel Stutzbach
Daniel Stutzbach added the comment: On Wed, Jun 15, 2011 at 8:10 PM, Nick Coghlan wrote: > I'd like to add a new constant to the math module: > > tau = 2*math.pi > > Rather than repeating all the reasons for why tau makes more sense than pi > as the fundamental circle constant, I'll just refer

[issue12355] Crawler doesn't follow redirection

2011-06-17 Thread Éric Araujo
Éric Araujo added the comment: Sure, let’s follow redirections (and log them). -- stage: -> needs patch type: crash -> behavior ___ Python tracker ___ _

[issue12355] Crawler doesn't follow redirection

2011-06-17 Thread Filip Gruszczyński
Filip Gruszczyński added the comment: OK, I'll try to come up with some patch. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue12345] Add math.tau

2011-06-17 Thread Mark Dickinson
Mark Dickinson added the comment: Not to mention d(area of circle of radius r) = r dr matey. -- nosy: +mark.dickinson ___ Python tracker ___

[issue4470] smtplib SMTP_SSL not working.

2011-06-17 Thread Lorenzo M. Catucci
Lorenzo M. Catucci added the comment: On Fri, 17 Jun 2011, R. David Murray wrote: RDM> RDM> R. David Murray added the comment: RDM> RDM> According to your traceback you should be seeing the error in the RDM> first line (the creation of the SMTP_SSL object). If I run that line RDM> at the

[issue12345] Add math.tau

2011-06-17 Thread Georg Brandl
Georg Brandl added the comment: > http://tauday.com/ And I thought putting "dx" directly next to the integral sign was audacious... -- nosy: +georg.brandl ___ Python tracker __

[issue12298] Sphinx glitch in library/functions

2011-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree that all table entries should link to the entry in the same file. dict() and set() also jump to CH. 4, in addition to memoryview and frozenset. Others all work properly. The entries for classes should generally have a link to their section in '4. Bui

[issue4470] smtplib SMTP_SSL not working.

2011-06-17 Thread Catalin Iacob
Catalin Iacob added the comment: Most of the problems in this issue were solved already so it could almost be closed: * patch 1 was addressed in #11927 * patch 2 was addressed in #4066 * patches 3 and 4 were addressed in #11893 Torsten's problem was addressed by bcf04ced5ef1. > I'm not sure w

[issue12315] Improve http.client.HTTPResponse.read documentation

2011-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: The patch does 3 things: 1. clarify that 'amt' in 'the next amt bytes' means 'amount'. I do not think this is necessary; 'the next blah bytes' is clear. Actually, 'amt' really means 'number', not 'amount', which would imply that 'amt' is a float, not an int.

[issue9246] os.getcwd() hardcodes max path len

2011-06-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: > From a practicality point of view, we need to make no change at all: > nobody sane ever has a current working directory path of more than > 1000 characters. Even if people have very long path names, they > don't make them the current working directory. I don'

[issue12317] inspect.getabsfile() is not documented

2011-06-17 Thread Terry J. Reedy
New submission from Terry J. Reedy : >>> help(inspect.getabsfile) could be copied getabsfile(object, _filename=None) Return an absolute path to the source or compiled file for an object. The idea is for each object to have a unique origin, so this routine normalizes the result a

[issue12321] documentation of ElementTree.find

2011-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Are you requesting that the doc be changed or the code? >From the title, I would infer the doc (which is much easier ;-). If so, can you suggest an actual revised text? -- nosy: +terry.reedy stage: -> needs patch versions: +Python 3.3

[issue12337] Need real TextIOWrapper for stdin/stdout

2011-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: WinXP, 3.2.0 >>> type(sys.stdin) >>> sys.stdin.readline() a 'a\n' -- nosy: +terry.reedy ___ Python tracker ___ ___

[issue4470] smtplib SMTP_SSL not working.

2011-06-17 Thread Torsten Bronger
Torsten Bronger added the comment: My Python version is "Python 2.7.1+" and the package is called "python2.7 2.7.1-5ubuntu2" (Ubuntu Natty). -- ___ Python tracker ___ __

[issue12337] Need real TextIOWrapper for stdin/stdout

2011-06-17 Thread R. David Murray
R. David Murray added the comment: I'm not sure what the point of your example is, Terry. Is it not fixed in 3.2.1? -- nosy: +r.david.murray ___ Python tracker ___ ___

[issue12356] more argument error improving

2011-06-17 Thread Benjamin Peterson
New submission from Benjamin Peterson : After completing #12265, it was pointed out to me that the error message is still not perfect: >>> def f(a, b, c=3, d=4, e=6, f=3, g=32): pass ... >>> f(1, f=4, d=90) Traceback (most recent call last): File "", line 1, in TypeError: f() takes from 2 t

[issue12346] Python 2.7.2 source code build (release) depends on mercurial

2011-06-17 Thread Ezio Melotti
Ezio Melotti added the comment: The regexes are now in the right order. -- ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue11700] mailbox.py proxy updates

2011-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset b89d193cbca5 by R David Murray in branch '2.7': #11700: proxy object close methods can now be called multiple times http://hg.python.org/cpython/rev/b89d193cbca5 New changeset 8319db2dd342 by R David Murray in branch '3.2': #11700: proxy object clo

[issue11700] mailbox.py proxy close method cannot be called multiple times

2011-06-17 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed title: mailbox.py proxy updates -> mailbox.py proxy close method cannot be called multiple times type: -> behavior ___ Python trac

[issue11767] Maildir iterator leaks file descriptors by default

2011-06-17 Thread R. David Murray
R. David Murray added the comment: Well, it turns out I was totally wrong about the 11700 dependency. I misread the errors that were produced by the test suite. Even after fixing 11700 they are still there: the tests are reading from the closed files. So something changed in the logic betw

[issue12337] Need real TextIOWrapper for stdin/stdout

2011-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: That, like Antoine, I also could not reproduce, even in 3.2.0, when running under IDLE. However, with regular command line Python: Python 3.2 (r32:88445, Feb 20 2011, 21:29:02) [MSC v.1500 32 bit (Intel)] >>> import sys >>> sys.stdin.readline() a 'a\r\n' so the