[issue1089974] mmap missing offset parameter

2007-10-22 Thread Georg Brandl
Changes by Georg Brandl: -- resolution: -> fixed status: open -> closed superseder: -> add offset to mmap _ Tracker <[EMAIL PROTECTED]> _ _

[issue1071] unicode.translate() doesn't error out on invalid translation table

2007-10-22 Thread Georg Brandl
Georg Brandl added the comment: Committed to Py3k as r58603. -- resolution: -> accepted status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ __

[issue1303] adapt str8 constructor to bytes constructor

2007-10-22 Thread Georg Brandl
Georg Brandl added the comment: I'll perhaps find some time today to try and make the tests useful and consistent again. __ Tracker <[EMAIL PROTECTED]> __ __

[issue1061] ABC caches should use weak refs

2007-10-22 Thread Georg Brandl
Georg Brandl added the comment: Committed r58602. -- status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list

[issue1303] adapt str8 constructor to bytes constructor

2007-10-22 Thread Brett Cannon
Brett Cannon added the comment: Attached is an updated patch. I didn't touch Georg's code short of tossing in some comments on whether we wanted to sneak around some APIs for performance or not. Anything I added was to make all but one test pass. And that one test is test_str. There is now th

[issue1313] Typo in Python Library Reference documentation: logging module

2007-10-22 Thread Neal Norwitz
Neal Norwitz added the comment: Thanks for the report. Committed revision 58600. (2.5) Committed revision 58601. 3.0 will be fixed when we merge. -- assignee: -> nnorwitz nosy: +nnorwitz resolution: -> fixed status: open -> closed __ Tracker <[EMAIL P

[issue1307] smtpd.SMTPServer throws exception on MAIL command with no arg

2007-10-22 Thread Neal Norwitz
Neal Norwitz added the comment: Thanks for the patch. Committed revision 58599. (2.5) -- status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ _

[issue1298] Support for z/OS and EBCDIC.

2007-10-22 Thread Martin v. Löwis
Martin v. Löwis added the comment: I'm marking the patch as rejected, but leave it open. It seems clear that it cannot be incorporated into Python because of the maintenance issues (the only reasonable way to incorporate it would be if a long-time Python contributor steps forward and offers to ma

[issue1061] ABC caches should use weak refs

2007-10-22 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks Georg; please check it in! -- assignee: gvanrossum -> georg.brandl resolution: -> accepted __ Tracker <[EMAIL PROTECTED]> __ ___

[issue1303] adapt str8 constructor to bytes constructor

2007-10-22 Thread Christian Heimes
Changes by Christian Heimes: -- nosy: +tiran __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue708374] add offset to mmap

2007-10-22 Thread Guido van Rossum
Changes by Guido van Rossum: -- resolution: -> accepted status: open -> closed Tracker <[EMAIL PROTECTED]> ___ Python-bugs-list mai

[issue1089974] mmap missing offset parameter

2007-10-22 Thread Travis Oliphant
Travis Oliphant added the comment: This issue can be closed. The issue is resolved in SVN. -- nosy: +teoliphant _ Tracker <[EMAIL PROTECTED]> _

[issue708374] add offset to mmap

2007-10-22 Thread Travis Oliphant
Travis Oliphant added the comment: I applied phuang's patch in revision 58598. This can be closed. Tracker <[EMAIL PROTECTED]> ___ Python-bug

[issue1303] adapt str8 constructor to bytes constructor

2007-10-22 Thread Brett Cannon
Brett Cannon added the comment: The changes to str8 look fine. Now it's time to find out how badly tests break since Georg's patch was generated. =) -- assignee: gvanrossum -> brett.cannon __ Tracker <[EMAIL PROTECTED]>

[issue708374] add offset to mmap

2007-10-22 Thread Guido van Rossum
Guido van Rossum added the comment: Fine with me! -- nosy: +gvanrossum Tracker <[EMAIL PROTECTED]> ___ Python-bugs-list mailing list

[issue1304] py3k compilation on Windows

2007-10-22 Thread Guido van Rossum
Guido van Rossum added the comment: Yup, I think that was it. Sorry. Committed revision 58597. -- resolution: -> accepted status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ __

[issue1304] py3k compilation on Windows

2007-10-22 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: I generated the file with "svn diff", on Windows. Is it a line ending issue in the diff file? Many text files have the svn:eol-style=native property, but the PCBuild8/*/*.vcproj don't. I upload a new version of the patch, with all line endings converted to

[issue1179] [CVE-2007-4965] Integer overflow in imageop module

2007-10-22 Thread James Antill
James Antill added the comment: Not sure who Neal is, and this probably isn't a final upstream fix ... but it's what I've applied to Fedora's python. It's basically the same patch as before, but it keeps the original * tests instead of just replacing them with / tests. So given: if x * y != len

[issue1313] Typo in Python Library Reference documentation: logging module

2007-10-22 Thread Nathan Haines
New submission from Nathan Haines: In the Python Library Reference manual, in section 14.5 (logging), there is a typo in the debug function example code. In the 2.5 PDF this is on page 446. The last line reads: logging.warning("Protocol problem: %s", "connection reset", extra=d) This should re

[issue1305] socket.py hangs on Mac OS X

2007-10-22 Thread Facundo Batista
Facundo Batista added the comment: What happens if you force the garbage collector to collect the just opened and not used socket? Maybe the problem is that the operating system run out of file handlers (if you leave some time in the middle, the GC collects the sockets, freeinig the file handler

[issue1312] doctest EXCEPTION_RE can't handle preceding output

2007-10-22 Thread Martin v. Löwis
Changes by Martin v. Löwis: -- keywords: +patch __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue1263] PEP 3137 patch - str8/str comparison should return false

2007-10-22 Thread Brett Cannon
Brett Cannon added the comment: Everything committed in r58596. Thanks for the help, Thomas! -- resolution: -> accepted status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ _

[issue1312] doctest EXCEPTION_RE can't handle preceding output

2007-10-22 Thread Daniel Nouri
New submission from Daniel Nouri: doctest.DocTestParser._EXCEPTION_RE does not allow for output before the actual traceback. Attached is a simple test that demonstrates the problem. This patch fixes it: --- /usr/lib/python2.5/doctest.py 2007-10-22 21:45:21.0 +0200 +++ /home/daniel/tmp/

[issue1307] smtpd.SMTPServer throws exception on MAIL command with no arg

2007-10-22 Thread Neal Norwitz
Neal Norwitz added the comment: It would be great to get this into 2.5.2. -- assignee: nnorwitz -> gvanrossum __ Tracker <[EMAIL PROTECTED]> __

[issue1253] IDLE - Percolator overhaul

2007-10-22 Thread Kurt B. Kaiser
Kurt B. Kaiser added the comment: What change was required to allow Squeezer and ShellLogger to co-exist? __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bu

[issue1311] os.path.exists(os.devnull) regression on windows

2007-10-22 Thread Facundo Batista
Facundo Batista added the comment: You migrated only of Python version, or also of windows installation? I checked Py25 and Py23 in my Win 2k, and in both I have the same behaviour: C:\Python23>python Python 2.3.5 (#62, Feb 8 2005, 16:23:02) [MSC v.1200 32 bit (Intel)] on win32 Type "help", "c

[issue1305] socket.py hangs on Mac OS X

2007-10-22 Thread Guido van Rossum
Guido van Rossum added the comment: Odd. Smells like an OSX issue that we can't do anything about. I note that only attempts 250, 500, 750 (and so on if you increase the counter) have this behavior. I wonder if you'r simply filling up some kernel queue too fast; if I insert time.sleep(0.001) i

[issue1304] py3k compilation on Windows

2007-10-22 Thread Guido van Rossum
Guido van Rossum added the comment: This doesn't apply cleanly with today's trunk, and that's not just due to the fix by Christian Heimes (which I checked in before noticing this) that fixes the same issue (bytes_methods.c). Can you & Christian please work together on a new patch? I don't have

[issue1307] smtpd.SMTPServer throws exception on MAIL command with no arg

2007-10-22 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks! Committed revision 58594. Is there time to backport this to 2.5.2? -- assignee: -> nnorwitz nosy: +gvanrossum, nnorwitz resolution: -> accepted __ Tracker <[EMAIL PROTECTED]>

[issue1309] windows build fix

2007-10-22 Thread Guido van Rossum
Guido van Rossum added the comment: Committed revision 58592. -- nosy: +gvanrossum resolution: -> accepted status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___

[issue1298] Support for z/OS and EBCDIC.

2007-10-22 Thread Lauri Alanko
Lauri Alanko added the comment: Further comments on the port can be at: http://mail.python.org/pipermail/python-dev/2007-October/074991.html __ Tracker <[EMAIL PROTECTED]> __ __

[issue1310] tempfile breaks on Windows

2007-10-22 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r58590. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ _

[issue1311] os.path.exists(os.devnull) regression on windows

2007-10-22 Thread David Kågedal
David Kågedal added the comment: It's called os.devnull, and nothing else. -- title: os.path.exists(os.devnul) regression on windows -> os.path.exists(os.devnull) regression on windows __ Tracker <[EMAIL PROTECTED]> ___

[issue1311] os.path.exists(os.devnul) regression on windows

2007-10-22 Thread David Kågedal
New submission from David Kågedal: When moving from Python 2.4 to Python 2.5, my program stopped working on win32 because of a change in os.path.exists. I couldn't find any description of the change, so I can only assume it's a bug. The os.devnul variable contains the name of the "null file", wh

[issue1286] fileinput, StringIO, and cStringIO do not support the with protocol

2007-10-22 Thread Yitz Gale
Yitz Gale added the comment: These objects are supposed to be drop-in replacements for file handles. Except in legacy code, the way you use a file handle is: with function_to_create_fh as fh: If these objects do not support the with protocol, the only way to use them is to refactor this code

[issue1263] PEP 3137 patch - str8/str comparison should return false

2007-10-22 Thread Brett Cannon
Changes by Brett Cannon: -- keywords: +py3k priority: -> immediate type: rfe -> behavior __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list

[issue1263] PEP 3137 patch - str8/str comparison should return false

2007-10-22 Thread Brett Cannon
Brett Cannon added the comment: Attached is a fix for test_struct. All of the string tests now assume str8 is returned when arguments of bytes, str8 or str are given for the various string formats. All tests now pass. Re-assigning to myself to check everything in when it isn't so late at night