cpython/Doc/c-api
Victor Stinner 63c22fac72 Issue #7732: Fix a crash on importing a module if a directory has the same name
than a Python module (e.g. "__init__.py"): don't close the file twice.

PyFile_FromFile() does also close the file if PyString_FromString() failed. It
did already close the file on fill_file_fields() error (e.g. if the file is a
directory).
2011-09-23 19:37:03 +02:00
..
abstract.rst Split the monstrous C API manual files in smaller parts. 2008-01-19 22:08:21 +00:00
allocation.rst Issue #4129: Documentation notes for int -> Py_ssize_t changes. 2009-04-25 19:46:19 +00:00
arg.rst Issue #8227: Fix C API documentation, argument parsing 2010-04-03 08:40:16 +00:00
bool.rst Split the monstrous C API manual files in smaller parts. 2008-01-19 22:08:21 +00:00
buffer.rst #12072: add missing parenthesis in the doc. Patch by Sandro Tosi. 2011-05-20 15:04:38 +03:00
bytearray.rst #6881 - fixed wrong return type; improved the formatting 2009-09-20 07:10:39 +00:00
capsule.rst Backported PyCapsule from 3.1, and converted most uses of 2010-03-25 00:54:54 +00:00
cell.rst Split the monstrous C API manual files in smaller parts. 2008-01-19 22:08:21 +00:00
class.rst Split the monstrous C API manual files in smaller parts. 2008-01-19 22:08:21 +00:00
cobject.rst Backported PyCapsule from 3.1, and converted most uses of 2010-03-25 00:54:54 +00:00
code.rst PyCode_NewEmpty: 2009-05-08 21:51:06 +00:00
codec.rst Merged revisions 86561-86562,86564-86565,86705,86708,86713 via svnmerge from 2010-11-26 08:28:05 +00:00
complex.rst Split the monstrous C API manual files in smaller parts. 2008-01-19 22:08:21 +00:00
concrete.rst Backported PyCapsule from 3.1, and converted most uses of 2010-03-25 00:54:54 +00:00
conversion.rst Deprecate PyOS_ascii_strtod and PyOS_ascii_atof, and document the replacement function PyOS_string_to_double. 2009-10-31 09:42:39 +00:00
datetime.rst Issue 9024: Added :cdata: tag to PyDateTimeAPI 2010-06-26 18:49:10 +00:00
descriptor.rst Split the monstrous C API manual files in smaller parts. 2008-01-19 22:08:21 +00:00
dict.rst Merged revisions 82879,82958-82959,83109,83127,83224,83747,84162 via svnmerge from 2010-10-06 09:47:17 +00:00
exceptions.rst Clarify that PyErr_NewException creates an exception *class*, not instance. 2011-07-13 15:59:24 +02:00
file.rst Issue #7732: Fix a crash on importing a module if a directory has the same name 2011-09-23 19:37:03 +02:00
float.rst Issue #7169: Document PyFloat_AsString and PyFloat_AsReprString, and note that they are unsafe and deprecated. 2009-10-19 14:38:14 +00:00
function.rst Split the monstrous C API manual files in smaller parts. 2008-01-19 22:08:21 +00:00
gcsupport.rst #8085: The function is called PyObject_NewVar, not PyObject_VarNew. 2010-03-07 20:58:31 +00:00
gen.rst Split the monstrous C API manual files in smaller parts. 2008-01-19 22:08:21 +00:00
import.rst Document PyImport_ExecCodeModuleEx(). 2010-04-02 09:07:42 +00:00
index.rst Split the monstrous C API manual files in smaller parts. 2008-01-19 22:08:21 +00:00
init.rst Fix some markup and one typo 2011-09-01 19:54:05 +02:00
int.rst Dont put "void" in signature for nullary functions. 2009-07-24 16:46:38 +00:00
intro.rst Fix a few misuses of :option: I missed in r86521. 2011-06-09 14:26:10 +02:00
iter.rst Split the monstrous C API manual files in smaller parts. 2008-01-19 22:08:21 +00:00
iterator.rst Split the monstrous C API manual files in smaller parts. 2008-01-19 22:08:21 +00:00
list.rst Merged revisions 86881,86887,86913-86915,86933,86943,86960,86964,86974,86980,86996,87008 via svnmerge from 2011-02-25 10:39:23 +00:00
long.rst #1945: document Unicode functions backported from py3k branch. 2010-10-17 10:54:57 +00:00
mapping.rst Issue #4129: Belatedly document which C API functions had their argument(s) or 2009-04-25 17:59:03 +00:00
marshal.rst Issue #4129: int -> Py_ssize_t documentation. 2009-04-25 20:41:40 +00:00
memory.rst Issue #2620: Overflow checking when allocating or reallocating memory 2008-07-22 04:46:32 +00:00
method.rst Dont put "void" in signature for nullary functions. 2009-07-24 16:46:38 +00:00
module.rst fix function name in example (closes #11966) 2011-04-30 13:14:56 -05:00
none.rst Split the monstrous C API manual files in smaller parts. 2008-01-19 22:08:21 +00:00
number.rst Fix 'the the'; grammar fix 2009-04-03 21:44:49 +00:00
objbuffer.rst Issue #4129: int -> Py_ssize_t documentation. 2009-04-25 20:44:58 +00:00
object.rst fix formatting, :c:func: --> :cfunc: 2011-04-30 09:02:12 +03:00
objimpl.rst Split the monstrous C API manual files in smaller parts. 2008-01-19 22:08:21 +00:00
refcounting.rst Fix markup. 2007-12-05 19:49:21 +00:00
reflection.rst Issue 5954, PyFrame_GetLineNumber: 2009-05-08 22:23:21 +00:00
sequence.rst let PySequence_Check me a link; thanks to tomo cocoa from docs@ 2011-08-13 00:39:29 +02:00
set.rst Issue #4129: Belatedly document which C API functions had their argument(s) or 2009-04-25 17:59:03 +00:00
slice.rst Issue #4129: Document more int -> Py_ssize_t changes. 2009-04-25 18:46:03 +00:00
string.rst Fix warnings from "make check". 2010-03-12 10:02:03 +00:00
structures.rst #10398: manual backport of r73943. 2010-11-12 19:45:46 +00:00
sys.rst Dont put "void" in signature for nullary functions. 2009-07-24 16:46:38 +00:00
tuple.rst Dont put "void" in signature for nullary functions. 2009-07-24 16:46:38 +00:00
type.rst Dont put "void" in signature for nullary functions. 2009-07-24 16:46:38 +00:00
typeobj.rst Merged revisions 87050,87101,87146,87156,87172,87175,87371,87378,87522-87524,87526,87530-87535 via svnmerge from 2011-02-25 10:50:32 +00:00
unicode.rst #11840: Improve c-api/unicode documentation. Patch by Sandro Tosi. 2011-04-14 07:39:06 +03:00
utilities.rst Merged revisions 86561-86562,86564-86565,86705,86708,86713 via svnmerge from 2010-11-26 08:28:05 +00:00
veryhigh.rst Fix typo in 97a75fccd7c8 2011-07-29 11:43:47 +02:00
weakref.rst Merged revisions 83536,83546-83548,83550,83554-83555,83558,83563,83565,83571,83574-83575 via svnmerge from 2010-08-02 21:44:25 +00:00