Commit Graph

450 Commits

Author SHA1 Message Date
Georg Brandl
eb68188a0d Bug #1629125: fix wrong data type (int -> Py_ssize_t) in PyDict_Next docs.
(backport from rev. 53477)
2007-01-17 21:20:01 +00:00
Neal Norwitz
0c40ca6eb8 Remove a stray (old) macro name left around (I guess) 2006-12-28 04:39:54 +00:00
Georg Brandl
082f14b61c Patch #1592072: fix docs for return value of PyErr_CheckSignals.
(backport from rev. 52666)
2006-11-08 07:46:01 +00:00
Andrew M. Kuchling
1121e73536 [Bug #1579796] Wrong syntax for PyDateTime_IMPORT in documentation. Reported by David Faure. 2006-10-26 19:11:06 +00:00
Georg Brandl
0988904df8 Bug #1546052: clarify that PyString_FromString(AndSize) copies the
string pointed to by its parameter.
 (backport from rev. 52078)
2006-09-30 12:03:02 +00:00
Andrew M. Kuchling
e12b9f63ec Minor edits 2006-08-18 13:54:33 +00:00
Georg Brandl
1e8feed293 Typo in tp_clear docs.
(backport from rev. 51368)
2006-08-18 07:35:53 +00:00
Georg Brandl
595d9b6bc6 Bug #1541682: Fix example in the "Refcount details" API docs.
Additionally, remove a faulty example showing PySequence_SetItem applied
to a newly created list object and add notes that this isn't a good idea.
 (backport from rev. 51364)
2006-08-18 07:28:03 +00:00
Georg Brandl
4873fb2bac Improve markup in PyUnicode_RichCompare. 2006-08-14 12:36:06 +00:00
Marc-André Lemburg
040f76b79c Slightly revised version of patch #1538956:
Replace UnicodeDecodeErrors raised during == and !=
compares of Unicode and other objects with a new
UnicodeWarning.

All other comparisons continue to raise exceptions.
Exceptions other than UnicodeDecodeErrors are also left
untouched.
2006-08-14 10:55:19 +00:00
Neal Norwitz
8a87f5d37e Patch #1538606, Patch to fix __index__() clipping.
I modified this patch some by fixing style, some error checking, and adding
XXX comments.  This patch requires review and some changes are to be expected.
I'm checking in now to get the greatest possible review and establish a
baseline for moving forward.  I don't want this to hold up release if possible.
2006-08-12 17:03:09 +00:00
Tim Peters
4643c2fda1 Followup to bug #1069160.
PyThreadState_SetAsyncExc():  internal correctness changes wrt
refcount safety and deadlock avoidance.  Also added a basic test
case (relying on ctypes) and repaired the docs.
2006-08-10 22:45:34 +00:00
Georg Brandl
7572f0322a `str is now the same object as types.StringType`. 2006-08-08 20:48:10 +00:00
Georg Brandl
6c223fe796 Bug #1536828: typo: TypeType should have been StringType. 2006-08-08 20:11:22 +00:00
Georg Brandl
fbf969928f Fix function name. 2006-07-31 16:00:34 +00:00
Andrew M. Kuchling
555ac45b20 Document PyErr_WarnEx. (Bad Neal! No biscuit!)
Is the explanation of the 'stacklevel' parameter clear?  Please feel free
to edit it.

I don't have LaTeX installed on this machine, so haven't verified that the
markup is correct.  Will check tonight, or maybe the automatic doc build will
tell me.
2006-07-31 12:39:05 +00:00
Andrew M. Kuchling
43bae4144b Add refcounts for PyErr_WarnEx 2006-07-31 12:20:24 +00:00
Fred Drake
e0d4aecfc2 lots of markup nits, most commonly Unix/unix --> \UNIX 2006-07-30 03:03:43 +00:00
Andrew M. Kuchling
a40191c305 [Patch #1490989 from Skip Montanaro] Mention debugging builds in the API documentation. I've changed Skip's patch to point to Misc/SpecialBuilds and fiddled with the markup a bit. 2006-07-29 19:24:04 +00:00
Thomas Heller
653f23cc81 Document the correct return type of PyLong_AsUnsignedLongLongMask. 2006-07-06 15:06:05 +00:00
Georg Brandl
69f6168b76 Bug #805015: doc error in PyUnicode_FromEncodedObject. 2006-06-14 16:46:43 +00:00
Martin v. Löwis
d825143be1 Patch #1455898: Incremental mode for "mbcs" codec. 2006-06-14 05:21:04 +00:00
Brett Cannon
ec0d6f83cd Clarify documentation for bf_getcharbuffer. 2006-06-07 21:48:17 +00:00
Martin v. Löwis
d004fc810a Patch 1494554: Update numeric properties to Unicode 4.1. 2006-05-27 08:36:52 +00:00
Georg Brandl
e001816dff Exception isn't the root of all exception classes anymore. 2006-05-26 19:04:47 +00:00