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
Victor Stinner
bf6e560d0c
Make PyUnicode_Copy() private => _PyUnicode_Copy()
...
Undocument the function.
Make also decode_utf8_errors() as private (static).
2011-12-12 01:53:47 +01:00
Victor Stinner
b6821013df
Document PyUnicode_Copy() and PyUnicode_EncodeCodePage()
2011-12-09 00:18:11 +01:00
Victor Stinner
3ba82aa765
c-api: Replace PyUnicodeObject* by PyObject* in "U" format doc
2011-12-01 02:52:55 +01:00
Antoine Pitrou
86a36b500a
PEP 3155 / issue #13448 : Qualified name for classes and functions.
2011-11-25 18:56:07 +01:00
Eli Bendersky
0481f4bca4
fix some typos in Doc/c-api/memoryview.rst
2011-11-25 15:08:45 +02:00
Eli Bendersky
5a53f368e6
fix some typos in Doc/c-api/memoryview.rst
2011-11-25 15:07:50 +02:00
Victor Stinner
b4938aaf15
Document PyUnicode_WCHAR_KIND
2011-11-20 18:27:28 +01:00
Antoine Pitrou
9a812cbc89
Issue #13389 : Full garbage collection passes now clear the freelists for
...
list and dict objects. They already cleared other freelists in the
interpreter.
2011-11-15 00:00:12 +01:00
Ezio Melotti
e130a52d8a
Remove duplication.
2011-10-19 10:58:56 +03:00
Antoine Pitrou
57735a0d6a
Add missing prefixes
2011-10-22 22:08:46 +02:00
Antoine Pitrou
b965b3938a
Elaborate on representations and canonical/legacy unicode objects
2011-10-22 22:08:05 +02:00
Antoine Pitrou
e6b99a1832
Move deprecated functions at the end of their respective sections.
2011-10-22 21:56:20 +02:00
Ezio Melotti
f10644983e
Merge with 3.2.
2011-10-19 11:06:26 +03:00
Antoine Pitrou
23a580fd78
Update index entries
2011-10-12 18:33:15 +02:00
Antoine Pitrou
9a4a342b78
Update the C-API docs for exception types
2011-10-12 18:28:01 +02:00
Mark Dickinson
1c027e564f
Merge issue #13145 fix.
2011-10-11 18:07:19 +01:00
Mark Dickinson
f1ab47ebc4
Issue #13145 . Fix incorrect documentation for PyNumber_ToBase. Thanks Sven Marnach.
2011-10-11 18:06:36 +01:00
Martin v. Löwis
2da16e61f5
Fix indentation.
2011-10-07 20:58:00 +02:00
Martin v. Löwis
c47adb04b3
Change PyUnicode_KIND to 1,2,4. Drop _KIND_SIZE and _CHARACTER_SIZE.
2011-10-07 20:55:35 +02:00
Georg Brandl
db6c7f5c33
Update C API docs for PEP 393.
2011-10-07 11:19:11 +02:00
Georg Brandl
ee12f4429c
Add versionadded directive to new API function.
2011-09-28 21:51:06 +02:00
Martin v. Löwis
d63a3b8beb
Implement PEP 393.
2011-09-28 07:41:54 +02:00
Éric Araujo
b8edbdf4b9
Merge doc changes from 3.2.
...
rstlint complains about packaging docs but I’m working on those in
another patch.
2011-09-01 05:57:12 +02:00
Éric Araujo
37b5f9eebc
Fix some misuses of Sphinx roles and one typo
2011-09-01 03:19:30 +02:00
Ezio Melotti
8c9375bb59
#10542 : Add 4 macros to work with surrogates: Py_UNICODE_IS_SURROGATE, Py_UNICODE_IS_HIGH_SURROGATE, Py_UNICODE_IS_LOW_SURROGATE, Py_UNICODE_JOIN_SURROGATES.
2011-08-22 20:03:25 +03:00
Sandro Tosi
98d95a50c9
merge with 3.2
2011-08-13 00:40:08 +02:00
Sandro Tosi
7bf4363f77
let PySequence_Check me a link; thanks to tomo cocoa from docs@
2011-08-13 00:39:46 +02:00
Brian Curtin
49281076c1
Add doc for Py_RETURN_NOTIMPLEMENTED, added in #12724 .
2011-08-11 09:41:31 -05:00
Benjamin Peterson
9aae3a8cf5
merge 3.2 ( #12719 )
2011-08-09 16:15:29 -05:00
Benjamin Peterson
77c4fd01dd
note mutating tp_dict is bad ( closes #12719 )
2011-08-09 16:07:01 -05:00
Sandro Tosi
1e8d8fd01d
#10741 : merge with 3.2
2011-08-08 00:17:43 +02:00
Sandro Tosi
61baee0ee7
#10741 : add documentation for PyGILState_GetThisThreadState()
2011-08-08 00:16:54 +02:00
Eli Bendersky
906b88fb2a
Issue #12380 : PyArg_ParseTuple now accepts a bytearray for the 'c' format.
...
As a side effect, this now allows the rjust, ljust and center methods of
bytes and bytearray to accept a bytearray argument.
Patch by Petri Lehtinen
2011-07-29 07:05:08 +03:00
Antoine Pitrou
8442124693
Make it clear that PyNumber_AsSsize_t() returns -1 on error.
2011-07-13 21:02:58 +02:00
Antoine Pitrou
fd060474e3
Make it clear that PyNumber_AsSsize_t() returns -1 on error.
2011-07-13 21:02:22 +02:00
Georg Brandl
993409ddc0
Merge doc change from 3.2.
2011-07-13 15:59:43 +02:00
Georg Brandl
325eb470b7
Clarify that PyErr_NewException creates an exception *class*, not instance.
2011-07-13 15:59:24 +02:00
Éric Araujo
577a6af8e6
Merge doc fixes from 3.2
2011-06-09 16:28:19 +02:00
Éric Araujo
d2f8cec885
Fix a few misuses of :option: I missed in r86521.
...
Extract of the commit message:
Fix usage of :option: in the docs (#9312 ).
:option: is used to create a link to an option of python, not to mark
up any instance of any arbitrary command-line option. These were
changed to ````.
2011-06-08 05:29:39 +02:00
Benjamin Peterson
2945a99840
merge 3.2
2011-05-31 21:28:03 -05:00
Benjamin Peterson
2e3a38a774
demote this to a note
2011-05-31 21:27:41 -05:00
Georg Brandl
fb2473fc8b
Merge 3.2.1rc1 release changes to default.
2011-05-21 19:43:36 +02:00
Georg Brandl
9c1928f0a9
Merge release branch after 3.2.1rc1.
2011-05-21 17:35:33 +02:00
Ezio Melotti
e724665182
#12072 : merge with 3.2.
2011-05-20 15:06:58 +03:00
Ezio Melotti
da5b852c7c
#12072 : merge with 3.1.
2011-05-20 15:06:32 +03:00
Ezio Melotti
261d855fd6
#12072 : add missing parenthesis in the doc. Patch by Sandro Tosi.
2011-05-20 15:04:38 +03:00
Georg Brandl
521143dd6c
Update pydoc topics and handle suspicious markup.
2011-05-15 17:51:24 +02:00
Georg Brandl
1a4de20d95
Merge #6498 fix from 3.2.
2011-05-15 08:49:38 +02:00
Georg Brandl
318e62153b
Merge #6498 fix from 3.1.
2011-05-15 08:49:29 +02:00
Georg Brandl
0b2489e986
Closes #6498 : fix several misspellings of "SystemExit" as "SystemError".
2011-05-15 08:49:12 +02:00
Ezio Melotti
868fc87591
#11997 : merge with 3.2.
2011-05-05 14:21:55 +03:00
Ezio Melotti
f77b74dd1b
#11997 : merge with 3.1.
2011-05-05 14:21:18 +03:00
Ezio Melotti
d92ab0806d
#11997 : fix typo in init.rst.
2011-05-05 14:19:48 +03:00
Benjamin Peterson
1a5097244a
merge 3.2
2011-04-30 13:16:14 -05:00
Benjamin Peterson
f97aed1a25
merge 3.1
2011-04-30 13:15:18 -05:00
Benjamin Peterson
4c020885d9
fix function name in example ( closes #11966 )
2011-04-30 13:14:56 -05:00
Ezio Melotti
98be2b72c6
#11942 : merge with 3.2.
2011-04-28 00:53:48 +03:00
Ezio Melotti
a782ccaf6c
#11942 : merge with 3.1.
2011-04-28 00:53:14 +03:00
Ezio Melotti
f95033ba44
#11942 : Fix return type of Py_AddPendingCall. Patch by Sandro Tosi.
2011-04-28 00:48:46 +03:00
Éric Araujo
0abb8b74d9
Merge 3.2
2011-04-27 16:32:36 +02:00
Éric Araujo
ce4c4074f9
The version* directives don’t work with a blank line between arguments
2011-04-24 03:31:37 +02:00
Éric Araujo
0c91e1d941
Branch merge
2011-04-24 02:47:37 +02:00
Éric Araujo
cae1be85f5
Branch merge
2011-04-24 02:39:43 +02:00
Éric Araujo
5348b63a91
Branch merge
2011-04-24 02:34:11 +02:00
Ezio Melotti
32f4db3175
Merge with 3.2.
2011-04-20 21:33:29 +03:00
Ezio Melotti
861d27f4cf
Merge with 3.1.
2011-04-20 21:32:40 +03:00
Ezio Melotti
e402724912
Fix wrong function name. Noticed by Clive Darke.
2011-04-20 21:29:31 +03:00
Éric Araujo
ab20b164b9
Merge 3.2
2011-04-20 20:22:57 +02:00
Éric Araujo
37e6c54ba1
Merge 3.1
2011-04-20 19:24:09 +02:00
Éric Araujo
ad0790e573
Branch merge
2011-04-20 18:54:12 +02:00
Ezio Melotti
d66f07a6b3
#11865 : Merge with 3.2.
2011-04-18 10:14:49 +03:00
Ezio Melotti
74c0031066
#11865 : Merge with 3.1.
2011-04-18 10:14:13 +03:00
Ezio Melotti
340bb95ffd
#11865 : fix typo in init.rst.
2011-04-18 10:11:21 +03:00
Ezio Melotti
c470a0c744
#11840 : Merge with 3.2.
2011-04-14 07:51:57 +03:00
Ezio Melotti
c1f0577b54
#11840 : Merge with 3.1.
2011-04-14 07:50:25 +03:00
Ezio Melotti
95cd91c17f
#11840 : Improve c-api/unicode documentation. Patch by Sandro Tosi.
2011-04-14 07:43:53 +03:00
Éric Araujo
8b8f2ec560
Kill last reference to defunct module
2011-03-26 07:22:01 +01:00
Éric Araujo
16e6f4c3f0
Fix a typo (see #3080 )
2011-03-20 18:08:19 +01:00
Antoine Pitrou
9bb9877d80
Followup to 4c59cd84086f: add an entry in the porting guide and a "versionchanged" attribute.
2011-03-15 20:22:50 +01:00
Victor Stinner
fe93faf98c
Issue #3080 : Add PyImport_ImportModuleLevelObject() function
...
Use it for the builtin __import__ function.
2011-03-14 15:54:52 -04:00
Antoine Pitrou
9bd3bbcfe8
Issue #11329 : PyEval_InitThreads() cannot be called before Py_Initialize() anymore
2011-03-13 23:28:28 +01:00
Antoine Pitrou
34db469895
Remove documentation to non-existent function PyObject_CopyToObject ( fixes #11478 )
2011-03-13 19:32:01 +01:00
Antoine Pitrou
6b19e50e9b
Remove documentation to non-existent function PyObject_CopyToObject ( fixes #11478 )
2011-03-13 19:31:11 +01:00
Victor Stinner
db536afee1
Issue #3080 : Document the name attribute of the _inittab structure
...
The name is an ASCII encoded string.
2011-03-07 18:34:59 +01:00
Victor Stinner
53dc735168
Issue #3080 : Add PyImport_ImportFrozenModuleObject()
...
find_frozen(), get_frozen_object(), is_frozen_package() and other functions
related to frozen modules use Unicode strings instead of byte strings.
2011-03-20 01:50:21 +01:00
Antoine Pitrou
ec43833cc7
Merge doc update
2011-03-15 20:23:30 +01:00
Antoine Pitrou
0cfc23762f
Issue #11329 : PyEval_InitThreads() cannot be called before Py_Initialize() anymore
2011-03-13 23:29:10 +01:00
Antoine Pitrou
0d23189dae
Remove documentation to non-existent function PyObject_CopyToObject ( fixes #11478 )
2011-03-13 19:32:21 +01:00