Georg Brandl
b518d8c7d7
Fix casing of function names.
2006-02-22 11:46:55 +00:00
Georg Brandl
7d42d3cd59
fix typo
2006-02-21 20:41:29 +00:00
Georg Brandl
9b743f514c
Bug #1013800 : document PyFunction_* functions
2006-02-20 12:57:53 +00:00
Georg Brandl
4caeff9867
Patch #1415507 : clarify docs on reference stealing
2006-02-18 22:55:59 +00:00
Georg Brandl
1b6726732c
Bug #1432350 : arrayobject should use PyObject_VAR_HEAD
2006-02-17 08:56:33 +00:00
Fredrik Lundh
118be0c6ca
SF#1383115
...
added refcount information for PyObject_Call
2005-12-18 19:39:59 +00:00
Neal Norwitz
b04747fc50
Add versionadded info
2005-12-18 01:36:44 +00:00
Barry Warsaw
2a38a86c1c
Expose Subversion revision number (calculated via "svnversion .") to Python.
...
Add C API function Py_GetBuildNumber(), add it to the interactive prompt
banner (i.e. Py_GetBuildInfo()), and add it as the sys.build_number
attribute. The build number is a string instead of an int because it may
contain a trailing 'M' if there are local modifications.
2005-12-18 01:27:35 +00:00
Georg Brandl
f06e30af4a
bug #1281408 : make Py_BuildValue work with unsigned longs and long longs
2005-11-24 15:37:42 +00:00
Martin v. Löwis
ab0f947a21
Remove .cvsignore files, as they live in svn:ignore
...
properties now.
2005-10-30 22:01:41 +00:00
Neal Norwitz
98fcaaf48e
SF bug #1323739 , C API doc for PySequence_Tuple duplicated
2005-10-12 03:58:14 +00:00
Marc-André Lemburg
df4f6e9fa6
Clarify the docs for Py_UNICODE.
2005-10-10 19:08:41 +00:00
Walter Dörwald
d1c1e10f70
Part of SF patch #1313939 : Speedup charmap decoding by extending
...
PyUnicode_DecodeCharmap() the accept a unicode string as the mapping
argument which is used as a mapping table.
This code isn't used by any of the codecs yet.
2005-10-06 20:29:57 +00:00
Georg Brandl
e53475ddd1
bug [ 1306449 ] PyString_AsStringAndSize() return value documented wrong
2005-09-28 12:53:12 +00:00
Georg Brandl
ff52837445
fix typo
2005-09-15 11:16:28 +00:00
Georg Brandl
99363b6a19
- Correct PyBool_FromLong's return type and its description.
...
- Unify function description mode ("Return X" vs "Returns X")
2005-09-03 07:27:26 +00:00
Raymond Hettinger
7638249646
Fix PySet_Pop() notes.
2005-08-21 00:08:36 +00:00
Raymond Hettinger
0cbf400419
Add info about the set API.
2005-08-20 23:52:30 +00:00
Raymond Hettinger
94fedf9bfd
Expand the API notes.
2005-08-17 12:23:45 +00:00
Raymond Hettinger
0c230b9dac
Note that the PyNumber protocol can access most set methods directly.
2005-08-17 10:05:22 +00:00
Raymond Hettinger
c47e01d020
Numerous fix-ups to C API and docs. Added tests for C API.
2005-08-16 10:44:15 +00:00
Raymond Hettinger
beb3101b05
Add a C API for sets and frozensets.
2005-08-16 03:47:52 +00:00
Georg Brandl
0e03272350
bug [ 1061920 ] "k" specifier in PyArg_ParseTuple incomplete documentated
2005-07-17 20:05:25 +00:00
Michael W. Hudson
fb662972e0
Add a(nother) warning about mixing Py_NewInterpreter and the
...
PyGILState_* functions.
2005-06-20 16:37:03 +00:00
Michael W. Hudson
7b279078c0
fix some silly whitespace stuff (must have hit M-q or something?)
2005-06-20 12:12:45 +00:00
Neil Schemenauer
c49322951f
Fix grammar (it's -> its).
2005-06-18 17:54:13 +00:00
Thomas Heller
33ceda85d0
Function signatures for tp_descr_get and tp_descr_set.
2005-03-24 07:45:53 +00:00
Brett Cannon
5bbe6ad2b5
Fix name for PyDateTime_FromDateAndTime.
...
Closes bug #1124278 .
2005-02-17 05:17:17 +00:00
Brett Cannon
7706c2da14
Update references specifying "Macintosh" to mean OS X semantics and not Mac OS
...
9.
Applies patch #1095802 . Thanks Jack Jansen.
2005-02-13 22:50:04 +00:00
Fred Drake
140042446f
Clean up discussion of new C thread idiom
...
(closes SF patch #1031233 ; modified)
2005-01-19 04:18:39 +00:00
Raymond Hettinger
68804315e0
SF Patch #1093896 : miscellaneous doc typos
2005-01-01 00:28:46 +00:00
Raymond Hettinger
8ef9b3e527
SF bug #1082944 : Incorrect docs for PyUnicode_TailMatch
...
* Note correct return type is int.
* Note that -1 returned on failure.
2004-12-10 17:12:32 +00:00
Marc-André Lemburg
a9cadcd41b
Correct the handling of 0-termination of PyUnicode_AsWideChar()
...
and its usage in PyLocale_strcoll().
Clarify the documentation on this.
Thanks to Andreas Degert for pointing this out.
2004-11-22 13:02:31 +00:00
Tim Peters
7f468f29f4
SF patch 1044089: New C API function PyEval_ThreadsInitialized(), by Nick
...
Coghlan, for determining whether PyEval_InitThreads() has been called.
Also purged the undocumented+unused _PyThread_Started int.
2004-10-11 02:40:51 +00:00
Nicholas Bastin
975e725fc7
Fix typo in PyDict_Items doc
2004-09-29 21:39:26 +00:00
Walter Dörwald
69652035bc
SF patch #998993 : The UTF-8 and the UTF-16 stateful decoders now support
...
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.
2004-09-07 20:24:22 +00:00
Martin v. Löwis
336e85f56a
Patch #900727 : Add Py_InitializeEx to allow embedding without signals.
2004-08-19 11:31:58 +00:00
Andrew M. Kuchling
f54ac7e0ee
Spelling fix
2004-08-10 19:01:50 +00:00
Andrew M. Kuchling
4eb1a00cc1
[Patch #1003861 from Dima Dorfman] Fix markup in concrete.tex:
...
PyObject* o -> PyObject *o to be consistent with the
rest of the file
- Correct markup for Py_True
- Remove duplicate description of PyBool_Check
2004-08-07 20:19:24 +00:00
Andrew M. Kuchling
672d2ba773
Use LaTeX markup
2004-08-07 20:17:48 +00:00
Andrew M. Kuchling
fe80b63663
[Bug #991883 ] Document calling condition
2004-08-07 17:53:05 +00:00
Hye-Shik Chang
e9ddfbb412
SF #989185 : Drop unicode.iswide() and unicode.width() and add
...
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
2004-08-04 07:38:35 +00:00
Fred Drake
2be406bd9f
let's avoid the extra nesting where reasonable
2004-08-03 16:02:35 +00:00
Neal Norwitz
7fdd92f31f
Fix typo though
2004-08-02 21:56:33 +00:00
Raymond Hettinger
829d6c4138
Fix doubled word.
2004-08-02 08:36:07 +00:00
Tim Peters
fd7dc5169c
Typo repair.
2004-08-02 04:30:37 +00:00
Tim Peters
0c6199e8ed
Completed a sentence I left dangling.
2004-08-02 04:14:10 +00:00
Tim Peters
cfd575d398
PyImport_ImportModule, PyImport_ImportModuleEx, PyImport_ExecCodeModule:
...
in failure cases, incompletely initalized module objects are no longer
left behind in sys.modules.
2004-08-02 03:46:45 +00:00
Skip Montanaro
6d3db7000e
Add missing doc for Py_True/Py_False. Use the correct macro to define
...
Py_RETURN_FALSE and Py_RETURN_TRUE.
2004-07-29 02:16:04 +00:00
Skip Montanaro
33ee76ae9e
A little boolean music if you please, maestro... (Not sure I have the
...
versionadded{} args quite right).
2004-07-28 14:17:04 +00:00