New submission from Nathan Haines:
In the first sentence in the ContextManager.__exit__() section,
exception is spelled expection.
--
components: Documentation
messages: 56510
nosy: nhaines
severity: normal
status: open
title: Typo in Context Manager Types
type: rfe
versions: Python
Facundo Batista added the comment:
Fixed in rev 58530 (also added a test case)
--
resolution: - fixed
status: open - closed
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1580738
_
Facundo Batista added the comment:
Where this happens? In the documentation? In the PEP? Do you have the
URL where you found this?
--
nosy: +facundobatista
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1289
__
Facundo Batista added the comment:
Downloaded the testdata.txt file, and yes, it's UTF-8:
[EMAIL PROTECTED]:~/devel$ file testdata.txt
testdata.txt: UTF-8 Unicode text
But I opened it perfectly!
Python 2.5.1 (r251:54863, May 2 2007, 16:56:35)
[GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2
Nathan Haines added the comment:
This typo is in the Python Library Reference manual, section 3.10, for
versions 2.5, 2.6, and 3.0.
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1289
__
Facundo Batista added the comment:
Fixed in rev 58531.
--
resolution: - fixed
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1289
__
___
Neal Norwitz added the comment:
I think this is good enough for now. The approach will probably stand
even if the details change. Go for it!
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1631171
_
Changes by Neal Norwitz:
--
assignee: nnorwitz - brett.cannon
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1631171
_
___
Python-bugs-list mailing list
Sharmila Sivakumar added the comment:
Thanks for your quick response Facundo.
I'm working on Ubuntu 7.04, python 2.5.1
Python 2.5.1 (r251:54863, May 2 2007, 16:56:35)
[GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2
This error occurs when the default encoding is 'ascii'. When I change the
Sharmila Sivakumar added the comment:
Oops Facundo, that will work. It actually fails *
after the dom construction* when you do
mydom.firstChild.childNodes
I request you to try it again.
The prob is there is some encoding and decoding done within the parser, and
it uses the default encoding
10 matches
Mail list logo