commit | 322656596abfd772b0573731a78676f4a16f2d34 | [log] [tgz] |
---|---|---|
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | Thu Nov 20 23:34:31 2008 +0000 |
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | Thu Nov 20 23:34:31 2008 +0000 |
tree | 5e138ae18baa1dee3ff6fd9a823cfacc5e67d62b | |
parent | ad100c3acb566a8a9a6094a9ace96c6399fab394 [diff] |
Fixed issue #4233. Changed semantic of _fileio.FileIO's close() method on file objects with closefd=False. The file descriptor is still kept open but the file object behaves like a closed file. The FileIO object also got a new readonly attribute closefd. Approved by Barry Backport of r67106 from the py3k branch