Commit graph

31874 commits

Author SHA1 Message Date
Vinay Sajip
3a8f510b52 Closes #17981: Merged fix from 3.3. 2013-05-16 23:02:54 +01:00
Vinay Sajip
862b15e7d0 Issue #17981: Closed socket on error in SysLogHandler. 2013-05-16 22:57:02 +01:00
Benjamin Peterson
e8e14591eb rather than passing locals to the class body, just execute the class body in the proper environment 2013-05-16 14:37:25 -05:00
Giampaolo Rodola'
3cb09064a3 Issue #17992: Add timeouts to asyncore and asynchat tests so that they won't accidentally hang. 2013-05-16 15:21:53 +02:00
Giampaolo Rodola'
0d4f08cee3 ftplib tests: provide a global socket's TIMEOUT variable and use it everywhere so that failing tests won't accidentally hang 2013-05-16 15:12:01 +02:00
Benjamin Peterson
1e93b06007 complain about "global __class__" in a class body (closes #17983) 2013-05-15 16:17:25 -05:00
Benjamin Peterson
312595ce3a hide the __class__ closure from the class body (#12370) 2013-05-15 15:26:42 -05:00
doko@ubuntu.com
94fd53ba4e - Fix typos in the multiprocessing module. 2013-05-15 18:08:03 +02:00
doko@ubuntu.com
9df891ca41 - Fix typos in the multiprocessing module. 2013-05-15 18:06:56 +02:00
doko@ubuntu.com
bcaddf6382 - Issue #17754: Make ctypes.util.find_library() independent of the locale. 2013-05-15 18:04:50 +02:00
doko@ubuntu.com
ef535584a9 - Issue #17754: Make ctypes.util.find_library() independent of the locale. 2013-05-15 18:02:13 +02:00
Benjamin Peterson
e1b4cbc422 when arguments are cells clear the locals slot (backport of #17927) 2013-05-14 22:31:26 -05:00
Antoine Pitrou
9396356948 Backout c89febab4648 following private feedback by Guido.
(Issue #17807: Generators can now be finalized even when they are part of a reference cycle)
2013-05-14 20:37:52 +02:00
Antoine Pitrou
e1970b8182 Fix ResourceWarnings in test_sax 2013-05-13 22:35:38 +02:00
Antoine Pitrou
2adb6fe246 Fix ResourceWarnings in test_sax 2013-05-13 22:34:21 +02:00
Terry Jan Reedy
6599d0da7d Merge with 3.3 2013-05-13 16:09:47 -04:00
Terry Jan Reedy
bf4cba7e8b Silence unclosed open file ResourceWarning. 2013-05-13 16:07:44 -04:00
Terry Jan Reedy
9c60f66dc2 Complete 2 to 3 conversion 2013-05-13 15:44:30 -04:00
Terry Jan Reedy
01180d4679 Complete 2 to 3 conversion 2013-05-13 15:39:24 -04:00
Benjamin Peterson
fa6bdc6d86 merge 3.3 2013-05-12 19:02:05 -05:00
Benjamin Peterson
901a278861 use correct format code for exceptions 2013-05-12 19:01:52 -05:00
Benjamin Peterson
159ae41da6 when an argument is a cell, set the local copy to NULL (see #17927) 2013-05-12 18:16:06 -05:00
Georg Brandl
997d05d89f merge 2013-05-12 19:44:21 +02:00
Serhiy Storchaka
3068aed92b Issue #17606: Fixed support of encoded byte strings in the XMLGenerator
characters() and ignorableWhitespace() methods.  Original patch by Sebastian
Ortiz Vasquez.
2013-05-12 17:31:59 +03:00
Serhiy Storchaka
3eab6b363a Issue #17606: Fixed support of encoded byte strings in the XMLGenerator
characters() and ignorableWhitespace() methods.  Original patch by Sebastian
Ortiz Vasquez.
2013-05-12 17:31:16 +03:00
Georg Brandl
88f4dd6451 bump to 3.3.2 2013-05-12 12:51:38 +02:00
Georg Brandl
7025349aa8 merge with 3.3 2013-05-12 12:37:12 +02:00
Georg Brandl
521ed52131 Closes issue #17732: ignore install-directory specific options in
distutils.cfg when a venv is active.
2013-05-12 12:36:07 +02:00
Georg Brandl
2665f21866 merge with 3.3 2013-05-12 12:08:05 +02:00
Georg Brandl
b3bd624a55 Back out patch for #1159051, which caused backwards compatibility problems. 2013-05-12 11:57:26 +02:00
Georg Brandl
64949fa20e merge with 3.2 2013-05-12 11:52:22 +02:00
Georg Brandl
c502df4e3e Issue #17915: Fix interoperability of xml.sax with file objects returned by
codecs.open().
2013-05-12 11:41:12 +02:00
Georg Brandl
93b061bc3e Issue #1159051: Back out a fix for handling corrupted gzip files that
broke backwards compatibility.
2013-05-12 11:29:27 +02:00
Georg Brandl
831ae8454d merge heads 2013-05-12 11:24:47 +02:00
Georg Brandl
fbb9152f92 Issue #17838: merge with 3.3 2013-05-12 11:21:27 +02:00
Benjamin Peterson
0d4931eb9e prevent IDLE from trying to close when sys.stdin is reassigned (#17838) 2013-05-11 22:24:28 -05:00
Vinay Sajip
43473e3680 Diagnostics collected, test disabled for now. 2013-05-12 00:18:02 +01:00
Vinay Sajip
caf9eb8ada Re-enabled test with more diagnostics. 2013-05-12 00:04:58 +01:00
Benjamin Peterson
fc6f4cd398 merge 3.3 2013-05-11 16:29:11 -05:00
Benjamin Peterson
aa6f688bd4 only close non-None files 2013-05-11 16:29:03 -05:00
Benjamin Peterson
2e8457d01c remove unused import 2013-05-11 16:12:57 -05:00
Benjamin Peterson
2943cdb5eb simplify #17947 test with weakrefs 2013-05-11 16:10:52 -05:00
Guido van Rossum
6832c81d5d #17927: Keep frame from referencing cell-ified arguments. 2013-05-10 08:47:42 -07:00
Ezio Melotti
79ec9f0ec9 #17809: merge with 3.3. 2013-05-09 15:24:30 +03:00
Ezio Melotti
ce82d57c74 #17809: fix a test failure in test_expanduser when $HOME has a trailing /. Patch by Kubilay Kocak. 2013-05-09 15:19:45 +03:00
Serhiy Storchaka
b3c5d85680 Issue #16601: Restarting iteration over tarfile no more continues from where
it left off.  Patch by Michael Birtwell.
2013-05-09 14:36:58 +03:00
Serhiy Storchaka
263fab94ee Issue #16601: Restarting iteration over tarfile no more continues from where
it left off.  Patch by Michael Birtwell.
2013-05-09 14:22:26 +03:00
Antoine Pitrou
04e70d19e7 Issue #17807: Generators can now be finalized even when they are part of a reference cycle. 2013-05-08 18:12:35 +02:00
Ezio Melotti
d62a514386 #17877: merge with 3.3. 2013-05-08 11:16:33 +03:00
Ezio Melotti
6bcc0f1b51 #17877: skip test if the Olson's TZ database is missing. 2013-05-08 11:16:02 +03:00