Stefan Krah
3a43d06321
Whitespace.
11 years ago
Stefan Krah
3e9bec26f4
Whitespace.
11 years ago
Stefan Krah
0dc4e153a2
Issue #23352 : Document that Py_buffer.suboffsets must be NULL if no suboffsets
are required.
11 years ago
Serhiy Storchaka
d3faf43f9b
Issue #23181 : More "codepoint" -> "code point".
11 years ago
Georg Brandl
3be472b5f7
Closes #23181 : codepoint -> code point
11 years ago
Benjamin Peterson
82f34ada45
fix instances of consecutive articles ( closes #23221 )
Patch by Karan Goel.
11 years ago
Benjamin Peterson
b33bb89b1a
doucment that Py_SetPath copies its argument ( closes #23110 )
11 years ago
Serhiy Storchaka
b757c83ec6
Issue #22581 : Use more "bytes-like object" throughout the docs and comments.
11 years ago
Berker Peksag
87f6c2212e
Issue #19676 : Tweak documentation a bit.
* Updated version info to 3.5
* Fixed a markup error
* Added a versionadded directive to namereplace_errors documentation
11 years ago
Serhiy Storchaka
166ebc4e5d
Issue #19676 : Added the "namereplace" error handler.
11 years ago
Georg Brandl
a4c8c47961
#22613 : remaining corrections in extending/reference docs (thanks Jacques Ducasse)
12 years ago
Georg Brandl
93a56cdc37
Doc: fix default role usage (except in unittest mock docs)
12 years ago
Georg Brandl
e8ea355b72
Closes #21687 : delimiter in Py_SetPath is platform dependent
12 years ago
Victor Stinner
13d3aa502d
Closes #22580 : Fix documentation of PyUnicode_Tailmatch()
The result type is Py_ssize_t (and not int).
12 years ago
Georg Brandl
f6d6dc2e36
Clean up the docs of PyObject_IsSubclass and PyObject_IsInstance, and mention that they call the PEP 3119 methods.
12 years ago
Georg Brandl
a920b6d762
Closes #22507 : document that PyType_IsSubtype does not call __subclasscheck__.
12 years ago
Georg Brandl
97435166aa
Closes #22565 : fix argument types of PyErr_WarnEx.
12 years ago
Benjamin Peterson
1c262a6c75
PyObject not PyType ( closes #18494 )
12 years ago
Georg Brandl
340c749a3a
Closes #19477 : remove outdated documentation of tp_print type object slot.
12 years ago
Antoine Pitrou
550ff723a0
Reorganize C API docs of the exception API
12 years ago
Antoine Pitrou
0676a406bf
Issue #18711 : Add a new `PyErr_FormatV` function, similar to `PyErr_Format` but accepting a `va_list` argument.
12 years ago
Victor Stinner
25e014bd91
Issue #18395 , #22108 : Update embedded Python examples to decode correctly
command line parameters: use Py_DecodeLocale() and PyUnicode_DecodeFSDefault().
12 years ago
Victor Stinner
f6a271ae98
Issue #18395 : Rename ``_Py_char2wchar()`` to func:`Py_DecodeLocale`, rename
``_Py_wchar2char()`` to func:`Py_EncodeLocale`, and document these
functions.
12 years ago
Victor Stinner
115171086a
Issue #22018 : On Windows, signal.set_wakeup_fd() now also supports sockets.
A side effect is that Python depends to the WinSock library.
12 years ago
Victor Stinner
1d8948e023
Backout 42ced0d023cd: oops, i didn't want to push this changeset :-/
12 years ago
Victor Stinner
d18ccd19f0
tets
12 years ago
Benjamin Peterson
102488b644
args doesn't need to be a tuple ( closes #17210 )
12 years ago
Andrew Svetlov
0d50af45b6
Update docs about tp_richcompare
12 years ago
Stefan Krah
bb458dbe59
Issue #21778 : Clarify use of flags if PyBuffer_FillInfo() is used inside a
getbufferproc().
12 years ago
Jesus Cea
e8ef8b7a20
Closes #21441 : Reorder elements in documentation to match actual order in the code
12 years ago
Zachary Ware
780b585fbc
Quash extraneous quote.
12 years ago
Victor Stinner
d8f0d922d5
Issue #21233 : Rename the C structure "PyMemAllocator" to "PyMemAllocatorEx" to
make sure that the code using it will be adapted for the new "calloc" field
(instead of crashing).
12 years ago
Eric Snow
08197a4616
Issue #21226 : Set all attrs in PyImport_ExecCodeModuleObject.
12 years ago
Victor Stinner
db067af12a
Issue #21233 : Add new C functions: PyMem_RawCalloc(), PyMem_Calloc(),
PyObject_Calloc(), _PyObject_GC_Calloc(). bytes(int) and bytearray(int) are now
using ``calloc()`` instead of ``malloc()`` for large objects which is faster
and use less memory (until the bytearray buffer is filled with data).
12 years ago
Antoine Pitrou
f9f54a2f5f
Issue #9307 : document the various Py_TPFLAGS_*_SUBCLASS flags. Patch by Yury V. Zaytsev.
12 years ago
Benjamin Peterson
d51374ed78
PEP 465: a dedicated infix operator for matrix multiplication ( closes #21176 )
12 years ago
Benjamin Peterson
ce0700ae7a
PySequence_Fast generally returns a list not a tuple ( closes #16395 )
12 years ago
Benjamin Peterson
f0f7844f38
the name of the slot of nb_multiply not nb_mul
12 years ago
Brett Cannon
18fc4e70f3
Issue #20942 : PyImport_ImportFrozenModuleObject() no longer sets
__file__.
This causes _frozen_importlib to no longer have __file__ set as well
as any frozen module imported using imp.init_frozen() (which is
deprecated).
12 years ago
Andrew Svetlov
08af00047b
Get rid of deprecated IOError in the doc
12 years ago
Georg Brandl
1c669c1154
Closes #18456 : Doc fix: PyDict_Update only works with dict-like objects, not key-value sequences. Patch by priyapappachan.
12 years ago
Georg Brandl
df48b97855
Fix a few scoping issues with versionadded/versionchanged directives.
12 years ago
Larry Hastings
3732ed2414
Merge in all documentation changes since branching 3.4.0rc1.
12 years ago
Éric Araujo
fa5e6e4773
Fix note markup ( #16805 ).
Patch by Tshepang Lekhonkhobe, reviewed by Georg Brandl.
12 years ago
R David Murray
e8db162f62
whatsnew: PEP 424 implementation.
12 years ago
Zachary Ware
7bbd101bb1
Fix several C-API doc typos caught by tomo cocoa on docs@.
The signature and description of PyException_SetCause now use "cause"
rather than "ctx" to match the code.
12 years ago
R David Murray
4e4a313486
Fix return type in doc of PyStructSequence_InitType2.
12 years ago
R David Murray
237fda2984
whatsnew: PyStructSequence_InitType2, Victor's MemoryError fixes.
I'm documenting this new function, but I'm wondering if this will trigger
someone to think about whether or not this actually makes sense :)
12 years ago
Larry Hastings
8f9f0f12e8
Issue #20517 : Removed unnecessary new (short-lived) functions from PyErr.
12 years ago
Larry Hastings
b082731fbb
Issue #20517 : Functions in the os module that accept two filenames
now register both filenames in the exception on failure.
This required adding new C API functions allowing OSError exceptions
to reference two filenames instead of one.
12 years ago