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
Changes by Martin v. Löwis:
--
keywords: +patch
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1309
__
___
Python-bugs-list mailing list
Unsubscribe:
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.
Changes by Brett Cannon:
--
keywords: +py3k
priority: - immediate
type: rfe - behavior
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1263
__
___
Python-bugs-list
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
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,
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
Georg Brandl added the comment:
Fixed in r58590.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1310
__
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
__
Guido van Rossum added the comment:
Committed revision 58592.
--
nosy: +gvanrossum
resolution: - accepted
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1309
__
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
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
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)
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,
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
__
___
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
__
___
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
+++
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
__
Changes by Martin v. Löwis:
--
keywords: +patch
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1312
__
___
Python-bugs-list mailing list
Unsubscribe:
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:
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
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
__
Guido van Rossum added the comment:
Fine with me!
--
nosy: +gvanrossum
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue708374
___
Python-bugs-list mailing list
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
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
___
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
__
26 matches
Mail list logo