Lars Gustäbel
0c6cbbd632
Fix doc typo.
2011-12-10 12:45:45 +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
Florent Xicluna
720682efd1
Merge 3.2
2011-12-09 23:42:29 +01:00
Florent Xicluna
5126df602c
Remove obsolete py3k comment.
2011-12-09 23:41:21 +01:00
Florent Xicluna
0e686cbb7d
Fix docstring typo.
2011-12-09 23:41:19 +01:00
Antoine Pitrou
a9e9abb8ef
Issue #13528 : rework the performance question in the programming FAQ
2011-12-09 23:11:16 +01:00
Antoine Pitrou
432259feea
Issue #13528 : rework the performance question in the programming FAQ
2011-12-09 23:10:31 +01:00
Florent Xicluna
1b7458b2a1
Closes #2979 : add parameter 'use_builtin_types' to the SimpleXMLRPCServer.
2011-12-09 22:35:06 +01:00
Victor Stinner
e3b47152a4
Write tests for invalid characters (U+00110000)
...
Test the following functions:
* codecs.raw_unicode_escape_decode()
* PyUnicode_FromWideChar()
* PyUnicode_FromUnicode()
* "unicode_internal" and "unicode_escape" decoders
2011-12-09 20:49:49 +01:00
Victor Stinner
db6238964d
(Merge 3.2) Issue #5905 : time.strftime() is now using the locale encoding,
...
instead of UTF-8, if the wcsftime() function is not available.
2011-12-09 20:21:17 +01:00
Victor Stinner
720f34a3e8
Issue #5905 : time.strftime() is now using the locale encoding, instead of
...
UTF-8, if the wcsftime() function is not available.
2011-12-09 20:19:24 +01:00
Victor Stinner
7f54f75900
Issue #13441 : Enable the workaround for Solaris locale bug
...
Skip locales triggering the mbstowcs() bug. I collected the locale list thanks
my previous commit:
* hu_HU (ISO8859-2): character U+30000020
* de_AT (ISO8859-1): character U+30000076
* cs_CZ (ISO8859-2): character U+30000020
* sk_SK (ISO8859-2): character U+30000020
* pl_PL (ISO8859-2): character U+30000020
* fr_CA (ISO8859-1): character U+30000020
2011-12-09 11:29:44 +01:00
Victor Stinner
69291c4af0
Issue #13441 : Skip some locales (e.g. cs_CZ and hu_HU) on Solaris to workaround
...
a mbstowcs() bug. For example, on Solaris, the hu_HU locale uses the locale
encoding ISO-8859-2, the thousauds separator is b'\xA0' and it is decoded as
U+30000020 (an invalid character) by mbstowcs().
The workaround is not enabled yet (commented): I would like first to get
more information about the failing locales.
2011-12-09 10:28:45 +01:00
Victor Stinner
5446bba269
Issue #13441 : Don't test the hu_HU locale on Solaris to workaround a mbstowcs()
...
bug. On Solaris, if the locale is hu_HU (and if the locale encoding is not
UTF-8), the thousauds separator is b'\xA0' which is decoded as U+30000020
instead of U+0020 by mbstowcs().
2011-12-09 01:20:03 +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
Victor Stinner
706141316a
Issue #13441 : Log the locale when localeconv() fails
2011-12-08 23:42:52 +01:00
Stefan Krah
221ea5d931
Merge fix for issue #13547 .
2011-12-08 23:31:40 +01:00
Stefan Krah
383dd58533
Issue #13547 : clean Lib/_sysconfigdata.py and Modules/_testembed
2011-12-08 23:25:15 +01:00
Stefan Krah
2ac5fac268
Merge.
2011-12-08 22:30:18 +01:00
Stefan Krah
9a17cc3c53
Merge second fix for issue #11149 .
2011-12-08 22:22:58 +01:00
Stefan Krah
af04ff2b97
Issue #11149 : Also enable -fwrapv if $CC is a full path
...
or has a trailing version number.
2011-12-08 22:20:31 +01:00
Victor Stinner
8faf8216e4
PyUnicode_FromWideChar() and PyUnicode_FromUnicode() raise a ValueError if a
...
character in not in range [U+0000; U+10ffff].
2011-12-08 22:14:11 +01:00
Victor Stinner
bc9f0c68f5
(Merge 3.2) Issue #11886 : workaround an OS bug (time zone data) in test_time
...
Australian Eastern Standard Time (UTC+10) is called "EST" (as Eastern Standard
Time, UTC-5) instead of "AEST" on some operating systems (e.g. FreeBSD), which
is wrong. See for example this bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=93810
2011-12-08 00:33:14 +01:00
Victor Stinner
0cd479074d
Issue #11886 : workaround an OS bug (time zone data) in test_time
...
Australian Eastern Standard Time (UTC+10) is called "EST" (as Eastern Standard
Time, UTC-5) instead of "AEST" on some operating systems (e.g. FreeBSD), which
is wrong. See for example this bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=93810
2011-12-08 00:32:51 +01:00
Victor Stinner
0c4fbff6a7
libpython.py: defer call to gdb.lookup_type('PyUnicodeObject')
...
The lookup fails at startup if Python is linked to a shared library.
2011-12-08 00:08:22 +01:00
Charles-François Natali
1659b83b1d
Followup to a541bda2f5e2: Add a short comment.
2011-12-07 23:17:58 +01:00
Ezio Melotti
96e76775bc
#13531 : merge with 3.2.
2011-12-08 00:03:59 +02:00
Ezio Melotti
eb5879414d
#13531 : add a test for defaultdict with a non-callable arg. Patch by Mike Cheng.
2011-12-08 00:02:00 +02:00
Charles-François Natali
7c0b0cc9f9
Issue #11051 : Reduce the number of syscalls per import.
2011-12-07 19:16:01 +01:00
Ned Deily
3be637e67f
Issue #8641 : Update IDLE 3 syntax coloring to recognize b".." and not u"..".
...
(Patch by Tal Einat)
2011-12-07 01:12:50 -08:00
Ned Deily
2f0ad742b5
Issue #8641 : Update IDLE 3 syntax coloring to recognize b".." and not u"..".
...
(Patch by Tal Einat)
2011-12-07 01:08:35 -08:00
Antoine Pitrou
4ce6aa4ba7
Fix dangling whitespace
2011-12-06 22:34:36 +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
Jesus Cea
0f6492250c
MERGE: Close #13500 : Hitting EOF gets cmd.py into a infinite EOF on return loop
2011-12-06 20:47:38 +01:00
Jesus Cea
a9837d8194
Close #13500 : Hitting EOF gets cmd.py into a infinite EOF on return loop
2011-12-06 20:46:57 +01:00
Lars Gustäbel
bb44b73e17
Remove no longer needed work-around for bz2 file object support.
2011-12-06 13:44:10 +01:00
Lars Gustäbel
45fb082180
Merge with 3.2: Correctly detect bzip2 compressed streams with blocksizes other than 900k.
2011-12-06 13:00:58 +01:00
Lars Gustäbel
ed1ac587df
Correctly detect bzip2 compressed streams with blocksizes other than 900k.
2011-12-06 12:56:38 +01:00
Barry Warsaw
04f6974d84
- Issue #11147 : Fix an unused argument in _Py_ANNOTATE_MEMORY_ORDER. (Fix
...
given by Campbell Barton).
2011-12-05 16:50:41 -05:00
Barry Warsaw
9f57135465
- Issue #11147 : Fix an unused argument in _Py_ANNOTATE_MEMORY_ORDER. (Fix
...
given by Campbell Barton).
2011-12-05 16:45:02 -05:00
Antoine Pitrou
b0e1f8b38b
Issue #13503 : Use a more efficient reduction format for bytearrays with
...
pickle protocol >= 3. The old reduction format is kept with older
protocols in order to allow unpickling under Python 2.
Patch by Irmen de Jong.
2011-12-05 20:40:08 +01:00
Antoine Pitrou
3731142e19
Merge assorted fixes from 3.2
2011-12-05 01:47:40 +01:00
Antoine Pitrou
5b73ca4b3d
s/SOCKSTREAM/TCP/
2011-12-05 01:46:35 +01:00
Antoine Pitrou
8e644f0e7c
Reword IPC section
2011-12-05 01:43:32 +01:00
Antoine Pitrou
8345451170
Use www.python.org instead of a hostname pointing to a parked (or squatted) domain.
...
Also, reformat a bit.
2011-12-05 01:37:34 +01:00
Antoine Pitrou
fa03f6c863
Remove the outdated notion that multithreading doesn't work well on Unices.
2011-12-05 01:32:29 +01:00
Antoine Pitrou
9b1ec97867
Remove reference to the base64 encoding.
2011-12-05 01:22:03 +01:00
Antoine Pitrou
534e253cb6
Remove reference to the base64 encoding.
2011-12-05 01:21:46 +01:00