History log of /external/python/cpython3/Modules/_io/stringio.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
06515833fef7b8b5c7968edf72367d94ff7eb1e0 20-Nov-2016 Serhiy Storchaka <storchaka@gmail.com> Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize
with PyUnicode_AsUTF8 and PyUnicode_AsUTF8AndSize.
/external/python/cpython3/Modules/_io/stringio.c
abe4d52a1a175b784a5ccae6f31638fb9bf7bfe4 20-Apr-2016 Martin Panter <vadmium+py@gmail.com> Merge doc and comment fixes from 3.5
8f26565ba9e3d32f6c953b04c1b9f9d13c2e1818 19-Apr-2016 Martin Panter <vadmium+py@gmail.com> Fix spelling (inital), grammar (may translates) in documentation, comments
/external/python/cpython3/Modules/_io/stringio.c
b6a9c9761ca988e1ab69defd45433fac0b2ff89c 17-Apr-2016 Serhiy Storchaka <storchaka@gmail.com> Issue #26778: Fixed "a/an/and" typos in code comment, documentation and error
messages.
f26441609310c12826fe4b5bc896aafafa268763 10-Oct-2015 Martin Panter <vadmium+py@gmail.com> Issue #22413: Remove comment made out of date by Argument Clinic
/external/python/cpython3/Modules/_io/stringio.c
3f930dcd8725078c1655f09ca9bea0889e999fd6 07-Oct-2015 Martin Panter <vadmium+py@gmail.com> Merge typo fixes from 3.4 into 3.5
9955a373a8ae5a3ac9108afc436199277fdedff7 07-Oct-2015 Martin Panter <vadmium+py@gmail.com> Various minor typos in documentation and comments
/external/python/cpython3/Modules/_io/stringio.c
f24131ff3125e59ca779d0e2fcec4967d50f950c 16-Apr-2015 Serhiy Storchaka <storchaka@gmail.com> Issue #20175: Converted the _io module to Argument Clinic.
/external/python/cpython3/Modules/_io/stringio.c
11946fbe804d99d26724e65dcb061cda6666c4e9 05-Sep-2012 Antoine Pitrou <solipsis@pitrou.net> 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.
1d857453b7065dafdc34a72c1bbb2a993782b383 05-Sep-2012 Antoine Pitrou <solipsis@pitrou.net> 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.
/external/python/cpython3/Modules/_io/stringio.c
d0acb411ef6790b5ecfbd8b6be9c2d0cc1aeb4d5 22-Mar-2012 Antoine Pitrou <solipsis@pitrou.net> Issue #14387: Do not include accu.h from Python.h.
9e30aa52fd416e17b692c4f22e57191cdd6ec654 21-Nov-2011 Victor Stinner <victor.stinner@haypocalc.com> Fix misuse of PyUnicode_GET_SIZE() => PyUnicode_GET_LENGTH()

And PyUnicode_GetSize() => PyUnicode_GetLength()
/external/python/cpython3/Modules/_io/stringio.c
de20b0b50e7b28a8f6eba8fb7e6f18063d5709b4 10-Nov-2011 Antoine Pitrou <solipsis@pitrou.net> Issue #13149: Speed up append-only StringIO objects.
This is very similar to the "lazy strings" idea.
/external/python/cpython3/Modules/_io/stringio.c
c4f281eba3f2b33bc0a7d7172c44f3d1237c09b3 11-Oct-2011 Victor Stinner <victor.stinner@haypocalc.com> Fix misuse of PyUnicode_GET_SIZE, use PyUnicode_GET_LENGTH instead
/external/python/cpython3/Modules/_io/stringio.c
e1335c711c555567a9951dd5c1dfde85545445d4 04-Oct-2011 Victor Stinner <victor.stinner@haypocalc.com> Fix usage og PyUnicode_READY()
/external/python/cpython3/Modules/_io/stringio.c
d63a3b8beb4a0841cb59fb3515347ccaab34b733 28-Sep-2011 Martin v. Löwis <martin@v.loewis.de> Implement PEP 393.
/external/python/cpython3/Modules/_io/stringio.c
3b3499ba69341a49fc842ce0d4a2f66fcb249a04 16-Mar-2011 Ezio Melotti <ezio.melotti@gmail.com> #11565: Merge with 3.1.
13925008dc11f2a235627dc8c0440c0ce99171d9 16-Mar-2011 Ezio Melotti <ezio.melotti@gmail.com> #11565: Fix several typos. Patch by Piotr Kasprzyk.
/external/python/cpython3/Modules/_io/stringio.c
b82d5e1525f5bcad8c3ff23f2cfe679227643a65 03-Sep-2010 Antoine Pitrou <solipsis@pitrou.net> Merged revisions 84438 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
r84438 | antoine.pitrou | 2010-09-02 21:48:07 +0200 (jeu., 02 sept. 2010) | 3 lines

BytesIO.getvalue() and StringIO.getvalue() are METH_NOARGS.
........
/external/python/cpython3/Modules/_io/stringio.c
d5c3f6c839403605d0e2c481d9b7d4e7b9aa4694 02-Sep-2010 Antoine Pitrou <solipsis@pitrou.net> BytesIO.getvalue() and StringIO.getvalue() are METH_NOARGS.
/external/python/cpython3/Modules/_io/stringio.c
66f9fea782d330b28fe142ac4e58faff8a6f42d1 01-Feb-2010 Antoine Pitrou <solipsis@pitrou.net> Merged revisions 77895-77896 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
r77895 | antoine.pitrou | 2010-01-31 23:47:27 +0100 (dim., 31 janv. 2010) | 12 lines

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.
........
................
r77896 | antoine.pitrou | 2010-02-01 00:12:29 +0100 (lun., 01 févr. 2010) | 3 lines

r77895 broke doctest.
................
/external/python/cpython3/Modules/_io/stringio.c
905a2ffe3e5445925a669ab433521ddb66cf1043 31-Jan-2010 Antoine Pitrou <solipsis@pitrou.net> 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.
........
/external/python/cpython3/Modules/_io/stringio.c
a0dfa82eca0f4b9855b6e234f9b21e5d60c88a10 13-Nov-2009 Benjamin Peterson <benjamin@python.org> Merged revisions 75149,75260-75263,75265-75267,75292,75300,75376,75405,75429-75433,75437,75445,75501,75551,75572,75589-75591,75657,75742,75868,75952-75957,76057,76105,76139,76143,76162,76223 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r75149 | gregory.p.smith | 2009-09-29 16:56:31 -0500 (Tue, 29 Sep 2009) | 3 lines

Mention issue6972 in extractall docs about overwriting things outside of
the supplied path.
........
r75260 | andrew.kuchling | 2009-10-05 16:24:20 -0500 (Mon, 05 Oct 2009) | 1 line

Wording fix
........
r75261 | andrew.kuchling | 2009-10-05 16:24:35 -0500 (Mon, 05 Oct 2009) | 1 line

Fix narkup
........
r75262 | andrew.kuchling | 2009-10-05 16:25:03 -0500 (Mon, 05 Oct 2009) | 1 line

Document 'skip' parameter to constructor
........
r75263 | andrew.kuchling | 2009-10-05 16:25:35 -0500 (Mon, 05 Oct 2009) | 1 line

Note side benefit of socket.create_connection()
........
r75265 | andrew.kuchling | 2009-10-05 17:31:11 -0500 (Mon, 05 Oct 2009) | 1 line

Reword sentence
........
r75266 | andrew.kuchling | 2009-10-05 17:32:48 -0500 (Mon, 05 Oct 2009) | 1 line

Use standard comma punctuation; reword some sentences in the docs
........
r75267 | andrew.kuchling | 2009-10-05 17:42:56 -0500 (Mon, 05 Oct 2009) | 1 line

Backport r73983: Document the thousands separator.
........
r75292 | benjamin.peterson | 2009-10-08 22:11:36 -0500 (Thu, 08 Oct 2009) | 1 line

death to old CVS keyword
........
r75300 | benjamin.peterson | 2009-10-09 16:48:14 -0500 (Fri, 09 Oct 2009) | 1 line

fix some coding style
........
r75376 | benjamin.peterson | 2009-10-11 20:26:07 -0500 (Sun, 11 Oct 2009) | 1 line

platform we don't care about
........
r75405 | neil.schemenauer | 2009-10-14 12:17:14 -0500 (Wed, 14 Oct 2009) | 4 lines

Issue #1754094: Improve the stack depth calculation in the compiler.
There should be no other effect than a small decrease in memory use.
Patch by Christopher Tur Lesniewski-Laas.
........
r75429 | benjamin.peterson | 2009-10-14 20:47:28 -0500 (Wed, 14 Oct 2009) | 1 line

pep8ify if blocks
........
r75430 | benjamin.peterson | 2009-10-14 20:49:37 -0500 (Wed, 14 Oct 2009) | 1 line

use floor division and add a test that exercises the tabsize codepath
........
r75431 | benjamin.peterson | 2009-10-14 20:56:25 -0500 (Wed, 14 Oct 2009) | 1 line

change test to what I intended
........
r75432 | benjamin.peterson | 2009-10-14 22:05:39 -0500 (Wed, 14 Oct 2009) | 1 line

some cleanups
........
r75433 | benjamin.peterson | 2009-10-14 22:06:55 -0500 (Wed, 14 Oct 2009) | 1 line

make inspect.isabstract() always return a boolean; add a test for it, too #7069
........
r75437 | benjamin.peterson | 2009-10-15 10:44:46 -0500 (Thu, 15 Oct 2009) | 1 line

only clear a module's __dict__ if the module is the only one with a reference to it #7140
........
r75445 | vinay.sajip | 2009-10-16 09:06:44 -0500 (Fri, 16 Oct 2009) | 1 line

Issue #7120: logging: Removed import of multiprocessing which is causing crash in GAE.
........
r75501 | antoine.pitrou | 2009-10-18 13:37:11 -0500 (Sun, 18 Oct 2009) | 3 lines

Add a comment about unreachable code, and fix a typo
........
r75551 | benjamin.peterson | 2009-10-19 22:14:10 -0500 (Mon, 19 Oct 2009) | 1 line

use property api
........
r75572 | benjamin.peterson | 2009-10-20 16:55:17 -0500 (Tue, 20 Oct 2009) | 1 line

clarify buffer arg #7178
........
r75589 | benjamin.peterson | 2009-10-21 21:26:47 -0500 (Wed, 21 Oct 2009) | 1 line

whitespace
........
r75590 | benjamin.peterson | 2009-10-21 21:36:47 -0500 (Wed, 21 Oct 2009) | 1 line

rewrite to be nice to other implementations
........
r75591 | benjamin.peterson | 2009-10-21 21:50:38 -0500 (Wed, 21 Oct 2009) | 4 lines

rewrite for style, clarify, and comments

Also, use the hasattr() like scheme of allowing BaseException exceptions through.
........
r75657 | antoine.pitrou | 2009-10-24 07:41:27 -0500 (Sat, 24 Oct 2009) | 3 lines

Fix compilation error in debug mode.
........
r75742 | benjamin.peterson | 2009-10-26 17:51:16 -0500 (Mon, 26 Oct 2009) | 1 line

use 'is' instead of id()
........
r75868 | benjamin.peterson | 2009-10-27 15:59:18 -0500 (Tue, 27 Oct 2009) | 1 line

test expect base classes
........
r75952 | georg.brandl | 2009-10-29 15:38:32 -0500 (Thu, 29 Oct 2009) | 1 line

Use the correct function name in docstring.
........
r75953 | georg.brandl | 2009-10-29 15:39:50 -0500 (Thu, 29 Oct 2009) | 1 line

Remove mention of the old -X command line switch.
........
r75954 | georg.brandl | 2009-10-29 15:53:00 -0500 (Thu, 29 Oct 2009) | 1 line

Use constants instead of magic integers for test result. Do not re-run with --verbose3 for environment changing tests.
........
r75955 | georg.brandl | 2009-10-29 15:54:03 -0500 (Thu, 29 Oct 2009) | 1 line

Use a single style for all the docstrings in the math module.
........
r75956 | georg.brandl | 2009-10-29 16:16:34 -0500 (Thu, 29 Oct 2009) | 1 line

I do not think the "railroad" program mentioned is still available.
........
r75957 | georg.brandl | 2009-10-29 16:44:56 -0500 (Thu, 29 Oct 2009) | 1 line

Fix constant name.
........
r76057 | benjamin.peterson | 2009-11-02 09:06:45 -0600 (Mon, 02 Nov 2009) | 1 line

prevent a rather unlikely segfault
........
r76105 | georg.brandl | 2009-11-04 01:38:12 -0600 (Wed, 04 Nov 2009) | 1 line

#7259: show correct equivalent for operator.i* operations in docstring; fix minor issues in operator docs.
........
r76139 | benjamin.peterson | 2009-11-06 19:04:38 -0600 (Fri, 06 Nov 2009) | 1 line

spelling
........
r76143 | georg.brandl | 2009-11-07 02:26:07 -0600 (Sat, 07 Nov 2009) | 1 line

#7271: fix typo.
........
r76162 | benjamin.peterson | 2009-11-08 22:10:53 -0600 (Sun, 08 Nov 2009) | 1 line

discuss how to use -p
........
r76223 | georg.brandl | 2009-11-12 02:29:46 -0600 (Thu, 12 Nov 2009) | 1 line

Give the profile module a module directive.
........
/external/python/cpython3/Modules/_io/stringio.c
194da4a7da15caae7f21204bc40bca7c8084b925 13-Aug-2009 Georg Brandl <georg@python.org> Merged revisions 74126,74130-74131,74149,74155,74157,74180-74183,74398 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

................
r74126 | alexandre.vassalotti | 2009-07-21 02:39:03 +0200 (Di, 21 Jul 2009) | 14 lines

Merged revisions 73871 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r73871 | alexandre.vassalotti | 2009-07-06 22:17:30 -0400 (Mon, 06 Jul 2009) | 7 lines

Grow the allocated buffer in PyUnicode_EncodeUTF7 to avoid buffer overrun.

Without this change, test_unicode.UnicodeTest.test_codecs_utf7 crashes in
debug mode. What happens is the unicode string u'\U000abcde' with a length
of 1 encodes to the string '+2m/c3g-' of length 8. Since only 5 bytes is
reserved in the buffer, a buffer overrun occurs.
........
................
r74130 | alexandre.vassalotti | 2009-07-21 02:57:50 +0200 (Di, 21 Jul 2009) | 2 lines

Add ignore rule for the Doc/tools/jinga2/ directory.
................
r74131 | alexandre.vassalotti | 2009-07-21 04:51:58 +0200 (Di, 21 Jul 2009) | 13 lines

Merged revisions 73683,73786 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r73683 | georg.brandl | 2009-06-29 10:44:49 -0400 (Mon, 29 Jun 2009) | 1 line

Fix error handling in PyCode_Optimize, by Alexander Schremmer at EuroPython sprint.
........
r73786 | benjamin.peterson | 2009-07-02 18:56:16 -0400 (Thu, 02 Jul 2009) | 1 line

condense with assertRaises
........
................
r74149 | ezio.melotti | 2009-07-21 22:37:52 +0200 (Di, 21 Jul 2009) | 9 lines

Merged revisions 74148 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r74148 | ezio.melotti | 2009-07-21 23:18:27 +0300 (Tue, 21 Jul 2009) | 1 line

#6536 fixed typo
........
................
r74155 | alexandre.vassalotti | 2009-07-22 04:24:49 +0200 (Mi, 22 Jul 2009) | 2 lines

Issue #6242: Fix deallocator of io.StringIO and io.BytesIO.
................
r74157 | alexandre.vassalotti | 2009-07-22 05:07:33 +0200 (Mi, 22 Jul 2009) | 2 lines

Issue #6241: Better type checking for the arguments of io.StringIO.
................
r74180 | ezio.melotti | 2009-07-22 23:17:14 +0200 (Mi, 22 Jul 2009) | 9 lines

Merged revisions 74179 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r74179 | ezio.melotti | 2009-07-23 00:08:49 +0300 (Thu, 23 Jul 2009) | 1 line

#6423 has_key -> in
........
................
r74181 | alexandre.vassalotti | 2009-07-22 23:27:53 +0200 (Mi, 22 Jul 2009) | 6 lines

Clean up test_curses.

By using __stdout__ directly, test_curses caused regrtest.py
to duplicate the output of some test results.
................
r74182 | alexandre.vassalotti | 2009-07-22 23:29:01 +0200 (Mi, 22 Jul 2009) | 2 lines

Use assertGreater instead of assertTrue(x > y).
................
r74183 | alexandre.vassalotti | 2009-07-23 01:27:17 +0200 (Do, 23 Jul 2009) | 4 lines

Specialize assertTrue checks when possible.

We should get slightly more helpful failure messages with this change.
................
r74398 | georg.brandl | 2009-08-13 11:16:39 +0200 (Do, 13 Aug 2009) | 1 line

#6694: fix old function names.
................
/external/python/cpython3/Modules/_io/stringio.c
cf76e1ac927cdc14ee321a363e161be24bfff059 22-Jul-2009 Alexandre Vassalotti <alexandre@peadrop.com> Issue #6218: Make io.BytesIO and io.StringIO picklable.
/external/python/cpython3/Modules/_io/stringio.c
d2bb18b28165ccc6e4678e8046abe6ea7c9677b3 22-Jul-2009 Alexandre Vassalotti <alexandre@peadrop.com> Issue #6241: Better type checking for the arguments of io.StringIO.
/external/python/cpython3/Modules/_io/stringio.c
fc477048e1dee78a1b4376584cac052be1b4752d 22-Jul-2009 Alexandre Vassalotti <alexandre@peadrop.com> Issue #6242: Fix deallocator of io.StringIO and io.BytesIO.
/external/python/cpython3/Modules/_io/stringio.c
6a38ceda034df6b0be6ed41edbdc28f76e7e7805 14-Jun-2009 Benjamin Peterson <benjamin@python.org> just throw a normal AttributeError for no buffer attribute
/external/python/cpython3/Modules/_io/stringio.c
680bf1afe89c864d6cf04a37ce1b3b2c1d60072f 12-Jun-2009 Benjamin Peterson <benjamin@python.org> move to a naming scheme with all lowercase and underscores
/external/python/cpython3/Modules/_io/stringio.c
0926ad1f05f06233a7595b9f837cc3c5ee5fe46d 06-Jun-2009 Benjamin Peterson <benjamin@python.org> give the C implementation of TextIOWrapper the errors property #6217
/external/python/cpython3/Modules/_io/stringio.c
1fea321502631184f8c3f1580159e3f2bcc5ee4b 19-Apr-2009 Benjamin Peterson <benjamin@python.org> use NULL for the ends of tables
/external/python/cpython3/Modules/_io/stringio.c
8d8d6300034864d9975aedfd0560db8b7bace00f 04-Apr-2009 Alexandre Vassalotti <alexandre@peadrop.com> Issue 5682: Move _io module into its own subdirectory.

Reviewed by: Antoine Pitrou
/external/python/cpython3/Modules/_io/stringio.c