New submission from John Burnett :
The _serialize_xml function in ElementTree.py doesn't escape Comment.text
values when writing output. This means the following code:
import sys
import xml.etree.ElementTree
elem = xml.etree.ElementTree.Comment()
elem.text = '
John Burnett added the comment:
You're right, Vista64 is returning "win32" for the platform.
And ahh, I see what I did: in Python 2.5.2, _syscmd_file wasn't using a
sys.platform check. Then when I looked at the current version, I saw it
was still using "/dev/null&qu
John Burnett added the comment:
I'm not sure how you're seeing that those functions bypass external
commands?
I'm running Vista64, and it certainly looks like calling
platform.architecture calls _syscmd_file, which then immediately calls
os.popen("file %s 2> /dev/null&
New submission from John Burnett :
The functions _syscmd_uname and _syscmd_file are hard-coded to pipe
stderr to "/dev/null", as opposed to os.devnull. On Windows, this has
the effect of creating a file called "null" to a local "dev" directory
(if the directo
Changes by John Burnett <[EMAIL PROTECTED]>:
--
type: -> behavior
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2922>
__
___
Python-b
New submission from John Burnett <[EMAIL PROTECTED]>:
http://docs.python.org/inst/alt-install-windows.html
The above says "Windows has no concept of a user's home directory, and
since the standard Python installation under Windows is simpler than
under Unix, the --p