[issue1308] unicode(None) anomaly

2007-10-22 Thread Martin v. Löwis
Martin v. Löwis added the comment: Ok. This is not a bug, but by design. unicode(X)==unicode(str(X)) for most things, and str(X)==repr(X) for most things. repr(None)=='None', hence the result you see. Closing as invalid. P.S. To respond via email, you have to add your email address to Your

[issue1309] windows build fix

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

[issue1308] unicode(None) anomaly

2007-10-22 Thread James G. sack (jim)
James G. sack (jim) added the comment: Martin v. Löwis wrote: Martin v. Löwis added the comment: Ok. This is not a bug, but by design. unicode(X)==unicode(str(X)) for most things, and str(X)==repr(X) for most things. repr(None)=='None', hence the result you see. Closing as invalid. P.S.

[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] http://bugs.python.org/issue1263 __ ___ Python-bugs-list

[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: do stuff If these objects do not support the with protocol, the only way to use them is to refactor

[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,

[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] http://bugs.python.org/issue1311

[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] http://bugs.python.org/issue1310 __

[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] http://bugs.python.org/issue1298 __

[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] http://bugs.python.org/issue1309 __

[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] http://bugs.python.org/issue1307

[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

[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)

[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:\Python23python Python 2.3.5 (#62, Feb 8 2005, 16:23:02) [MSC v.1200 32 bit (Intel)] on win32 Type help,

[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] http://bugs.python.org/issue1253 __ ___

[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] http://bugs.python.org/issue1307 __ ___

[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 +++

[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] http://bugs.python.org/issue1263 __

[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] http://bugs.python.org/issue1312 __ ___ Python-bugs-list mailing list Unsubscribe:

[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 read:

[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

[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] http://bugs.python.org/issue1304 __

[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] http://bugs.python.org/issue708374 ___ Python-bugs-list mailing list

[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] http://bugs.python.org/issue1303

[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] http://bugs.python.org/issue708374 ___

[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] http://bugs.python.org/issue1307 __