]> granicus.if.org Git - python/log
python
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.
........

14 years agoMerged revisions 78101,78115,78117,78182,78188,78245,78386,78496 via svnmerge from
Georg Brandl [Sun, 14 Mar 2010 10:51:01 +0000 (10:51 +0000)]
Merged revisions 78101,78115,78117,78182,78188,78245,78386,78496 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78101 | georg.brandl | 2010-02-08 01:04:54 +0100 (Mo, 08 Feb 2010) | 1 line

  Fix test_fnmatch.
........
  r78115 | georg.brandl | 2010-02-08 23:40:51 +0100 (Mo, 08 Feb 2010) | 1 line

  Fix missing string formatting placeholder.
........
  r78117 | georg.brandl | 2010-02-08 23:48:37 +0100 (Mo, 08 Feb 2010) | 1 line

  Convert test failure from output-producing to self.fail().
........
  r78182 | georg.brandl | 2010-02-14 09:18:23 +0100 (So, 14 Feb 2010) | 1 line

  #7926: fix stray parens.
........
  r78188 | georg.brandl | 2010-02-14 14:38:12 +0100 (So, 14 Feb 2010) | 1 line

  #7926: fix-up wording.
........
  r78245 | georg.brandl | 2010-02-19 20:36:08 +0100 (Fr, 19 Feb 2010) | 1 line

  #7967: PyXML is no more.
........
  r78386 | georg.brandl | 2010-02-23 22:48:57 +0100 (Di, 23 Feb 2010) | 1 line

  #6544: fix refleak in kqueue, occurring in certain error conditions.
........
  r78496 | georg.brandl | 2010-02-27 15:58:08 +0100 (Sa, 27 Feb 2010) | 1 line

  Link to http://www.python.org/dev/workflow/ from bugs page.
........

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

........
  r78093 | georg.brandl | 2010-02-07 18:03:15 +0100 (So, 07 Feb 2010) | 1 line

  Remove unused imports in test modules.
........

14 years agoBlocked revisions 78949 via svnmerge
Georg Brandl [Sun, 14 Mar 2010 10:24:29 +0000 (10:24 +0000)]
Blocked revisions 78949 via svnmerge

........
  r78949 | georg.brandl | 2010-03-14 10:50:54 +0100 (So, 14 Mär 2010) | 1 line

  Format and rewrap 2.7 NEWS consistently.
........

14 years agoMerged revisions 78018,78035-78040,78042-78043,78046,78048-78052,78054,78059,78075...
Georg Brandl [Sun, 14 Mar 2010 10:23:39 +0000 (10:23 +0000)]
Merged revisions 78018,78035-78040,78042-78043,78046,78048-78052,78054,78059,78075-78080 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78018 | georg.brandl | 2010-02-06 11:08:21 +0100 (Sa, 06 Feb 2010) | 1 line

  #7864: make deprecation notices a bit clearer.
........
  r78035 | georg.brandl | 2010-02-06 23:44:17 +0100 (Sa, 06 Feb 2010) | 1 line

  Fix duplicate import.
........
  r78036 | georg.brandl | 2010-02-06 23:49:47 +0100 (Sa, 06 Feb 2010) | 1 line

  Remove unused import.
........
  r78037 | georg.brandl | 2010-02-06 23:59:15 +0100 (Sa, 06 Feb 2010) | 1 line

  No need to assign the results of expressions used only for side effects.
........
  r78038 | georg.brandl | 2010-02-07 00:02:29 +0100 (So, 07 Feb 2010) | 1 line

  Add a missing import.
........
  r78039 | georg.brandl | 2010-02-07 00:06:24 +0100 (So, 07 Feb 2010) | 1 line

  Add missing imports.
........
  r78040 | georg.brandl | 2010-02-07 00:08:00 +0100 (So, 07 Feb 2010) | 1 line

  Fix a few UnboundLocalErrors in test_long.
........
  r78042 | georg.brandl | 2010-02-07 00:12:12 +0100 (So, 07 Feb 2010) | 1 line

  Add missing import.
........
  r78043 | georg.brandl | 2010-02-07 00:12:19 +0100 (So, 07 Feb 2010) | 1 line

  Remove duplicate test method.
........
  r78046 | georg.brandl | 2010-02-07 00:18:00 +0100 (So, 07 Feb 2010) | 1 line

  Fix various missing import/unbound name errors.
........
  r78048 | georg.brandl | 2010-02-07 00:23:45 +0100 (So, 07 Feb 2010) | 1 line

  We heard you like test failures so we put unbound locals in your test so that you can fail while you fail.
........
  r78049 | georg.brandl | 2010-02-07 00:33:33 +0100 (So, 07 Feb 2010) | 1 line

  Fix import/access for some identifiers.  _TestSharedCTypes does not seem to be executed?
........
  r78050 | georg.brandl | 2010-02-07 00:34:10 +0100 (So, 07 Feb 2010) | 1 line

  Fix more unbound locals in code paths that do not seem to be used.
........
  r78051 | georg.brandl | 2010-02-07 00:53:52 +0100 (So, 07 Feb 2010) | 1 line

  Add missing import when running these tests standalone.
........
  r78052 | georg.brandl | 2010-02-07 00:54:04 +0100 (So, 07 Feb 2010) | 1 line

  Add missing import when running these tests standalone.
........
  r78054 | georg.brandl | 2010-02-07 00:58:25 +0100 (So, 07 Feb 2010) | 1 line

  Add missing import.
........
  r78059 | georg.brandl | 2010-02-07 12:34:15 +0100 (So, 07 Feb 2010) | 1 line

  Use "regexp" consistently.
........
  r78075 | georg.brandl | 2010-02-07 13:16:12 +0100 (So, 07 Feb 2010) | 1 line

  Fix another duplicated test method.
........
  r78076 | georg.brandl | 2010-02-07 13:19:43 +0100 (So, 07 Feb 2010) | 1 line

  Fix wrong usage of "except X, Y:".
........
  r78077 | georg.brandl | 2010-02-07 13:25:50 +0100 (So, 07 Feb 2010) | 1 line

  Fix two redefined test methods.
........
  r78078 | georg.brandl | 2010-02-07 13:27:06 +0100 (So, 07 Feb 2010) | 1 line

  Fix a redefined test method.
........
  r78079 | georg.brandl | 2010-02-07 13:34:26 +0100 (So, 07 Feb 2010) | 1 line

  Add a minimal test for fnmatchcase().
........
  r78080 | georg.brandl | 2010-02-07 13:55:12 +0100 (So, 07 Feb 2010) | 1 line

  Remove duplicate test method.
........

14 years ago#7057: fix several errors.
Ezio Melotti [Sun, 14 Mar 2010 09:51:37 +0000 (09:51 +0000)]
#7057: fix several errors.

14 years agoMore notes about r78946, this time describing the restore_signals behavior.
Gregory P. Smith [Sun, 14 Mar 2010 07:13:25 +0000 (07:13 +0000)]
More notes about r78946, this time describing the restore_signals behavior.

14 years agoNEWS entry for subprocess module C extension in r78946.
Gregory P. Smith [Sun, 14 Mar 2010 06:52:18 +0000 (06:52 +0000)]
NEWS entry for subprocess module C extension in r78946.

14 years ago* Replaces the internals of the subprocess module from fork through exec on
Gregory P. Smith [Sun, 14 Mar 2010 06:49:55 +0000 (06:49 +0000)]
* Replaces the internals of the subprocess module from fork through exec on
  POSIX systems with a C extension module.  This is required in order for
  the subprocess module to be made thread safe.

  The pure python implementation is retained so that it can continue to be
  used if for some reason the _posixsubprocess extension module is not
  available.

  The unittest executes tests on both code paths to guarantee compatibility.

* Moves PyLong_FromPid and PyLong_AsPid from posixmodule.c into longobject.h.

Code reviewed by jeffrey.yasskin at http://codereview.appspot.com/223077/show

14 years agoMerged revisions 78944 via svnmerge from
Florent Xicluna [Sun, 14 Mar 2010 01:28:07 +0000 (01:28 +0000)]
Merged revisions 78944 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78944 | florent.xicluna | 2010-03-14 02:22:09 +0100 (dim, 14 mar 2010) | 2 lines

  Minor documentation updates for xml.etree.
........