summaryrefslogtreecommitdiffstats
path: root/Doc/api
Commit message (Collapse)AuthorAgeFilesLines
* Fix PySet_Pop() notes.Raymond Hettinger2005-08-211-2/+1
|
* Add info about the set API.Raymond Hettinger2005-08-201-0/+19
|
* Expand the API notes.Raymond Hettinger2005-08-171-4/+5
|
* Note that the PyNumber protocol can access most set methods directly.Raymond Hettinger2005-08-171-3/+10
|
* Numerous fix-ups to C API and docs. Added tests for C API.Raymond Hettinger2005-08-161-15/+21
|
* Add a C API for sets and frozensets.Raymond Hettinger2005-08-161-0/+125
|
* bug [ 1061920 ] "k" specifier in PyArg_ParseTuple incomplete documentatedGeorg Brandl2005-07-171-2/+2
|
* Add a(nother) warning about mixing Py_NewInterpreter and theMichael W. Hudson2005-06-201-0/+6
| | | | PyGILState_* functions.
* fix some silly whitespace stuff (must have hit M-q or something?)Michael W. Hudson2005-06-201-13/+13
|
* Fix grammar (it's -> its).Neil Schemenauer2005-06-182-2/+2
|
* Function signatures for tp_descr_get and tp_descr_set.Thomas Heller2005-03-241-1/+15
|
* Fix name for PyDateTime_FromDateAndTime.Brett Cannon2005-02-171-1/+1
| | | | Closes bug #1124278.
* Update references specifying "Macintosh" to mean OS X semantics and not Mac OSBrett Cannon2005-02-132-5/+4
| | | | | | 9. Applies patch #1095802. Thanks Jack Jansen.
* Clean up discussion of new C thread idiomFred Drake2005-01-191-13/+11
| | | | (closes SF patch #1031233; modified)
* SF Patch #1093896: miscellaneous doc typosRaymond Hettinger2005-01-012-2/+2
|
* SF bug #1082944: Incorrect docs for PyUnicode_TailMatchRaymond Hettinger2004-12-101-1/+2
| | | | | * Note correct return type is int. * Note that -1 returned on failure.
* Correct the handling of 0-termination of PyUnicode_AsWideChar()Marc-André Lemburg2004-11-221-3/+7
| | | | | | | | and its usage in PyLocale_strcoll(). Clarify the documentation on this. Thanks to Andreas Degert for pointing this out.
* SF patch 1044089: New C API function PyEval_ThreadsInitialized(), by NickTim Peters2004-10-111-4/+12
| | | | | Coghlan, for determining whether PyEval_InitThreads() has been called. Also purged the undocumented+unused _PyThread_Started int.
* Fix typo in PyDict_Items docNicholas Bastin2004-09-291-1/+1
|
* SF patch #998993: The UTF-8 and the UTF-16 stateful decoders now supportWalter Dörwald2004-09-071-0/+25
| | | | | | | | | | | decoding incomplete input (when the input stream is temporarily exhausted). codecs.StreamReader now implements buffering, which enables proper readline support for the UTF-16 decoders. codecs.StreamReader.read() has a new argument chars which specifies the number of characters to return. codecs.StreamReader.readline() and codecs.StreamReader.readlines() have a new argument keepends. Trailing "\n"s will be stripped from the lines if keepends is false. Added C APIs PyUnicode_DecodeUTF8Stateful and PyUnicode_DecodeUTF16Stateful.
* Patch #900727: Add Py_InitializeEx to allow embedding without signals.Martin v. Löwis2004-08-191-0/+7
|
* Spelling fixAndrew M. Kuchling2004-08-101-1/+1
|
* [Patch #1003861 from Dima Dorfman] Fix markup in concrete.tex:Andrew M. Kuchling2004-08-071-10/+5
| | | | | | | PyObject* o -> PyObject *o to be consistent with the rest of the file - Correct markup for Py_True - Remove duplicate description of PyBool_Check
* Use LaTeX markupAndrew M. Kuchling2004-08-071-1/+1
|
* [Bug #991883] Document calling conditionAndrew M. Kuchling2004-08-071-1/+2
|
* SF #989185: Drop unicode.iswide() and unicode.width() and addHye-Shik Chang2004-08-041-9/+0
| | | | | | | | | | | | unicodedata.east_asian_width(). You can still implement your own simple width() function using it like this: def width(u): w = 0 for c in unicodedata.normalize('NFC', u): cwidth = unicodedata.east_asian_width(c) if cwidth in ('W', 'F'): w += 2 else: w += 1 return w
* let's avoid the extra nesting where reasonableFred Drake2004-08-031-1/+1
|
* Fix typo thoughNeal Norwitz2004-08-021-2/+2
|
* Fix doubled word.Raymond Hettinger2004-08-021-1/+1
|
* Typo repair.Tim Peters2004-08-021-1/+1
|
* Completed a sentence I left dangling.Tim Peters2004-08-021-1/+2
|
* PyImport_ImportModule, PyImport_ImportModuleEx, PyImport_ExecCodeModule:Tim Peters2004-08-021-10/+28
| | | | | in failure cases, incompletely initalized module objects are no longer left behind in sys.modules.
* Add missing doc for Py_True/Py_False. Use the correct macro to defineSkip Montanaro2004-07-291-6/+16
| | | | Py_RETURN_FALSE and Py_RETURN_TRUE.
* A little boolean music if you please, maestro... (Not sure I have theSkip Montanaro2004-07-281-0/+34
| | | | versionadded{} args quite right).
* Two typo fixesAndrew M. Kuchling2004-07-261-2/+2
|
* Fix an uncorrect function prototype.Thomas Heller2004-07-231-1/+1
| | | | | | Will backport to release23-maint. BTW: Shouldn't it read PY_LONG_LONG instead of 'long long' ?
* Supply missing word in new datetime docs, aggravated by copy-paste-edit.Tim Peters2004-07-171-3/+3
|
* Formalize that the Py_VISIT macro requires that the tp_traverseTim Peters2004-07-151-5/+6
| | | | implementation it's used in must give its arguments specific names.
* Documented the new Py_VISIT macro to simplify implementation ofJim Fulton2004-07-141-0/+23
| | | | tp_traverse handlers. (Tim made me do it. ;)
* Implemented a new Py_CLEAR macro. This macro should be used whenJim Fulton2004-07-141-0/+16
| | | | | decrementing the refcount of variables that might be accessed as a result of calling Python
* Claifications: visit procs are supplied by the core, users aren'tTim Peters2004-07-131-3/+6
| | | | | | | expected to write their own. A NULL "object" must not be passed to the visit callback. A non-zero return from a visit proc isn't necessarily an error return (and it doesn't matter to the tp_traverse code *what* it might signify, their only job is to return it).
* SF patch 986010: add missing doc for datetime C API, fromTim Peters2004-07-111-15/+85
| | | | | | | | | | Anthony Tuininga. This is a derived patch, taking the opportunity to add some organization to the now-large pile of datetime-related macros, and to factor out tedious repeated text. Also improved some clumsy wording in NEWS.
* Add PyArg_VaParseTupleAndKeywords(). Document this function andBrett Cannon2004-07-101-1/+14
| | | | | | PyArg_VaParse(). Closes patch #550732. Thanks Greg Chapman.
* Remove a few elderly sentencesAndrew M. Kuchling2004-07-101-9/+2
|
* Replace example with simpler alternative using PyGILState_{Ensure,Require). ↵Andrew M. Kuchling2004-07-101-13/+5
| | | | Can someone please confirm this change is OK?
* [Bug #987835] Add documentation from PEP 311. (Untested TeX code.)Andrew M. Kuchling2004-07-101-0/+36
|
* [Bug #984017] Incorrect prototype, fixed by Timothy StranexAndrew M. Kuchling2004-07-071-2/+2
|
* Change signatures for arguments to "s" and friends to be the proper ``constBrett Cannon2004-07-011-6/+6
| | | | | | | | char *`` instead of just ``char *``. Also added the mentioning of "const" in some places where it was left out even when the signature already stated the fact. Closes bug #980925.
* [Bug #948970] Add PyExc_* symbols to index.Andrew M. Kuchling2004-06-291-28/+28
| | | | | (I ran this through texcheck, but don't have LaTeX installed on this machine and therefore haven't verified that the changes are accepted by LaTeX.)
* Patch #923098: Share interned strings in marshal.Martin v. Löwis2004-06-271-3/+14
|