Bugs item #2986020, was opened at 2010-04-12 12:19
Message generated for change (Tracker Item Submitted) made by mrsteve1999
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2986020&group_id=78018
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: pythonwin
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Steve C (mrsteve1999)
Assigned to: Nobody/Anonymous (nobody)
Summary: Inserting special character causes source file deletion
Initial Comment:
>From within PythonWin editor, inserting a string containing a certain special character (–, as seen in "Char to paste.txt") into a python string object, and then attempting to save the file, causes the source file to be erased completely, from outside the editor.
Using the 2 attached files, copy the character in "Char to paste.txt" to the clipboard. Open "Bug Demo.py" with PythonWin, and paste the character into the second string in the same location as the hyphen in the first string. Save the file.
At the very minimum, this error should be handled much more gracefully. I nearly lost a significant amount of code when this happened initially, and fortunately I chose NOT to reload the (now empty) file in the editor, so I had the opportunity to copy the code.
Environment:
PyWin32 build 214
64-bit Windows 7 Ultimate
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2986020&group_id=78018
|