Commit graph

15181 commits

Author SHA1 Message Date
Victor Stinner
6099a03202 Issue #13624: Write a specialized UTF-8 encoder to allow more optimization
The main bottleneck was the PyUnicode_READ() macro.
2011-12-18 14:22:26 +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
25ec056cc2 Issue #13530: Document os.lseek() result
Patch written by Jérémy Anger.
2011-12-17 23:15:22 +01:00
Victor Stinner
ab59594326 What's New in Python 3.3: complete the deprecation list
Add also FIXMEs in unicodeobject.c
2011-12-17 04:59:06 +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
Ezio Melotti
9987d9351c #13613: merge with 3.2. 2011-12-17 01:20:02 +02: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
6ec29e299b Issue #8373: The filesystem path of AF_UNIX sockets now uses the filesystem
encoding and the surrogateescape error handler, rather than UTF-8.  Patch
by David Watson.
2011-12-16 14:46:36 +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
Benjamin Peterson
c144a93e98 property -> staticmethod 2011-12-15 19:24:49 -05:00
Benjamin Peterson
bfebb7b54a improve abstract property support (closes #11610)
Thanks to Darren Dale for patch.
2011-12-15 15:34:02 -05:00
Antoine Pitrou
a8ff01ca74 Issue #13597: Improve documentation of standard streams. 2011-12-15 16:26:03 +01:00
Giampaolo Rodola'
556ba04a8d Fix #13449: add 'blocking' parameter to sched.scheduler.run() so that the scheduler can be used in non-blocking applications 2011-12-14 14:38:45 +01:00
Giampaolo Rodola'
73520d57eb Fix #8684: make sched.scheduler class thread-safe 2011-12-14 13:34:26 +01:00
Ezio Melotti
ec51cf159f #6570: merge with 3.2. 2011-12-13 15:53:47 +02:00
Ezio Melotti
d31d57e272 #13549: merge with 3.2. 2011-12-13 15:38:13 +02:00
Florent Xicluna
aa6c1d240f Issue #13575: there is only one class type. 2011-12-12 18:54:29 +01:00
Lars Gustäbel
521dfb02dd Add missing versionchanged information. 2011-12-12 10:22:56 +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
Benjamin Peterson
8bbe788deb merge heads 2011-12-10 17:55:31 -05:00
Benjamin Peterson
2122cf717f alias resource.error to OSError 2011-12-10 17:50:22 -05:00
Lars Gustäbel
0a9dd2f11d Issue #5689: Add support for lzma compression to the tarfile module. 2011-12-10 20:38:14 +01:00
Lars Gustäbel
c67c0b0db1 Merge with 3.2: Fix doc typo. 2011-12-10 12:48:03 +01:00
Florent Xicluna
67317750af Issue #13248: turn 3.2's PendingDeprecationWarning into 3.3's DeprecationWarning (cgi, importlib, nntplib, smtpd). 2011-12-10 11:07:42 +01:00
Antoine Pitrou
a9e9abb8ef Issue #13528: rework the performance question in the programming FAQ 2011-12-09 23:11:16 +01:00
Florent Xicluna
1b7458b2a1 Closes #2979: add parameter 'use_builtin_types' to the SimpleXMLRPCServer. 2011-12-09 22:35:06 +01:00
Nadeem Vawda
3459922c1b What's New in Python 3.3: Add entry for lzma module (issue #6715). 2011-12-09 01:32:46 +02:00
Victor Stinner
b6821013df Document PyUnicode_Copy() and PyUnicode_EncodeCodePage() 2011-12-09 00:18:11 +01:00
Victor Stinner
d1be878d7b What's New in Python 3.3: Add a Deprecated section 2011-12-09 00:10:41 +01:00
Antoine Pitrou
38d9643d5e Issue #13464: Add a readinto() method to http.client.HTTPResponse.
Patch by Jon Kuhn.
2011-12-06 22:33:57 +01:00
Antoine Pitrou
3731142e19 Merge assorted fixes from 3.2 2011-12-05 01:47:40 +01:00
Antoine Pitrou
9b1ec97867 Remove reference to the base64 encoding. 2011-12-05 01:22:03 +01:00
Antoine Pitrou
b53e2c4900 The functional module hasn't been maintained since 2006 and doesn't work with Python 3.
Remove section about it from the functional programming FAQ.
2011-12-05 01:05:55 +01:00
Antoine Pitrou
6da394cfe7 Remove obsolete references to bsddb 2011-12-05 00:41:51 +01:00
Antoine Pitrou
d0784b75cb Issue #13527: remove mention of Python megawidgets and Tkinter3000 WCK
from the doc. These two projects appear dead.
2011-12-04 23:57:55 +01:00
Georg Brandl
4d5232ab8a Merge with 3.2. 2011-12-04 11:51:33 +01:00
Antoine Pitrou
090d8132b5 Merge from 3.2 2011-12-03 23:10:12 +01:00
Antoine Pitrou
61fed9ccd3 Merge from 3.2 2011-12-03 22:40:23 +01:00
Antoine Pitrou
b6032f55d2 Remove outdated FAQ content 2011-12-03 22:26:01 +01:00
Antoine Pitrou
3cb369dd0a Streamline FAQ entry about the ternary operator, and suggest using io.StringIO for a mutable unicode container. 2011-12-03 22:11:45 +01:00
Antoine Pitrou
73080b8d18 Remove references to psyco, which is mostly unmaintained and doesn't work with Python 3. 2011-12-03 21:25:17 +01:00
Antoine Pitrou
7dc0047d53 Merge doc fixes from 3.2 2011-12-03 21:07:50 +01:00
Meador Inge
80c219b5e7 Issue #13513: IOBase docs incorrectly link to the readline module 2011-12-03 12:50:18 -06:00
Éric Araujo
fe0472e7de Fix glitches in email.policy docs (#12208) 2011-12-03 16:00:56 +01:00
Jason R. Coombs
c9b644eac2 Merge fix for Issue #12666 from 3.2 2011-12-03 08:59:53 -05:00
Ezio Melotti
c42512dfc6 #13494: merge with 3.2. 2011-12-02 19:49:02 +02:00
Ezio Melotti
a9a2ddf7be #13499: merge with 3.2. 2011-12-02 19:29:10 +02:00
Victor Stinner
3ba82aa765 c-api: Replace PyUnicodeObject* by PyObject* in "U" format doc 2011-12-01 02:52:55 +01:00
Antoine Pitrou
97ba26bf72 Issue #1040439: better document how to compile and link an embedded Python interpreter.
Still lacks docs for Windows (anyone?).
2011-11-30 21:20:01 +01:00