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
c9aa8425c4
Issue #12965 : Merge from 3.2.
2012-06-23 12:13:15 +01:00
Mark Dickinson
b8dc3ab08b
Issue #12965 : More PyLong_As* clarifications. Thanks Stefan Krah.
2012-06-23 12:12:52 +01:00
Mark Dickinson
93648f033b
Issue #12965 : Merge from 3.2.
2012-06-23 11:14:55 +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
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
Georg Brandl
f4095837a7
Fix location of versionaddeds and empty lines.
2012-04-24 19:16:24 +02:00
Martin v. Löwis
aa2efcb0bc
Issue #14098 : New functions PyErr_GetExcInfo and PyErr_SetExcInfo.
...
Patch by Stefan Behnel.
2012-04-19 14:33:43 +02:00
Brian Curtin
09b86d1196
Fix #14600 . Correct reference handling and naming of ImportError convenience function
2012-04-17 16:57:09 -05:00
Brian Curtin
bded894499
Add versionadded tags to newly added ImportError convenience functions.
2012-04-16 18:14:09 -05:00
Brian Curtin
bd43974037
Add documentation for the new PyErr_SetFromImport* functions
2012-04-16 15:14:36 -05:00
Victor Stinner
0db176f8f6
Issue #14386 : Expose the dict_proxy internal type as types.MappingProxyType
2012-04-16 00:16:30 +02:00
Larry Hastings
83a9f48699
Issue #14328 : Add keyword-only parameters to PyArg_ParseTupleAndKeywords.
...
They're optional-only for now (unlike in pure Python) but that's all
I needed. The syntax can easily be relaxed if we want to support
required keyword-only arguments for extension types in the future.
2012-03-20 20:06:16 +00:00
Stefan Krah
abd887d690
Issue #14181 : Improve clarity in the documentation for the multi-purpose
...
Py_buffer.obj field.
2012-03-06 14:55:06 +01:00
Stefan Krah
95b1ba6388
Add PyMemoryView_FromMemory() to whatsnew/3.3.
2012-02-29 17:27:21 +01:00
Eli Bendersky
49ac6f4492
Some corrections for the Doc/extending documentation. Closes #14129
2012-02-27 19:18:35 +02:00
Nick Coghlan
ab7bf2143e
Close issue #6210 : Implement PEP 409
2012-02-26 17:49:52 +10:00
Stefan Krah
9a2d99e28a
- Issue #10181 : New memoryview implementation fixes multiple ownership
...
and lifetime issues of dynamically allocated Py_buffer members (#9990 )
as well as crashes (#8305 , #7433 ). Many new features have been added
(See whatsnew/3.3), and the documentation has been updated extensively.
The ndarray test object from _testbuffer.c implements all aspects of
PEP-3118, so further development towards the complete implementation
of the PEP can proceed in a test-driven manner.
Thanks to Nick Coghlan, Antoine Pitrou and Pauli Virtanen for review
and many ideas.
- Issue #12834 : Fix incorrect results of memoryview.tobytes() for
non-contiguous arrays.
- Issue #5231 : Introduce memoryview.cast() method that allows changing
format and shape without making a copy of the underlying memory.
2012-02-25 12:24:21 +01:00
Benjamin Peterson
43844351c3
write versionadded
2012-02-20 08:48:25 -05:00
Benjamin Peterson
8eb1269c34
add generic implementation of a __dict__ descriptor for C types
2012-02-19 19:59:10 -05:00
Antoine Pitrou
b46d4b770d
Fix error handling in examples of C API use.
2012-01-27 14:08:04 +01:00
Antoine Pitrou
04707c032e
Fix error handling in examples of C API use.
2012-01-27 14:07:29 +01:00
Meador Inge
2396c0a28f
Issue #12949 : Document the kwonlyargcount argument for the PyCode_New C API function.
2012-01-19 22:24:55 -06:00
Meador Inge
a3443d985e
Issue #12949 : Document the kwonlyargcount argument for the PyCode_New C API function.
2012-01-19 22:06:31 -06:00
Amaury Forgeot d'Arc
5e8260b09c
Issue #13727 : Add 3 macros to access PyDateTime_Delta members:
...
PyDateTime_DELTA_GET_DAYS, PyDateTime_DELTA_GET_SECONDS,
PyDateTime_DELTA_GET_MICROSECONDS.
Please use them instead of directly accessing PyDateTime_Delta struct members.
2012-01-17 21:31:50 +01:00
Sandro Tosi
645a0dd6f7
Py_SetPythonHome() can be called before Py_Initialize(); thanks to Cody Smith from docs@
2012-01-07 18:34:07 +01:00
Victor Stinner
6fbd525ef5
Issue #13617 : Document that the result of the conversion of a Unicode object to
...
wchar*, Py_UNICODE* and bytes may contain embedded null characters/bytes.
Patch written by Arnaud Calmettes.
2011-12-18 19:22:31 +01:00
Victor Stinner
a94a0e92b8
Issue #13522 : Fix _Py_co_pow() documentation
...
Patch written by Arnaud Calmettes.
2011-12-18 02:56:18 +01:00
Antoine Pitrou
07b1c877b2
Issue #13522 : document error return values of some float and complex C API functions.
2011-12-18 01:25:27 +01:00
Benjamin Peterson
b2bf01d824
use full unicode mappings for upper/lower/title case ( #12736 )
...
Also broaden the category of characters that count as lowercase/uppercase.
2012-01-11 18:17:06 -05:00
Sandro Tosi
ac8f78a1a9
merge with 3.2
2012-01-07 18:34:24 +01:00
Victor Stinner
606e19dda3
Fix PyUnicode_Fill() doc: return type is Py_ssize_t, not int
2012-01-04 03:59:16 +01:00
Victor Stinner
3fe553160c
Add a new PyUnicode_Fill() function
...
It is faster than the unicode_fill() function which was implemented in
formatter_unicode.c.
2012-01-04 00:33:50 +01:00
Victor Stinner
0d81c1357d
Issue #13617 : Document that the result of the conversion of a Unicode object to
...
wchar*, Py_UNICODE* and bytes may contain embedded null characters/bytes.
Patch written by Arnaud Calmettes.
2011-12-18 19:30:55 +01:00
Victor Stinner
b99bb20ae4
Issue #13522 : Fix _Py_co_pow() documentation
...
Patch written by Arnaud Calmettes.
2011-12-18 02:56:18 +01:00
Antoine Pitrou
b511aca596
Issue #13522 : document error return values of some float and complex C API functions.
2011-12-18 01:26:05 +01:00
Victor Stinner
f2ea71fcc8
Issue #13560 : Add PyUnicode_EncodeLocale()
...
* Use PyUnicode_EncodeLocale() in time.strftime() if wcsftime() is not
available
* Document my last changes in Misc/NEWS
2011-12-17 04:13:41 +01:00
Victor Stinner
af02e1c85a
Add PyUnicode_DecodeLocaleAndSize() and PyUnicode_DecodeLocale()
...
* PyUnicode_DecodeLocaleAndSize() and PyUnicode_DecodeLocale() decode a string
from the current locale encoding
* _Py_char2wchar() writes an "error code" in the size argument to indicate
if the function failed because of memory allocation failure or because of a
decoding error. The function doesn't write the error message directly to
stderr.
* Fix time.strftime() (if wcsftime() is missing): decode strftime() result
from the current locale encoding, not from the filesystem encoding.
2011-12-16 23:56:01 +01:00
Antoine Pitrou
093ce9cd8c
Issue #6695 : Full garbage collection runs now clear the freelist of set objects.
...
Initial patch by Matthias Troffaes.
2011-12-16 11:24:27 +01:00