Benjamin Peterson [EMAIL PROTECTED] added the comment:
This is a duplicate of #2501.
--
resolution: - duplicate
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3590
___
Changes by Benjamin Peterson [EMAIL PROTECTED]:
--
priority: critical - release blocker
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3590
___
___
Antoine Pitrou [EMAIL PROTECTED] added the comment:
From the discussion on the python-3000, it looks like it would be nice
if sax.parser handled both bytes and unicode streams.
Edward, does your simple fix make sax.parser work entirely well with
byte streams?
Edward K Ream [EMAIL PROTECTED] added the comment:
On Mon, Aug 18, 2008 at 1:51 PM, Antoine Pitrou [EMAIL PROTECTED]wrote:
Antoine Pitrou [EMAIL PROTECTED] added the comment:
From the discussion on the python-3000, it looks like it would be nice
if sax.parser handled both bytes and unicode
Edward K Ream [EMAIL PROTECTED] added the comment:
On Mon, Aug 18, 2008 at 11:00 AM, Antoine Pitrou [EMAIL PROTECTED]wrote:
Antoine Pitrou [EMAIL PROTECTED] added the comment:
Just to be clear, I am at present totally confused about io streams :-)
Python 3.0 distincts more clearly
Antoine Pitrou [EMAIL PROTECTED] added the comment:
The same calls to sax read the file correctly on Python 2.5.
What are those calls exactly?
Why is cp1252 used as an encoding? Is it what is specified in the XML
file? Or do you somehow feed stdin to the SAX parser? (if the latter,
you aren't
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment:
I guess that the file is simply opened in text mode (r). This uses the
preferred encoding, which is cp1252 on (western) Windows machines.
--
nosy: +amaury.forgeotdarc
___
Python tracker [EMAIL
Edward K Ream [EMAIL PROTECTED] added the comment:
On Mon, Aug 18, 2008 at 4:15 PM, Antoine Pitrou [EMAIL PROTECTED]wrote:
Antoine Pitrou [EMAIL PROTECTED] added the comment:
The same calls to sax read the file correctly on Python 2.5.
What are those calls exactly?
parser =
Changes by Antoine Pitrou [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file11145/unnamed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3590
___
___
Changes by Antoine Pitrou [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file11147/unnamed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3590
___
___
Changes by Antoine Pitrou [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file11148/unnamed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3590
___
___
Changes by Antoine Pitrou [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file11151/unnamed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3590
___
___
Antoine Pitrou [EMAIL PROTECTED] added the comment:
Ok, then xml.sax looks rather broken.
(by the way, can you avoid sending HTML emails? each time you send one,
the bug tracker attaches a file names unnamed. I've removed all 4 of
them now.)
___
Python
13 matches
Mail list logo