Commit Graph

25892 Commits

Author SHA1 Message Date
Antoine Pitrou 60e361fe42 Fix misuse of the bigmemtest decorator 2013-11-26 20:00:34 +01:00
Mark Dickinson c02c6df2c7 Issue #19638: Skip large digit string tests on 32-bit platforms. 2013-11-26 17:02:46 +00:00
Mark Dickinson c2f8c81af0 Issue #19638: Raise ValueError instead of crashing when converting billion character strings to float. 2013-11-26 16:38:25 +00:00
Gregory P. Smith d899caa6ca Fix test_fcntl to run properly on systems that do not support the flags
used in the "does the value get passed in properly" test.
2013-11-25 04:45:27 +00:00
Gregory P. Smith d82634d606 Fix test.test_support.bind_port() to not cause an error when Python was
compiled on a system with SO_REUSEPORT defined in the headers but run on
a system with an OS kernel that does not support that new socket option.
2013-11-24 19:42:15 -08:00
Ezio Melotti 2612679ddc #19620: Fix typo in docstring (noticed by Christopher Welborn). 2013-11-25 05:14:51 +02:00
Serhiy Storchaka 7610ec2693 Fixed merging error in changeset 3912934e99ba (issue #19733). 2013-11-24 18:26:20 +02:00
Antoine Pitrou 358da5b9f8 Issue #19308: fix the gdb plugin on gdbs linked with Python 3 2013-11-23 17:40:36 +01:00
Serhiy Storchaka 9ec0722723 Issue #19733: Temporary disable test_image on MacOSX. 2013-11-23 15:22:20 +02:00
Serhiy Storchaka 62cd124ada Print Tk patchlevel in Tk and Ttk tests in verbose mode (issue19654). 2013-11-21 19:24:04 +02:00
Richard Oudkerk 6d24a6e0bb Issue #19599: Use a separate pool for test_terminate(). 2013-11-21 16:35:12 +00:00
Serhiy Storchaka 5397c97451 Issue #19633: Fixed writing not compressed 16- and 32-bit wave files on
big-endian platforms.

Temporary forbidden test_unseekable_incompleted_write fornot compressed 16-
and 32-bit wave file  on big-endian platforms.
2013-11-21 11:04:37 +02:00
Serhiy Storchaka 78ecaba482 Print Tk patchlevel in test_tcl in verbose mode (issue19654). 2013-11-20 17:44:38 +02:00
R David Murray eccf9c2e2f #19449: Handle non-string keys when generating 'fieldnames' error.
Backport from 3.3 6e5afeada7ca.
2013-11-19 13:25:24 -05:00
Serhiy Storchaka 000b4c527d Issue #19603: Use specific asserts in test_decr. 2013-11-17 23:39:24 +02:00
Antoine Pitrou ca035a8b66 Fix buildbot failure 2013-11-17 21:27:20 +01:00
Richard Oudkerk 65162a7cca Issue #19599: Increase sleep period. 2013-11-17 17:45:16 +00:00
Richard Oudkerk 3f8376eaa2 Fix handling of SystemExit and exit code. Patch by Brodie Rao. 2013-11-17 17:24:11 +00:00
Serhiy Storchaka be1d3c1818 Issue #19606: Use specific asserts in cookielib tests. 2013-11-17 13:47:02 +02:00
Serhiy Storchaka ca626b12cb Issue #19607: Use specific asserts in weakref tests. 2013-11-17 13:20:50 +02:00
Serhiy Storchaka 1438b9877d Issue #19605: Use specific asserts in datetime tests 2013-11-17 13:03:21 +02:00
Serhiy Storchaka 3dbbef9d76 Fix merge error in issue #19602. 2013-11-17 12:49:28 +02:00
Serhiy Storchaka 843ef750a9 Issue #19604: Use specific asserts in array tests. 2013-11-17 00:44:57 +02:00
Serhiy Storchaka 3f2aade688 Issue #19602: Use specific asserts in tkinter tests. 2013-11-17 00:43:03 +02:00
Serhiy Storchaka 3c1198d648 Issue #19601: Use specific asserts in sqlite3 tests. 2013-11-17 00:39:43 +02:00
Serhiy Storchaka 25a23efcda Issue #19600: Use specific asserts in distutils tests. 2013-11-17 00:29:27 +02:00
Serhiy Storchaka 9788e86096 Issue #19594: Use specific asserts in unittest tests. 2013-11-17 00:15:09 +02:00
Serhiy Storchaka 52bbeacb9d Issue #19591: Use specific asserts in ctype tests. 2013-11-17 00:06:02 +02:00
Serhiy Storchaka 1153757356 Issue #19590: Use specific asserts in email tests. 2013-11-16 12:56:05 +02:00
Jason R. Coombs 91bf058c98 Issue #12853: Correct NameError in distutils upload command. 2013-11-15 20:08:22 -05:00
Vinay Sajip 47fe4684ff Issue #19523: Closed FileHandler leak which occurred when delay was set. 2013-11-15 20:39:33 +00:00
Serhiy Storchaka 0a89b15919 Issue #19592: Use specific asserts in lib2to3 tests. 2013-11-14 23:49:14 +02:00
Benjamin Peterson 086840ae82 merge 2.7.6 release branch 2013-11-10 02:46:48 -05:00
Benjamin Peterson 278519500f 2.7.6 final 2013-11-10 02:36:30 -05:00
Serhiy Storchaka c47d723eb0 Issue #1575020: Fixed support of 24-bit wave files on big-endian platforms. 2013-11-09 23:09:44 +02:00
Serhiy Storchaka f87854e7bf Fix Tkinter tests on Tk 8.5 with patchlevel < 8.5.11 (issue #19085). 2013-11-09 21:15:26 +02:00
Ezio Melotti b814745226 #19480: HTMLParser now accepts all valid start-tag names as defined by the HTML5 standard. 2013-11-07 18:31:36 +02:00
Serhiy Storchaka 27cadd78fb Revert wrong change in previous commit (issue #19085). 2013-11-05 22:01:31 +02:00
Serhiy Storchaka 0db03be9c8 Merge heads 2013-11-05 21:08:04 +02:00
Serhiy Storchaka 0a4b07be0d Fix test_insertwidth Tkinter tests on Tk 8.5 with patchlevel >= 8.5.12 (issue #19085). 2013-11-05 21:04:54 +02:00
Terry Jan Reedy c0e60476a4 Issue #19397: test_pydoc now works with -S (help not added to builtins).
Patch by Serhiy Storchaka and Vajrasky Kok.
2013-11-04 21:45:33 -05:00
Serhiy Storchaka 3ecd17e2b2 Issue #19085: Fix running test_ttk_textonly on displayless host. 2013-11-04 23:05:23 +02:00
Serhiy Storchaka c4051a8e34 Issue #19085: Fix Tkinter tests on Tk 8.5 with patchlevel < 8.5.12. 2013-11-04 22:10:35 +02:00
Zachary Ware 57d35c6494 Issue #17883: Tweak test_tcl testLoadWithUNC to skip the test in the
event of a permission error on Windows and to properly report other
skip conditions.
2013-11-03 22:51:25 -06:00
Terry Jan Reedy a1ea893334 Issue #XXXXX: Fix test_idle so that idlelib test cases are actually run
under test.regrtest on 2.7.
2013-11-03 23:37:54 -05:00
Zachary Ware 14b38f58c2 Issue #17883: Backport test.test_support._is_gui_available()
This should stop the Windows buildbots from hanging on test_ttk_guionly.
2013-11-03 22:27:04 -06:00
Serhiy Storchaka d412b495da Fix test_os (issue #18702). 2013-11-03 23:25:42 +02:00
Serhiy Storchaka 32e23e739f Issue #18702: All skipped tests now reported as skipped. 2013-11-03 23:15:46 +02:00
Serhiy Storchaka 68f518ce4a Issue #19085: Fixed pixels rounding for last Tk patchlevels. 2013-11-03 18:24:04 +02:00
Serhiy Storchaka 31b9c845d3 Issue #6157: Fixed Tkinter.Text.debug(). Original patch by Guilherme Polo. 2013-11-03 14:28:29 +02:00
Serhiy Storchaka 8630f16eb7 Issue #6160: The bbox() method of Tkinter.Spinbox now returns a tuple of
integers instead of a string.  Based on patch by Guilherme Polo.
2013-11-03 14:13:08 +02:00
Serhiy Storchaka 6bf15d10a6 Issue #19085: Fixed some Tkinter tests on Windows. 2013-11-02 18:50:53 +02:00
Jason R. Coombs 0af7d1eefe Merge 2013-11-02 11:57:54 -04:00
Serhiy Storchaka 4a21726fe6 Issue #19085: Fix Tkinter tests with Tcl/Tk 8.4. 2013-11-02 17:27:59 +02:00
Jason R. Coombs 3c0713550e Issue #19286: [distutils] Only match files in build_py.find_data_files. 2013-11-02 11:07:35 -04:00
Jason R. Coombs 83aafda575 Issue #19286: Adding test demonstrating the failure when a directory is found in the package_data globs. 2013-11-02 11:29:33 -04:00
Serhiy Storchaka 090b6b1baf Issue #10734: Fix and re-enable test_ttk test_heading_callback. 2013-11-02 10:54:17 +02:00
Serhiy Storchaka dd80816973 Issue #19085: Added basic tests for all tkinter widget options. 2013-11-02 10:46:21 +02:00
Serhiy Storchaka 1fdc702861 Issue #19457: Fixed xmlcharrefreplace tests on wide build when tests are
loaded from .py[co] files.
2013-10-31 17:06:03 +02:00
Benjamin Peterson ae7894c953 merge 2.7.6 release branch 2013-10-30 12:43:44 -04:00
Benjamin Peterson 1ef959ac3d use the collapsed path in the run_cgi method (closes #19435) 2013-10-30 12:43:09 -04:00
Serhiy Storchaka 1c760cab1d Issue #19426: Fixed the opening of Python source file with specified encoding. 2013-10-29 10:15:09 +02:00
Richard Oudkerk 21aad9792f Issue #19425 -- a pickling error should not cause pool to hang. 2013-10-28 23:02:22 +00:00
Raymond Hettinger cbcb1e8f84 Fix unintended switch from a constant to a global in 56a3c0bc4634 2013-10-28 02:39:04 -06:00
Benjamin Peterson 9fa6a8ba63 fix xmlcharrefreplace tests on wide build when tests are loaded from .py[co] files. 2013-10-31 20:22:41 -04:00
Raymond Hettinger 9a2325fac8 Fix unintended switch from a constant to a global in 56a3c0bc4634 2013-10-28 02:39:04 -06:00
Benjamin Peterson e18b82d996 backport #19426 2013-10-29 15:27:14 -04:00
Serhiy Storchaka fdb73ed486 Issue #19405: Fixed outdated comments in the _sre module. 2013-10-27 08:00:57 +02:00
Benjamin Peterson 07ffc78c9a 2.7.6rc1 2013-10-26 14:57:21 -04:00
Benjamin Peterson bcf2fa7ea9 update pydoc-topics 2013-10-26 13:44:54 -04:00
Benjamin Peterson 657d06b13e just return toplevel symbol table rather than all blocks (closes #19393) 2013-10-26 13:13:51 -04:00
Ned Deily 7c5ba45fd8 Issue #19400: Prevent extension module build failures with Xcode 5 on OS X
10.8+ when using a universal Python that included a PPC architecture,
such as with a python.org 32-bit-only binary installer.
2013-10-25 16:01:42 -07:00
Serhiy Storchaka 22fb0dec30 Issue #19327: Fixed the working of regular expressions with too big charset. 2013-10-24 22:02:42 +03:00
Senthil Kumaran 2147857db3 Increase macurl2path test coverage 2013-10-23 21:45:58 -07:00
Antoine Pitrou 5d791802c9 Issue #19352: Fix unittest discovery when a module can be reached through several paths (e.g. under Debian/Ubuntu with virtualenv). 2013-10-23 19:11:29 +02:00
Tim Golden 17934856dc Issue #15207: Fix mimetypes to read from correct area in Windows registry (Original patch by Dave Chambers) 2013-10-22 20:45:13 +01:00
Ezio Melotti bc38548145 #8964: fix platform._sys_version to handle IronPython 2.6+. 2013-10-21 03:03:32 +03:00
Serhiy Storchaka 2585e1e48a Issue #16038: CVE-2013-1752: ftplib: Limit amount of data read by
limiting the call to readline().  Original patch by Michał
Jastrzębski and Giampaolo Rodola.
2013-10-20 16:57:07 +03:00
Serhiy Storchaka f105672332 Issue #19279: UTF-7 decoder no more produces illegal unicode strings. 2013-10-19 20:37:49 +03:00
Serhiy Storchaka 7137803238 Issue #19276: Fixed the wave module on 64-bit big-endian platforms. 2013-10-17 23:03:48 +03:00
Serhiy Storchaka 2235648b86 Issue 19276: Fix tests for wave files on big-endian platforms.
Skip tests for 24-bit wave file on big-endian platforms.
2013-10-17 12:45:45 +03:00
Victor Stinner a5cd255a7c Close #19267: Fix support of multibyte encoding (ex: UTF-16) in the logging
module.
2013-10-15 23:36:56 +02:00
Serhiy Storchaka e1a8a40d1d Issue #18919: Fixed resource leaks in audio tests. 2013-10-14 20:09:30 +03:00
Serhiy Storchaka c72105c06d Issue #18919: Catch and check warnings in the aifc module tests. 2013-10-14 20:03:06 +03:00
Georg Brandl 62e9580219 Closes #19258: close WSGI server after handling request in demo code. 2013-10-14 16:52:13 +02:00
Georg Brandl e206e49172 Closes #16657: fix docstring of traceback.format_tb(). 2013-10-13 23:31:38 +02:00
Serhiy Storchaka 0fa0173893 Issue #18919: Added tests for the sunau module. Unified and extended tests
for audio modules: aifc, sunau and wave.
2013-10-13 17:47:22 +03:00
Mark Dickinson 36f6e2c9e0 Issue #18739: Fix inconsistent results from math.log(n) and math.log(long(n)) 2013-10-13 10:55:15 +01:00
Serhiy Storchaka 499d82136d Issue #18919: If the close() method of a writer in the sunau or wave module
failed, second invocation of close() and destructor no more raise an
exception.  Second invocation of close() on sunau writer now has no effects.
The aifc module now accepts lower case of names of the 'ulaw' and 'alaw'
codecs.
2013-10-12 21:35:33 +03:00
Serhiy Storchaka 986b5ee4d9 Issue #19131: The aifc module now correctly reads and writes sampwidth of
compressed streams.
2013-10-12 18:21:12 +03:00
Tim Peters b563d4b7c8 LOL - 2.7 requires very different code. Annoying ;-) 2013-10-08 21:51:06 -05:00
Tim Peters 641d6217a8 Issue 19158: a rare race in BoundedSemaphore could allow .release() too often.
(grafted from e06edc0c7a4951327f0c95ebeebccba6879a6063)
2013-10-08 20:55:51 -05:00
Serhiy Storchaka 6f2ec18b4e Issue #18037: Do not escape '\u' and '\U' in raw strings. 2013-10-08 21:07:21 +03:00
Raymond Hettinger 8dc1692337 Issue 14927: Minor clean-up of function parameters in random(). 2013-10-05 21:34:48 -07:00
Ezio Melotti 256735ce00 #19166: use an unused var in a test. Patch by Vajrasky Kok. 2013-10-05 03:01:37 +03:00
Serhiy Storchaka 0189a46ec5 Issue #18037: 2to3 now escapes '\u' and '\U' in native strings. 2013-10-03 12:08:22 +03:00
Serhiy Storchaka fdda200195 Issue #19137: The pprint module now correctly formats empty set and frozenset
and instances of set and frozenset subclasses.
2013-10-02 11:40:26 +03:00
Barry Warsaw 3760d97f9b 2.6 merge 2013-10-01 11:39:08 -04:00
Barry Warsaw aa914509d3 Typo caught by : Arfrever Frehtes Taifersar Arahesis. 2013-10-01 11:38:38 -04:00
Barry Warsaw be1950d059 Bump to 2.6.9rc1 2013-09-30 20:34:29 -04:00