commit | 6a38ceda034df6b0be6ed41edbdc28f76e7e7805 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Sun Jun 14 18:32:19 2009 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Sun Jun 14 18:32:19 2009 +0000 |
tree | 558b79f919de865e9380d86918f8e2eea7bd3576 | |
parent | 2a8b54d29cc943e7b8bc493d5500463b0e0af5ff [diff] [blame] |
just throw a normal AttributeError for no buffer attribute
diff --git a/Misc/NEWS b/Misc/NEWS index 407681b..1ec5c53 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -15,6 +15,9 @@ Library ------- +- Accessing io.StringIO.buffer now raises an AttributeError instead of + io.UnsupportedOperation. + - Issue #6271: mmap tried to close invalid file handle (-1) when annonymous. (On Unix)