R David Murray
0a560a11af
#23088 : Clarify null termination of bytes and strings in C API.
Patch by Martin Panter, reviewed by Serhiy Storchaka and R. David Murray.
11 years ago
Serhiy Storchaka
a7db0576ac
Fixed a typo.
11 years ago
R David Murray
5be7f1513d
#23957 : fix typo.
11 years ago
Gregory P. Smith
0f2f3bc9db
issue9014: Include more formatting on type:`PyObject` etc.
11 years ago
Gregory P. Smith
1b24465c93
issue9014: Properly document PyObject_HEAD and friends post-PEP-3123.
11 years ago
Victor Stinner
6a318d420a
Issue #19428 : Document that PyMarshal_ReadLongFromFile() and
PyMarshal_ReadShortFromFile() can fail.
11 years ago
Berker Peksag
32799953b0
Issue #23081 : Document that PySequence_List also accepts iterables.
Patch by Lars Buitinck.
11 years ago
Stefan Krah
3a43d06321
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
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
Georg Brandl
a4c8c47961
#22613 : remaining corrections in extending/reference docs (thanks Jacques Ducasse)
11 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
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
Eric Snow
08197a4616
Issue #21226 : Set all attrs in PyImport_ExecCodeModuleObject.
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
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
Nick Coghlan
c0bc0b46bb
Issue #20500 : Note other public APIs with the new assertion
12 years ago
Nick Coghlan
3d7b3641d3
Note the new debug assertion in PyObject_Str
12 years ago
Nick Coghlan
aa029dad50
Tweaks to What's New and some referenced docs
12 years ago
Martin v. Löwis
ca7b04644c
Issue #17162 : Add PyType_GetSlot.
12 years ago
Zachary Ware
a479b7505e
Issue #20460 : Render 'bytes' as a class, not a function.
Patch by OSAMU NAKAMURA.
12 years ago
Nick Coghlan
77b286b2cc
Close #20105 : set __traceback__ when chaining exceptions in C
12 years ago
Larry Hastings
2a727916c5
Issue #20226 : Major improvements to Argument Clinic.
* You may now specify an expression as the default value for a
parameter! Example: "sys.maxsize - 1". This support is
intentionally quite limited; you may only use values that
can be represented as static C values.
* Removed "doc_default", simplified support for "c_default"
and "py_default". (I'm not sure we still even need
"py_default", but I'm leaving it in for now in case a
use presents itself.)
* Parameter lines support a trailing '\\' as a line
continuation character, allowing you to break up long lines.
* The argument parsing code generated when supporting optional
groups now uses PyTuple_GET_SIZE instead of PyTuple_GetSize,
leading to a 850% speedup in parsing. (Just kidding, this
is an unmeasurable difference.)
* A bugfix for the recent regression where the generated
prototype from pydoc for builtins would be littered with
unreadable "=<object ...>"" default values for parameters
that had no default value.
* Converted some asserts into proper failure messages.
* Many doc improvements and fixes.
12 years ago
Victor Stinner
e8453bc136
C API doc: try to group concrete objects
12 years ago