cpython/Objects
Neal Norwitz 7580146b5c Fix and test (manually w/xx module) passing NULLs to PyObject_Str() and
PyObject_Unicode().  This problem was originally reported from Coverity
and addresses mail on python-dev "checkin r43015".

This inlines the conversion of the string to unicode and cleans
up/simplifies some code at the end of the PyObject_Unicode().

We really need a complete C API test module for all public APIs
and passing good and bad parameter values.

Will backport.
2006-03-14 06:02:16 +00:00
..
abstract.c Checking in the code for PEP 357. 2006-03-07 18:50:55 +00:00
boolobject.c Revert backwards-incompatible const changes. 2006-02-27 16:46:16 +00:00
bufferobject.c Use proper PyArg_Parse format char for Py_ssize_t, instead of 'l', in 2006-02-16 19:44:46 +00:00
cellobject.c
classobject.c Checking in the code for PEP 357. 2006-03-07 18:50:55 +00:00
cobject.c Fix SF #1412837, compile failed with Watcom compiler 2006-01-24 06:06:11 +00:00
codeobject.c Merge ssize_t branch. 2006-02-15 17:27:45 +00:00
complexobject.c Revert backwards-incompatible const changes. 2006-02-27 16:46:16 +00:00
descrobject.c Patch #1434038: property() now uses the getter's docstring if there is 2006-03-08 18:09:27 +00:00
dictnotes.txt
dictobject.c Oops. Fix syntax for C89 compilers. 2006-02-25 23:32:30 +00:00
enumobject.c Change int to Py_ssize_t in several places. 2006-03-07 12:08:51 +00:00
fileobject.c Um, I thought I'd already checked this in. 2006-03-10 02:28:35 +00:00
floatobject.c Use %ld and casts to long for refcount printing, in absense of a universally 2006-03-01 05:41:20 +00:00
frameobject.c Merge ssize_t branch. 2006-02-15 17:27:45 +00:00
funcobject.c Revert backwards-incompatible const changes. 2006-02-27 16:46:16 +00:00
genobject.c Change int to Py_ssize_t in several places. 2006-03-07 12:08:51 +00:00
intobject.c Checking in the code for PEP 357. 2006-03-07 18:50:55 +00:00
iterobject.c Use Py_ssize_t for counts and sizes. 2006-02-16 14:32:27 +00:00
listobject.c Checking in the code for PEP 357. 2006-03-07 18:50:55 +00:00
listsort.txt The key to the various sort columns got lost. Pulled from 2005-09-23 17:14:22 +00:00
longobject.c Checking in the code for PEP 357. 2006-03-07 18:50:55 +00:00
methodobject.c Use Py_ssize_t for counts and sizes. 2006-02-16 14:32:27 +00:00
moduleobject.c Revert backwards-incompatible const changes. 2006-02-27 16:46:16 +00:00
object.c Fix and test (manually w/xx module) passing NULLs to PyObject_Str() and 2006-03-14 06:02:16 +00:00
obmalloc.c Oops, this is supposed to be disabled by default. 2006-02-16 07:30:11 +00:00
rangeobject.c Merge ssize_t branch. 2006-02-15 17:27:45 +00:00
setobject.c Use Py_ssize_t for PySet_Size() like all the other Py*_Size() functions. 2006-03-04 18:41:19 +00:00
sliceobject.c Merge ssize_t branch. 2006-02-15 17:27:45 +00:00
stringobject.c Checking in the code for PEP 357. 2006-03-07 18:50:55 +00:00
structseq.c Revert backwards-incompatible const changes. 2006-02-27 16:46:16 +00:00
tupleobject.c Checking in the code for PEP 357. 2006-03-07 18:50:55 +00:00
typeobject.c Fix three nits found by Coverity, adding null checks and comments. 2006-03-10 02:04:28 +00:00
unicodectype.c Enhance the performance of two important Unicode character 2005-10-20 19:06:35 +00:00
unicodeobject.c - Reindent a confusingly indented piece of code (no intended code changes 2006-03-12 00:29:36 +00:00
unicodetype_db.h Update Unicode database to Unicode 4.1. 2006-03-09 23:38:20 +00:00
weakrefobject.c SF #1444030: Fix several potential defects found by Coverity. 2006-03-07 15:39:21 +00:00