Stefan Krah
ea94ba45fa
Merge 3.2.
2012-09-08 11:19:27 +02:00
Stefan Krah
96efdd422c
Issue #15868 : Fix refleak in bytesio.c (Coverity #715365 ).
2012-09-08 11:12:33 +02:00
Antoine Pitrou
11946fbe80
Issue #15841 : The readable(), writable() and seekable() methods of BytesIO
...
and StringIO objects now raise ValueError when the object has been closed.
Patch by Alessandro Moura.
2012-09-05 20:13:48 +02:00
Antoine Pitrou
1d857453b7
Issue #15841 : The readable(), writable() and seekable() methods of BytesIO
...
and StringIO objects now raise ValueError when the object has been closed.
Patch by Alessandro Moura.
2012-09-05 20:11:49 +02:00
Antoine Pitrou
57911f6c1a
Issue #15489 : Add a __sizeof__ implementation for BytesIO objects.
...
Patch by Serhiy Storchaka.
2012-07-30 00:01:44 +02:00
Antoine Pitrou
8f328d0c1d
Issue #15489 : Add a __sizeof__ implementation for BytesIO objects.
...
Patch by Serhiy Storchaka.
2012-07-30 00:01:06 +02:00
Brett Cannon
b94767ff44
Issue #8914 : fix various warnings from the Clang static analyzer v254.
2011-02-22 20:15:44 +00:00
Benjamin Peterson
fa73555cfc
correct logic when pos is after the string #10467
2010-11-20 17:24:04 +00:00
Antoine Pitrou
972ee13e03
Issue #5506 : BytesIO objects now have a getbuffer() method exporting a
...
view of their contents without duplicating them. The view is both readable
and writable.
2010-09-06 18:48:21 +00:00
Antoine Pitrou
d5c3f6c839
BytesIO.getvalue() and StringIO.getvalue() are METH_NOARGS.
2010-09-02 19:48:07 +00:00
Antoine Pitrou
6be8876623
Merged revisions 80720 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80720 | antoine.pitrou | 2010-05-03 18:25:33 +0200 (lun., 03 mai 2010) | 5 lines
Issue #7865 : The close() method of :mod:`io` objects should not swallow
exceptions raised by the implicit flush(). Also ensure that calling
close() several times is supported. Patch by Pascal Chambon.
........
2010-05-03 16:48:20 +00:00
Antoine Pitrou
905a2ffe3e
Merged revisions 77890 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77890 | antoine.pitrou | 2010-01-31 23:26:04 +0100 (dim., 31 janv. 2010) | 7 lines
- Issue #6939 : Fix file I/O objects in the `io` module to keep the original
file position when calling `truncate()`. It would previously change the
file position to the given argument, which goes against the tradition of
ftruncate() and other truncation APIs. Patch by Pascal Chambon.
........
2010-01-31 22:47:27 +00:00
Alexandre Vassalotti
ba5c74329d
Issue 5449: Fix io.BytesIO to not accept arbitrary keywords
...
Patch contributed by Erick Tryzelaar.
2009-08-04 23:19:13 +00:00
Alexandre Vassalotti
cf76e1ac92
Issue #6218 : Make io.BytesIO and io.StringIO picklable.
2009-07-22 03:24:36 +00:00
Alexandre Vassalotti
fc477048e1
Issue #6242 : Fix deallocator of io.StringIO and io.BytesIO.
2009-07-22 02:24:49 +00:00
Benjamin Peterson
680bf1afe8
move to a naming scheme with all lowercase and underscores
2009-06-12 02:07:12 +00:00
Benjamin Peterson
1fea321502
use NULL for the ends of tables
2009-04-19 03:15:20 +00:00
Alexandre Vassalotti
8d8d630003
Issue 5682: Move _io module into its own subdirectory.
...
Reviewed by: Antoine Pitrou
2009-04-04 19:58:40 +00:00