summaryrefslogtreecommitdiff
path: root/Python/codecs.c
AgeCommit message (Expand)AuthorLines
2012-11-03#16336: fix input checking in the surrogatepass error handler. Patch by Serh...Ezio Melotti-4/+4
2012-10-26bounds check for bad data (thanks amaury)Philip Jenvey-3/+4
2012-01-18Issue #13722: Avoid silencing ImportErrors when initializing the codecs regis...Antoine Pitrou-9/+0
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
2003-12-29Fix gcc 3.3 warnings related to Py_UNICODE_WIDE.Hye-Shik Chang-2/+20
2003-03-19Fixed SF bug #663074. The codec system was using global staticGustavo Niemeyer-83/+64
2003-02-14Patch for bug reported in patch #686627: import race condition inMarc-André Lemburg-1/+1
2002-11-21Properly compute array size even for --disable-unicode.Martin v. Löwis-1/+1
2002-11-21Fix PEP 293 related problems with --disable-unicode buildsWalter Dörwald-0/+6
2002-09-26Add encoding name in LookupError. Fixes #615013. Will backport to 2.2.Martin v. Löwis-2/+2
2002-09-02Check string for NULL before using it to format the error message.Walter Dörwald-3/+6
2002-09-02PEP 293 implemention (from SF patch http://www.python.org/sf/432401)Walter Dörwald-0/+399
2002-07-18Fix bug [ 549731 ] Unicode encoders appears to leak references.Mark Hammond-4/+10
2000-09-26Rationalize use of limits.h, moving the inclusion to Python.h.Fred Drake-3/+0
2000-08-03Changing the CNRI copyright notice according to CNRI's instructions.Guido van Rossum-1/+1
2000-07-22Mass ANSIfication of function definitions. Doesn't cover all 'extern'Thomas Wouters-3/+3
2000-07-16Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in eitherThomas Wouters-2/+2
2000-07-03Include limits.h if we have it.Jack Jansen-0/+3
2000-06-29Change the loop index in normalizestring() to size_t too, to avoid aGuido van Rossum-1/+1