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

14 years agoMerged revisions 78055 via svnmerge from
Benjamin Peterson [Sun, 14 Mar 2010 00:07:01 +0000 (00:07 +0000)]
Merged revisions 78055 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78055 | vinay.sajip | 2010-02-06 19:37:08 -0600 (Sat, 06 Feb 2010) | 1 line

  Issue #7868: logging: added loggerClass attribute to Manager.
........

14 years agoMerged revisions 78838-78839,78917,78919,78934,78937 via svnmerge from
Florent Xicluna [Sat, 13 Mar 2010 23:24:31 +0000 (23:24 +0000)]
Merged revisions 78838-78839,78917,78919,78934,78937 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78838 | florent.xicluna | 2010-03-11 15:36:19 +0100 (jeu, 11 mar 2010) | 2 lines

  Issue #6472: The xml.etree package is updated to ElementTree 1.3.  The cElementTree module is updated too.
........
  r78839 | florent.xicluna | 2010-03-11 16:55:11 +0100 (jeu, 11 mar 2010) | 2 lines

  Fix repr of tree Element on windows.
........
  r78917 | florent.xicluna | 2010-03-13 12:18:49 +0100 (sam, 13 mar 2010) | 2 lines

  Move the xml test data to their own directory.
........
  r78919 | florent.xicluna | 2010-03-13 13:41:48 +0100 (sam, 13 mar 2010) | 2 lines

  Do not chdir when running test_xml_etree, and enhance the findfile helper.
........
  r78934 | florent.xicluna | 2010-03-13 18:56:19 +0100 (sam, 13 mar 2010) | 2 lines

  Update some parts of the xml.etree documentation.
........
  r78937 | florent.xicluna | 2010-03-13 21:30:15 +0100 (sam, 13 mar 2010) | 3 lines

  Add the keyword argument "method=None" to the .write() method and the tostring/tostringlist functions.
  Update the function, class and method signatures, according to the new convention.
........

14 years agoMerged revisions 77967,77969,77973,77979,77985-77986,78009,78029,78031-78033,78081...
Benjamin Peterson [Sat, 13 Mar 2010 22:30:34 +0000 (22:30 +0000)]
Merged revisions 77967,77969,77973,77979,77985-77986,78009,78029,78031-78033,78081,78085,78103,78105-78106,78108,78246,78703,78728,78731,78853,78855 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77967 | vinay.sajip | 2010-02-04 12:48:53 -0600 (Thu, 04 Feb 2010) | 1 line

  Logging: Implemented PEP 391.
........
  r77969 | vinay.sajip | 2010-02-04 14:18:28 -0600 (Thu, 04 Feb 2010) | 1 line

  Removed spurious print statement.
........
  r77973 | vinay.sajip | 2010-02-04 14:23:45 -0600 (Thu, 04 Feb 2010) | 1 line

  Issue #7851: logging: clarification on logging configuration files.
........
  r77979 | vinay.sajip | 2010-02-04 15:40:56 -0600 (Thu, 04 Feb 2010) | 1 line

  Added unit test for cfg:// resolution.
........
  r77985 | vinay.sajip | 2010-02-05 08:52:05 -0600 (Fri, 05 Feb 2010) | 1 line

  Issue #7857: test_logging: listener test now uses find_unused_port().
........
  r77986 | vinay.sajip | 2010-02-05 09:40:20 -0600 (Fri, 05 Feb 2010) | 1 line

  Issue #7857: test_logging: listener tests disabled for now.
........
  r78009 | vinay.sajip | 2010-02-05 17:43:11 -0600 (Fri, 05 Feb 2010) | 1 line

  test_logging: minor tweaks to timeouts, listening tests marked as skipped.
........
  r78029 | vinay.sajip | 2010-02-06 14:00:43 -0600 (Sat, 06 Feb 2010) | 1 line

  Issue #7857: Tentatively re-enabling one test to see effect on buildbots.
........
  r78031 | vinay.sajip | 2010-02-06 14:28:36 -0600 (Sat, 06 Feb 2010) | 1 line

  Issue #7857: Gave server thread more time to get ready, and re-enabled a skipped test.
........
  r78032 | georg.brandl | 2010-02-06 15:54:40 -0600 (Sat, 06 Feb 2010) | 1 line

  Remove unused imports from test_logging.
........
  r78033 | benjamin.peterson | 2010-02-06 16:08:15 -0600 (Sat, 06 Feb 2010) | 1 line

  make waiting for the server to start robust
........
  r78081 | vinay.sajip | 2010-02-07 06:56:54 -0600 (Sun, 07 Feb 2010) | 1 line

  Issue #7869: logging: improved format-time diagnostics and removed some 1.5.2 support code.
........
  r78085 | vinay.sajip | 2010-02-07 07:06:51 -0600 (Sun, 07 Feb 2010) | 1 line

  logging: Removed some more 1.5.2 support code.
........
  r78103 | vinay.sajip | 2010-02-08 00:50:14 -0600 (Mon, 08 Feb 2010) | 1 line

  Removed spurious print statement in test.
........
  r78105 | vinay.sajip | 2010-02-08 09:32:08 -0600 (Mon, 08 Feb 2010) | 1 line

  logging: skipped listening tests because they're not working reliably.
........
  r78106 | vinay.sajip | 2010-02-08 10:05:50 -0600 (Mon, 08 Feb 2010) | 1 line

  Issue #7857: Another attempt to keep the buildbots happy.
........
  r78108 | vinay.sajip | 2010-02-08 15:18:15 -0600 (Mon, 08 Feb 2010) | 1 line

  logging: gingerly re-enabling skipped tests after improving thread sync code in configurator.
........
  r78246 | vinay.sajip | 2010-02-19 17:53:17 -0600 (Fri, 19 Feb 2010) | 1 line

  logging: Documented warnings module integration.
........
  r78703 | vinay.sajip | 2010-03-05 16:11:24 -0600 (Fri, 05 Mar 2010) | 1 line

  Factored out time usage determination into a method, to facilitate alternative formatting implementations in the future.
........
  r78728 | vinay.sajip | 2010-03-06 09:12:08 -0600 (Sat, 06 Mar 2010) | 1 line

  Added schema version test in dictConfig.
........
  r78731 | vinay.sajip | 2010-03-06 09:56:03 -0600 (Sat, 06 Mar 2010) | 1 line

  Added checks for tuples in dictConfig.
........
  r78853 | vinay.sajip | 2010-03-12 00:01:21 -0600 (Fri, 12 Mar 2010) | 1 line

  Issue #8117: logging: Improved algorithm for computing initial rollover time.
........
  r78855 | vinay.sajip | 2010-03-12 03:16:10 -0600 (Fri, 12 Mar 2010) | 1 line

  Issue #8117: Updated NEWS entry and added to logging documentation.
........

14 years agoMerged revisions 78939 via svnmerge from
Antoine Pitrou [Sat, 13 Mar 2010 21:27:21 +0000 (21:27 +0000)]
Merged revisions 78939 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78939 | antoine.pitrou | 2010-03-13 22:21:30 +0100 (Sat, 13 Mar 2010) | 5 lines

  Issue #7993: Add a test of IO packet processing bandwidth to ccbench.
  It measures the number of UDP packets processed per second depending on
  the number of background CPU-bound Python threads.
........

14 years agoBlocked revisions 77942,78053,78061,78113-78114,78150,78215,78247,78385,78467,78563...
Benjamin Peterson [Sat, 13 Mar 2010 21:20:06 +0000 (21:20 +0000)]
Blocked revisions 77942,78053,78061,78113-78114,78150,78215,78247,78385,78467,78563,78652,78726,78751,78812,78814 via svnmerge

........
  r77942 | ezio.melotti | 2010-02-02 23:37:26 -0600 (Tue, 02 Feb 2010) | 1 line

  #7092: Silence more py3k warnings. Patch by Florent Xicluna.
........
  r78053 | georg.brandl | 2010-02-06 17:54:43 -0600 (Sat, 06 Feb 2010) | 1 line

  Fix some name errors in Mac modules.
........
  r78061 | ronald.oussoren | 2010-02-07 05:38:28 -0600 (Sun, 07 Feb 2010) | 10 lines

  A number of APIs in macostools cannot work in 64-bit mode because they
  use Carbon APIs that aren't available there.

  This patch disables tests for the affected entrypoints in macostools and
  mentions this in the documentation.

  In theory it is possible to replace the implementation by code that does
  work in 64-bit mode, but that would require further updates to the Carbon
  wrappers because the modern APIs aren't wrapped properly.
........
  r78113 | georg.brandl | 2010-02-08 16:37:20 -0600 (Mon, 08 Feb 2010) | 1 line

  Fix missing string formatting argument.
........
  r78114 | georg.brandl | 2010-02-08 16:37:52 -0600 (Mon, 08 Feb 2010) | 1 line

  Fix undefined local.
........
  r78150 | ronald.oussoren | 2010-02-11 07:19:34 -0600 (Thu, 11 Feb 2010) | 3 lines

  Fix copy&paste error in the definition of ARCH_RUN_32BIT for a 3-way universal
  build (all other definition where correct).
........
  r78215 | martin.v.loewis | 2010-02-18 06:45:45 -0600 (Thu, 18 Feb 2010) | 1 line

  Move bsddb47 macros before their use, to make VS 2010 happy.
........
  r78247 | ezio.melotti | 2010-02-20 02:09:39 -0600 (Sat, 20 Feb 2010) | 1 line

  #3426: os.path.abspath now returns unicode when its arg is unicode.
........
  r78385 | georg.brandl | 2010-02-23 15:33:17 -0600 (Tue, 23 Feb 2010) | 1 line

  #8000: fix deprecated directive.  What a shame to lose that glorious issue number to such a minor bug :)
........
  r78467 | ezio.melotti | 2010-02-26 18:05:42 -0600 (Fri, 26 Feb 2010) | 1 line

  Show an error when the value passed to --enable-unicode is not ucs2 or ucs4 (lowercase).
........
  r78563 | florent.xicluna | 2010-03-01 14:45:01 -0600 (Mon, 01 Mar 2010) | 2 lines

  #7808: Fix reference leaks in _bsddb and related tests.
........
  r78652 | florent.xicluna | 2010-03-04 09:57:20 -0600 (Thu, 04 Mar 2010) | 2 lines

  Fix transient refleak in test_popen2.
........
  r78726 | florent.xicluna | 2010-03-06 08:38:09 -0600 (Sat, 06 Mar 2010) | 2 lines

  Backport "test.regrtest -R 2:3" syntax from py3k branch, and other minor adjustments.
........
  r78751 | senthil.kumaran | 2010-03-06 22:09:30 -0600 (Sat, 06 Mar 2010) | 3 lines

  Reverting the change made in r78431.
........
  r78812 | raymond.hettinger | 2010-03-09 03:58:53 -0600 (Tue, 09 Mar 2010) | 6 lines

  Have links in OrderedDicts be native Python lists instead
  of a custom class with __slots__.  This simplifies the
  code a bit, reduces memory consumption, improves speed,
  and eliminates the need for weak reference proxies.
........
  r78814 | raymond.hettinger | 2010-03-09 05:29:10 -0600 (Tue, 09 Mar 2010) | 1 line

  Improve code clarity a bit.
........

14 years agoMerged revisions 78932 via svnmerge from
Martin v. Löwis [Sat, 13 Mar 2010 17:55:57 +0000 (17:55 +0000)]
Merged revisions 78932 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78932 | martin.v.loewis | 2010-03-13 18:53:02 +0100 (Sa, 13 Mär 2010) | 2 lines

  Add 2.6 uuids.
........

14 years agoMerged revisions 78832 via svnmerge from
Florent Xicluna [Sat, 13 Mar 2010 15:35:12 +0000 (15:35 +0000)]
Merged revisions 78832 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78832 | florent.xicluna | 2010-03-11 02:39:55 +0100 (jeu, 11 mar 2010) | 2 lines

  It is not optimal to test sys.stderr on a debug build.
........

14 years agoOnly the parts which are relevant for 3.x branch.
Florent Xicluna [Sat, 13 Mar 2010 15:26:44 +0000 (15:26 +0000)]
Only the parts which are relevant for 3.x branch.

Merged revisions 78757-78758,78769,78815 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78757 | florent.xicluna | 2010-03-07 13:14:25 +0100 (dim, 07 mar 2010) | 2 lines

  Fix some py3k warnings in the standard library.
........
  r78758 | florent.xicluna | 2010-03-07 13:18:33 +0100 (dim, 07 mar 2010) | 4 lines

  Issue #7849: Now the utility ``check_warnings`` verifies if the warnings are
  effectively raised.  A new utility ``check_py3k_warnings`` deals with py3k warnings.
........
  r78769 | florent.xicluna | 2010-03-07 20:14:12 +0100 (dim, 07 mar 2010) | 2 lines

  Refresh the documentation for the test.test_support module.
........
  r78815 | florent.xicluna | 2010-03-09 20:57:01 +0100 (mar, 09 mar 2010) | 2 lines

  #7772: Fix test_py3kwarn. Now the test suite could pass with "-3" flag.
........

14 years agoBlocked revisions 78926 via svnmerge
Mark Dickinson [Sat, 13 Mar 2010 14:24:41 +0000 (14:24 +0000)]
Blocked revisions 78926 via svnmerge

........
  r78926 | mark.dickinson | 2010-03-13 14:18:34 +0000 (Sat, 13 Mar 2010) | 1 line

  Fix incorrect error checks in structmember.c (backport of r78920 from py3k).
........

14 years agoMerged revisions 78921 via svnmerge from
Georg Brandl [Sat, 13 Mar 2010 13:42:16 +0000 (13:42 +0000)]
Merged revisions 78921 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78921 | georg.brandl | 2010-03-13 14:39:46 +0100 (Sa, 13 Mär 2010) | 1 line

  Change/fix handling of docs download location: for daily builds, put them right next to the HTML.
........

14 years agoIssue #8014: Fix incorrect error checks in structmember.c, and re-enable
Mark Dickinson [Sat, 13 Mar 2010 13:23:05 +0000 (13:23 +0000)]
Issue #8014: Fix incorrect error checks in structmember.c, and re-enable
previously failing test_structmember.py tests.

14 years agoIssue #8014: Fix PyLong_As<c-integer-type> methods not to produce an
Mark Dickinson [Sat, 13 Mar 2010 11:34:40 +0000 (11:34 +0000)]
Issue #8014: Fix PyLong_As<c-integer-type> methods not to produce an
internal error on non-integer input: they now raise TypeError instead.
This is needed for attributes declared via PyMemberDefs.

14 years agoMerged revisions 78908 via svnmerge from
Georg Brandl [Sat, 13 Mar 2010 11:02:07 +0000 (11:02 +0000)]
Merged revisions 78908 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78908 | georg.brandl | 2010-03-13 11:12:39 +0100 (Sa, 13 Mär 2010) | 1 line

  Add Makefile targets for automatic doc build.  Add script that will be used for daily build.
........

14 years agoMerged revisions 78910 via svnmerge from
Georg Brandl [Sat, 13 Mar 2010 10:56:09 +0000 (10:56 +0000)]
Merged revisions 78910 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78910 | georg.brandl | 2010-03-13 11:54:12 +0100 (Sa, 13 Mär 2010) | 1 line

  Bump externals versions for doc build.
........

14 years agoIssue #7845: Make 1j.__le__(2j) return NotImplemented rather than raising TypeError.
Mark Dickinson [Sat, 13 Mar 2010 09:48:39 +0000 (09:48 +0000)]
Issue #7845:  Make 1j.__le__(2j) return NotImplemented rather than raising TypeError.

14 years agoMerged revisions 78900 via svnmerge from
Ezio Melotti [Sat, 13 Mar 2010 04:42:07 +0000 (04:42 +0000)]
Merged revisions 78900 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78900 | ezio.melotti | 2010-03-13 06:39:51 +0200 (Sat, 13 Mar 2010) | 1 line

  Silence compiler warnings.
........

14 years agoMerged revisions 78898 via svnmerge from
Victor Stinner [Sat, 13 Mar 2010 03:28:34 +0000 (03:28 +0000)]
Merged revisions 78898 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78898 | victor.stinner | 2010-03-13 04:27:07 +0100 (sam., 13 mars 2010) | 7 lines

  sqlite3: Fix a segfault on calling a connection with something else than a
  string. Initialize all attributes to be able to call the statement destructor
  on error.

  Avoid also a duplicate connection in some tests: setUp() does already open a
  connection (":memory:").
........

14 years agoMerged revisions 78895 via svnmerge from
Ezio Melotti [Sat, 13 Mar 2010 01:28:34 +0000 (01:28 +0000)]
Merged revisions 78895 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78895 | ezio.melotti | 2010-03-13 03:21:34 +0200 (Sat, 13 Mar 2010) | 1 line

  #8011: use exc.tb_lineno instead of traceback.tb_lineno() and pep8ify variable names.
........

14 years agosqlite3: Fix _PyUnicode_AsStringAndSize() error handler.
Victor Stinner [Sat, 13 Mar 2010 00:57:22 +0000 (00:57 +0000)]
sqlite3: Fix _PyUnicode_AsStringAndSize() error handler.

Destroy begin_statement (not statement) on error.

14 years agoFix wrong indentation that was causing a Sphinx warning and a typo.
Ezio Melotti [Sat, 13 Mar 2010 00:39:49 +0000 (00:39 +0000)]
Fix wrong indentation that was causing a Sphinx warning and a typo.

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

........
  r78112 | ezio.melotti | 2010-02-09 00:22:41 +0200 (Tue, 09 Feb 2010) | 1 line

  Fix typo
........

14 years agoMerged revisions 78887 via svnmerge from
Ezio Melotti [Sat, 13 Mar 2010 00:26:04 +0000 (00:26 +0000)]
Merged revisions 78887 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78887 | ezio.melotti | 2010-03-13 02:15:36 +0200 (Sat, 13 Mar 2010) | 1 line

  fix broken links
........

14 years agoMerged revisions 78886 via svnmerge from
Victor Stinner [Sat, 13 Mar 2010 00:19:17 +0000 (00:19 +0000)]
Merged revisions 78886 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78886 | victor.stinner | 2010-03-13 01:13:22 +0100 (sam., 13 mars 2010) | 2 lines

  Issue #7818: set().test_c_api() doesn't expect a set('abc'), modify the set.
........

14 years ago#8057: fix strings -> byte strings
Ezio Melotti [Fri, 12 Mar 2010 22:45:38 +0000 (22:45 +0000)]
#8057: fix strings -> byte strings

14 years agoMerged revisions 78880 via svnmerge from
Georg Brandl [Fri, 12 Mar 2010 21:29:28 +0000 (21:29 +0000)]
Merged revisions 78880 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78880 | georg.brandl | 2010-03-12 22:27:23 +0100 (Fr, 12 Mär 2010) | 1 line

  Deactivate automatic upload of the docs to python.org, they will now be built by a job on that machine.
........

14 years agoIssue #6697: catch _PyUnicode_AsString() errors in getattr() and setattr()
Victor Stinner [Fri, 12 Mar 2010 17:17:58 +0000 (17:17 +0000)]
Issue #6697: catch _PyUnicode_AsString() errors in getattr() and setattr()
builtin functions.

14 years agoIssue #6697: use %U format instead of _PyUnicode_AsString(), because
Victor Stinner [Fri, 12 Mar 2010 17:00:41 +0000 (17:00 +0000)]
Issue #6697: use %U format instead of _PyUnicode_AsString(), because
_PyUnicode_AsString() was not checked for error (NULL).

The unicode string is no more truncated to 200 or 400 *bytes*.

14 years agoBlocked revisions 78827 via svnmerge
Victor Stinner [Fri, 12 Mar 2010 14:47:28 +0000 (14:47 +0000)]
Blocked revisions 78827 via svnmerge

........
  r78827 | victor.stinner | 2010-03-10 23:45:04 +0100 (mer., 10 mars 2010) | 4 lines

  ooops, fix error message in execusercustomize()

  Copy/paste failure :-)
........

14 years agoMerged revisions 78826 via svnmerge from
Victor Stinner [Fri, 12 Mar 2010 14:45:56 +0000 (14:45 +0000)]
Merged revisions 78826 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78826 | victor.stinner | 2010-03-10 23:30:19 +0100 (mer., 10 mars 2010) | 5 lines

  Issue #3137: Don't ignore errors at startup, especially a keyboard interrupt
  (SIGINT). If an error occurs while importing the site module, the error is
  printed and Python exits. Initialize the GIL before importing the site
  module.
........

14 years agoBlocked revisions 78870 via svnmerge
Victor Stinner [Fri, 12 Mar 2010 14:31:06 +0000 (14:31 +0000)]
Blocked revisions 78870 via svnmerge

........
  r78870 | victor.stinner | 2010-03-12 15:30:26 +0100 (ven., 12 mars 2010) | 1 line

  NEWS: issue #7774 is related to Library (sys), not Core and Builtins
........

14 years agoOops, I loose the NEWS change in my previous backport (r78868) of r78835.
Victor Stinner [Fri, 12 Mar 2010 14:27:16 +0000 (14:27 +0000)]
Oops, I loose the NEWS change in my previous backport (r78868) of r78835.

14 years agoMerged revisions 78835-78837 via svnmerge from
Victor Stinner [Fri, 12 Mar 2010 14:20:59 +0000 (14:20 +0000)]
Merged revisions 78835-78837 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78835 | victor.stinner | 2010-03-11 13:34:39 +0100 (jeu., 11 mars 2010) | 7 lines

  Issue #7774: Set sys.executable to an empty string if argv[0] has been
  set to an non existent program name and Python is unable to retrieve the real
  program name.

  Fix also sysconfig: if sys.executable is an empty string, use the current
  working directory.
........
  r78836 | victor.stinner | 2010-03-11 14:27:35 +0100 (jeu., 11 mars 2010) | 4 lines

  Fix test_executable introduce in previous commit (r78835): Windows is able to
  retrieve the absolute Python path even if argv[0] has been set to a non
  existent program name.
........
  r78837 | victor.stinner | 2010-03-11 14:46:06 +0100 (jeu., 11 mars 2010) | 3 lines

  Another fix to test_executable() of test_sys: set the current working to avoid
  the #7774 bug.
........

14 years agoCommit merge properties (missing from r78862).
Georg Brandl [Fri, 12 Mar 2010 10:07:31 +0000 (10:07 +0000)]
Commit merge properties (missing from r78862).

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

........
  r78859 | georg.brandl | 2010-03-12 10:57:43 +0100 (Fr, 12 Mär 2010) | 1 line

  Get rid of backticks.
........
  r78860 | georg.brandl | 2010-03-12 11:02:03 +0100 (Fr, 12 Mär 2010) | 1 line

  Fix warnings from "make check".
........

14 years agoMerged revisions 78859-78860 via svnmerge from
Georg Brandl [Fri, 12 Mar 2010 10:06:40 +0000 (10:06 +0000)]
Merged revisions 78859-78860 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78859 | georg.brandl | 2010-03-12 10:57:43 +0100 (Fr, 12 Mär 2010) | 1 line

  Get rid of backticks.
........
  r78860 | georg.brandl | 2010-03-12 11:02:03 +0100 (Fr, 12 Mär 2010) | 1 line

  Fix warnings from "make check".
........

14 years agoMake tool compatible with 2.x and 3.x.
Georg Brandl [Fri, 12 Mar 2010 10:04:37 +0000 (10:04 +0000)]
Make tool compatible with 2.x and 3.x.

14 years agotake into account shebang line change
Benjamin Peterson [Thu, 11 Mar 2010 23:59:55 +0000 (23:59 +0000)]
take into account shebang line change

14 years agofix bootstrapping on machines with only 2.x installed
Benjamin Peterson [Thu, 11 Mar 2010 23:39:40 +0000 (23:39 +0000)]
fix bootstrapping on machines with only 2.x installed

14 years agoconvert shebang lines: python -> python3
Benjamin Peterson [Thu, 11 Mar 2010 22:53:45 +0000 (22:53 +0000)]
convert shebang lines: python -> python3

14 years agoMerged revisions 78847 via svnmerge from
Benjamin Peterson [Thu, 11 Mar 2010 22:40:40 +0000 (22:40 +0000)]
Merged revisions 78847 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78847 | benjamin.peterson | 2010-03-11 16:34:12 -0600 (Thu, 11 Mar 2010) | 1 line

  remove shebang line from non-executable test
........

14 years agoBlocked revisions 78846 via svnmerge
Benjamin Peterson [Thu, 11 Mar 2010 22:36:36 +0000 (22:36 +0000)]
Blocked revisions 78846 via svnmerge

........
  r78846 | benjamin.peterson | 2010-03-11 16:33:25 -0600 (Thu, 11 Mar 2010) | 1 line

  normalize shebang lines to #!/usr/bin/env python
........

14 years agoMerged revisions 78844 via svnmerge from
Benjamin Peterson [Thu, 11 Mar 2010 22:05:58 +0000 (22:05 +0000)]
Merged revisions 78844 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78844 | benjamin.peterson | 2010-03-11 16:03:45 -0600 (Thu, 11 Mar 2010) | 1 line

  revert r78842 cgi.py change
........

14 years agoMerged revisions 78841-78842 via svnmerge from
Benjamin Peterson [Thu, 11 Mar 2010 21:55:56 +0000 (21:55 +0000)]
Merged revisions 78841-78842 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78841 | benjamin.peterson | 2010-03-11 15:50:45 -0600 (Thu, 11 Mar 2010) | 1 line

  remove executable property from doc files
........
  r78842 | benjamin.peterson | 2010-03-11 15:53:25 -0600 (Thu, 11 Mar 2010) | 1 line

  use proper shebang lines
........

14 years agoMerged revisions 78833 via svnmerge from
Florent Xicluna [Thu, 11 Mar 2010 01:53:10 +0000 (01:53 +0000)]
Merged revisions 78833 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78833 | florent.xicluna | 2010-03-11 02:50:48 +0100 (jeu, 11 mar 2010) | 2 lines

  Revert r78830: realpath() should really be applied to sys.executable.
........

14 years agoMerged revisions 78830 via svnmerge from
Florent Xicluna [Thu, 11 Mar 2010 01:00:26 +0000 (01:00 +0000)]
Merged revisions 78830 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78830 | florent.xicluna | 2010-03-11 01:56:59 +0100 (jeu, 11 mar 2010) | 3 lines

  Fix the test_subprocess failure when sys.executable is meaningless: '' or a directory.
  It does not fix #7774.
........