summaryrefslogtreecommitdiff
path: root/Python/codecs.c
AgeCommit message (Expand)AuthorLines
2012-11-03#16336: merge with 3.2.Ezio Melotti-4/+4
2012-11-03#16336: fix input checking in the surrogatepass error handler. Patch by Serh...Ezio Melotti-4/+4
2012-10-26merge with 3.2Philip Jenvey-3/+4
2012-10-26bounds check for bad data (thanks amaury)Philip Jenvey-3/+4
2012-04-27Check newly created consistency using _PyUnicode_CheckConsistency(str, 1)Victor Stinner-4/+6
2012-01-18Issue #13722: Avoid silencing ImportErrors when initializing the codecs regis...Antoine Pitrou-9/+0
2012-01-18Issue #13722: Avoid silencing ImportErrors when initializing the codecs regis...Antoine Pitrou-9/+0
2011-12-01PyCodec_IgnoreErrors() avoids the deprecated "u#" formatVictor Stinner-2/+1
2011-11-04Avoid the Py_UNICODE type in codecs.cVictor Stinner-4/+11
2011-11-04PyCodec_XMLCharRefReplaceError(): Remove unused variableVictor Stinner-2/+2
2011-11-04Fix C89 incompatibility.Martin v. Löwis-1/+1
2011-11-04Port error handlers from Py_UNICODE indexing to code point indexing.Martin v. Löwis-77/+46
2011-10-14Rename _Py_identifier to _Py_IDENTIFIER.Martin v. Löwis-2/+2
2011-10-14Issue #13088: Add shared Py_hexdigits constant to format a number into base 16Victor Stinner-12/+12
2011-10-10Use identifier API for PyObject_GetAttrString.Martin v. Löwis-2/+4
2011-10-02PyCodec_ReplaceErrors() uses "C" format instead of "u#" to build resultVictor Stinner-2/+3
2011-09-29Use the new Py_ARRAY_LENGTH macroVictor Stinner-1/+1
2011-09-28Implement PEP 393.Martin v. Löwis-24/+20
2011-07-24Issue #1813: Fix codec lookup under Turkish locales.Antoine Pitrou-1/+1
2010-09-09Issue #9804: ascii() now always represents unicode surrogate pairs asAntoine Pitrou-6/+20
2010-05-09Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou-519/+519
2009-10-27Merged revisions 75365,75394,75402-75403,75418,75459,75484,75592-75596,75600,...Georg Brandl-5/+17
2009-05-10Rename utf8b error handler to surrogateescape.Martin v. Löwis-6/+6
2009-05-10Rename the surrogates error handler to surrogatepass.Martin v. Löwis-6/+6
2009-05-05Issue #5915: Implement PEP 383, Non-decodable Bytes inMartin v. Löwis-0/+89
2009-05-02Make PyCodec_SurrogateErrors static.Martin v. Löwis-1/+4
2009-05-02Issue #3672: Reject surrogates in utf-8 codec; add surrogates errorMartin v. Löwis-0/+92
2008-10-30Issue 3723: Fixed initialization of subinterpretersChristian Heimes-0/+1
2008-06-06Move the codec decode type checks to bytes/bytearray.decode().Marc-André Lemburg-20/+25
2008-05-26Renamed PyString to PyBytesChristian Heimes-2/+2
2008-05-26Renamed PyBytes to PyByteArrayChristian Heimes-2/+2
2008-01-03More PyImport_ImportModule -> PyImport_ImportModuleNoBlockChristian Heimes-1/+1
2007-12-19#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT.Christian Heimes-1/+1
2007-11-06Merging the py3k-pep3137 branch back into the py3k branch.Guido van Rossum-25/+37
2007-10-19This is the uncontroversial half of patch 1263 by Thomas Lee:Guido van Rossum-8/+12
2007-08-11Handle errorNeal Norwitz-1/+4
2007-06-12Revert 55876. Use PyUnicode_AsEncodedString instead.Martin v. Löwis-17/+0
2007-06-11Short-cut lookup of utf-8 codec, to make import workMartin v. Löwis-0/+17
2007-05-25Change PyErr_Format() to generate a unicode string (by usingWalter Dörwald-12/+7
2007-05-03Get rid of all #ifdef Py_USING_UNICODE (it is always present now).Guido van Rossum-6/+0
2006-08-11Merged revisions 46753-51188 via svnmerge fromThomas Wouters-3/+6
2006-05-27Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk.Thomas Wouters-2/+2
2006-04-21Merge p3yk branch with the trunk up to revision 45595. This breaks a fairThomas Wouters-103/+62
2006-04-21Merge part of the trunk changes into the p3yk branch. This merges from 43030Thomas Wouters-0/+50
2006-03-01PEP 352 implementation. Creates a new base class, BaseException, which has anBrett Cannon-3/+2
2006-02-28SF patch #1438387, PEP 328: relative and absolute imports.Thomas Wouters-1/+1
2006-02-15Merge ssize_t branch.Martin v. Löwis-14/+14
2005-11-24Fix a few more ref leaks. Backport candidateNeal Norwitz-3/+3
2004-07-08Fix a couple of signed/unsigned comparison warningsNeal Norwitz-1/+1
2004-03-24Changed random calls to PyThreadState_Get() to use the macroNicholas Bastin-5/+5