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

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

........
  r78828 | florent.xicluna | 2010-03-11 00:58:42 +0100 (jeu, 11 mar 2010) | 2 lines

  Issue #7880: Fix sysconfig when the python executable is a symbolic link.
........

14 years agoMerged revisions 78819 via svnmerge from
Benjamin Peterson [Tue, 9 Mar 2010 21:49:52 +0000 (21:49 +0000)]
Merged revisions 78819 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78819 | benjamin.peterson | 2010-03-09 15:46:54 -0600 (Tue, 09 Mar 2010) | 1 line

  fix ugly configure output (follow up to #6943)
........

14 years agoMerged revisions 78817 via svnmerge from
Benjamin Peterson [Tue, 9 Mar 2010 21:46:49 +0000 (21:46 +0000)]
Merged revisions 78817 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78817 | benjamin.peterson | 2010-03-09 15:43:36 -0600 (Tue, 09 Mar 2010) | 1 line

  handle an empty OPT variable correctly #8100
........

14 years agoBugfix for the fix for issue 8067
Ronald Oussoren [Tue, 9 Mar 2010 06:40:19 +0000 (06:40 +0000)]
Bugfix for the fix for issue 8067

14 years agoMerged revisions 78806 via svnmerge from
Benjamin Peterson [Mon, 8 Mar 2010 22:17:58 +0000 (22:17 +0000)]
Merged revisions 78806 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78806 | benjamin.peterson | 2010-03-08 16:15:11 -0600 (Mon, 08 Mar 2010) | 1 line

  set svn:eol-style on various files
........

14 years agoMerged revisions 78416,78430 via svnmerge from
R. David Murray [Mon, 8 Mar 2010 17:48:38 +0000 (17:48 +0000)]
Merged revisions 78416,78430 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78416 | dirkjan.ochtman | 2010-02-23 23:12:11 -0500 (Tue, 23 Feb 2010) | 1 line

  Issue #8004: add a serve target to the Doc Makefile.
........
  r78430 | dirkjan.ochtman | 2010-02-24 12:06:31 -0500 (Wed, 24 Feb 2010) | 1 line

  Add some notes about Tools/scripts/serve.py.
........

14 years agoBlocked revisions 78558 via svnmerge
R. David Murray [Mon, 8 Mar 2010 17:16:58 +0000 (17:16 +0000)]
Blocked revisions 78558 via svnmerge

........
  r78558 | r.david.murray | 2010-03-01 14:14:16 -0500 (Mon, 01 Mar 2010) | 6 lines

  Issue 3892 again.  The bsddb3 replication test still fails randomly.
  Since this module is unmaintained in the library and gone in py3k,
  this patch skips the remainder of the replication test if a
  second timeout occurs, as it randomly does.  This should improve buildbot
  stability.
........

14 years agoBackport the tests only.
Florent Xicluna [Mon, 8 Mar 2010 15:34:35 +0000 (15:34 +0000)]
Backport the tests only.

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

........
  r78800 | florent.xicluna | 2010-03-08 16:20:28 +0100 (lun, 08 mar 2010) | 2 lines

  #7624: Fix isinstance(foo(), collections.Callable) for old-style classes.
........

14 years agoFix ntpath abspath to deal with bytes.
Florent Xicluna [Mon, 8 Mar 2010 14:44:41 +0000 (14:44 +0000)]
Fix ntpath abspath to deal with bytes.

14 years agoMerged revisions 78777,78787,78790 via svnmerge from
Florent Xicluna [Mon, 8 Mar 2010 13:32:17 +0000 (13:32 +0000)]
Merged revisions 78777,78787,78790 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78777 | florent.xicluna | 2010-03-08 00:49:03 +0100 (lun, 08 mar 2010) | 4 lines

  Backport the Popen.poll() protection from subprocess to multiprocessing. See #1731717.
  It should fix transient failures on test_multiprocessing.
........
  r78787 | florent.xicluna | 2010-03-08 08:21:16 +0100 (lun, 08 mar 2010) | 2 lines

  Don't fail on a debug() statement, if the worker PID is (still) None.
........
  r78790 | florent.xicluna | 2010-03-08 12:01:39 +0100 (lun, 08 mar 2010) | 2 lines

  On finalize, don't try to join not started process.
........

14 years agoMerged revisions 78736,78759,78761,78767,78788-78789 via svnmerge from
Florent Xicluna [Mon, 8 Mar 2010 13:27:26 +0000 (13:27 +0000)]
Merged revisions 78736,78759,78761,78767,78788-78789 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78736 | florent.xicluna | 2010-03-06 20:43:41 +0100 (sam, 06 mar 2010) | 2 lines

  Skip test_send_signal, test_kill, test_terminate on win32 platforms, for 2.7a4 release.
........
  r78759 | florent.xicluna | 2010-03-07 13:21:36 +0100 (dim, 07 mar 2010) | 2 lines

  #2777: Enable test_send_signal, test_terminate and test_kill on win32 platforms.
........
  r78761 | florent.xicluna | 2010-03-07 16:27:39 +0100 (dim, 07 mar 2010) | 4 lines

  Do not fail if returncode is 0 on send_signal/kill/terminate, for win32 platforms.
  Do not hide the KeyboardInterrupt on POSIX platforms.
........
  r78767 | florent.xicluna | 2010-03-07 18:12:23 +0100 (dim, 07 mar 2010) | 2 lines

  #2777: Try hard to make Win7 buildbot happy...
........
  r78788 | florent.xicluna | 2010-03-08 11:58:12 +0100 (lun, 08 mar 2010) | 2 lines

  Fix syntax: "rc != None" -> "rc is not None"
........
  r78789 | florent.xicluna | 2010-03-08 11:59:33 +0100 (lun, 08 mar 2010) | 2 lines

  Replace the stderr logging with assertNotEqual(returncode, 0).
........

14 years agoFix string-> bytes conversion on backport from 2.x.
Florent Xicluna [Mon, 8 Mar 2010 12:47:44 +0000 (12:47 +0000)]
Fix string-> bytes conversion on backport from 2.x.

14 years agoMerge other tests from test_*path.py into test_genericpath.CommonTest, and do some...
Florent Xicluna [Mon, 8 Mar 2010 12:42:20 +0000 (12:42 +0000)]
Merge other tests from test_*path.py into test_genericpath.CommonTest, and do some cleanup.

14 years agoFix macpath to deal with bytes
Florent Xicluna [Mon, 8 Mar 2010 12:25:35 +0000 (12:25 +0000)]
Fix macpath to deal with bytes

14 years agoMerged revisions 78734-78735 via svnmerge from
Florent Xicluna [Mon, 8 Mar 2010 12:24:53 +0000 (12:24 +0000)]
Merged revisions 78734-78735 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78734 | florent.xicluna | 2010-03-06 19:07:18 +0100 (sam, 06 mar 2010) | 2 lines

  Create test_genericpath.CommonTest and reuse it to test other path modules.
........
  r78735 | florent.xicluna | 2010-03-06 19:52:52 +0100 (sam, 06 mar 2010) | 2 lines

  Minor tweaking of previous r78734, and add a NEWS entry.
........

14 years agoMerged revisions 78784 via svnmerge from
Ronald Oussoren [Mon, 8 Mar 2010 07:09:59 +0000 (07:09 +0000)]
Merged revisions 78784 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78784 | ronald.oussoren | 2010-03-08 08:06:47 +0100 (Mon, 08 Mar 2010) | 3 lines

  Fix for issue 8066: readline should not be linked against libedit when the
  deployment target is 10.4, libedit on 10.4 is too broken.
........

14 years agoFix for issue 8067
Ronald Oussoren [Mon, 8 Mar 2010 07:02:03 +0000 (07:02 +0000)]
Fix for issue 8067

14 years agobdecode was already gone in email 5. This merge adds the test from
R. David Murray [Mon, 8 Mar 2010 02:17:03 +0000 (02:17 +0000)]
bdecode was already gone in email 5.  This merge adds the test from
the trunk patch, and removes the last trace of bdecode, which was
a commented out call in message.py.

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

........
  r78778 | r.david.murray | 2010-03-07 21:04:06 -0500 (Sun, 07 Mar 2010) | 9 lines

  Issue #7143: get_payload used to strip any trailing newline from a
  base64 transfer-encoded payload *after* decoding it; it no longer does.
  email had a special method in utils, _bdecode, specifically to do this,
  so it must have served a purpose at some point, yet it is clearly wrong
  per RFC.  Fixed with Barry's approval, but no backport.  Email package
  minor version number is bumped, now version 4.0.1.

  Patch by Joaquin Cuenca Abela.
........

14 years agoprevent generator finalization from invalidating sys.exc_info() #7173
Benjamin Peterson [Sun, 7 Mar 2010 17:10:51 +0000 (17:10 +0000)]
prevent generator finalization from invalidating sys.exc_info() #7173

14 years agoBlocked revisions 78764 via svnmerge
Mark Dickinson [Sun, 7 Mar 2010 17:10:42 +0000 (17:10 +0000)]
Blocked revisions 78764 via svnmerge

........
  r78764 | mark.dickinson | 2010-03-07 17:10:19 +0000 (Sun, 07 Mar 2010) | 1 line

  Silence compiler warning.
........

14 years agoBlocked revisions 78762 via svnmerge
Mark Dickinson [Sun, 7 Mar 2010 16:25:25 +0000 (16:25 +0000)]
Blocked revisions 78762 via svnmerge

........
  r78762 | mark.dickinson | 2010-03-07 16:24:45 +0000 (Sun, 07 Mar 2010) | 8 lines

  Issue #1530559: When packing a non-integer with any integer conversion
  code using struct.pack, attempt to convert to an integer first using
  the argument's __int__ method (if present).  Also raise a
  DeprecationWarning for any such usage of __int__.

  This fixes a regression from 2.6, where some (but not all) integer
  conversion codes already used __int__.
........

14 years agoMerged revisions 78755 via svnmerge from
Ronald Oussoren [Sun, 7 Mar 2010 09:14:06 +0000 (09:14 +0000)]
Merged revisions 78755 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78755 | ronald.oussoren | 2010-03-07 10:04:06 +0100 (Sun, 07 Mar 2010) | 3 lines

  Fix for issue #7998: pythonw didn't work when --with-framework-name was
  specified
........

14 years agoReverting the changes made in r78433.
Senthil Kumaran [Sun, 7 Mar 2010 04:12:02 +0000 (04:12 +0000)]
Reverting the changes made in r78433.

14 years agoBlocked revisions 78749 via svnmerge
Benjamin Peterson [Sun, 7 Mar 2010 00:35:13 +0000 (00:35 +0000)]
Blocked revisions 78749 via svnmerge

........
  r78749 | benjamin.peterson | 2010-03-06 18:29:44 -0600 (Sat, 06 Mar 2010) | 1 line

  eliminate py3k warnings in argparse
........

14 years agoBlocked revisions 78746 via svnmerge
Benjamin Peterson [Sun, 7 Mar 2010 00:03:46 +0000 (00:03 +0000)]
Blocked revisions 78746 via svnmerge

........
  r78746 | benjamin.peterson | 2010-03-06 18:00:37 -0600 (Sat, 06 Mar 2010) | 1 line

  more specific exception for wrong kind of raise #8082
........

14 years agoBlocked revisions 78738,78743 via svnmerge
Benjamin Peterson [Sat, 6 Mar 2010 22:49:30 +0000 (22:49 +0000)]
Blocked revisions 78738,78743 via svnmerge

........
  r78738 | benjamin.peterson | 2010-03-06 14:34:14 -0600 (Sat, 06 Mar 2010) | 1 line

  bump version to 2.7a4
........
  r78743 | benjamin.peterson | 2010-03-06 16:44:07 -0600 (Sat, 06 Mar 2010) | 1 line

  post release update
........

14 years agoMerged revisions 78718 via svnmerge from
Benjamin Peterson [Sat, 6 Mar 2010 20:34:24 +0000 (20:34 +0000)]
Merged revisions 78718 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78718 | gregory.p.smith | 2010-03-06 01:35:19 -0600 (Sat, 06 Mar 2010) | 3 lines

  Call setreuid and setregid in a subprocess to avoid altering the test runner's
  process state.  Should fix issue8045.
........

14 years agoMerged revisions 78732 via svnmerge from
Florent Xicluna [Sat, 6 Mar 2010 17:34:48 +0000 (17:34 +0000)]
Merged revisions 78732 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78732 | florent.xicluna | 2010-03-06 18:24:36 +0100 (sam, 06 mar 2010) | 2 lines

  Do not print the header lines when running a single test.
........

14 years ago#6509: fix re.sub to work properly when the pattern, the string, and the replacement...
Ezio Melotti [Sat, 6 Mar 2010 15:24:08 +0000 (15:24 +0000)]
#6509: fix re.sub to work properly when the pattern, the string, and the replacement were all bytes. Patch by Antoine Pitrou.

14 years agoFix TypeError on usage() when using regrtest switches which are not compatible.
Florent Xicluna [Sat, 6 Mar 2010 14:43:34 +0000 (14:43 +0000)]
Fix TypeError on usage() when using regrtest switches which are not compatible.

14 years agoFix test_pydoc when sys.modules["test"] is first imported using importlib.import_module.
Florent Xicluna [Sat, 6 Mar 2010 14:04:16 +0000 (14:04 +0000)]
Fix test_pydoc when sys.modules["test"] is first imported using importlib.import_module.

14 years agoMerged revisions 78721 via svnmerge from
Florent Xicluna [Sat, 6 Mar 2010 11:52:51 +0000 (11:52 +0000)]
Merged revisions 78721 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78721 | florent.xicluna | 2010-03-06 10:54:14 +0100 (sam, 06 mar 2010) | 2 lines

  #2777: Apply same recipe on win32, i.e. do not inherit file handles.
........

14 years agoMerged revisions 78719-78720 via svnmerge from
Florent Xicluna [Sat, 6 Mar 2010 11:43:55 +0000 (11:43 +0000)]
Merged revisions 78719-78720 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78719 | florent.xicluna | 2010-03-06 09:07:44 +0100 (sam, 06 mar 2010) | 3 lines

  Keep the test files in the ./build/ subdirectory, if Python is not installed.
  Remove two hacks which are no longer needed after #7712, because all __file__ attributes are absolute.
........
  r78720 | florent.xicluna | 2010-03-06 10:11:55 +0100 (sam, 06 mar 2010) | 2 lines

  Print platform information to stdout, to help troubleshooting platform-specific failures.
........

14 years agoBlocked revisions 78706,78710 via svnmerge
Tarek Ziadé [Sat, 6 Mar 2010 02:30:14 +0000 (02:30 +0000)]
Blocked revisions 78706,78710 via svnmerge

........
  r78706 | tarek.ziade | 2010-03-06 02:04:14 +0100 (Sat, 06 Mar 2010) | 1 line

  copied back the build_ext tests from 2.6
........
  r78710 | tarek.ziade | 2010-03-06 02:27:09 +0100 (Sat, 06 Mar 2010) | 1 line

  files used by win32 tests
........

14 years agoThe test was failing because the curdir was missing from sys.path. This should fix...
Ezio Melotti [Sat, 6 Mar 2010 01:50:25 +0000 (01:50 +0000)]
The test was failing because the curdir was missing from sys.path. This should fix the problem.

14 years agoCleanup and minor fixes.
Ezio Melotti [Sat, 6 Mar 2010 01:20:49 +0000 (01:20 +0000)]
Cleanup and minor fixes.

14 years agoMerged revisions 78704 via svnmerge from
Florent Xicluna [Sat, 6 Mar 2010 00:19:38 +0000 (00:19 +0000)]
Merged revisions 78704 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78704 | florent.xicluna | 2010-03-06 01:16:57 +0100 (sam, 06 mar 2010) | 2 lines

  #2777: Apply same recipe for test_terminate and test_kill, i.e. close or redirect fds.
........

14 years agoMerged revisions 78701 via svnmerge from
Florent Xicluna [Fri, 5 Mar 2010 20:26:54 +0000 (20:26 +0000)]
Merged revisions 78701 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78701 | florent.xicluna | 2010-03-05 20:31:21 +0100 (ven, 05 mar 2010) | 2 lines

  #2777: Handle fds more carefully to try to fix some x86-Linux failures (namely, neal bot and twisted bot).
........

14 years agoMerged new pysqlite version 2.6.0 from trunk.
Gerhard Häring [Fri, 5 Mar 2010 15:20:03 +0000 (15:20 +0000)]
Merged new pysqlite version 2.6.0 from trunk.

14 years agosys.getdefaultencoding() can return None.
Ezio Melotti [Fri, 5 Mar 2010 15:17:26 +0000 (15:17 +0000)]
sys.getdefaultencoding() can return None.

14 years agor78689 enabled the test on more platforms but the buildbot did not like it. Using...
Ezio Melotti [Fri, 5 Mar 2010 15:08:19 +0000 (15:08 +0000)]
r78689 enabled the test on more platforms but the buildbot did not like it. Using the filesystem encoding might work better. Also see #5604.

14 years agoBlocked revisions 78694 via svnmerge
Mark Dickinson [Fri, 5 Mar 2010 14:50:47 +0000 (14:50 +0000)]
Blocked revisions 78694 via svnmerge

........
  r78694 | mark.dickinson | 2010-03-05 14:50:22 +0000 (Fri, 05 Mar 2010) | 1 line

  Remove the redundant #define: PY_STRUCT_FLOAT_COERCE
........

14 years agoRemove unused imports & clean up sys imports in test_struct.
Mark Dickinson [Fri, 5 Mar 2010 14:44:08 +0000 (14:44 +0000)]
Remove unused imports & clean up sys imports in test_struct.

14 years agoBlocked revisions 78690 via svnmerge
Mark Dickinson [Fri, 5 Mar 2010 14:41:33 +0000 (14:41 +0000)]
Blocked revisions 78690 via svnmerge

........
  r78690 | mark.dickinson | 2010-03-05 14:36:20 +0000 (Fri, 05 Mar 2010) | 3 lines

  Fix incorrect stacklevel for DeprecationWarnings originating from the struct module.
  Also clean up related tests in test_struct.
  The stacklevel fix should be backported to 2.6 once that branch is unfrozen.
........

14 years agoThis fixes a missing .lower() on the encoding name, a wrong byte undecodable by UTF...
Ezio Melotti [Fri, 5 Mar 2010 12:43:17 +0000 (12:43 +0000)]
This fixes a missing .lower() on the encoding name, a wrong byte undecodable by UTF-8, a wrong variable name, hopefully some windows buildbot on 3.x and adds a proper skip. It might break other things though.

14 years agoMerged revisions 78678,78680,78682 via svnmerge from
Benjamin Peterson [Fri, 5 Mar 2010 03:33:11 +0000 (03:33 +0000)]
Merged revisions 78678,78680,78682 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78678 | benjamin.peterson | 2010-03-04 21:07:59 -0600 (Thu, 04 Mar 2010) | 1 line

  set svn:eol-style
........
  r78680 | benjamin.peterson | 2010-03-04 21:15:07 -0600 (Thu, 04 Mar 2010) | 1 line

  set svn:eol-style on Lib files
........
  r78682 | benjamin.peterson | 2010-03-04 21:20:06 -0600 (Thu, 04 Mar 2010) | 1 line

  remove the svn:executable property from files that don't have shebang lines
........

14 years agoMerged revisions 78683 via svnmerge from
Benjamin Peterson [Fri, 5 Mar 2010 03:27:12 +0000 (03:27 +0000)]
Merged revisions 78683 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

................
  r78683 | benjamin.peterson | 2010-03-04 21:24:17 -0600 (Thu, 04 Mar 2010) | 13 lines

  Merged revisions 78679,78681 via svnmerge from
  svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

  ........
    r78679 | benjamin.peterson | 2010-03-04 21:10:46 -0600 (Thu, 04 Mar 2010) | 1 line

    set svn:eol-style
  ........
    r78681 | benjamin.peterson | 2010-03-04 21:19:06 -0600 (Thu, 04 Mar 2010) | 1 line

    remove svn:executable property
  ........
................

14 years agoMerged revisions 78673 via svnmerge from
Florent Xicluna [Fri, 5 Mar 2010 01:18:04 +0000 (01:18 +0000)]
Merged revisions 78673 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78673 | florent.xicluna | 2010-03-05 02:05:55 +0100 (ven, 05 mar 2010) | 2 lines

  Let's use assertIsNone / assertIsNotNone. It's hype.
........

14 years agoRemove some debug line...
Florent Xicluna [Fri, 5 Mar 2010 01:07:40 +0000 (01:07 +0000)]
Remove some debug line...

14 years agoMerged revisions 78671 via svnmerge from
Florent Xicluna [Fri, 5 Mar 2010 00:52:00 +0000 (00:52 +0000)]
Merged revisions 78671 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78671 | florent.xicluna | 2010-03-05 01:47:40 +0100 (ven, 05 mar 2010) | 3 lines

  Workaround #3137: Retry SIGINT if it is not received the first time.
  test_send_signal should not hang anymore on various Linux distributions.
........

14 years agoBlocked revisions 78666-78667 via svnmerge
Tarek Ziadé [Fri, 5 Mar 2010 00:36:02 +0000 (00:36 +0000)]
Blocked revisions 78666-78667 via svnmerge

........
  r78666 | tarek.ziade | 2010-03-05 01:16:02 +0100 (Fri, 05 Mar 2010) | 1 line

  reverting partially distutils to its 2.6.x state so 2.7a4 looks more like the 2.7b1 in this. the whole revert will occur after a4 is tagged
........
  r78667 | tarek.ziade | 2010-03-05 01:29:38 +0100 (Fri, 05 Mar 2010) | 1 line

  reverted the usage of compiler_obj in Python's setup.py
........

14 years agoIssue #3299: replace PyObject_DEL() by Py_DECREF() in _sre module to fix a
Victor Stinner [Thu, 4 Mar 2010 21:59:53 +0000 (21:59 +0000)]
Issue #3299: replace PyObject_DEL() by Py_DECREF() in _sre module to fix a
crash in pydebug mode.

14 years agoMerged revisions 78661-78662 via svnmerge from
Florent Xicluna [Thu, 4 Mar 2010 21:50:56 +0000 (21:50 +0000)]
Merged revisions 78661-78662 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78661 | florent.xicluna | 2010-03-04 20:40:48 +0100 (jeu, 04 mar 2010) | 2 lines

  Cleanup.
........
  r78662 | florent.xicluna | 2010-03-04 22:31:58 +0100 (jeu, 04 mar 2010) | 2 lines

  #2777: Enable test_send_signal, test_kill and test_terminate on all platforms.
........

And fix an oversight of changeset 78510.

14 years agoMerged revisions 78656 via svnmerge from
R. David Murray [Thu, 4 Mar 2010 17:38:18 +0000 (17:38 +0000)]
Merged revisions 78656 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78656 | r.david.murray | 2010-03-04 12:34:05 -0500 (Thu, 04 Mar 2010) | 3 lines

  Fix documentation of email.Message.get_filename to match
  the fix applied in Issue 7082.
........

14 years agoMissing part from r78654
Florent Xicluna [Thu, 4 Mar 2010 16:10:55 +0000 (16:10 +0000)]
Missing part from r78654