[issue3455] os.remove()method document error

2008-08-04 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Well, you seemed to be misled by the wording "in use". Therefore, I propose to change "in use" to "opened", but only if "in use" always means "opened". ___ Python tracker <[EMAIL PROTECTED]>

[issue3455] os.remove()method document error

2008-08-04 Thread 香槟酒
香槟酒 <[EMAIL PROTECTED]> added the comment: I can't understand you. Could you explain more? 2008/7/29 Georg Brandl <[EMAIL PROTECTED]> > > Georg Brandl <[EMAIL PROTECTED]> added the comment: > > Can a file be "in use" other than being opened? If not, wouldn't be > "opened" be a better wording? >

[issue3455] os.remove()method document error

2008-07-28 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Can a file be "in use" other than being opened? If not, wouldn't be "opened" be a better wording? ___ Python tracker <[EMAIL PROTECTED]>

[issue3455] os.remove()method document error

2008-07-28 Thread 香槟酒
香槟酒 <[EMAIL PROTECTED]> added the comment: Thanks, you are right, I am wrong, I think that is the use of editing, so I made a mistake. 2008/7/28 Benjamin Peterson <[EMAIL PROTECTED]> > > Benjamin Peterson <[EMAIL PROTECTED]> added the comment: > > Editors usually don't cause the file to be "in

[issue3455] os.remove()method document error

2008-07-28 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Editors usually don't cause the file to be "in use." "In use" would mean that the file was being held open by a program. Editors only do that when they are opening or saving a file. -- resolution: -> invalid status: open -> clos

[issue3455] os.remove()method document error

2008-07-28 Thread 香槟酒
香槟酒 <[EMAIL PROTECTED]> added the comment: Thank you for your reply.I mean I used gvim to open a file. the Python manual did not specify how to use a file, but said that if a file is to be used, the deletion of the file will be exception to be raise.so when I use gvim to open a file, then run os.

[issue3455] os.remove()method document error

2008-07-28 Thread Facundo Batista
Facundo Batista <[EMAIL PROTECTED]> added the comment: zkfarmer, please try the following from your IDLE: >>> myfilename = r"c:\tmp\test.txt" >>> fh = open(myfilename, "w") >>> fh.write("test\n") >>> fh.close() >>> fh = open(myfilename) >>> import os >>> os.remove(myfilename) Traceback (most re

[issue3455] os.remove()method document error

2008-07-28 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: There seems to be some misunderstanding. zkfarmer, you said: "it deletes my file that in use without any exception." Can you explain this sentence? How is your file "in use"? -- nosy: +amaury.forgeotdarc __

[issue3455] os.remove()method document error

2008-07-28 Thread 香槟酒
香槟酒 <[EMAIL PROTECTED]> added the comment: yes, i use this method,but actually the result don't agree with the Python's manual. my OS is windows xp and version is simplified chinese! 2008/7/28 Benjamin Peterson <[EMAIL PROTECTED]> > > Benjamin Peterson <[EMAIL PROTECTED]> added the comment: > >

[issue3455] os.remove()method document error

2008-07-27 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: What do you mean by "in use"? -- nosy: +benjamin.peterson ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue3455] os.remove()method document error

2008-07-27 Thread 香槟酒
Changes by 香槟酒 <[EMAIL PROTECTED]>: -- type: performance -> resource usage ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-li

[issue3455] os.remove()method document error

2008-07-27 Thread 香槟酒
New submission from 香槟酒 <[EMAIL PROTECTED]>: in Python 2.5 document, os.remove() explain: On Windows, attempting to remove a file that is in use causes an exception to be raised. but, i run it in IDLE.it deletes my file that in use without any exception. -- assignee: georg.brandl compone