Commit Graph

41176 Commits

Author SHA1 Message Date
Brett Cannon d3791ed450 Fix the warnings filter usage in test_http_cookies. 2010-03-20 21:51:10 +00:00
Brett Cannon 2298d538b3 Clean up warnings filter use in test_global by no longer having it be a
module-level manipulation of the filter.
2010-03-20 21:48:19 +00:00
Brett Cannon 41a08bcb83 Clean up warnings filter use in test_bytes. 2010-03-20 21:45:01 +00:00
Brett Cannon 776289934c Clean up the manipulation of the warnings filter in test_builtin. 2010-03-20 20:59:33 +00:00
Florent Xicluna 97133720fc Typo 2010-03-20 20:31:34 +00:00
Florent Xicluna 21164ce8f1 #8133: Use appropriate Unicode decomposition on MacOS X platform. 2010-03-20 20:30:53 +00:00
Michael Foord abd91d5f2c Issue 7832. Document changes to unittest.TestCase.assertSameElements and assertItemsEqual 2010-03-20 18:09:14 +00:00
Michael Foord 91c9da34bc Issue 7832. Deprecating assertSameElements in Py3k. 2010-03-20 17:21:27 +00:00
Michael Foord 8442a606b8 Adding assertItemsEqual with tests. Issue 7832. assertSameElements still needs to be deprecated plus documentation needs to be updated. 2010-03-20 16:58:04 +00:00
Michael Foord a087963578 Block revision 79132 in preparation for a manual merge. 2010-03-20 15:42:52 +00:00
Florent Xicluna 6709c0c671 Merged revisions 79127 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79127 | florent.xicluna | 2010-03-20 01:17:46 +0100 (sam, 20 mar 2010) | 2 lines

  #8178 Cleanup the threads after test_thread.TestForkInThread.
........
2010-03-20 00:21:04 +00:00
Sean Reifscheider bb30da9698 Fixing the file call in the rfc822.Message replacement example. 2010-03-20 00:06:05 +00:00
Sean Reifscheider 78a44c5428 Adding an example of reproducing the rfc822.Message() parsing. 2010-03-19 23:23:05 +00:00
Benjamin Peterson d9b7d48a82 update mac installer script from the trunk #8068 2010-03-19 21:42:45 +00:00
Collin Winter bf19907e06 Merged revisions 79082,79084 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79082 | collin.winter | 2010-03-18 17:00:30 -0700 (Thu, 18 Mar 2010) | 1 line

  Add a separate python-config make target, useful for testing changes to Misc/python-config.in.
........
  r79084 | collin.winter | 2010-03-18 17:08:44 -0700 (Thu, 18 Mar 2010) | 1 line

  Make python-config support multiple option flags on the same command line, rather than requiring one invocation per flag.
........
2010-03-19 21:17:17 +00:00
Benjamin Peterson 0dbc667d71 make maintainers.rst have correct eol 2010-03-19 21:01:27 +00:00
Benjamin Peterson 75509b7433 set svn:eol-style on modules 2010-03-19 21:01:04 +00:00
Benjamin Peterson c8a4eece6e set urllib svn:eol-style 2010-03-19 21:00:32 +00:00
Benjamin Peterson 4d55207531 fix test eol 2010-03-19 21:00:11 +00:00
Benjamin Peterson 852f3cc0d1 fix demo/doc eol 2010-03-19 20:58:52 +00:00
Benjamin Peterson 69150c77af set svn:eol-style on importlib files 2010-03-19 20:44:28 +00:00
Benjamin Peterson d85e51c900 Merged revisions 79106 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79106 | benjamin.peterson | 2010-03-19 15:39:41 -0500 (Fri, 19 Mar 2010) | 1 line

  set svn:eol-style to native on C files
........
2010-03-19 20:42:30 +00:00
Matthias Klose 9a6587747c Merged revisions 79101 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79101 | matthias.klose | 2010-03-19 19:59:20 +0100 (Fr, 19 Mär 2010) | 3 lines

  update libffi to commit 59a259f4d348f593b45f452309f4d020a28051c4 from the
  trunk (adding msvc port).
........
2010-03-19 19:02:09 +00:00
Florent Xicluna 9b86b9a086 Merged revisions 79100 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79100 | florent.xicluna | 2010-03-19 19:34:55 +0100 (ven, 19 mar 2010) | 2 lines

  Various tests cleanup: check_warnings/check_py3k_warnings, unittest.assert* and setUp/tearDown.
........
2010-03-19 19:00:44 +00:00
Matthias Klose fb60f8002c Merged revisions 79098 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79098 | matthias.klose | 2010-03-19 18:46:33 +0100 (Fr, 19 Mär 2010) | 8 lines

  Generate libffi's Makefiles again to be able to run the libffi testsuite
  -- Diese und die folgenden Zeilen werden ignoriert --

  M    _ctypes/libffi/configure
  M    _ctypes/libffi/configure.ac
  M    _ctypes/libffi/aclocal.m4
  M    _ctypes/libffi.diff
........
2010-03-19 17:47:21 +00:00
Gregory P. Smith 32ec9da166 * Fix a refleak when a preexec_fn was supplied (preexec_fn_args_tuple was not
being defref'ed).
* Fixes another potential refleak of a reference to the gc
  module in the unlikely odd case where gc module isenabled or disable calls
  fail.
* Adds a unittest for the above case to verify behavior and lack of leaks.
2010-03-19 16:53:08 +00:00
Florent Xicluna 3f88c0ece6 Rename test.test_support to test.support for 3.x. 2010-03-19 14:40:31 +00:00
Florent Xicluna f089fd67fc Merged revisions 78982,78986 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78982 | florent.xicluna | 2010-03-15 15:00:58 +0100 (lun, 15 mar 2010) | 2 lines

  Remove py3k deprecation warnings from these Unicode tools.
........
  r78986 | florent.xicluna | 2010-03-15 19:08:58 +0100 (lun, 15 mar 2010) | 3 lines

  Issue #7783 and #7787: open_urlresource invalidates the outdated files from the local cache.
  Use this feature to fix test_normalization.
........
2010-03-19 14:25:03 +00:00
Florent Xicluna faa663f03d Fixed a failure in test_bigmem.
Merged revision 79059 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79059 | florent.xicluna | 2010-03-18 22:50:06 +0100 (jeu, 18 mar 2010) | 2 lines

  Issue #8024: Update the Unicode database to 5.2
........
2010-03-19 13:37:08 +00:00
Mark Dickinson 431065247a Remove out-of-date comment about making ints and longs hash equal. 2010-03-19 12:38:03 +00:00
Florent Xicluna f1789dee30 Revert Unicode UCD 5.2 upgrade in 3.x. It broke repr() for unicode objects, and gave failures in test_bigmem. Revert 79062, 79065 and 79083. 2010-03-19 01:17:46 +00:00
Benjamin Peterson 3ab1fa6102 Blocked revisions 79078,79086 via svnmerge
........
  r79078 | benjamin.peterson | 2010-03-18 18:12:43 -0500 (Thu, 18 Mar 2010) | 1 line

  make compiler's py3k warning a full deprecation warning #6837
........
  r79086 | benjamin.peterson | 2010-03-18 20:06:33 -0500 (Thu, 18 Mar 2010) | 1 line

  keep DeprecationWarning from failing test
........
2010-03-19 01:08:38 +00:00
Florent Xicluna 0106250f0d Fix bad unicodedata checksum merge from trunk in r79062 2010-03-19 00:03:01 +00:00
Benjamin Peterson 51ceea0078 Blocked revisions 79078 via svnmerge
........
  r79078 | benjamin.peterson | 2010-03-18 18:12:43 -0500 (Thu, 18 Mar 2010) | 1 line

  make compiler's py3k warning a full deprecation warning #6837
........
2010-03-18 23:14:21 +00:00
Benjamin Peterson 89a545f8e2 Merged revisions 79073 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79073 | benjamin.peterson | 2010-03-18 17:55:46 -0500 (Thu, 18 Mar 2010) | 1 line

  reignore bad_coding
........
2010-03-18 22:58:19 +00:00
Benjamin Peterson 5c86d45a52 Merged revisions 79070 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79070 | benjamin.peterson | 2010-03-18 17:44:54 -0500 (Thu, 18 Mar 2010) | 1 line

  these lines can now be dispensed with
........
2010-03-18 22:55:53 +00:00
Collin Winter 4222e9c07c Merged revisions 79060 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79060 | collin.winter | 2010-03-18 14:54:01 -0700 (Thu, 18 Mar 2010) | 4 lines

  Add support for weak references to code objects. This will be used by an optimization in the incoming Python 3 JIT.

  Patch by Reid Kleckner!
........
2010-03-18 22:46:40 +00:00
Benjamin Peterson b3a482962d show a common usage of detect_encoding 2010-03-18 22:43:41 +00:00
Benjamin Peterson 0088893447 kill py_compile's homemade encoding detection in favor of tokenize.detect_encoding() (see #8168) 2010-03-18 22:37:38 +00:00
Benjamin Peterson 1613ed8108 fix for files with coding cookies and BOMs 2010-03-18 22:34:15 +00:00
Benjamin Peterson 689a558098 in tokenize.detect_encoding(), return utf-8-sig when a BOM is found 2010-03-18 22:29:52 +00:00
Florent Xicluna 8c8042734a Missing update from previous changeset r79062. 2010-03-18 22:19:01 +00:00
Florent Xicluna 657de43f97 Merged revisions 79059 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79059 | florent.xicluna | 2010-03-18 22:50:06 +0100 (jeu, 18 mar 2010) | 2 lines

  Issue #8024: Update the Unicode database to 5.2
........
2010-03-18 22:11:01 +00:00
Benjamin Peterson 32ca4547a4 Merged revisions 78971-78972 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78971 | benjamin.peterson | 2010-03-14 22:00:35 -0500 (Sun, 14 Mar 2010) | 1 line

  remove mac 9 code
........
  r78972 | benjamin.peterson | 2010-03-14 22:02:37 -0500 (Sun, 14 Mar 2010) | 1 line

  clean up files correctly
........
2010-03-18 21:58:43 +00:00
Benjamin Peterson cb6dbe5790 Merged revisions 79056 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79056 | benjamin.peterson | 2010-03-18 16:32:38 -0500 (Thu, 18 Mar 2010) | 1 line

  install tkinter and ttk tests
........
2010-03-18 21:36:06 +00:00
Benjamin Peterson 249683fab3 Merged revisions 79051 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79051 | benjamin.peterson | 2010-03-18 16:20:35 -0500 (Thu, 18 Mar 2010) | 1 line

  don't try to compile anything in lib2to3/tests/data #8169
........
2010-03-18 21:23:05 +00:00
Florent Xicluna 53b506beda Merged revisions 79049 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79049 | florent.xicluna | 2010-03-18 20:51:47 +0100 (jeu, 18 mar 2010) | 2 lines

  #8155: Preserve backward compatibility for test_support.check_warnings().  Add regression tests.
........
2010-03-18 20:00:57 +00:00
Ezio Melotti 7fb4da7650 Merged revisions 79024 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79024 | ezio.melotti | 2010-03-17 16:22:34 +0200 (Wed, 17 Mar 2010) | 1 line

  Use "x in y" instead of y.find(x) != -1.
........
2010-03-18 12:29:13 +00:00
Collin Winter b24ef1963d Merged revisions 79044 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79044 | collin.winter | 2010-03-17 17:10:34 -0700 (Wed, 17 Mar 2010) | 1 line

  Make test_pwd more stable in the face of unusual LDAP/NIS/Kerberos deployments (the old test was flaky on Google buildslaves).
........
2010-03-18 00:23:44 +00:00
Collin Winter 8641c562e3 Merged revisions 79038 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79038 | collin.winter | 2010-03-17 15:36:26 -0700 (Wed, 17 Mar 2010) | 2 lines

  Fix a race condition in test_asynchat uncovered by the Unladen Swallow JIT.
........
2010-03-17 23:49:15 +00:00