Commit Graph

14223 Commits

Author SHA1 Message Date
Mark Dickinson 23beb84e84 Merged revisions 76182 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76182 | mark.dickinson | 2009-11-09 19:54:51 +0000 (Mon, 09 Nov 2009) | 1 line

  Add extra information to a test_signal failure message to aid diagnosis of buildbot failure.
........
2009-11-09 19:59:08 +00:00
Mark Dickinson f263724ea0 Issue #7070: Fix problem with builtin round function for large odd
integer arguments.  Also fixes the sign of round(-0.0).
2009-11-09 17:45:40 +00:00
Antoine Pitrou c747d3a5d2 Merged revisions 76137,76172 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76137 | antoine.pitrou | 2009-11-06 23:34:35 +0100 (ven., 06 nov. 2009) | 4 lines

  Issue #7270: Add some dedicated unit tests for multi-thread synchronization
  primitives such as Lock, RLock, Condition, Event and Semaphore.
........
  r76172 | antoine.pitrou | 2009-11-09 17:00:11 +0100 (lun., 09 nov. 2009) | 5 lines

  Issue #7282: Fix a memory leak when an RLock was used in a thread other
  than those started through `threading.Thread` (for example, using
  `thread.start_new_thread()`.
........
2009-11-09 16:47:50 +00:00
Eric Smith f4b581ed25 Merged revisions 76168 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76168 | eric.smith | 2009-11-09 10:16:23 -0500 (Mon, 09 Nov 2009) | 1 line

  Issue 7294: Fixed URL in a comment.
........
2009-11-09 15:20:16 +00:00
Antoine Pitrou e319983637 Merged revisions 76148 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76148 | antoine.pitrou | 2009-11-08 01:24:12 +0100 (dim., 08 nov. 2009) | 4 lines

  Kill a small potential leak in test_threading.
  The leak may not manifest itself if the OS re-uses the same thread ids
  (I suppose Neal's machine doesn't :-))
........
2009-11-08 00:36:33 +00:00
R. David Murray 0f44dad5ed Merged revisions 76116 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76116 | r.david.murray | 2009-11-04 20:50:56 -0500 (Wed, 04 Nov 2009) | 3 lines

  Increase the timeout in the bsddb3 replication test to allow
  the test time to complete on slow buildbots.  See issue 6462.
........
2009-11-05 14:08:06 +00:00
Antoine Pitrou 4fb961cf3e Merged revisions 76117 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76117 | antoine.pitrou | 2009-11-05 14:42:29 +0100 (jeu., 05 nov. 2009) | 5 lines

  Issue #7264: Fix a possible deadlock when deallocating thread-local objects
  which are part of a reference cycle.
........
2009-11-05 13:44:28 +00:00
Antoine Pitrou 35465af487 Merged revisions 76101 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76101 | antoine.pitrou | 2009-11-04 01:50:26 +0100 (mer., 04 nov. 2009) | 3 lines

  Make test_shutil clean up after itself
........
2009-11-04 00:55:26 +00:00
R. David Murray 0ae237bb45 Fix backport of test_curses test skip. 2009-11-03 22:47:06 +00:00
Antoine Pitrou 6d332bedc8 Merged revisions 76086 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76086 | antoine.pitrou | 2009-11-03 17:41:20 +0100 (mar., 03 nov. 2009) | 3 lines

  Try to make test_wsgiref less fragile against environment changes by other tests
........
2009-11-03 16:43:03 +00:00
R. David Murray 24b19992d2 It turns out test_curses can fail in a 2.6 buildbot because stdout is not
a tty in certain cases.

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

........
  r75518 | r.david.murray | 2009-10-19 12:01:28 -0400 (Mon, 19 Oct 2009) | 3 lines

  Only run test_curses when sys.__stdout__ is a tty.  This eliminates the
  last false positive when running regrtest with -j.
........
2009-11-03 14:31:53 +00:00
Antoine Pitrou 7f4f8c3ff1 Try to fix test_wsgiref failures due to test_httpservers modifying the environment 2009-11-02 22:04:54 +00:00
Antoine Pitrou f226ac8a72 Issue #7249: Methods of io.BytesIO now allow `long` as well as `int` arguments.
Merged revisions 76071 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76071 | antoine.pitrou | 2009-11-02 21:47:33 +0100 (lun., 02 nov. 2009) | 4 lines

  Add acceptance of long ints to test_memoryio.py
  (in preparation for fix of #7249 in 2.6)
........
2009-11-02 21:03:53 +00:00
Neil Schemenauer b29642f129 Fix broken test in test_hotshot. Treating the current directory as an
empty file is sloppy and non-portable.  Use NamedTemporaryFile to make
an empty file.
2009-11-02 00:59:52 +00:00
Tarek Ziadé 1d520c1921 Merged revisions 76042 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76042 | tarek.ziade | 2009-11-01 23:33:45 +0100 (Sun, 01 Nov 2009) | 1 line

  fixed stdout alteration in test_distutils
........
2009-11-01 23:17:51 +00:00
Tarek Ziadé d6cfb8e0f8 reapplied r74493 (after #6665 fix has been backported) 2009-11-01 23:04:26 +00:00
Antoine Pitrou 07728e9b46 Merged revisions 76037 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76037 | antoine.pitrou | 2009-11-01 23:02:03 +0100 (dim., 01 nov. 2009) | 3 lines

  Use a custom timeout in test_support.open_urlresource.
........
2009-11-01 22:06:59 +00:00
Antoine Pitrou 1ccb66a5bd Merged revisions 76033 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76033 | antoine.pitrou | 2009-11-01 22:26:14 +0100 (dim., 01 nov. 2009) | 3 lines

  test_normalization should skip and not crash when the resource isn't available
........
2009-11-01 21:34:42 +00:00
Gregory P. Smith 5662924453 Merged revisions 74475 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74475 | gregory.p.smith | 2009-08-16 11:52:58 -0700 (Sun, 16 Aug 2009) | 2 lines

  Issue 6665: Fix fnmatch to properly match filenames with newlines in them.
........
2009-11-01 20:33:31 +00:00
Gregory P. Smith 63e64add92 Merged revisions 69519 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69519 | gregory.p.smith | 2009-02-11 15:45:25 -0800 (Wed, 11 Feb 2009) | 3 lines

  Issue #1008086: Fixes socket.inet_aton() to always return 4 bytes even
  on LP64 platforms (most 64-bit Linux, bsd, unix systems).
........
2009-11-01 20:28:48 +00:00
Raymond Hettinger 4da5faae21 Issue 7244: Fix indentation in C code. Fix test to not sent output to stdout. 2009-11-01 18:43:31 +00:00
Gregory P. Smith 6da85f947f Merged revisions 76000 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76000 | gregory.p.smith | 2009-10-31 14:26:08 -0700 (Sat, 31 Oct 2009) | 7 lines

  Fixes issue7208 - getpass would still allow the password to be echoed on
  Solaris due to not flushing the input buffer.

  This change also incorporates some additional getpass implementation
  suggestions for security based on an analysis of getpass.c linked to from the
  issue.
........
2009-11-01 18:31:13 +00:00
Antoine Pitrou f44aa34cee (neither to 2.6)
Merged revisions 76012 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76012 | antoine.pitrou | 2009-11-01 17:10:47 +0100 (dim., 01 nov. 2009) | 3 lines

  Hum, test skipping when the URL isn't reachable hadn't been applied to trunk.
........
2009-11-01 16:17:06 +00:00
Raymond Hettinger 80d49b33b1 Issue 7244: fix exception handling in itertools.izip_longest(). 2009-11-01 08:53:21 +00:00
Mark Dickinson 265035e1e5 Merged revisions 75986 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75986 | mark.dickinson | 2009-10-31 10:36:06 +0000 (Sat, 31 Oct 2009) | 2 lines

  Issue #7042:  Use a better mechanism for testing timers in test_signal.
........
2009-10-31 10:37:15 +00:00
Mark Dickinson d8a2e2b794 Merged revisions 75943-75945 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75943 | mark.dickinson | 2009-10-29 11:09:09 +0000 (Thu, 29 Oct 2009) | 1 line

  Fix duplicate test numbers in extra.decTest
........
  r75944 | mark.dickinson | 2009-10-29 12:04:00 +0000 (Thu, 29 Oct 2009) | 3 lines

  Issue #7233:  A number of two-argument Decimal methods were failing to
  accept ints and longs for the second argument.
........
  r75945 | mark.dickinson | 2009-10-29 12:11:18 +0000 (Thu, 29 Oct 2009) | 4 lines

  Issue #7233:  Fix Decimal.shift and Decimal.rotate methods for
  arguments with more digits than the current context precision.
  Bug reported by Stefan Krah.
........
2009-10-29 12:16:15 +00:00
Benjamin Peterson c717aec772 Merged revisions 75931 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75931 | benjamin.peterson | 2009-10-28 20:49:07 -0500 (Wed, 28 Oct 2009) | 5 lines

  do a backport of r75928

  The added test does not fail without the patch, but we still fix the issue of
  surrogates being used in wide builds where they should not be.
........
2009-10-29 02:02:47 +00:00
Benjamin Peterson e7228d3e01 remove binary mimetype 2009-10-29 01:57:08 +00:00
R. David Murray 757cebc41b Merged revisions 75920 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75920 | r.david.murray | 2009-10-28 10:03:43 -0400 (Wed, 28 Oct 2009) | 2 lines

  Remove variable that is no longer used.
........
2009-10-28 14:05:34 +00:00
R. David Murray 9e28ca707b Merged revisions 75528 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75528 | r.david.murray | 2009-10-19 13:53:58 -0400 (Mon, 19 Oct 2009) | 4 lines

  Clarify error report message, and don't recommend running in verbose
  mode for more information if we are already running in verbose mode.
........
2009-10-28 02:22:08 +00:00
R. David Murray 48daba677d Merged revisions 75524 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75524 | r.david.murray | 2009-10-19 12:28:24 -0400 (Mon, 19 Oct 2009) | 6 lines

  Eliminate warning message that looks like an error message.  When it was
  added not finding Lib/test in the path indicated something was wrong,
  but when running regtest using "python -m" Lib/test isn't typically in
  the path, so this message is now more disturbing than it is helpful.
........
2009-10-28 01:49:02 +00:00
R. David Murray 7034db3306 Merged revisions 75301 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75301 | r.david.murray | 2009-10-09 17:50:54 -0400 (Fri, 09 Oct 2009) | 5 lines

  Issue #7082: When falling back to the MIME 'name' parameter, the
  correct place to look for it is the Content-Type header.

  Patch by Darren Worrall.
........
2009-10-27 23:39:06 +00:00
Georg Brandl 23016276b6 Merged revisions 75887 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75887 | georg.brandl | 2009-10-27 23:56:09 +0100 (Di, 27 Okt 2009) | 1 line

  Make sure every run of test_intern() interns a new string, otherwise that test fails e.g. when some other test in test_builtin fails and it is rerun in verbose mode.
........
2009-10-27 22:57:25 +00:00
Mark Dickinson 20a7cfcaa1 Merged revisions 75561 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75561 | mark.dickinson | 2009-10-20 14:33:03 +0100 (Tue, 20 Oct 2009) | 3 lines

  Issue #7099: Decimal.is_normal should return True for all nonzero
  finite non-subnormal values, even those with exponent > Emax.
........
2009-10-27 18:27:53 +00:00
Antoine Pitrou f3a0ff61e0 Merged revisions 75818 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75818 | antoine.pitrou | 2009-10-27 18:41:58 +0100 (mar., 27 oct. 2009) | 3 lines

  Issue #7205: Fix a possible deadlock when using a BZ2File object from several threads at once.
........
2009-10-27 17:46:09 +00:00
Mark Dickinson 25567ef13b Merged revisions 75286 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75286 | mark.dickinson | 2009-10-08 17:28:39 +0100 (Thu, 08 Oct 2009) | 2 lines

  Update decimal test data to the most recent set from Mike Cowlishaw.
........
2009-10-27 17:02:46 +00:00
Mark Dickinson 9b12553a87 Merged revisions 75283 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75283 | mark.dickinson | 2009-10-08 16:54:10 +0100 (Thu, 08 Oct 2009) | 4 lines

  Issue #7078:  _struct.__doc__ was being ignored.  Import it into struct.
  Also add description of '?' struct format character.  Thanks Gabriel
  Genellina for the patch.
........
2009-10-27 17:00:03 +00:00
Mark Dickinson 5e672d0ed6 Merged revisions 75275 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75275 | mark.dickinson | 2009-10-07 20:22:05 +0100 (Wed, 07 Oct 2009) | 6 lines

  Issue #7048: logb should round its result when that result doesn't fit
  into the available precision.  (Tests for this change are included in
  the most recent set of testcases from the Decimal Specification site;
  those testcases will be updated shortly.)
........
2009-10-27 16:54:45 +00:00
Georg Brandl f004d9dc84 Merged revisions 73206,73232,73299,73683,74020,74185,74544,74643,74647,74817,74838-74839,74865,74946,75402,75459,75604,75696 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73206 | georg.brandl | 2009-06-04 11:15:12 +0200 (Do, 04 Jun 2009) | 1 line

  #3584: ignore trailing newlines when placing the caret for a SyntaxError location.
........
  r73232 | georg.brandl | 2009-06-04 20:59:58 +0200 (Do, 04 Jun 2009) | 1 line

  Add test for #3684.
........
  r73299 | georg.brandl | 2009-06-08 20:41:36 +0200 (Mo, 08 Jun 2009) | 1 line

  Typo fix.
........
  r73683 | georg.brandl | 2009-06-29 16:44:49 +0200 (Mo, 29 Jun 2009) | 1 line

  Fix error handling in PyCode_Optimize, by Alexander Schremmer at EuroPython sprint.
........
  r74020 | georg.brandl | 2009-07-16 09:18:07 +0200 (Do, 16 Jul 2009) | 1 line

  #5910: fix kqueue for calls with more than one event.
........
  r74185 | georg.brandl | 2009-07-23 11:17:09 +0200 (Do, 23 Jul 2009) | 1 line

  Fix the "pylocals" gdb command.
........
  r74544 | georg.brandl | 2009-08-24 19:12:30 +0200 (Mo, 24 Aug 2009) | 1 line

  #6775: fix python.org URLs in README.
........
  r74643 | georg.brandl | 2009-09-04 08:59:20 +0200 (Fr, 04 Sep 2009) | 2 lines

  Issue #2666: Handle BROWSER environment variable properly for unknown browser names in the webbrowser module.
........
  r74647 | georg.brandl | 2009-09-04 10:17:04 +0200 (Fr, 04 Sep 2009) | 2 lines

  Issue #5275: In Cookie's Cookie.load(), properly handle non-string arguments as documented.
........
  r74817 | georg.brandl | 2009-09-16 11:05:11 +0200 (Mi, 16 Sep 2009) | 1 line

  Make deprecation notices as visible as warnings are right now.
........
  r74838 | georg.brandl | 2009-09-16 18:22:12 +0200 (Mi, 16 Sep 2009) | 1 line

  Remove some more boilerplate from the actual tests in test_pdb.
........
  r74839 | georg.brandl | 2009-09-16 18:36:39 +0200 (Mi, 16 Sep 2009) | 1 line

  Make the pdb displayhook compatible with the standard displayhook: do not print Nones. Add a test for that.
........
  r74865 | georg.brandl | 2009-09-17 09:49:37 +0200 (Do, 17 Sep 2009) | 1 line

  #6912: add "with" block support to pindent.
........
  r74946 | georg.brandl | 2009-09-19 10:43:16 +0200 (Sa, 19 Sep 2009) | 1 line

  Update bug tracker reference.
........
  r75402 | georg.brandl | 2009-10-14 17:51:48 +0200 (Mi, 14 Okt 2009) | 1 line

  #7125: fix typo.
........
  r75459 | georg.brandl | 2009-10-17 10:57:43 +0200 (Sa, 17 Okt 2009) | 1 line

  Fix refleaks in _ctypes PyCSimpleType_New, which fixes the refleak seen in test___all__.
........
  r75604 | georg.brandl | 2009-10-22 13:36:50 +0200 (Do, 22 Okt 2009) | 1 line

  Fix stylesheet for multi-paragraph impl-details.
........
  r75696 | georg.brandl | 2009-10-25 21:25:43 +0100 (So, 25 Okt 2009) | 1 line

  Fix a demo.
........
2009-10-27 15:39:53 +00:00
Georg Brandl 9d084f9885 Merged revisions 75593 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75593 | georg.brandl | 2009-10-22 09:06:49 +0200 (Do, 22 Okt 2009) | 1 line

  Revert unintended change.
........
2009-10-27 15:09:20 +00:00
Georg Brandl 5d2eb34f5c Merged revisions 75363,75365,75376,75392,75394,75403,75418,75484,75572,75580,75590,75592,75594-75596,75600,75602-75603,75605-75607,75610-75613,75616-75617,75623,75627,75647 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75363 | georg.brandl | 2009-10-11 20:31:23 +0200 (So, 11 Okt 2009) | 1 line

  Add the Python FAQ lists to the documentation.  Copied from sandbox/faq.  Many thanks to AMK for the preparation work.
........
  r75365 | georg.brandl | 2009-10-11 22:16:16 +0200 (So, 11 Okt 2009) | 1 line

  Fix broken links found by "make linkcheck".  scipy.org seems to be done right now, so I could not verify links going there.
........
  r75376 | benjamin.peterson | 2009-10-12 03:26:07 +0200 (Mo, 12 Okt 2009) | 1 line

  platform we don't care about
........
  r75392 | andrew.kuchling | 2009-10-13 18:11:49 +0200 (Di, 13 Okt 2009) | 1 line

  Various link, textual, and markup fixes
........
  r75394 | georg.brandl | 2009-10-13 20:10:59 +0200 (Di, 13 Okt 2009) | 1 line

  Fix markup.
........
  r75403 | georg.brandl | 2009-10-14 17:57:46 +0200 (Mi, 14 Okt 2009) | 1 line

  #7126: os.environ changes *do* take effect in subprocesses started with os.system().
........
  r75418 | georg.brandl | 2009-10-14 20:48:32 +0200 (Mi, 14 Okt 2009) | 1 line

  #7116: str.join() takes an iterable.
........
  r75484 | georg.brandl | 2009-10-18 09:58:12 +0200 (So, 18 Okt 2009) | 1 line

  Fix missing word.
........
  r75572 | benjamin.peterson | 2009-10-20 23:55:17 +0200 (Di, 20 Okt 2009) | 1 line

  clarify buffer arg #7178
........
  r75580 | georg.brandl | 2009-10-21 09:15:59 +0200 (Mi, 21 Okt 2009) | 1 line

  #7170: fix explanation about non-weakrefable builtin types.
........
  r75590 | benjamin.peterson | 2009-10-22 04:36:47 +0200 (Do, 22 Okt 2009) | 1 line

  rewrite to be nice to other implementations
........
  r75592 | georg.brandl | 2009-10-22 09:05:48 +0200 (Do, 22 Okt 2009) | 1 line

  Fix punctuation.
........
  r75594 | georg.brandl | 2009-10-22 09:56:02 +0200 (Do, 22 Okt 2009) | 1 line

  Fix markup.
........
  r75595 | georg.brandl | 2009-10-22 09:56:56 +0200 (Do, 22 Okt 2009) | 1 line

  Fix duplicate target.
........
  r75596 | georg.brandl | 2009-10-22 10:05:04 +0200 (Do, 22 Okt 2009) | 1 line

  Add a new directive marking up implementation details and start using it.
........
  r75600 | georg.brandl | 2009-10-22 13:01:46 +0200 (Do, 22 Okt 2009) | 1 line

  Make it more robust.
........
  r75602 | georg.brandl | 2009-10-22 13:28:06 +0200 (Do, 22 Okt 2009) | 1 line

  Document new directive.
........
  r75603 | georg.brandl | 2009-10-22 13:28:23 +0200 (Do, 22 Okt 2009) | 1 line

  Allow short form with text as argument.
........
  r75605 | georg.brandl | 2009-10-22 13:48:10 +0200 (Do, 22 Okt 2009) | 1 line

  Use "impl-detail" directive where applicable.
........
  r75606 | georg.brandl | 2009-10-22 17:00:06 +0200 (Do, 22 Okt 2009) | 1 line

  #6324: membership test tries iteration via __iter__.
........
  r75607 | georg.brandl | 2009-10-22 17:04:09 +0200 (Do, 22 Okt 2009) | 1 line

  #7088: document new functions in signal as Unix-only.
........
  r75610 | georg.brandl | 2009-10-22 17:27:24 +0200 (Do, 22 Okt 2009) | 1 line

  Reorder __slots__ fine print and add a clarification.
........
  r75611 | georg.brandl | 2009-10-22 17:42:32 +0200 (Do, 22 Okt 2009) | 1 line

  #7035: improve docs of the various <method>_errors() functions, and give them docstrings.
........
  r75612 | georg.brandl | 2009-10-22 17:52:15 +0200 (Do, 22 Okt 2009) | 1 line

  #7156: document curses as Unix-only.
........
  r75613 | georg.brandl | 2009-10-22 17:54:35 +0200 (Do, 22 Okt 2009) | 1 line

  #6977: getopt does not support optional option arguments.
........
  r75616 | georg.brandl | 2009-10-22 18:17:05 +0200 (Do, 22 Okt 2009) | 1 line

  Add proper references.
........
  r75617 | georg.brandl | 2009-10-22 18:20:55 +0200 (Do, 22 Okt 2009) | 1 line

  Make printout margin important.
........
  r75623 | georg.brandl | 2009-10-23 10:14:44 +0200 (Fr, 23 Okt 2009) | 1 line

  #7188: fix optionxform() docs.
........
  r75627 | fred.drake | 2009-10-23 15:04:51 +0200 (Fr, 23 Okt 2009) | 2 lines

  add further note about what's passed to optionxform
........
  r75647 | georg.brandl | 2009-10-24 12:04:19 +0200 (Sa, 24 Okt 2009) | 1 line

  Fix markup.
........
2009-10-27 15:08:27 +00:00
Georg Brandl a3c242c19d Merged revisions 72558,72745,72750,72876,73042,73045-73048,73069,73089,73163,73186,73213,73215,73217,73257-73258,73260 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72558 | benjamin.peterson | 2009-05-11 01:52:09 +0200 (Mo, 11 Mai 2009) | 1 line

  sys.setdefaultencoding() strikes me as a bad example
........
  r72745 | benjamin.peterson | 2009-05-17 16:16:29 +0200 (So, 17 Mai 2009) | 1 line

  ignore .rst files in sphinx its self
........
  r72750 | benjamin.peterson | 2009-05-17 18:59:27 +0200 (So, 17 Mai 2009) | 1 line

  chop off slash
........
  r72876 | benjamin.peterson | 2009-05-23 22:59:09 +0200 (Sa, 23 Mai 2009) | 1 line

  remove mention of old ctypes version
........
  r73042 | benjamin.peterson | 2009-05-30 05:10:52 +0200 (Sa, 30 Mai 2009) | 1 line

  no fdatasync on macos
........
  r73045 | georg.brandl | 2009-05-30 09:26:04 +0200 (Sa, 30 Mai 2009) | 1 line

  #6146: fix markup bug.
........
  r73046 | georg.brandl | 2009-05-30 09:31:25 +0200 (Sa, 30 Mai 2009) | 1 line

  Use preferred form of raising exceptions.
........
  r73047 | georg.brandl | 2009-05-30 12:33:23 +0200 (Sa, 30 Mai 2009) | 1 line

  Fix some more small markup problems.
........
  r73048 | georg.brandl | 2009-05-30 12:34:25 +0200 (Sa, 30 Mai 2009) | 1 line

  Fix markup problem.
........
  r73069 | benjamin.peterson | 2009-05-31 02:42:42 +0200 (So, 31 Mai 2009) | 1 line

  fix signature
........
  r73089 | andrew.kuchling | 2009-06-01 02:14:19 +0200 (Mo, 01 Jun 2009) | 1 line

  The class for regexes isn't called RegexObject any more; correct the text
........
  r73163 | georg.brandl | 2009-06-03 09:25:35 +0200 (Mi, 03 Jun 2009) | 1 line

  Use the preferred form of raise statements in the docs.
........
  r73186 | georg.brandl | 2009-06-03 23:21:09 +0200 (Mi, 03 Jun 2009) | 1 line

  #6174: fix indentation in code example.
........
  r73213 | georg.brandl | 2009-06-04 12:15:57 +0200 (Do, 04 Jun 2009) | 1 line

  #5967: note that the C slicing APIs do not support negative indices.
........
  r73215 | georg.brandl | 2009-06-04 12:22:31 +0200 (Do, 04 Jun 2009) | 1 line

  #6176: fix man page section for flock(2).
........
  r73217 | georg.brandl | 2009-06-04 12:27:21 +0200 (Do, 04 Jun 2009) | 1 line

  #6175: document that inet_aton supports alternate input formats with less than three dots.
........
  r73257 | georg.brandl | 2009-06-06 19:50:05 +0200 (Sa, 06 Jun 2009) | 1 line

  #6211: elaborate a bit on ways to call the function.
........
  r73258 | georg.brandl | 2009-06-06 19:51:31 +0200 (Sa, 06 Jun 2009) | 1 line

  #6204: use a real reference instead of "see later".
........
  r73260 | georg.brandl | 2009-06-06 20:21:58 +0200 (Sa, 06 Jun 2009) | 1 line

  #6224: s/JPython/Jython/, and remove one link to a module nine years old.
........
2009-10-27 14:19:50 +00:00
Georg Brandl 65fdff977d Merged revisions 68628 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68628 | benjamin.peterson | 2009-01-16 03:55:24 +0100 (Fr, 16 Jan 2009) | 1 line

  compare with == not is #4946
........
2009-10-27 13:16:07 +00:00
Antoine Pitrou 641d76fad0 Backporting since it would have helped us find a regression.
Merged revisions 75312 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75312 | antoine.pitrou | 2009-10-10 22:52:11 +0200 (sam., 10 oct. 2009) | 4 lines

  Issue #7055: test___all__ now greedily detects all modules which have an
  __all__ attribute, rather than using a hardcoded and incomplete list.
........
2009-10-27 13:04:15 +00:00
Antoine Pitrou 9aece75269 Merged revisions 75570,75574,75624 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75570 | antoine.pitrou | 2009-10-20 23:29:37 +0200 (mar., 20 oct. 2009) | 6 lines

  Issue #1722344: threading._shutdown() is now called in Py_Finalize(), which
  fixes the problem of some exceptions being thrown at shutdown when the
  interpreter is killed. Patch by Adam Olsen.
........
  r75574 | antoine.pitrou | 2009-10-20 23:59:25 +0200 (mar., 20 oct. 2009) | 4 lines

  Test wouldn't work in debug mode.
  We probably need a function in test_support to handle this.
........
  r75624 | antoine.pitrou | 2009-10-23 14:01:13 +0200 (ven., 23 oct. 2009) | 3 lines

  Fix Windows buildbot failure
........
2009-10-27 12:48:52 +00:00
Antoine Pitrou f75774b542 Merged revisions 75633 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75633 | antoine.pitrou | 2009-10-23 20:32:15 +0200 (ven., 23 oct. 2009) | 3 lines

  Issue #7194: test_thread could try to release an unacquired mutex (and fail).
........
2009-10-27 12:32:18 +00:00
Barry Warsaw 28dbc1f83e bumping to 2.6.4 2009-10-26 01:48:07 +00:00
Barry Warsaw bde44876de Bump to 2.6.4rc2 2009-10-18 16:50:06 +00:00
Ronald Oussoren c1bde6e14d Merged revisions 75482 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75482 | ronald.oussoren | 2009-10-18 09:07:00 +0200 (Sun, 18 Oct 2009) | 3 lines

  Fix for issue 7149: a regression in 2.6.3 that causes an exception when
  trying to detect proxy settings on OSX.
........
2009-10-18 07:08:27 +00:00
Vinay Sajip dd3aa9afee Issue #7120: logging: Removed import of multiprocessing which is causing crash in GAE. 2009-10-14 19:53:23 +00:00
Tarek Ziadé 7f7327014c complementary fix for #7115 2009-10-13 21:17:34 +00:00
Tarek Ziadé ff0d8a36be Fixed #7115: using paths instead of dotted name for extensions works too in distutils.command.build_ext 2009-10-12 22:38:34 +00:00
Senthil Kumaran dff2028a1b Merged revisions 75333 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75333 | senthil.kumaran | 2009-10-11 07:30:07 +0530 (Sun, 11 Oct 2009) | 3 lines

  Fixed Issue6894, urllib2 doesn't respect "no_proxy" environment
........
2009-10-11 05:35:44 +00:00
Barry Warsaw f71d45a84a Bumping to 2.6.4rc1 2009-10-06 13:21:07 +00:00
Tarek Ziadé 9d23690898 #7068: Fixed the partial renaming that occured in r72594 2009-10-06 12:35:46 +00:00
Tarek Ziadé 3c8de0ff27 Fixed #7064: making sure get_ext_filename is called as Setuptools is assuming so it doesn't break it 2009-10-05 17:35:51 +00:00
Senthil Kumaran f125078132 Fix for Issue7026. Making it self.env.unset 2009-10-05 04:16:26 +00:00
Senthil Kumaran 0240c924db merge r72343. Fix for issue7043 2009-10-05 04:13:01 +00:00
Kurt B. Kaiser 441dad8145 Merged revisions 71995,72227 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71995 | kurt.kaiser | 2009-04-26 19:22:11 -0400 (Sun, 26 Apr 2009) | 2 lines

  Right click 'go to file/line' not working if spaces
  in path.  Bug 5559.
........
  r72227 | kurt.kaiser | 2009-05-02 22:05:22 -0400 (Sat, 02 May 2009) | 2 lines

  Further development of issue5559, handle Windows files
  which not only have embedded spaces, but leading spaces.
........
2009-10-04 23:26:19 +00:00
Kurt B. Kaiser 949ff78131 That fix was part of 2.5.3rc1.... 2009-10-04 22:35:30 +00:00
Kurt B. Kaiser 1253c77a01 Document backport of r72946, issue6110. r74976. 2009-10-04 18:52:06 +00:00
Mark Dickinson 5fab169710 Merged revisions 75236 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75236 | mark.dickinson | 2009-10-04 19:38:39 +0100 (Sun, 04 Oct 2009) | 4 lines

  Issue #7042:  Fix test_signal failure on OS X 10.6 64-bit builds
  (and also, with luck, on the x86 FreeBSD buildbot), by making sure
  that some user time is used in test_itimer_virtual.
........
2009-10-04 18:41:25 +00:00
Vinay Sajip fbbbb20054 Issue #7052: Removed captureWarnings from __all__ 2009-10-04 12:20:12 +00:00
Georg Brandl 2b4df43c1c #7052: remove nonexisting NullHandler from logging.__all__. 2009-10-04 09:03:59 +00:00
Mark Dickinson c3a12775e2 Issue #7019: An attempt to unmarshal bad long data could produce
unnormalized PyLong objects; make it raise ValueError instead.
2009-10-03 08:15:49 +00:00
Tarek Ziadé 2bb5b48754 Issue #7039: Fixed test_distutils when running tests on an installation with no build 2009-10-03 01:21:38 +00:00
Tarek Ziadé 641b1de2af fixed the distutils tests that were not writing in temp 2009-10-02 22:37:51 +00:00
Barry Warsaw e948ea01eb Bump to 2.6.3 2009-10-01 23:39:49 +00:00
Barry Warsaw 103e32355d Bumping for 2.6.3rc1 2009-09-29 22:41:09 +00:00
Philip Jenvey 7865296ca3 Merged revisions 75143 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75143 | philip.jenvey | 2009-09-29 12:10:15 -0700 (Tue, 29 Sep 2009) | 5 lines

  #5329: fix os.popen* regression from 2.5: don't execute commands as a sequence
  through the shell. also document the correct subprocess replacement for this
  case
  patch from Jean-Paul Calderone and Jani Hakala
........
2009-09-29 19:18:11 +00:00
Antoine Pitrou 530e1aca05 Merged revisions 75134 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75134 | antoine.pitrou | 2009-09-29 19:48:18 +0200 (mar., 29 sept. 2009) | 4 lines

  Issue #6790: Make it possible again to pass an `array.array` to
  `httplib.HTTPConnection.send`. Patch by Kirk McDonald.
........
2009-09-29 18:14:09 +00:00
Vinay Sajip 6d50b37b7c Issue #7014: logging: Improved IronPython 2.6 compatibility. 2009-09-29 07:11:53 +00:00
Philip Jenvey 87b4e726be Merged revisions 75123 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75123 | philip.jenvey | 2009-09-28 21:32:44 -0700 (Mon, 28 Sep 2009) | 4 lines

  #6990: clear threading.local's key only after its thread state is removed:
  fixes local subclasses leaving old state around after a ref cycle GC which
  could be recycled by new locals
........
2009-09-29 04:41:54 +00:00
R. David Murray a89633c4f7 Merged revisions 75111 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75111 | r.david.murray | 2009-09-28 12:57:45 -0400 (Mon, 28 Sep 2009) | 5 lines

  Prevent test_bad_address failure when a domain in the dns search
  path implements a '*' default rule.  Also update comment with
  a more complete explanation of the difficulties inherent in
  the test.
........
2009-09-28 19:53:25 +00:00
R. David Murray 066acbc8db Merged revisions 75115 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75115 | r.david.murray | 2009-09-28 14:29:28 -0400 (Mon, 28 Sep 2009) | 2 lines

  Applying patches backported from 3.1, by Gregor Lingl.
........
2009-09-28 18:45:13 +00:00
Ezio Melotti 9ba83c50f4 Merged revisions 75070 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75070 | ezio.melotti | 2009-09-26 14:20:53 +0300 (Sat, 26 Sep 2009) | 1 line

  #7000: document "sep" in capwords. Add a few tests
........
2009-09-26 11:23:16 +00:00
Ronald Oussoren d787abffc0 Merged revisions 75022 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75022 | ronald.oussoren | 2009-09-22 21:27:44 +0200 (Tue, 22 Sep 2009) | 8 lines

  Half of the fix for issue 6957: ensure that distutils
  ignores the '-isysroot' option on OSX when the
  corresponding SDK is not installed.

  This ensures that the user can compile extensions
  on OSX 10.6 using the Python.org installer and a
  default installation of Xcode.
........
2009-09-22 19:31:34 +00:00
Ronald Oussoren 139a646fda Backport of r72946. This closes Issue 6100 and 6951 for
the 2.6 branch.
2009-09-20 19:06:58 +00:00
Ronald Oussoren 78974dff8f Merged revisions 74964 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74964 | ronald.oussoren | 2009-09-20 12:54:07 +0200 (Sun, 20 Sep 2009) | 2 lines

  Followup for r74962
........
2009-09-20 10:54:47 +00:00
Ronald Oussoren 40617a8eae Merged revisions 74962 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74962 | ronald.oussoren | 2009-09-20 12:31:22 +0200 (Sun, 20 Sep 2009) | 2 lines

  Fix for issue 6851: urllib.urlopen crashes in a thread on OSX 10.6
........
2009-09-20 10:37:33 +00:00
Tarek Ziadé de2a107200 Fixed #6947 - SO extension varies under windows 2009-09-19 09:58:51 +00:00
Georg Brandl 3ad2847c01 Merged revisions 74943 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74943 | georg.brandl | 2009-09-19 09:35:07 +0200 (Sa, 19 Sep 2009) | 1 line

  #6944: the argument to PyArg_ParseTuple should be a tuple, otherwise a SystemError is set.  Also clean up another usage of PyArg_ParseTuple.
........
2009-09-19 07:46:24 +00:00
Thomas Heller a6683c8de2 Merged revisions 74921 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74921 | thomas.heller | 2009-09-18 22:05:44 +0200 (Fr, 18 Sep 2009) | 3 lines

  Issue #4606: Passing 'None' if ctypes argtype is set to POINTER(...)
  does now always result in NULL.
........
2009-09-18 20:12:29 +00:00
Thomas Heller 820aefe29d Merged revisions 74917 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74917 | thomas.heller | 2009-09-18 20:55:17 +0200 (Fr, 18 Sep 2009) | 3 lines

  Issue #5042: Structure sub-subclass does now initialize correctly with
  base class positional arguments.
........
2009-09-18 19:32:08 +00:00
Georg Brandl 894dff42db Merged revisions 74903 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74903 | georg.brandl | 2009-09-18 11:18:27 +0200 (Fr, 18 Sep 2009) | 1 line

  #6938: "ident" is always a string, so use a format code which works.
........
2009-09-18 09:19:52 +00:00
Georg Brandl 015263339f Merged revisions 74873 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74873 | georg.brandl | 2009-09-17 13:48:31 +0200 (Do, 17 Sep 2009) | 1 line

  #6844 followup: the warning when setting Exception.message was removed, do not test for it.
........
2009-09-17 11:49:20 +00:00
Georg Brandl f7a09bec0a Merged revisions 74869 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74869 | georg.brandl | 2009-09-17 13:28:09 +0200 (Do, 17 Sep 2009) | 4 lines

  Issue #6922: Fix an infinite loop when trying to decode an invalid
  UTF-32 stream with a non-raising error handler like "replace" or "ignore".
........
2009-09-17 11:33:31 +00:00
Georg Brandl 8997103be0 Merged revisions 74845 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74845 | georg.brandl | 2009-09-16 22:30:09 +0200 (Mi, 16 Sep 2009) | 5 lines

  #6844: do not emit DeprecationWarnings on access if Exception.message has been set by the user.

  This works by always setting it in __dict__, except when it's implicitly set in __init__.
........
2009-09-16 20:34:51 +00:00
Thomas Wouters 448db2155f Merged revisions 74841 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74841 | thomas.wouters | 2009-09-16 12:55:54 -0700 (Wed, 16 Sep 2009) | 23 lines


  Fix issue #1590864, multiple threads and fork() can cause deadlocks, by
  acquiring the import lock around fork() calls. This prevents other threads
  from having that lock while the fork happens, and is the recommended way of
  dealing with such issues. There are two other locks we care about, the GIL
  and the Thread Local Storage lock. The GIL is obviously held when calling
  Python functions like os.fork(), and the TLS lock is explicitly reallocated
  instead, while also deleting now-orphaned TLS data.

  This only fixes calls to os.fork(), not extension modules or embedding
  programs calling C's fork() directly. Solving that requires a new set of API
  functions, and possibly a rewrite of the Python/thread_*.c mess. Add a
  warning explaining the problem to the documentation in the mean time.

  This also changes behaviour a little on AIX. Before, AIX (but only AIX) was
  getting the import lock reallocated, seemingly to avoid this very same
  problem. This is not the right approach, because the import lock is a
  re-entrant one, and reallocating would do the wrong thing when forking while
  holding the import lock.

  Will backport to 2.6, minus the tiny AIX behaviour change.
........
2009-09-16 20:06:36 +00:00
Ronald Oussoren cba2fd3ac9 Merged revisions 74806 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74806 | ronald.oussoren | 2009-09-15 21:13:15 +0200 (Tue, 15 Sep 2009) | 3 lines

  Finish support for --with-universal-archs=intel
  and --with-universal-archs=3-way (issue6245)
........
2009-09-15 19:14:37 +00:00
Matthias Klose 582357733e Merged revisions 74773 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74773 | matthias.klose | 2009-09-13 17:09:24 +0200 (So, 13 Sep 2009) | 2 lines

  Issue #6635: Fix profiler printing usage message.
........
2009-09-13 15:12:47 +00:00
Tarek Ziadé 8a3e345913 removed unecessary lines for clarity and added a the same test than in trunk for the inplace 2009-09-09 11:39:41 +00:00
Tarek Ziadé aa13a29fde Merged revisions 74728 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74728 | tarek.ziade | 2009-09-09 10:14:20 +0200 (Wed, 09 Sep 2009) | 1 line

  Issue #6163: Fixed HP-UX runtime library dir options in distutils.unixcompiler
........
2009-09-09 08:34:06 +00:00
Mark Dickinson c05b7890bc Merged revisions 74708 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74708 | mark.dickinson | 2009-09-07 19:04:58 +0100 (Mon, 07 Sep 2009) | 2 lines

  #Issue 6795:  Fix infinite recursion in long(Decimal('nan'));  change int(Decimal('nan')) to raise ValueError instead of either returning NaN or raising InvalidContext.
........
2009-09-08 19:22:18 +00:00
Mark Dickinson c3c112da6b Merged revisions 74704 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74704 | mark.dickinson | 2009-09-07 17:17:41 +0100 (Mon, 07 Sep 2009) | 3 lines

  Issue #6850: Fix bug in Decimal._parse_format_specifier for formats
  with no type specifier.
........
2009-09-07 16:19:35 +00:00
Ronald Oussoren 2142aa8f04 broken minimal merge... 2009-09-06 13:07:26 +00:00
Ronald Oussoren 796550559a Merged revisions 74684 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74684 | ronald.oussoren | 2009-09-06 14:23:18 +0200 (Sun, 06 Sep 2009) | 2 lines

  Fix for issue 4937
........
2009-09-06 12:26:54 +00:00
Ronald Oussoren 461f2205cc Merged revisions 74672 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74672 | ronald.oussoren | 2009-09-06 12:00:26 +0200 (Sun, 06 Sep 2009) | 1 line

  Fix build issues on OSX 10.6 (issue 6802)
........
2009-09-06 10:54:28 +00:00
Mark Dickinson b61c035dc2 Merged revisions 74673 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74673 | mark.dickinson | 2009-09-06 11:03:31 +0100 (Sun, 06 Sep 2009) | 3 lines

  Issue #6846: bytearray.pop was returning ints in the range [-128, 128)
  instead of [0, 256).  Thanks Hagen Fürstenau for the report and fix.
........
2009-09-06 10:05:28 +00:00
Chris Withers 49148cf528 Fixes issue #6838: use a list to accumulate the value instead of repeatedly concatenating strings. 2009-09-04 16:51:16 +00:00
Mark Dickinson 7f265b7fac Merged revisions 74564 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74564 | mark.dickinson | 2009-08-28 14:25:02 +0100 (Fri, 28 Aug 2009) | 3 lines

  Issue #6794:  Fix handling of NaNs in Decimal.compare_total and
  Decimal.compare_total_mag.
........
2009-08-28 13:35:02 +00:00
Senthil Kumaran b52c6f8c39 Fixing Issue6557. urllib.urlopen will quote the space character within urls. 2009-08-15 17:49:55 +00:00
Benjamin Peterson f492c36442 Merged revisions 74457 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74457 | benjamin.peterson | 2009-08-15 08:16:38 -0500 (Sat, 15 Aug 2009) | 1 line

  #6707 fix a crash with dir() on an uninitialized module
........
2009-08-15 13:18:47 +00:00
Gregory P. Smith 1cfc9c0ef3 Merged revisions 73145 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73145 | kristjan.jonsson | 2009-06-02 06:14:08 -0700 (Tue, 02 Jun 2009) | 2 lines

  http://bugs.python.org/issue6117
  Fix O(n**2) performance problem in socket._fileobject
........
2009-08-15 06:40:49 +00:00
Brett Cannon 559eb08861 Backport of r74429. Not merged/blocked as svnmerge.py is giving me an error and
I don't want to accidentally check in busted svnmerge metadata.
2009-08-13 19:45:44 +00:00
Jesse Noller ce14c099df Merge fix for 4660 back to 26 maint 2009-08-06 02:08:10 +00:00
Raymond Hettinger d6119ef883 Issue 6637: defaultdict.copy() failed with an empty factory. 2009-08-04 18:49:26 +00:00
Frank Wierzbicki 6416f810e8 Merged revisions 74291 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74291 | frank.wierzbicki | 2009-08-02 16:37:48 -0400 (Sun, 02 Aug 2009) | 6 lines

  Adding tests derived from the Jython project.  These are primarily tests of
  'single' statements with partial sentences (so they test things like "try:" in
  interactive mode).  Others tests hit areas that previously failed in Jython. A
  couple still fail in Jython, mainly due to the difficulty of parsing partial
  sentences (but should be fixed by Jython 2.6).
........
2009-08-02 22:05:54 +00:00
Mark Dickinson 3a7946ff35 Merged revisions 74285 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74285 | mark.dickinson | 2009-08-02 16:40:11 +0100 (Sun, 02 Aug 2009) | 3 lines

  Issue #6619:  Remove duplicate 'isgenerator' function from inspect module.
  Thanks Vincent Legoll.
........
2009-08-02 15:41:08 +00:00
Mark Dickinson 9a6e645b9f Merged revisions 74281 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74281 | mark.dickinson | 2009-08-02 11:59:36 +0100 (Sun, 02 Aug 2009) | 4 lines

  Issue #6595: Allow Decimal constructor to accept non-European decimal
  digits, as recommended by the specification.  (Backport of r74279 from
  py3k.)
........
2009-08-02 11:01:01 +00:00
Raymond Hettinger 8299f3280c Fix typo (already fixed in 2.7). 2009-07-31 20:21:08 +00:00
Raymond Hettinger 30006c76f4 Issue 6573: Fix set.union() for cases where self is in the argument chain. 2009-07-27 20:33:25 +00:00
R. David Murray bce6d5e129 Remove unittest.SkipTest from backport of test for issue 6542. 2009-07-27 01:14:38 +00:00
Michael Foord 133ebff5c8 Issue 6581. Michael Foord 2009-07-26 21:11:42 +00:00
Senthil Kumaran 308681c405 Backporting the changes made in revision 72880 as fix for Issue1424152. 2009-07-26 12:36:08 +00:00
Amaury Forgeot d'Arc 47ccf0cbba Merged revisions 74189 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74189 | amaury.forgeotdarc | 2009-07-23 21:26:02 +0200 (jeu., 23 juil. 2009) | 4 lines

  #6553: crash in cPickle.load(), when given a StringIO with incomplete data.

  Will backport to 2.6, 3.x already fixed a similar issue with issue4298.
........
2009-07-23 22:31:47 +00:00
R. David Murray ce28a01e35 Merged revisions 74175 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74175 | r.david.murray | 2009-07-22 13:22:58 -0400 (Wed, 22 Jul 2009) | 4 lines

  Backport of fix for issue 6542: make sure
  test_os.TestInvalidFD.test_closerange does not close any
  valid file descriptors.
........
2009-07-22 17:37:11 +00:00
Georg Brandl 11a81b2151 Merged revisions 74167 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74167 | georg.brandl | 2009-07-22 13:57:15 +0200 (Mi, 22 Jul 2009) | 1 line

  Issue #6540: Fixed crash for bytearray.translate() with invalid parameters.
........
2009-07-22 12:03:09 +00:00
R. David Murray 17438dc26c Merged revisions 73708,73738 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73708 | jesse.noller | 2009-06-30 13:11:52 -0400 (Tue, 30 Jun 2009) | 1 line

  Resolves issues 5155, 5313, 5331 - bad file descriptor error with processes in processes
........
  r73738 | r.david.murray | 2009-06-30 22:49:10 -0400 (Tue, 30 Jun 2009) | 2 lines

  Make punctuation prettier and break up run-on sentence.
........
2009-07-21 17:02:14 +00:00
Senthil Kumaran 428e9d1d05 Fix for issue5102, timeout value propages between redirects, proxy, digest and
auth handlers. Fixed tests to reflect the same.
2009-07-19 04:20:46 +00:00
Hirokazu Yamamoto 8bb2d5d1c4 assertRaises can't be used as a context manager in 2.6. 2009-07-19 03:39:54 +00:00
R. David Murray e38b0a8ec0 Merged revisions 73870,73879,73899-73900,73905-73906 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73870 | r.david.murray | 2009-07-06 21:06:13 -0400 (Mon, 06 Jul 2009) | 5 lines

  Issue 6070: when creating a compiled file, after copying the mode bits, on
  posix zap the execute bit in case it was set on the .py file, since the
  compiled files are not directly executable on posix.  Patch by Marco N.
........
  r73879 | r.david.murray | 2009-07-07 05:54:16 -0400 (Tue, 07 Jul 2009) | 3 lines

  Update issue 6070 patch to match the patch that was actually tested
  on Windows.
........
  r73899 | r.david.murray | 2009-07-08 21:43:41 -0400 (Wed, 08 Jul 2009) | 3 lines

  Conditionalize test cleanup code to eliminate traceback, which will
  hopefully reveal the real problem.
........
  r73900 | r.david.murray | 2009-07-08 22:06:17 -0400 (Wed, 08 Jul 2009) | 2 lines

  Make test work with -O.
........
  r73905 | r.david.murray | 2009-07-09 09:55:44 -0400 (Thu, 09 Jul 2009) | 3 lines

  Specify umask in execute bit test to get consistent results
  and make sure we test resetting all three execute bits.
........
  r73906 | r.david.murray | 2009-07-09 11:35:33 -0400 (Thu, 09 Jul 2009) | 5 lines

  Curdir needs to be in the path for the test to work on all buildbots.
  (I copied this from another import test, but currently this will fail if
  TESTFN ends up in /tmp...see issue 2609).
........
2009-07-19 01:44:23 +00:00
Hirokazu Yamamoto fcaa2104aa Merged revisions 74040,74042 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74040 | hirokazu.yamamoto | 2009-07-17 15:20:46 +0900 | 1 line

  Issue #6415: Fixed warnings.warn sagfault on bad formatted string.
........
  r74042 | hirokazu.yamamoto | 2009-07-17 15:26:54 +0900 | 1 line

  NEWS about r74040.
........
2009-07-17 06:33:03 +00:00
Michael Foord bee87b4c1c Move initialising unittest.TestProgram.testRunner into runTests. Issue 6418. 2009-07-13 16:32:47 +00:00
Hirokazu Yamamoto f4a96e07d8 Merged revisions 73970 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73970 | hirokazu.yamamoto | 2009-07-12 11:04:47 +0900 | 1 line

  Fixed distutils test.
........
2009-07-12 02:09:25 +00:00
Tarek Ziadé bc3f3c9eed Merged revisions 73954 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73954 | tarek.ziade | 2009-07-11 19:21:00 +0200 (Sat, 11 Jul 2009) | 1 line

  reverted changes for #6459 (doesn't apply on 2.x)
........
2009-07-11 17:22:14 +00:00
Amaury Forgeot d'Arc c42f0addef Merged revisions 73952 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73952 | amaury.forgeotdarc | 2009-07-11 16:33:51 +0200 (sam., 11 juil. 2009) | 4 lines

  #2622 Import errors in email.message, from a py2app standalone application.

  Patch by Mads Kiilerich, Reviewed by Barry Warsaw.
........
2009-07-11 14:37:20 +00:00
Tarek Ziadé dc692f7143 Merged revisions 73946 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73946 | tarek.ziade | 2009-07-11 12:55:27 +0200 (Sat, 11 Jul 2009) | 1 line

  fixed #6459: distutils.command.build_ext.get_export_symbols now uses 'PyInit'
........
2009-07-11 10:57:49 +00:00
Tarek Ziadé 930402d154 Merged revisions 73921 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73921 | tarek.ziade | 2009-07-10 11:10:33 +0200 (Fri, 10 Jul 2009) | 1 line

  Fixed #6455 (the test shall use pyd files under win32, rather than so files)
........
2009-07-10 09:13:17 +00:00
R. David Murray 8bb57b7340 Merged revisions 73907-73908 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73907 | r.david.murray | 2009-07-09 12:17:30 -0400 (Thu, 09 Jul 2009) | 4 lines

  Temporarily ignore rmtree errors in test_getcwd_long_pathnames to see
  if the test gives useful failure info on Solaris buildbot.
........
  r73908 | r.david.murray | 2009-07-09 14:41:03 -0400 (Thu, 09 Jul 2009) | 6 lines

  Try to fix Solaris buildbot rmtree failure in test_getcwd_long_pathnames
  cleanup.  If this fix works, it means that Solaris is unique among
  our platforms in what happens when shutil.rmtree is called on the
  current working directory (ie: it doesn't work on Solaris, but
  it does everywhere else).
........
2009-07-09 20:13:41 +00:00
R. David Murray 92647d98db Merged revisions 69927 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69927 | neil.schemenauer | 2009-02-23 23:23:25 -0500 (Mon, 23 Feb 2009) | 1 line

  Fix call to os.waitpid, it does not take keyword args.
........
2009-07-07 13:04:54 +00:00
Tarek Ziadé 1691bb16af Merged revisions 73790 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73790 | tarek.ziade | 2009-07-03 10:22:56 +0200 (Fri, 03 Jul 2009) | 1 line

  Fixed #6403 : package path usage for build_ext
........
2009-07-03 08:31:31 +00:00
Benjamin Peterson 7d6b01417f Merged revisions 73776 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73776 | benjamin.peterson | 2009-07-02 13:16:45 -0500 (Thu, 02 Jul 2009) | 1 line

  when print() gets unicode arguments, sep and end should be unicode by default #4618
........
2009-07-02 18:19:47 +00:00
Benjamin Peterson f921469383 Merged revisions 73774 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73774 | benjamin.peterson | 2009-07-02 12:06:17 -0500 (Thu, 02 Jul 2009) | 1 line

  only order comparisons are removed in py3k #6119
........
2009-07-02 17:19:22 +00:00
Jesus Cea 585ad8ae5e Merged revisions 69846 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69846 | mark.dickinson | 2009-02-21 21:27:01 +0100 (Sat, 21 Feb 2009) | 2 lines

  Issue #5341: Fix a variety of spelling errors.
........
2009-07-02 15:37:21 +00:00
Gregory P. Smith e1e6764976 Merged revisions 73565 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73565 | gregory.p.smith | 2009-06-26 00:50:21 -0700 (Fri, 26 Jun 2009) | 2 lines

  Fixes the last problem mentioned in issue1202.
........
2009-06-26 08:19:19 +00:00
R. David Murray c4c84e1a19 Merged revisions 73529 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73529 | r.david.murray | 2009-06-23 14:02:46 -0400 (Tue, 23 Jun 2009) | 4 lines

  Fix issue 5230 by having pydoc's safeimport check to see if the import
  error was thrown from itself in order to decide if the module can't be
  found.  Thanks to Lucas Prado Melo for collaborating on the fix and tests.
........
2009-06-23 20:37:26 +00:00
Facundo Batista 07638b9085 Issue #6274. Fixed a potential FD leak in subprocess.py. 2009-06-19 19:51:26 +00:00
Mark Dickinson 88348a1c55 Merged revisions 73451 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73451 | mark.dickinson | 2009-06-16 21:31:12 +0100 (Tue, 16 Jun 2009) | 1 line

  Acknowledge the role of the MPFR library in creating cmath_testcases.txt
........
2009-06-16 20:42:57 +00:00
Martin v. Löwis 1cfa3926f9 Merged revisions 73390 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73390 | martin.v.loewis | 2009-06-12 19:28:31 +0200 (Fr, 12 Jun 2009) | 3 lines

  Support AMD64 in msilib. Set Win64 on reglocator.
  Fixes #6258.
........
2009-06-13 09:07:01 +00:00
Alexandre Vassalotti dd0b90a367 Fix issue #6127: Make universal newlines mode of io.StringIO not
duplicate newlines under Windows (see also issue #5265 and #5645).
2009-06-12 21:20:23 +00:00
Raymond Hettinger d97d1fdc60 Issue 6261: Clarify behavior of random.uniform(). 2009-06-11 23:18:54 +00:00
Vinay Sajip ff4018f388 Issue #5262: Fixed bug in next roll over time computation in TimedRotatingFileHandler. 2009-06-11 10:01:04 +00:00
Tarek Ziadé f63277d503 Merged revisions 73348 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73348 | tarek.ziade | 2009-06-11 11:13:36 +0200 (Thu, 11 Jun 2009) | 1 line

  #6263 fixed syntax error in distutils.cygwinccompiler
........
2009-06-11 09:17:19 +00:00
Tarek Ziadé 6b16c00b92 Merged revisions 73341 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73341 | tarek.ziade | 2009-06-11 10:12:20 +0200 (Thu, 11 Jun 2009) | 1 line

  Fixed #5201: now distutils.sysconfig.parse_makefile() understands '53264' in Makefiles
........
2009-06-11 08:26:40 +00:00
Michael Foord 48bc8203cc Restore default testRunner argument in unittest.main to None. Issue 6177. 2009-06-02 18:22:38 +00:00
Mark Dickinson 36c8084233 Merged revisions 73138 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73138 | mark.dickinson | 2009-06-02 08:39:26 +0100 (Tue, 02 Jun 2009) | 1 line

  Typo in socket.py.  Thanks Pablo Torres Navarrete.
........
2009-06-02 07:40:15 +00:00
Amaury Forgeot d'Arc 99be081fae Merged revisions 73114 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73114 | amaury.forgeotdarc | 2009-06-01 22:53:18 +0200 (lun., 01 juin 2009) | 3 lines

  #4547: When debugging a very large function, it was not always
  possible to update the lineno attribute of the current frame.
........
2009-06-01 22:04:41 +00:00
R. David Murray e6a4d78a62 Merged revisions 73077 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73077 | r.david.murray | 2009-05-31 15:15:57 -0400 (Sun, 31 May 2009) | 4 lines

  Issue 3848: document the fact that epoll register raises an IOError if
  an fd is registered twice, and add some additional epoll tests.  Patch
  by Christian Heimes.
........
2009-05-31 19:29:05 +00:00
Antoine Pitrou 6987d54116 Merged revisions 73064-73065 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73064 | antoine.pitrou | 2009-05-30 23:27:00 +0200 (sam., 30 mai 2009) | 4 lines

  Issue #5330: C functions called with keyword arguments were not reported by
  the various profiling modules (profile, cProfile). Patch by Hagen Fürstenau.
........
  r73065 | antoine.pitrou | 2009-05-30 23:39:25 +0200 (sam., 30 mai 2009) | 3 lines

  The test for #5330 wasn't correct.
........
2009-05-30 21:43:48 +00:00