Commit Graph

269 Commits

Author SHA1 Message Date
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
Victor Stinner
1c24bd0252 Issue #8870: PyUnicode_AsWideCharString() doesn't count the trailing nul character
And write unit tests for PyUnicode_AsWideChar() and PyUnicode_AsWideCharString().
2010-10-02 11:03:13 +00:00
Georg Brandl
d0ffa4cc8c Fix weird markup that caused latex to fail. 2010-10-01 05:38:10 +00:00
Victor Stinner
137c34c027 Issue #9979: Create function PyUnicode_AsWideCharString(). 2010-09-29 10:25:54 +00:00
Antoine Pitrou
c663b58c9a Give a dedicated page to memoryview objects, so that they can be part
of the concrete objects layer, while the buffer protocol is part of
the abstract objects layer.
2010-09-28 23:59:51 +00:00
Antoine Pitrou
f7ba2fa3d6 Buffers are not sequence objects (!). Put them in the abstract objects layers
instead.
2010-09-28 23:39:41 +00:00
Antoine Pitrou
99a00a455c Various improvements to the docs of the buffer API 2010-09-28 23:04:04 +00:00
Antoine Pitrou
a0b6873d47 Discourage use of the old buffer API funcs 2010-09-28 21:52:30 +00:00
Antoine Pitrou
826903ece3 Issue #9970: improve C API documentation for memoryview objects 2010-09-28 15:29:16 +00:00
Kristján Valur Jónsson
3b69db27d7 issue 9910
Add a Py_SetPath api to override magic path computations when starting up python.
2010-09-27 05:32:54 +00:00
Benjamin Peterson
b5d23b4dfc note version 2010-09-21 21:29:26 +00:00