Martin v. Löwis
738236dbd6
Issue #11067 : Add PyType_GetFlags, to support PyUnicode_Check
...
in the limited ABI
2011-02-05 20:35:29 +00:00
Georg Brandl
375aec2315
Fix a few doc errors, mostly undefined keywords.
2011-01-15 17:03:02 +00:00
Antoine Pitrou
f5cf435bb5
Nits
2011-01-15 14:31:49 +00:00
Antoine Pitrou
5ace8e98da
Issue #10913 : Deprecate misleading functions PyEval_AcquireLock() and
...
PyEval_ReleaseLock(). The thread-state aware APIs should be used instead.
2011-01-15 13:11:48 +00:00
Antoine Pitrou
bedd2c2d88
Reword and restructure the GIL API doc
2011-01-15 12:54:19 +00:00
Antoine Pitrou
9bf8d1c228
Add mention of how to switch interpreters
2011-01-15 12:21:53 +00:00
Antoine Pitrou
f1dfe735b5
Improve description of issues
2011-01-15 12:10:48 +00:00
Antoine Pitrou
8b50b831b4
Restructure a bit
2011-01-15 11:57:42 +00:00
Antoine Pitrou
0765dd6b96
Standard streams use file descriptors, not FILE pointers.
2011-01-15 11:44:17 +00:00
Eli Bendersky
ad30c4206a
Issue #10912 : Clarify the documentation of PyObject_RichCompareBool. Thanks to Devin Jeanpierre for spotting the problem.
2011-01-15 10:23:34 +00:00
Antoine Pitrou
d53dfa3fb1
Issue #10840 : make it explicit that "s*" and friends provide contiguous memory.
2011-01-06 07:16:31 +00:00
Victor Stinner
80e788a5dd
Rephrase PyUnicode_CompareWithASCIIString() documentation
2010-12-28 23:39:51 +00:00
Victor Stinner
b1dbd10c42
Issue #9738 : Fix typo, ASCII-encoding string => ASCII-encoded string
2010-12-28 11:02:46 +00:00
Victor Stinner
92be939695
Issue #10780 : PyErr_SetFromWindowsErrWithFilename() and
...
PyErr_SetExcFromWindowsErrWithFilename() decode the filename from the
filesystem encoding instead of UTF-8.
2010-12-28 00:28:21 +00:00
Victor Stinner
cb428f0162
Issue #10779 : PyErr_WarnExplicit() decodes the filename from the filesystem
...
encoding instead of UTF-8.
2010-12-27 20:10:36 +00:00
Victor Stinner
00676d1436
Issue #9738 : Document encodings of AST, compiler, parser and PyRun functions
2010-12-27 01:49:31 +00:00
Victor Stinner
dc2081f72b
Issue #9738 : document encodings of unicode functions
2010-12-27 01:49:29 +00:00
Victor Stinner
555a24f206
Issue #9738 : Document encodings of error and warning functions
2010-12-27 01:49:26 +00:00
Daniel Stutzbach
c5895dcc15
Fix typo
2010-12-17 22:28:07 +00:00
Daniel Stutzbach
7cb3051dc3
Issue 8753: Added documentation for Py_ReprEntr and Py_ReprLeave.
2010-12-17 16:31:32 +00:00
Éric Araujo
930df31987
Add missing docs and directives related to PEP 3147 and byte-compilation
2010-12-16 06:28:48 +00:00
Antoine Pitrou
8abc93580d
Better explain the buffer interface (hopefully)
2010-12-12 19:59:47 +00:00
Georg Brandl
18d378dc3d
Fix markup.
2010-12-11 22:19:34 +00:00
Martin v. Löwis
6d9839d011
Add versionchanged for parameter type changes.
2010-12-11 19:22:04 +00:00
Martin v. Löwis
dd5909725c
Adjust PySlice_GetIndices documentation to signature change.
2010-12-11 18:17:22 +00:00
Georg Brandl
fbb56ed8fb
Remove visible XXX comments.
2010-12-06 22:02:48 +00:00
Georg Brandl
8334fd9285
Add an "optimize" parameter to compile() to control the optimization level, and provide an interface to it in py_compile, compileall and PyZipFile.
2010-12-04 10:26:46 +00:00
Alexander Belopolsky
942af5a9a4
Issue #10557 : Fixed error messages from float() and other numeric
...
types. Added a new API function, PyUnicode_TransformDecimalToASCII(),
which transforms non-ASCII decimal digits in a Unicode string to their
ASCII equivalents.
2010-12-04 03:38:46 +00:00
Martin v. Löwis
4d0d471a80
Merge branches/pep-0384.
2010-12-03 20:14:31 +00:00
Georg Brandl
de0ab5eab3
#10597 : fix Py_SetPythonHome docs by pointing to where the meaning of PYTHONHOME is already documented.
2010-12-02 18:02:01 +00:00
Georg Brandl
f7f5a82b36
#10594 : fix parameter names in PyList API docs.
2010-12-01 15:36:33 +00:00
Antoine Pitrou
a66e029a9d
Make doc for PyErr_Format() up to date.
2010-11-27 20:40:43 +00:00
Georg Brandl
4f13d6145f
assert.h is also included. Thanks to Savio Sena.
2010-11-23 18:14:57 +00:00
Georg Brandl
5a9326502d
#10468 : document Unicode exception creation and access functions.
2010-11-23 07:54:19 +00:00
Georg Brandl
bab3378f36
#10439 : document PyCodec C APIs.
2010-11-20 13:44:41 +00:00
Benjamin Peterson
3c6830ca8f
update items/keys/values doc #10300
2010-11-03 21:35:28 +00:00
Antoine Pitrou
9583cac633
Issue #10089 : Add support for arbitrary -X options on the command-line.
...
They can be retrieved through a new attribute `sys._xoptions`.
2010-10-21 13:42:28 +00:00
Georg Brandl
f285bcca28
Be consistent in the spelling of thread-safe(ty).
2010-10-19 21:07:16 +00:00
Benjamin Peterson
8f67d0893f
make hashes always the size of pointers; introduce Py_hash_t #9778
2010-10-17 20:54:53 +00:00
Georg Brandl
12c695cea9
#5121 : fix claims about default values leading to segfaults.
2010-10-17 11:03:22 +00:00
Georg Brandl
2aff335c36
#9204 : remove mentions of removed types in the types module.
2010-10-17 10:59:41 +00:00
Georg Brandl
418cc73403
Fix capitalization.
2010-10-17 10:53:54 +00:00
Georg Brandl
dd909db1a9
#10058 : tweak wording about exception returns.
2010-10-17 06:32:59 +00:00
Georg Brandl
d0b0e1d869
#6798 : fix wrong docs for the arguments to several trace events.
2010-10-15 16:42:37 +00:00
Victor Stinner
f3170ccef8
Use locale encoding if Py_FileSystemDefaultEncoding is not set
...
* PyUnicode_EncodeFSDefault(), PyUnicode_DecodeFSDefaultAndSize() and
PyUnicode_DecodeFSDefault() use the locale encoding instead of UTF-8 if
Py_FileSystemDefaultEncoding is NULL
* redecode_filenames() functions and _Py_code_object_list (issue #9630 )
are no more needed: remove them
2010-10-15 12:04:23 +00:00
Victor Stinner
62165d67a2
Document that the 'strict' error handler is used to encode/decode filenames on
...
Windows
2010-10-09 10:34:37 +00:00
Victor Stinner
257d38ffdd
Issue #9738 : Document PyErr_SetString() and PyErr_SetFromErrnoWithFilename()
...
encodings
2010-10-09 10:12:11 +00:00
Victor Stinner
beb4135b8c
PyUnicode_AsWideCharString() takes a PyObject*, not a PyUnicodeObject*
...
All unicode functions uses PyObject* except PyUnicode_AsWideChar(). Fix the
prototype for the new function PyUnicode_AsWideCharString().
2010-10-07 01:02:42 +00:00
Georg Brandl
fa4f7f97b8
Fix spelling and markup.
2010-10-06 10:14:08 +00:00
Georg Brandl
60203b41b0
Migrate to Sphinx 1.0 C language constructs.
2010-10-06 10:11:56 +00:00