[ python-Bugs-1537685 ] import on cElementTree on Windows

SourceForge.net noreply at sourceforge.net
Thu Aug 10 14:58:12 CEST 2006


Bugs item #1537685, was opened at 2006-08-09 17:13
Message generated for change (Settings changed) made by thomasbhickey
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1537685&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.5
>Status: Open
Resolution: None
Priority: 5
Submitted By: Thomas B Hickey (thomasbhickey)
Assigned to: Nobody/Anonymous (nobody)
Summary: import on cElementTree on Windows

Initial Comment:
run this one-line file on Windows 2000:

import xml.etree.cElementTree

It generates the message:
usage: copy.py inputFile outputFile

If you give it a couple of file names it at least reads
in the first.

--Th

----------------------------------------------------------------------

>Comment By: Thomas B Hickey (thomasbhickey)
Date: 2006-08-10 08:58

Message:
Logged In: YES 
user_id=274109

OK, the text is coming from a script 'copy.py' that is in
the same directory as the file with the import of
xml.etree.cElementTree.

If I delete my copy.py (and it's associated copy.pyc) then I
don't see the message.

I just installed 2.5b3 and still get the same behavior. 
Somehow the import seems to be running my copy.pyc script.

--Th

----------------------------------------------------------------------

Comment By: Georg Brandl (gbrandl)
Date: 2006-08-10 03:37

Message:
Logged In: YES 
user_id=849994

Could you provide more information? The string "usage:
copy.py" exists nowhere in the Python source distribution,
so I think it must be something on your end.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1537685&group_id=5470


More information about the Python-bugs-list mailing list