]> granicus.if.org Git - python/log
python
14 years agocleanup a bit
Benjamin Peterson [Sun, 21 Mar 2010 21:08:54 +0000 (21:08 +0000)]
cleanup a bit

14 years agoMerged revisions 79205,79219,79228,79230,79232-79233,79235,79237 via svnmerge from
Benjamin Peterson [Sun, 21 Mar 2010 21:00:50 +0000 (21:00 +0000)]
Merged revisions 79205,79219,79228,79230,79232-79233,79235,79237 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79205 | benjamin.peterson | 2010-03-21 12:34:54 -0500 (Sun, 21 Mar 2010) | 1 line

  rewrite a bit
........
  r79219 | benjamin.peterson | 2010-03-21 14:24:08 -0500 (Sun, 21 Mar 2010) | 1 line

  flatten condition
........
  r79228 | benjamin.peterson | 2010-03-21 14:35:39 -0500 (Sun, 21 Mar 2010) | 1 line

  remove pointless condition
........
  r79230 | benjamin.peterson | 2010-03-21 14:39:52 -0500 (Sun, 21 Mar 2010) | 1 line

  co_varnames is certainly a tuple, so let's not waste time finding out
........
  r79232 | benjamin.peterson | 2010-03-21 14:54:56 -0500 (Sun, 21 Mar 2010) | 1 line

  fix import
........
  r79233 | benjamin.peterson | 2010-03-21 14:56:37 -0500 (Sun, 21 Mar 2010) | 1 line

  don't write duplicate tests
........
  r79235 | benjamin.peterson | 2010-03-21 15:21:00 -0500 (Sun, 21 Mar 2010) | 4 lines

  improve error message from passing inadequate number of keyword arguments #6474

  Note this removes the "non-keyword" or "keyword" phrases from these messages.
........
  r79237 | benjamin.peterson | 2010-03-21 15:30:30 -0500 (Sun, 21 Mar 2010) | 1 line

  take into account keyword arguments when passing too many args
........

14 years agoMerged revisions 79218 via svnmerge from
Antoine Pitrou [Sun, 21 Mar 2010 19:25:26 +0000 (19:25 +0000)]
Merged revisions 79218 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79218 | antoine.pitrou | 2010-03-21 20:19:41 +0100 (dim., 21 mars 2010) | 5 lines

  Issue #1628484: The Makefile doesn't ignore the CFLAGS environment
  variable anymore.  It also forwards the LDFLAGS settings to the linker
  when building a shared library.
........

14 years agoMerged revisions 79207 via svnmerge from
Florent Xicluna [Sun, 21 Mar 2010 18:49:50 +0000 (18:49 +0000)]
Merged revisions 79207 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79207 | florent.xicluna | 2010-03-21 19:00:38 +0100 (dim, 21 mar 2010) | 2 lines

  #8180: Fix test_pep277 on OS X and add more tests for special Unicode normalization cases.
........

14 years agoMerged revisions 79195 via svnmerge from
Florent Xicluna [Sun, 21 Mar 2010 12:29:50 +0000 (12:29 +0000)]
Merged revisions 79195 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79195 | florent.xicluna | 2010-03-21 13:27:20 +0100 (dim, 21 mar 2010) | 2 lines

  Issue #8179: Fix macpath.realpath() on a non-existing path.
........

14 years agoMerged revisions 79192 via svnmerge from
Georg Brandl [Sun, 21 Mar 2010 11:53:50 +0000 (11:53 +0000)]
Merged revisions 79192 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79192 | georg.brandl | 2010-03-21 12:50:58 +0100 (So, 21 Mär 2010) | 1 line

  Remove leftover word.
........

14 years agoMerged revisions 79184-79185 via svnmerge from
Georg Brandl [Sun, 21 Mar 2010 10:03:36 +0000 (10:03 +0000)]
Merged revisions 79184-79185 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79184 | georg.brandl | 2010-03-21 10:58:36 +0100 (So, 21 Mär 2010) | 1 line

  Update text for newest US DST regulation.  The sample file already has the calculation right.
........
  r79185 | georg.brandl | 2010-03-21 11:02:47 +0100 (So, 21 Mär 2010) | 1 line

  Include structmember.h correctly.
........

14 years agoMerged revisions 79181 via svnmerge from
Georg Brandl [Sun, 21 Mar 2010 09:52:24 +0000 (09:52 +0000)]
Merged revisions 79181 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79181 | georg.brandl | 2010-03-21 10:51:16 +0100 (So, 21 Mär 2010) | 1 line

  Update os.kill() emulation example for Windows to use ctypes.
........

14 years agoMerged revisions 79179 via svnmerge from
Georg Brandl [Sun, 21 Mar 2010 09:51:44 +0000 (09:51 +0000)]
Merged revisions 79179 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79179 | georg.brandl | 2010-03-21 10:37:54 +0100 (So, 21 Mär 2010) | 1 line

  Mention inefficiency of lists as queues, add link to collections.deque discussion.
........

14 years agoMerged revisions 79178 via svnmerge from
Georg Brandl [Sun, 21 Mar 2010 09:50:49 +0000 (09:50 +0000)]
Merged revisions 79178 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79178 | georg.brandl | 2010-03-21 10:28:16 +0100 (So, 21 Mär 2010) | 1 line

  Clarify that for shell=True, the shell PID will be the child PID.
........

14 years agoNeed to use list(range()) to get a list.
Georg Brandl [Sun, 21 Mar 2010 09:25:54 +0000 (09:25 +0000)]
Need to use list(range()) to get a list.

14 years agoMerged revisions 79172 via svnmerge from
Georg Brandl [Sun, 21 Mar 2010 09:10:32 +0000 (09:10 +0000)]
Merged revisions 79172 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79172 | georg.brandl | 2010-03-21 10:08:00 +0100 (So, 21 Mär 2010) | 1 line

  Add a paragraph about set displays.
........

14 years agoMerged revisions 79168-79169 via svnmerge from
Georg Brandl [Sun, 21 Mar 2010 09:04:24 +0000 (09:04 +0000)]
Merged revisions 79168-79169 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79168 | georg.brandl | 2010-03-21 10:01:27 +0100 (So, 21 Mär 2010) | 1 line

  Fix some issues found by Jacques Ducasse on the docs list.
........
  r79169 | georg.brandl | 2010-03-21 10:02:01 +0100 (So, 21 Mär 2010) | 1 line

  Remove the "built-in objects" file.  It only contained two paragraphs of which only one contained useful information, which belongs in the ref manual however.
........

14 years agoFix some issues found by Jacques Ducasse on the docs list.
Georg Brandl [Sun, 21 Mar 2010 09:02:59 +0000 (09:02 +0000)]
Fix some issues found by Jacques Ducasse on the docs list.

14 years agoUpdate versionadded/changed.
Ezio Melotti [Sun, 21 Mar 2010 07:16:43 +0000 (07:16 +0000)]
Update versionadded/changed.

14 years agoMerged revisions 79160 via svnmerge from
Antoine Pitrou [Sun, 21 Mar 2010 00:22:55 +0000 (00:22 +0000)]
Merged revisions 79160 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79160 | antoine.pitrou | 2010-03-21 01:21:43 +0100 (dim., 21 mars 2010) | 3 lines

  Fix overzealous .hgignore file
........

14 years agoHave regrtest monitor the warnings filter for changes made by a test suite.
Brett Cannon [Sat, 20 Mar 2010 22:22:57 +0000 (22:22 +0000)]
Have regrtest monitor the warnings filter for changes made by a test suite.

14 years agoClean up the warnings filter use in test_unicode.
Brett Cannon [Sat, 20 Mar 2010 22:22:22 +0000 (22:22 +0000)]
Clean up the warnings filter use in test_unicode.

14 years agoClean up warnings filter use in test_tempfile.
Brett Cannon [Sat, 20 Mar 2010 22:19:55 +0000 (22:19 +0000)]
Clean up warnings filter use in test_tempfile.

14 years agoClean up the warnings filter use in test_set.
Brett Cannon [Sat, 20 Mar 2010 21:55:48 +0000 (21:55 +0000)]
Clean up the warnings filter use in test_set.

14 years agoFix the warnings usage in test_posix.
Brett Cannon [Sat, 20 Mar 2010 21:53:28 +0000 (21:53 +0000)]
Fix the warnings usage in test_posix.

14 years agoFix the warnings filter usage in test_http_cookies.
Brett Cannon [Sat, 20 Mar 2010 21:51:10 +0000 (21:51 +0000)]
Fix the warnings filter usage in test_http_cookies.

14 years agoClean up warnings filter use in test_global by no longer having it be a
Brett Cannon [Sat, 20 Mar 2010 21:48:19 +0000 (21:48 +0000)]
Clean up warnings filter use in test_global by no longer having it be a
module-level manipulation of the filter.

14 years agoClean up warnings filter use in test_bytes.
Brett Cannon [Sat, 20 Mar 2010 21:45:01 +0000 (21:45 +0000)]
Clean up warnings filter use in test_bytes.

14 years agoClean up the manipulation of the warnings filter in test_builtin.
Brett Cannon [Sat, 20 Mar 2010 20:59:33 +0000 (20:59 +0000)]
Clean up the manipulation of the warnings filter in test_builtin.

14 years agoTypo
Florent Xicluna [Sat, 20 Mar 2010 20:31:34 +0000 (20:31 +0000)]
Typo

14 years ago#8133: Use appropriate Unicode decomposition on MacOS X platform.
Florent Xicluna [Sat, 20 Mar 2010 20:30:53 +0000 (20:30 +0000)]
#8133: Use appropriate Unicode decomposition on MacOS X platform.

14 years agoIssue 7832. Document changes to unittest.TestCase.assertSameElements and assertItemsEqual
Michael Foord [Sat, 20 Mar 2010 18:09:14 +0000 (18:09 +0000)]
Issue 7832. Document changes to unittest.TestCase.assertSameElements and assertItemsEqual

14 years agoIssue 7832. Deprecating assertSameElements in Py3k.
Michael Foord [Sat, 20 Mar 2010 17:21:27 +0000 (17:21 +0000)]
Issue 7832. Deprecating assertSameElements in Py3k.

14 years agoAdding assertItemsEqual with tests. Issue 7832. assertSameElements still needs to...
Michael Foord [Sat, 20 Mar 2010 16:58:04 +0000 (16:58 +0000)]
Adding assertItemsEqual with tests. Issue 7832. assertSameElements still needs to be deprecated plus documentation needs to be updated.

14 years agoBlock revision 79132 in preparation for a manual merge.
Michael Foord [Sat, 20 Mar 2010 15:42:52 +0000 (15:42 +0000)]
Block revision 79132 in preparation for a manual merge.

14 years agoMerged revisions 79127 via svnmerge from
Florent Xicluna [Sat, 20 Mar 2010 00:21:04 +0000 (00:21 +0000)]
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.
........

14 years agoFixing the file call in the rfc822.Message replacement example.
Sean Reifscheider [Sat, 20 Mar 2010 00:06:05 +0000 (00:06 +0000)]
Fixing the file call in the rfc822.Message replacement example.

14 years agoAdding an example of reproducing the rfc822.Message() parsing.
Sean Reifscheider [Fri, 19 Mar 2010 23:23:05 +0000 (23:23 +0000)]
Adding an example of reproducing the rfc822.Message() parsing.

14 years agoupdate mac installer script from the trunk #8068
Benjamin Peterson [Fri, 19 Mar 2010 21:42:45 +0000 (21:42 +0000)]
update mac installer script from the trunk #8068

14 years agoMerged revisions 79082,79084 via svnmerge from
Collin Winter [Fri, 19 Mar 2010 21:17:17 +0000 (21:17 +0000)]
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.
........

14 years agomake maintainers.rst have correct eol
Benjamin Peterson [Fri, 19 Mar 2010 21:01:27 +0000 (21:01 +0000)]
make maintainers.rst have correct eol

14 years agoset svn:eol-style on modules
Benjamin Peterson [Fri, 19 Mar 2010 21:01:04 +0000 (21:01 +0000)]
set svn:eol-style on modules

14 years agoset urllib svn:eol-style
Benjamin Peterson [Fri, 19 Mar 2010 21:00:32 +0000 (21:00 +0000)]
set urllib svn:eol-style

14 years agofix test eol
Benjamin Peterson [Fri, 19 Mar 2010 21:00:11 +0000 (21:00 +0000)]
fix test eol

14 years agofix demo/doc eol
Benjamin Peterson [Fri, 19 Mar 2010 20:58:52 +0000 (20:58 +0000)]
fix demo/doc eol

14 years agoset svn:eol-style on importlib files
Benjamin Peterson [Fri, 19 Mar 2010 20:44:28 +0000 (20:44 +0000)]
set svn:eol-style on importlib files

14 years agoMerged revisions 79106 via svnmerge from
Benjamin Peterson [Fri, 19 Mar 2010 20:42:30 +0000 (20:42 +0000)]
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
........

14 years agoMerged revisions 79101 via svnmerge from
Matthias Klose [Fri, 19 Mar 2010 19:02:09 +0000 (19:02 +0000)]
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).
........

14 years agoMerged revisions 79100 via svnmerge from
Florent Xicluna [Fri, 19 Mar 2010 19:00:44 +0000 (19:00 +0000)]
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.
........

14 years agoMerged revisions 79098 via svnmerge from
Matthias Klose [Fri, 19 Mar 2010 17:47:21 +0000 (17:47 +0000)]
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
........

14 years ago* Fix a refleak when a preexec_fn was supplied (preexec_fn_args_tuple was not
Gregory P. Smith [Fri, 19 Mar 2010 16:53:08 +0000 (16:53 +0000)]
* 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.

14 years agoRename test.test_support to test.support for 3.x.
Florent Xicluna [Fri, 19 Mar 2010 14:40:31 +0000 (14:40 +0000)]
Rename test.test_support to test.support for 3.x.

14 years agoMerged revisions 78982,78986 via svnmerge from
Florent Xicluna [Fri, 19 Mar 2010 14:25:03 +0000 (14:25 +0000)]
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.
........

14 years agoFixed a failure in test_bigmem.
Florent Xicluna [Fri, 19 Mar 2010 13:37:08 +0000 (13:37 +0000)]
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
........

14 years agoRemove out-of-date comment about making ints and longs hash equal.
Mark Dickinson [Fri, 19 Mar 2010 12:38:03 +0000 (12:38 +0000)]
Remove out-of-date comment about making ints and longs hash equal.

14 years agoRevert Unicode UCD 5.2 upgrade in 3.x. It broke repr() for unicode objects, and...
Florent Xicluna [Fri, 19 Mar 2010 01:17:46 +0000 (01:17 +0000)]
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.

14 years agoBlocked revisions 79078,79086 via svnmerge
Benjamin Peterson [Fri, 19 Mar 2010 01:08:38 +0000 (01:08 +0000)]
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
........

14 years agoFix bad unicodedata checksum merge from trunk in r79062
Florent Xicluna [Fri, 19 Mar 2010 00:03:01 +0000 (00:03 +0000)]
Fix bad unicodedata checksum merge from trunk in r79062

14 years agoBlocked revisions 79078 via svnmerge
Benjamin Peterson [Thu, 18 Mar 2010 23:14:21 +0000 (23:14 +0000)]
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
........

14 years agoMerged revisions 79073 via svnmerge from
Benjamin Peterson [Thu, 18 Mar 2010 22:58:19 +0000 (22:58 +0000)]
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
........

14 years agoMerged revisions 79070 via svnmerge from
Benjamin Peterson [Thu, 18 Mar 2010 22:55:53 +0000 (22:55 +0000)]
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
........

14 years agoMerged revisions 79060 via svnmerge from
Collin Winter [Thu, 18 Mar 2010 22:46:40 +0000 (22:46 +0000)]
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!
........

14 years agoshow a common usage of detect_encoding
Benjamin Peterson [Thu, 18 Mar 2010 22:43:41 +0000 (22:43 +0000)]
show a common usage of detect_encoding

14 years agokill py_compile's homemade encoding detection in favor of tokenize.detect_encoding...
Benjamin Peterson [Thu, 18 Mar 2010 22:37:38 +0000 (22:37 +0000)]
kill py_compile's homemade encoding detection in favor of tokenize.detect_encoding() (see #8168)

14 years agofix for files with coding cookies and BOMs
Benjamin Peterson [Thu, 18 Mar 2010 22:34:15 +0000 (22:34 +0000)]
fix for files with coding cookies and BOMs

14 years agoin tokenize.detect_encoding(), return utf-8-sig when a BOM is found
Benjamin Peterson [Thu, 18 Mar 2010 22:29:52 +0000 (22:29 +0000)]
in tokenize.detect_encoding(), return utf-8-sig when a BOM is found

14 years agoMissing update from previous changeset r79062.
Florent Xicluna [Thu, 18 Mar 2010 22:19:01 +0000 (22:19 +0000)]
Missing update from previous changeset r79062.

14 years agoMerged revisions 79059 via svnmerge from
Florent Xicluna [Thu, 18 Mar 2010 22:11:01 +0000 (22:11 +0000)]
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
........

14 years agoMerged revisions 78971-78972 via svnmerge from
Benjamin Peterson [Thu, 18 Mar 2010 21:58:43 +0000 (21:58 +0000)]
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
........

14 years agoMerged revisions 79056 via svnmerge from
Benjamin Peterson [Thu, 18 Mar 2010 21:36:06 +0000 (21:36 +0000)]
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
........

14 years agoMerged revisions 79051 via svnmerge from
Benjamin Peterson [Thu, 18 Mar 2010 21:23:05 +0000 (21:23 +0000)]
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
........

14 years agoMerged revisions 79049 via svnmerge from
Florent Xicluna [Thu, 18 Mar 2010 20:00:57 +0000 (20:00 +0000)]
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.
........

14 years agoMerged revisions 79024 via svnmerge from
Ezio Melotti [Thu, 18 Mar 2010 12:29:13 +0000 (12:29 +0000)]
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.
........

14 years agoMerged revisions 79044 via svnmerge from
Collin Winter [Thu, 18 Mar 2010 00:23:44 +0000 (00:23 +0000)]
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).
........

14 years agoMerged revisions 79038 via svnmerge from
Collin Winter [Wed, 17 Mar 2010 23:49:15 +0000 (23:49 +0000)]
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.
........

14 years agoNOTE: just porting tests here.
Antoine Pitrou [Wed, 17 Mar 2010 22:50:28 +0000 (22:50 +0000)]
NOTE: just porting tests here.

Merged revisions 79039 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79039 | antoine.pitrou | 2010-03-17 23:45:39 +0100 (mer., 17 mars 2010) | 5 lines

  Issue #8104: socket.recv_into() and socket.recvfrom_into() now support
  writing into objects supporting the new buffer API, for example bytearrays
  or memoryviews.
........

14 years agobring back commented out test
Benjamin Peterson [Wed, 17 Mar 2010 20:57:32 +0000 (20:57 +0000)]
bring back commented out test

14 years agoMerged revisions 79034 via svnmerge from
Benjamin Peterson [Wed, 17 Mar 2010 20:56:58 +0000 (20:56 +0000)]
Merged revisions 79034 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79034 | benjamin.peterson | 2010-03-17 15:41:42 -0500 (Wed, 17 Mar 2010) | 1 line

  prevent lambda functions from having docstrings #8164
........

14 years agoMerged revisions 79030-79032 via svnmerge from
Florent Xicluna [Wed, 17 Mar 2010 20:29:51 +0000 (20:29 +0000)]
Merged revisions 79030-79032 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79030 | florent.xicluna | 2010-03-17 20:05:04 +0100 (mer, 17 mar 2010) | 2 lines

  Cleanup in test_import and test_coding.
........
  r79031 | florent.xicluna | 2010-03-17 20:15:56 +0100 (mer, 17 mar 2010) | 2 lines

  Cleanup some test cases using check_warnings and check_py3k_warnings.
........
  r79032 | florent.xicluna | 2010-03-17 21:05:11 +0100 (mer, 17 mar 2010) | 2 lines

  Fix and check cgi module deprecation warnings.  Revert an unwanted rename in test_import.
........

14 years agoBlocked revisions 79023 via svnmerge
Ezio Melotti [Wed, 17 Mar 2010 14:28:47 +0000 (14:28 +0000)]
Blocked revisions 79023 via svnmerge

........
  r79023 | ezio.melotti | 2010-03-17 15:52:48 +0200 (Wed, 17 Mar 2010) | 1 line

  #7092: silence some more py3k warnings.
........

14 years agoset svn:eol-style
Benjamin Peterson [Wed, 17 Mar 2010 03:30:15 +0000 (03:30 +0000)]
set svn:eol-style

14 years agoAdd tests for overriding and shadowing __import__; these are a useful tripwire for...
Collin Winter [Wed, 17 Mar 2010 03:14:31 +0000 (03:14 +0000)]
Add tests for overriding and shadowing __import__; these are a useful tripwire for an incoming JIT optimization.

14 years agoMerged revisions 79016 via svnmerge from
Collin Winter [Wed, 17 Mar 2010 03:09:21 +0000 (03:09 +0000)]
Merged revisions 79016 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79016 | collin.winter | 2010-03-16 19:40:12 -0700 (Tue, 16 Mar 2010) | 1 line

  Style cleanup in test_import.
........

14 years agoCommit missing merge info from r79014.
Collin Winter [Wed, 17 Mar 2010 02:51:00 +0000 (02:51 +0000)]
Commit missing merge info from r79014.

14 years agoMerged revisions 79013 via svnmerge from
Collin Winter [Wed, 17 Mar 2010 02:08:57 +0000 (02:08 +0000)]
Merged revisions 79013 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79013 | collin.winter | 2010-03-16 19:02:30 -0700 (Tue, 16 Mar 2010) | 1 line

  Fix a trivial class of (hypothetical, future) false-positive refleaks, discovered by an optimization in Unladen Swallow's past (which will become CPython's future).
........

14 years agoAdd some tests for ways users can change or shadow globals and builtins.
Collin Winter [Wed, 17 Mar 2010 00:41:56 +0000 (00:41 +0000)]
Add some tests for ways users can change or shadow globals and builtins.

14 years agoMerged revisions 78996 via svnmerge from
Martin v. Löwis [Tue, 16 Mar 2010 18:53:33 +0000 (18:53 +0000)]
Merged revisions 78996 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78996 | martin.v.loewis | 2010-03-16 19:49:28 +0100 (Di, 16 Mär 2010) | 1 line

  Integrate merge.py into msi.py.
........

14 years agoIssue #6716/3: Exclude 2to3 tests from compileall.
Martin v. Löwis [Tue, 16 Mar 2010 16:19:47 +0000 (16:19 +0000)]
Issue #6716/3: Exclude 2to3 tests from compileall.

14 years agoAdd UUID for 3.2 DLL.
Martin v. Löwis [Tue, 16 Mar 2010 14:16:09 +0000 (14:16 +0000)]
Add UUID for 3.2 DLL.

14 years agoIssue #6716/2: Backslash-replace error output in compilall.
Martin v. Löwis [Tue, 16 Mar 2010 13:19:21 +0000 (13:19 +0000)]
Issue #6716/2: Backslash-replace error output in compilall.

14 years agoMerged revisions 78976 via svnmerge from
Martin v. Löwis [Tue, 16 Mar 2010 11:03:13 +0000 (11:03 +0000)]
Merged revisions 78976 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78976 | martin.v.loewis | 2010-03-15 14:00:17 +0100 (Mo, 15 Mär 2010) | 1 line

  Issue #6716: Quote -x arguments of compileall in MSI installer.
........

14 years agoMerged revisions 78988 via svnmerge from
Matthias Klose [Tue, 16 Mar 2010 10:51:28 +0000 (10:51 +0000)]
Merged revisions 78988 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78988 | matthias.klose | 2010-03-16 11:48:52 +0100 (Tue, 16 Mar 2010) | 3 lines

  - Issue #4961: Inconsistent/wrong result of askyesno function in tkMessageBox
    with Tcl/Tk-8.5.
........

14 years agoMerged revisions 78983,78985 via svnmerge from
Matthias Klose [Tue, 16 Mar 2010 00:36:26 +0000 (00:36 +0000)]
Merged revisions 78983,78985 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78983 | matthias.klose | 2010-03-15 18:44:12 +0100 (Mo, 15 Mär 2010) | 2 lines

  - Issue #8140: extend compileall to compile single files. Add -i option.
........
  r78985 | matthias.klose | 2010-03-15 19:00:01 +0100 (Mo, 15 Mär 2010) | 2 lines

  - Fix typo in Lib/compileall.py(__all__).
........

14 years agoMerged revisions 78979 via svnmerge from
Matthias Klose [Mon, 15 Mar 2010 13:46:04 +0000 (13:46 +0000)]
Merged revisions 78979 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78979 | matthias.klose | 2010-03-15 14:42:23 +0100 (Mo, 15 Mär 2010) | 3 lines

  - Issue #7356: ctypes.util: Make parsing of ldconfig output independent of
    the locale.
........

14 years agoMerged revisions 78968-78969 via svnmerge from
Matthias Klose [Mon, 15 Mar 2010 13:25:28 +0000 (13:25 +0000)]
Merged revisions 78968-78969 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78968 | matthias.klose | 2010-03-15 01:02:36 +0100 (Mon, 15 Mar 2010) | 226 lines

  - Issue #8142: Update libffi to the 3.0.9 release.
........
  r78969 | matthias.klose | 2010-03-15 01:36:18 +0100 (Mon, 15 Mar 2010) | 7 lines

  Backport from the libffi trunk:

  2010-02-15  Matthias Klose  <doko@ubuntu.com>

          * src/arm/sysv.S (__ARM_ARCH__): Define for processor
          __ARM_ARCH_7EM__.
........

14 years agoFix \xhh specs, #1889. (an oversight of r60193, r60210).
Florent Xicluna [Mon, 15 Mar 2010 13:14:39 +0000 (13:14 +0000)]
Fix \xhh specs, #1889.  (an oversight of r60193, r60210).

14 years ago- Issue #6949: Allow the _dbm extension to be built with db 4.8.x.
Matthias Klose [Mon, 15 Mar 2010 12:49:46 +0000 (12:49 +0000)]
- Issue #6949: Allow the _dbm extension to be built with db 4.8.x.

14 years ago* Fix the refcount leak in _PySequence_BytesToCharpArray from r78946.
Gregory P. Smith [Mon, 15 Mar 2010 06:07:42 +0000 (06:07 +0000)]
* Fix the refcount leak in _PySequence_BytesToCharpArray from r78946.
* Also fixes a potential extra DECREF of an arg in the error case within
  _posixsubprocess.fork_exec() by not reusing the process_args variable.

14 years agoChange PARSE_PID to _Py_PARSE_PID (cleanup for r78946).
Gregory P. Smith [Sun, 14 Mar 2010 18:56:11 +0000 (18:56 +0000)]
Change PARSE_PID to _Py_PARSE_PID (cleanup for r78946).

14 years agoMerged revisions 78962,78964 via svnmerge from
Benjamin Peterson [Sun, 14 Mar 2010 15:18:25 +0000 (15:18 +0000)]
Merged revisions 78962,78964 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78962 | benjamin.peterson | 2010-03-14 09:24:31 -0500 (Sun, 14 Mar 2010) | 1 line

  fix freebsd linking #7705
........
  r78964 | benjamin.peterson | 2010-03-14 10:06:14 -0500 (Sun, 14 Mar 2010) | 1 line

  fix quotes
........

14 years agoMerged revisions 78227,78229,78288,78348,78377,78770,78774-78776,78810 via svnmerge...
Benjamin Peterson [Sun, 14 Mar 2010 15:04:17 +0000 (15:04 +0000)]
Merged revisions 78227,78229,78288,78348,78377,78770,78774-78776,78810 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78227 | michael.foord | 2010-02-18 14:30:09 -0600 (Thu, 18 Feb 2010) | 1 line

  unittest.TestCase uses safe_repr for producing failure messages. Partial fix for issue 7956
........
  r78229 | michael.foord | 2010-02-18 15:37:07 -0600 (Thu, 18 Feb 2010) | 1 line

  Fix unittest.TestCase.assertDictContainsSubset so it can't die with unicode issues when constructing failure messages. Issue 7956
........
  r78288 | michael.foord | 2010-02-21 08:48:59 -0600 (Sun, 21 Feb 2010) | 1 line

  Silence UnicodeWarning in crazy unittest test.
........
  r78348 | michael.foord | 2010-02-22 17:28:32 -0600 (Mon, 22 Feb 2010) | 1 line

  Support for old TestResult object (unittest) with warnings when using unsupported features.
........
  r78377 | michael.foord | 2010-02-23 11:00:53 -0600 (Tue, 23 Feb 2010) | 1 line

  unittest.TestResult can now be used with the TextTestRunner. TextTestRunner compatible with old TestResult objects.
........
  r78770 | michael.foord | 2010-03-07 14:22:12 -0600 (Sun, 07 Mar 2010) | 1 line

  Fix for potentials errors in constructing unittest failure messages. Plus skipped test methods no longer run setUp and tearDown (Issue 8059)
........
  r78774 | michael.foord | 2010-03-07 16:04:55 -0600 (Sun, 07 Mar 2010) | 1 line

  Addition of setUpClass and setUpModule shared fixtures to unittest.
........
  r78775 | michael.foord | 2010-03-07 17:10:36 -0600 (Sun, 07 Mar 2010) | 1 line

  Fix accidental name rebinding in unittest py3k warning filtering.
........
  r78776 | michael.foord | 2010-03-07 17:16:20 -0600 (Sun, 07 Mar 2010) | 1 line

  Remove accidental print statement from last commit.
........
  r78810 | raymond.hettinger | 2010-03-09 02:44:18 -0600 (Tue, 09 Mar 2010) | 5 lines

  Improve the basic example.
  * Show both the decorator and regular form for assertRaises()
  * Use assertTrue() instead of assertIn() to teach useful minimal subset of the API
........

14 years agoFix an oversight in r78946 which causes failure in the subprocess module on Windows.
Florent Xicluna [Sun, 14 Mar 2010 12:31:06 +0000 (12:31 +0000)]
Fix an oversight in r78946 which causes failure in the subprocess module on Windows.

14 years agoMerged revisions 78954 via svnmerge from
Ezio Melotti [Sun, 14 Mar 2010 11:51:00 +0000 (11:51 +0000)]
Merged revisions 78954 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78954 | ezio.melotti | 2010-03-14 12:13:49 +0200 (Sun, 14 Mar 2010) | 1 line

  Add a link about the Public Review Issue #29
........

14 years agoMerged revisions 78760,78771-78773,78802,78922,78952 via svnmerge from
Georg Brandl [Sun, 14 Mar 2010 10:56:14 +0000 (10:56 +0000)]
Merged revisions 78760,78771-78773,78802,78922,78952 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78760 | georg.brandl | 2010-03-07 16:23:59 +0100 (So, 07 Mär 2010) | 1 line

  #5341: more built-in vs builtin fixes.
........
  r78771 | georg.brandl | 2010-03-07 21:58:31 +0100 (So, 07 Mär 2010) | 1 line

  #8085: The function is called PyObject_NewVar, not PyObject_VarNew.
........
  r78772 | georg.brandl | 2010-03-07 22:12:28 +0100 (So, 07 Mär 2010) | 1 line

  #8039: document conditional expressions better, giving them their own section.
........
  r78773 | georg.brandl | 2010-03-07 22:32:06 +0100 (So, 07 Mär 2010) | 1 line

  #8044: document Py_{Enter,Leave}RecursiveCall functions.
........
  r78802 | georg.brandl | 2010-03-08 17:28:40 +0100 (Mo, 08 Mär 2010) | 1 line

  Fix typo.
........
  r78922 | georg.brandl | 2010-03-13 14:41:58 +0100 (Sa, 13 Mär 2010) | 1 line

  Update for new download location.
........
  r78952 | georg.brandl | 2010-03-14 10:55:08 +0100 (So, 14 Mär 2010) | 1 line

  #8137: add iso-8859-16 to the standard encodings table.
........