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
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
Georg Brandl
6faee4e2ce
#9911 : doc copyedits.
2010-09-21 14:48:28 +00:00