Giampaolo Rodola'
836e9aab2f
fix #13563 : make use of with statement in ftplib.py where needed
2011-12-10 21:25:04 +01:00
Florent Xicluna
313b2ad1a8
Fix imports in xml.dom.
2011-12-10 21:14:53 +01:00
Lars Gustäbel
0a9dd2f11d
Issue #5689 : Add support for lzma compression to the tarfile module.
2011-12-10 20:38:14 +01:00
Benjamin Peterson
ce2af33562
merge 3.2
2011-12-10 12:44:37 -05:00
Benjamin Peterson
b870aa1255
we're always going to have gc
2011-12-10 12:44:25 -05:00
Benjamin Peterson
d3a345a21f
merge 3.2
2011-12-10 12:38:52 -05:00
Benjamin Peterson
964561bb7c
you can't get resource.error if you can't import resource
2011-12-10 12:31:42 -05:00
Victor Stinner
10a6ddb062
Issue #11886 : Fix also test_time for the non-DST timezone name (EST/AEST)
2011-12-10 14:37:53 +01:00
Charles-François Natali
1635e9cc59
Issue #13453 : Catch EAI_FAIL in support.transient_internet.
2011-12-10 13:17:46 +01:00
Charles-François Natali
13859bfedc
Issue #13453 : Catch EAI_FAIL in support.transient_internet.
2011-12-10 13:16:44 +01:00
Florent Xicluna
7f1c15b854
Fix comment in difflib.
2011-12-10 13:02:17 +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
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
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
Victor Stinner
706141316a
Issue #13441 : Log the locale when localeconv() fails
2011-12-08 23:42:52 +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
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
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
Jason R. Coombs
9c3895f376
Corrected order of parameters to HTTPError in test_urllib2.py.
2011-12-04 08:14:18 -05:00
Jason R. Coombs
7ff21d7a3c
Pass positional arguments - HTTPError is not accepting keyword arguments. Reference #13211 and #12555 .
2011-12-03 23:18:11 -05:00
Jason R. Coombs
0612e8c2a2
Merged fix for #13211 from 3.2
2011-12-03 09:39:58 -05:00
Petri Lehtinen
5645850013
Issue #13439 : Merge branch 3.2
2011-12-02 21:25:39 +02:00
Petri Lehtinen
9aa20affb6
Issue #13439 : Fix many errors in turtle docstrings.
2011-12-02 21:24:14 +02:00
Ezio Melotti
b3d188f779
#8414 : merge with 3.2.
2011-12-02 18:23:54 +02:00
Ezio Melotti
6cc5bf7656
#8414 : add more tests for "assert". Initial patch by Gregory Nofi.
2011-12-02 18:22:52 +02:00
Nadeem Vawda
44ae4a2a22
Make error handling in BZ2File.{readable,seekable,writable,fileno} consistent with TextIOWrapper.
...
Also, add tests for these methods.
2011-11-30 17:39:30 +02:00
Nadeem Vawda
3ff069ebc6
Issue #6715 : Add module for compression using the LZMA algorithm.
2011-11-30 00:25:06 +02:00
Éric Araujo
c8e032006a
Merge 3.2
2011-11-29 17:14:27 +01:00
Éric Araujo
a74f8ef419
Fix inspect.getmodule to use a copy of sys.modules for iteration ( #13487 ).
...
This fixes a regression compared to 2.x, where sys.modules.items()
returns a copy, as indicated by a comment in the source. Diagnosis and
patch by Erik Tollerud.
2011-11-29 16:58:53 +01:00
Éric Araujo
e1886bfaf4
Fix instructions on how to rebuild some modules
2011-11-29 16:45:34 +01:00
Éric Araujo
ff91306127
Add a regrtest cleanup check for shutil registries
2011-11-29 16:45:07 +01:00
Éric Araujo
a2b89e364f
Fix last remaining references to ex-devguide
2011-11-29 16:36:17 +01:00
Victor Stinner
5d7c9aba29
(Merge 3.2) Fix curses module for strict SysV implementation (without has_key function)
2011-11-29 00:06:10 +01:00
Victor Stinner
b9bb1f4db3
Fix curses module for strict SysV implementation (without has_key function)
2011-11-29 00:03:50 +01:00
Antoine Pitrou
1439c77417
Merge test_xmlrpc_net fixes (issue #13434 )
2011-11-28 21:15:22 +01:00
Antoine Pitrou
f1c141b7fb
Fix resource warning in test_xmlrpc_net
2011-11-28 21:14:46 +01:00
Antoine Pitrou
5a88c38fab
Issue #13434 : skip the time.xmlrpc.com test, and reenable the buildbot test.
2011-11-28 21:12:24 +01:00