Message28746
| Author |
zseil |
| Recipients |
| Date |
2006年06月08日.13:32:38 |
| SpamBayes Score |
| Marked as misclassified |
| Message-id |
| In-reply-to |
| Content |
Logged In: YES
user_id=1326842
The bug is in the file.__exit__ method. This method is
just an alias for file.close(), with METH_VARARGS instead
of METH_NOARGS as flags. It should be instead a method
that requires three parameters, closes the file and
returns a false value if those parameters were not None
or if something went wrong while closing the file. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2007年08月23日 14:40:27 | admin | link | issue1502805 messages |
| 2007年08月23日 14:40:27 | admin | create |
|