- 09 May, 2010 1 kayıt (commit)
-
-
Antoine Pitrou yazdı
-
- 09 Haz, 2008 1 kayıt (commit)
-
-
Gregory P. Smith yazdı
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.
-
- 26 May, 2008 1 kayıt (commit)
-
-
Christian Heimes yazdı
-
- 17 Eyl, 2007 1 kayıt (commit)
-
-
Brett Cannon yazdı
PyObject_Print(). Closes issue #1164.
-
- 21 Tem, 2007 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and PyVarObject_HEAD_INIT.
-
- 30 Mar, 2006 1 kayıt (commit)
-
-
Georg Brandl yazdı
-
- 27 Şub, 2006 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 10 Ara, 2005 1 kayıt (commit)
-
-
Jeremy Hylton yazdı
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 *.
-
- 19 Nis, 2003 1 kayıt (commit)
-
-
Guido van Rossum yazdı
raising an exception. This is consistent with calling the constructors for the other builtin types -- called without argument they all return the false value of that type. (SF patch #724135) Thanks to Alex Martelli.
-
- 06 Agu, 2002 1 kayıt (commit)
-
-
Neal Norwitz yazdı
-
- 13 Haz, 2002 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 25 Nis, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 04 Nis, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 03 Nis, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-