- 22 Eki, 2011 1 kayıt (commit)
-
-
Antoine Pitrou yazdı
arguments with the system default encoding just like the write() method does, instead of converting it to a raw buffer.
-
- 11 Eki, 2010 1 kayıt (commit)
-
-
- 09 May, 2010 2 kayıt (commit)
-
-
Antoine Pitrou yazdı
svn+ssh://pythondev@svn.python.org/python/trunk ........ r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines Untabify C files. Will watch buildbots. ........
-
Antoine Pitrou yazdı
-
- 25 Mar, 2010 1 kayıt (commit)
-
-
Larry Hastings yazdı
CObject to PyCapsule.
-
- 11 Haz, 2008 1 kayıt (commit)
-
-
Gregory P. Smith yazdı
Added checks for integer overflows, contributed by Google. Some are only available if asserts are left in the code, in cases where they can't be triggered from Python code.
-
- 09 Haz, 2008 1 kayıt (commit)
-
-
Gregory P. Smith yazdı
http://mail.python.org/pipermail/python-dev/2008-June/079988.html Python 2.6 should stick with PyString_* in its codebase. The PyBytes_* names in the spirit of 3.0 are available via a #define only. See the email thread.
-
- 26 May, 2008 1 kayıt (commit)
-
-
Christian Heimes yazdı
-
- 16 Şub, 2008 1 kayıt (commit)
-
-
Amaury Forgeot d'Arc yazdı
function can be called recursively. This was discussed in issue1020188. In python codebase, all occurrences of Py_[X]DECREF(xxx->yyy) are suspect, except when they appear in tp_new or tp_dealloc functions, or when the member cannot be of a user-defined class. Note that tp_init is not safe. I do have a (crashing) example for every changed line. Is it worth adding them to the test suite? Example: class SpecialStr(str): def __del__(self): s.close() import cStringIO s = cStringIO.StringIO(SpecialStr("text")) s.close() # Segfault
-
- 14 Şub, 2008 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
only available if asserts are left in the code, in cases where they can't be triggered from Python code.
-
- 19 Ara, 2007 1 kayıt (commit)
-
-
Christian Heimes yazdı
#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available.
-
- 08 Agu, 2007 4 kayıt (commit)
-
-
Georg Brandl yazdı
(backport from rev. 56833)
-
Georg Brandl yazdı
-
Georg Brandl yazdı
Fixes #1730114. (backport from rev. 56830)
-
Georg Brandl yazdı
Fixes #1730114.
-
- 21 Tem, 2007 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and PyVarObject_HEAD_INIT.
-
- 25 Nis, 2007 1 kayıt (commit)
-
-
Kristján Valur Jónsson yazdı
Merge change 54909 from release25-maint: Fix several minor issues discovered using code analysis in VisualStudio 2005 Team Edition
-
- 21 Nis, 2007 1 kayıt (commit)
-
-
Kristján Valur Jónsson yazdı
Removed obsolete comment, since .dll modules are no longer supported on windows, only .pyd.
-
- 19 Kas, 2006 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
arguments (even for -1). Fixes the last bit of #1359365.
-
- 18 Eki, 2006 2 kayıt (commit)
-
-
Tim Peters yazdı
Merge rev 52377 from trunk: newIobject(): repaired incorrect cast to quiet MSVC warning.
-
Tim Peters yazdı
-
- 12 Eki, 2006 2 kayıt (commit)
-
-
Georg Brandl yazdı
arguments with the system default encoding just like the write() method does, instead of converting it to a raw buffer. (backport from rev. 52301)
-
Georg Brandl yazdı
arguments with the system default encoding just like the write() method does, instead of converting it to a raw buffer.
-
- 30 Mar, 2006 1 kayıt (commit)
-
-
Georg Brandl yazdı
-
- 15 Mar, 2006 1 kayıt (commit)
-
-
Walter Dörwald yazdı
now if close() has been called before (like file and StringIO.StringIO do)
-
- 07 Mar, 2006 1 kayıt (commit)
-
-
Hye-Shik Chang yazdı
(reviewed by Neal Norwitz)
-
- 01 Mar, 2006 2 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
Thomas Wouters yazdı
-
- 16 Şub, 2006 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 15 Şub, 2006 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 19 Ock, 2006 1 kayıt (commit)
-
-
Neal Norwitz yazdı
Probably should be backported.
-
- 10 Ara, 2005 1 kayıt (commit)
-
-
Jeremy Hylton yazdı
In C++, it's an error to pass a string literal to a char* function without a const_cast(). Rather than require every C++ extension module to put a cast around string literals, fix the API to state the const-ness. I focused on parts of the API where people usually pass literals: PyArg_ParseTuple() and friends, Py_BuildValue(), PyMethodDef, the type slots, etc. Predictably, there were a large set of functions that needed to be fixed as a result of these changes. The most pervasive change was to make the keyword args list passed to PyArg_ParseTupleAndKewords() to be a const char *kwlist[]. One cast was required as a result of the changes: A type object mallocs the memory for its tp_doc slot and later frees it. PyTypeObject says that tp_doc is const char *; but if the type was created by type_new(), we know it is safe to cast to char *.
-
- 22 Eyl, 2005 1 kayıt (commit)
-
-
Michael W. Hudson yazdı
returns in cStringIO.c. Thanks to Andrew Bennetts. This must be a backport candidate.
-
- 21 Agu, 2004 1 kayıt (commit)
-
-
Tim Peters yazdı
truncate() left the stream position unchanged, which meant the "truncated" data didn't go away: >>> io.write('abc') >>> io.truncate(0) >>> io.write('xyz') >>> io.getvalue() 'abcxyz' Patch by Dima Dorfman.
-
- 27 Haz, 2004 1 kayıt (commit)
-
-
Tim Peters yazdı
places it's just noise.
-
- 08 Mar, 2004 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
The writelines() method now accepts any iterable argument and writes the lines one at a time rather than using ''.join(lines) followed by a single write. Results in considerable memory savings and makes the method suitable for use with generator expressions.
-
- 27 Şub, 2004 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 12 Eki, 2003 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
* Py_BuildValue("(OOO)",a,b,c) --> PyTuple_Pack(3,a,b,c) * Py_BuildValue("()",a) --> PyTuple_New(0) * Py_BuildValue("O", a) --> Py_INCREF(a)
-
- 11 Agu, 2003 2 kayıt (commit)
-
-
Skip Montanaro yazdı
docs
-
Skip Montanaro yazdı
the tp_name is not correct, but what's exposed to users is known visibly as "StringIO", not "StringI" or "StringO".
-