Eli Bendersky
43694a50ab
Issue #18668: Further clarify m_size setting for non-negative values
2013-08-10 05:57:27 -07:00
Serhiy Storchaka
cdd0279b0b
Fix a typo in PyUnicode_CopyCharacters() documentation.
2013-08-08 16:47:43 +03:00
Eli Bendersky
0d2d2b8393
Issue #18668: Properly document setting m_size in PyModuleDef
2013-08-07 05:52:20 -07:00
Antoine Pitrou
39668f57f4
Issue #18589: fix hyperlinking of type slots (tp_*)
2013-08-01 21:12:45 +02:00
Ezio Melotti
c228e96726
#16518: use "bytes-like object" throughout the docs.
2013-05-04 18:06:34 +03:00
Georg Brandl
991fc5736e
Closes #13638: document PyErr_SetFromErrnoWithFilenameObject,
...
PyErr_SetFromWindowsErrWithFilenameObject, and
PyErr_SetExcFromWindowsErrWithFilenameObject.
Note that PyErr_SetExcFromWindowsErrWithFilenameObjectAndSomeOtherParametersSoThatTheNameGetsSoLongThatNobodyIsEverGonnaUseThisStrangeFunctionForAnything is still undocumented.
2013-04-14 11:12:16 +02:00
Georg Brandl
44ea77bd81
Closes #4159: add LaTeX tabular column specifications to tables that otherwise are cut off or have overlapping text.
2013-03-28 13:28:44 +01:00
Gregory P. Smith
bcd2aa6d06
cleanup references to PyString_ APIs from 2.x in the 3.3 docs.
2013-03-22 13:49:26 -07:00
Gregory P. Smith
4b52ae8f97
Clean up references to the no longer existing PyString_ APIs in our docs.
2013-03-22 13:43:30 -07:00
Georg Brandl
1f68a2f27f
Remove row-spanning cell, which the Sphinx text writer does not support.
2013-03-16 08:01:49 +01:00
Terry Jan Reedy
caeb6bea9b
Merge with 3.2: Issue #17047: removed doubled words in Doc/*,
...
Mac/*, and Tool/* found by Serhiy Storchaka and Matthew Barnett
2013-03-11 17:26:33 -04:00
Terry Jan Reedy
65e69b3718
Issue #17047: removed doubled words in Doc/*, Mac/*, and Tool/*
...
found by Serhiy Storchaka and Matthew Barnett
2013-03-11 17:23:46 -04:00
Nick Coghlan
7d82c8621b
Close #15465: Document C API version macros
...
Mostly moving the existing macro docs over from the standard
library docs to the C API docs where they belong.
Patch by Kushal Das.
2013-03-07 23:14:44 +10:00
Ezio Melotti
32b0f02034
#17363: fix arguments in PyState_AddModule and PyState_RemoveModule docs.
2013-03-06 02:57:25 +02:00
Andrew Svetlov
f4c3a187d5
Remove redundant sentence from c-api docs (issue #16323)
2012-11-29 15:23:15 +02:00
Andrew Svetlov
0fe030bb03
Issue #16323: Fix wrong C API documentation for locale encoding.
...
Patch by Berker Peksag.
2012-11-28 12:33:58 +02:00
Chris Jerdonek
bb4e941c6d
Add a str class entry to the "Text Sequence Type" section (issue #16209).
...
This commit also moves the documentation for the str built-in function to
the new class entry. Links to :class:`str` now go to the class entry with
the string methods immediately afterwards.
2012-11-28 01:38:40 -08:00
Chris Jerdonek
5fae0e5854
Improve str() and object.__str__() documentation (issue #13538).
2012-11-20 17:45:51 -08:00
Andrew Svetlov
f9c7c3641b
Merge: Remove already dropped function PySys_GetFile from documentation.
...
Thanks to Daniel Müllner from docs@
2012-10-31 12:03:18 +02:00
Andrew Svetlov
4deb16dd75
Remove already dropped function PySys_GetFile from documentation.
...
Thanks to Daniel Müllner from docs@
2012-10-31 12:02:56 +02:00
Chris Jerdonek
d285029ee8
Merge from 3.2: remove unneeded "Release" and "Date" markers from index pages.
2012-10-28 11:10:24 -07:00
Chris Jerdonek
8b7f9f581d
Remove unneeded "Release" and "Date" markers from doc index pages.
2012-10-28 11:08:26 -07:00
Ezio Melotti
e7f90375b1
#16127: remove outdated references to narrow builds. Patch by Serhiy Storchaka.
2012-10-05 03:33:31 +03:00
Ezio Melotti
7598e18bf2
Fix rst markup.
2012-09-20 08:33:53 +03:00
Antoine Pitrou
b79be95dac
Issue #15444: Use proper spelling for non-ASCII contributor names.
...
Patch by Serhiy Storchaka.
2012-08-11 16:54:27 +02:00
Antoine Pitrou
fbd4f80979
Issue #15444: Use proper spelling for non-ASCII contributor names.
...
Patch by Serhiy Storchaka.
2012-08-11 16:51:50 +02:00
Brett Cannon
522267e784
Issue #15610: The PyImport_ImportModuleEx macro now calls
...
PyImport_ImportModuleLevel() with a 'level' of 0 instead of -1 as the
latter is no longer a valid value.
Also added a versionchanged note for PyImport_ImportModuleLevel() just
in case people don't make the connection between changes to
__import__() and this C function.
2012-08-10 18:55:08 -04:00
Andrew Svetlov
7dac74a0ca
fix docs for c-api memory functions
2012-08-09 21:29:16 +03:00
Andrew Svetlov
7dbee38564
fix docs for c-api memory functions
2012-08-09 21:26:34 +03:00
Chris Jerdonek
17fc44c9b3
Improve str() and object.__str__() documentation (issue #13538).
2012-11-20 17:31:02 -08:00
Brett Cannon
a6473f9cfd
Issues #15169, #14599: Make PyImport_ExecCodeModuleWithPathnames() use
...
Lib/imp.py for imp.source_from_cache() instead of its own C version.
Also change PyImport_ExecCodeModuleObject() to not infer the source
path from the bytecode path like
PyImport_ExecCodeModuleWithPathnames() does. This makes the function
less magical.
This also has the side-effect of removing all uses of MAXPATHLEN in
Python/import.c which can cause failures on really long filenames.
2012-07-13 13:57:03 -04:00
Brett Cannon
77b2abd094
Issue #15167 (as part of #13959): imp.get_magic() is no implemented in
...
Lib/imp.py.
2012-07-09 16:09:00 -04:00
Brett Cannon
3adc7b75a5
Issue #15242: Have PyImport_GetMagicTag() return a const char *
...
defined in sysmodule.c instead of straight out of a Unicode object.
Thanks to Amaury Forgeot d'Arc for noticing the bug and Eric Snow for
writing the patch.
2012-07-09 14:22:12 -04:00
Georg Brandl
61063cca6a
Fix a couple of versionadded/versionchanged related markup errors.
2012-06-24 22:48:30 +02:00
Martin v. Löwis
788306a9ab
Fix whitespace.
2012-06-23 23:21:48 +02:00
Martin v. Löwis
9c56409d33
Issue #15146: Add PyType_FromSpecWithBases. Patch by Robin Schreiber.
2012-06-23 23:20:45 +02:00
Mark Dickinson
b8dc3ab08b
Issue #12965: More PyLong_As* clarifications. Thanks Stefan Krah.
2012-06-23 12:12:52 +01:00
Mark Dickinson
f0acfeeccf
Issue #12965: Clean up C-API docs for PyLong_AsLongLong(AndOverflow); clarify that __int__ will be called for non-PyLongs
2012-06-23 11:14:22 +01:00
Mark Dickinson
c9aa8425c4
Issue #12965: Merge from 3.2.
2012-06-23 12:13:15 +01:00
Mark Dickinson
93648f033b
Issue #12965: Merge from 3.2.
2012-06-23 11:14:55 +01:00
Mark Dickinson
766e62266e
Issue #12965: Merge from 3.2
2012-06-23 10:49:36 +01:00
Mark Dickinson
0a22924d52
Issue #12965: Clean up C-API docs for PyLong_AsLong(AndOverflow); clarify that __int__ will be called for non-PyLongs
2012-06-23 10:49:12 +01:00
Martin v. Löwis
466bfff9fb
Whitespace normalization
2012-06-22 12:49:59 +02:00
Martin v. Löwis
c06917bf12
Add Stable ABI documentation.
2012-06-22 12:49:08 +02:00
Martin v. Löwis
7800f75827
Issue #15042: Add PyState_AddModule and PyState_RemoveModule.
...
Add version guard for Py_LIMITED_API additions.
Issue #15081: Document PyState_FindModule.
Patch by Robin Schreiber.
2012-06-22 12:20:55 +02:00
Eli Bendersky
0813168e94
Issue #14090: fix some minor C API problems in default branch (3.3)
2012-06-03 08:07:47 +03:00
Eli Bendersky
11cfea9295
Issue #14424: Document PyType_GenericAlloc, and fix the documentation of PyType_GenericNew
2012-06-03 06:47:53 +03:00
Antoine Pitrou
ea3eb88bca
Issue #9260: A finer-grained import lock.
...
Most of the import sequence now uses per-module locks rather than the
global import lock, eliminating well-known issues with threads and imports.
2012-05-17 18:55:59 +02:00
Benjamin Peterson
d5a1c44455
PEP 415: Implement suppression of __context__ display with an exception attribute
...
This replaces the original PEP 409 implementation. See #14133.
2012-05-14 22:09:31 -07:00
Larry Hastings
faf91e75ab
Issue #14705: Add 'p' format character to PyArg_ParseTuple* for bool support.
2012-05-05 16:54:29 -07:00