| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | bpo-35504: Fix segfaults and SystemErrors when deleting certain attrs. ↵ | Zackery Spytz | 2018-12-20 | 1 | -0/+4 |
| | | | | | | (GH-11175) (GH-11249) (cherry picked from commit 842acaab1376c5c84fd5966bb6070e289880e1ca) | ||||
| * | [2.7] bpo-34234: Use _PyAnyInt_Check() and _PyAnyInt_CheckExact(). (GH-8479) | Serhiy Storchaka | 2018-07-31 | 1 | -4/+2 |
| | | |||||
| * | [2.7] bpo-30061: Check if PyObject_Size()/PySequence_Size()/PyMapping_Size() ↵ | Serhiy Storchaka | 2017-04-19 | 1 | -0/+3 |
| | | | | | | | | | | (GH-1096) (GH-1180) (#1183) raised an error. (cherry picked from commit bf623ae8843dc30b28c574bec8d29fc14be59d86) (cherry picked from commit 680fea4) | ||||
| * | Issue #24366: Fix indentation | Martin Panter | 2016-09-15 | 1 | -13/+13 |
| | | | | | | Backports changes by Victor Stinner, Hirokazu Yamamoto, li4ick and Benjamin Peterson. | ||||
| * | fix misleading indentation (closes #28139) | Benjamin Peterson | 2016-09-14 | 1 | -1/+1 |
| | | |||||
| * | Initialize buf.outobj in multibyte encoder (closes issue #24702). | Serhiy Storchaka | 2015-07-24 | 1 | -0/+1 |
| | | | | | Patch by pankaj.s01. | ||||
| * | Issue #23215: Multibyte codecs with custom error handlers that ignores errors | Serhiy Storchaka | 2015-02-20 | 1 | -11/+14 |
| | | | | | | consumed too much memory and raised SystemError or MemoryError. Original patch by Aleksi Torhamo. | ||||
| * | Issue #12100: Don't reset incremental encoders of CJK codecs at each call to | Victor Stinner | 2011-05-24 | 1 | -4/+4 |
| | | | | | | their encode() method anymore, but continue to call the reset() method if the final argument is True. | ||||
| * | Issue #5640: Fix Shift-JIS incremental encoder for error handlers different | Victor Stinner | 2010-05-21 | 1 | -1/+1 |
| | | | | | than strict | ||||
| * | Untabify C files. Will watch buildbots. | Antoine Pitrou | 2010-05-09 | 1 | -1412/+1412 |
| | | |||||
| * | Backported PyCapsule from 3.1, and converted most uses of | Larry Hastings | 2010-03-25 | 1 | -2/+2 |
| | | | | | CObject to PyCapsule. | ||||
| * | Docstring typo. | Andrew M. Kuchling | 2008-10-03 | 1 | -1/+1 |
| | | |||||
| * | Backport r65661, r65760: Issue #3575: Incremental decoder's decode | Hirokazu Yamamoto | 2008-08-17 | 1 | -5/+18 |
| | | | | | function now takes bytearray by using 's*' instead of 't#'. | ||||
| * | #3305: self->stream can be NULL. | Georg Brandl | 2008-07-16 | 1 | -2/+2 |
| | | |||||
| * | Merge in release25-maint r60793: | Gregory P. Smith | 2008-06-11 | 1 | -7/+31 |
| | | | | | | | 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. | ||||
| * | This reverts r63675 based on the discussion in this thread: | Gregory P. Smith | 2008-06-09 | 1 | -31/+31 |
| | | | | | | | | 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. | ||||
| * | Renamed PyString to PyBytes | Christian Heimes | 2008-05-26 | 1 | -31/+31 |
| | | |||||
| * | #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and ↵ | Christian Heimes | 2007-12-19 | 1 | -4/+4 |
| | | | | | Py_REFCNT. Macros for b/w compatibility are available. | ||||
| * | PEP 3123: Provide forward compatibility with Python 3.0, while keeping | Martin v. Löwis | 2007-07-21 | 1 | -14/+9 |
| | | | | | | backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and PyVarObject_HEAD_INIT. | ||||
| * | Bug #1728403: Fix a bug that CJKCodecs StreamReader hangs when it | Hye-Shik Chang | 2007-06-05 | 1 | -1/+5 |
| | | | | | | reads a file that ends with incomplete sequence and sizehint argument for .read() is specified. | ||||
| * | Make use of METH_O and METH_NOARGS where possible. | Georg Brandl | 2006-05-29 | 1 | -16/+8 |
| | | | | | Use Py_UnpackTuple instead of PyArg_ParseTuple where possible. | ||||
| * | Fix more ssize_t problems. | Martin v. Löwis | 2006-04-22 | 1 | -1/+1 |
| | | |||||
| * | Backport p3yk r45619: | Hye-Shik Chang | 2006-04-21 | 1 | -4/+28 |
| | | | | | | | Add empty __init__ methods for stateful multibytecodec instances. This resolves a problem found by Thomas Wouters: http://mail.python.org/pipermail/python-dev/2006-April/064051.html | ||||
| * | Try to get rid of a Coverity warning by consistently using origpending. | Neal Norwitz | 2006-03-28 | 1 | -1/+1 |
| | | |||||
| * | Fix reference leaks introduced by the recent incremental codec | Hye-Shik Chang | 2006-03-27 | 1 | -37/+48 |
| | | | | | changes. | ||||
| * | Utilize %zd for Py_ssize_t formatting instead of casting to long. | Hye-Shik Chang | 2006-03-26 | 1 | -4/+4 |
| | | |||||
| * | Allow long objects as a position value of error callbacks returned. | Hye-Shik Chang | 2006-03-26 | 1 | -8/+12 |
| | | |||||
| * | Patch #1443155: Add the incremental codecs support for CJK codecs. | Hye-Shik Chang | 2006-03-26 | 1 | -298/+779 |
| | | | | | (reviewed by Walter Dörwald) | ||||
| * | - Modernize code to use Py_ssize_t more intensively. | Hye-Shik Chang | 2006-03-04 | 1 | -71/+76 |
| | | | | | - Do some minor code clean-ups. | ||||
| * | More unconsting. | Martin v. Löwis | 2006-02-27 | 1 | -2/+2 |
| | | |||||
| * | Merge ssize_t branch. | Martin v. Löwis | 2006-02-15 | 1 | -1/+1 |
| | | |||||
| * | Add const to several API functions that take char *. | Jeremy Hylton | 2005-12-10 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | 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 *. | ||||
| * | SF Patch #1297028, cjkcodecs does not initialize type pointer | Neal Norwitz | 2005-09-21 | 1 | -0/+4 |
| | | | | | | | | Fix segfault. I tried to write a test, but it wouldn't crash when running regrtest. This really should have some sort of test. Should definitely be backported. | ||||
| * | Bug #1005737, #1007249: Fix several build problems and warnings | Hye-Shik Chang | 2004-08-19 | 1 | -4/+3 |
| | | | | | | found on legacy C compilers of HP-UX, IRIX and Tru64. (Reported by roadkill, Richard Townsend, Maik Hertha and Minsik Kim) | ||||
| * | Bring CJKCodecs 1.1 into trunk. This completely reorganizes source | Hye-Shik Chang | 2004-07-18 | 1 | -956/+1019 |
| | | | | | | | and installed layouts to make maintenance simple and easy. And it also adds four new codecs; big5hkscs, euc-jis-2004, shift-jis-2004 and iso2022-jp-2004. | ||||
| * | Add CJK codecs support as discussed on python-dev. (SF #873597) | Hye-Shik Chang | 2004-01-17 | 1 | -0/+1210 |
| Several style fixes are suggested by Martin v. Loewis and Marc-Andre Lemburg. Thanks! | |||||
