Commit Graph

41759 Commits

Author SHA1 Message Date
Georg Brandl 81aa9aa39e Blocked revisions 68942 via svnmerge
........
  r68942 | raymond.hettinger | 2009-01-25 22:31:47 +0100 (So, 25 Jan 2009) | 1 line

  Improved itertools recipe for generating powerset().
........
2009-10-27 13:24:10 +00:00
Georg Brandl e00e2058c7 Merged revisions 68842,68862 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68842 | andrew.kuchling | 2009-01-21 03:16:26 +0100 (Mi, 21 Jan 2009) | 1 line

  Markup fixes
........
  r68862 | jesse.noller | 2009-01-22 22:53:22 +0100 (Do, 22 Jan 2009) | 1 line

  Issue 4593: apply() documentation is unclear
........
2009-10-27 13:22:19 +00:00
Georg Brandl 93a80b5752 Merged revisions 68797 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68797 | raymond.hettinger | 2009-01-20 08:11:47 +0100 (Di, 20 Jan 2009) | 11 lines

  Don't disrupt automatic url target name generation
  with manually specified, conflicting names.

  Before:
      http://docs.python.org/dev/library/collections.html#id1

  After:
      http://docs.python.org/dev/library/collections.html#counter-objects
........
2009-10-27 13:21:23 +00:00
Georg Brandl 4f8084eda1 Merged revisions 68776-68777 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68776 | benjamin.peterson | 2009-01-19 17:17:54 +0100 (Mo, 19 Jan 2009) | 1 line

  move BufferedIOBase into the base class section
........
  r68777 | benjamin.peterson | 2009-01-19 17:18:27 +0100 (Mo, 19 Jan 2009) | 1 line

  add email address
........
2009-10-27 13:20:10 +00:00
Georg Brandl 0d97d32a86 Merged revisions 68760 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68760 | vinay.sajip | 2009-01-19 07:49:19 +0100 (Mo, 19 Jan 2009) | 1 line

  Added more cross-reference targets and tidied up list of useful handlers.
........
2009-10-27 13:19:20 +00:00
Georg Brandl 29c8bf6f06 Merged revisions 68705-68706 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68705 | benjamin.peterson | 2009-01-18 02:28:09 +0100 (So, 18 Jan 2009) | 1 line

  bytearrays are mutable sequences
........
  r68706 | benjamin.peterson | 2009-01-18 02:28:46 +0100 (So, 18 Jan 2009) | 1 line

  fix grammar
........
2009-10-27 13:17:27 +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
Georg Brandl 804e4b8f0f Merged revisions 68633 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68633 | thomas.heller | 2009-01-16 19:53:44 +0100 (Fr, 16 Jan 2009) | 3 lines

  Change an example in the docs to avoid a mistake when the code is copy
  pasted and changed afterwards.
........
2009-10-27 13:15:21 +00:00
Georg Brandl 81daf31c26 Merged revisions 68623-68624 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68623 | vinay.sajip | 2009-01-15 23:48:13 +0100 (Do, 15 Jan 2009) | 1 line

  Made minor changes/corrections in markup. Added a couple of section headings.
........
  r68624 | vinay.sajip | 2009-01-16 00:04:47 +0100 (Fr, 16 Jan 2009) | 1 line

  Minor changes/corrections in markup.
........
2009-10-27 13:14:28 +00:00
Georg Brandl 5e92150260 Merged revisions 68605 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68605 | raymond.hettinger | 2009-01-14 02:39:51 +0100 (Mi, 14 Jan 2009) | 1 line

  Fix-up indentation of sample code blocks for namedtuple mthod definitions.
........
2009-10-27 13:12:17 +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 686c9adbd5 Merged revisions 75367 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75367 | antoine.pitrou | 2009-10-11 23:03:26 +0200 (dim., 11 oct. 2009) | 4 lines

  Issue #7084: Fix a (very unlikely) crash when printing a list from one
  thread, and mutating it from another one.  Patch by Scott Dial.
........
2009-10-27 12:56:06 +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
Antoine Pitrou 632e93fb40 Merged revisions 75531,75725 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75531 | antoine.pitrou | 2009-10-19 20:17:18 +0200 (lun., 19 oct. 2009) | 4 lines

  Issue #5833: Fix extra space character in readline completion with the
  GNU readline library version 6.0.
........
  r75725 | antoine.pitrou | 2009-10-26 20:16:46 +0100 (lun., 26 oct. 2009) | 4 lines

  Some platforms have rl_completion_append_character but not rl_completion_suppress_append.
  Reported by Mark D.
........
2009-10-27 12:30:12 +00:00
Barry Warsaw 402e28b243 Tagging 2.6.4 final 2009-10-26 01:48:31 +00:00
Barry Warsaw 28dbc1f83e bumping to 2.6.4 2009-10-26 01:48:07 +00:00
Mark Dickinson aaa42f77db Blocked revisions 75697 via svnmerge
........
  r75697 | mark.dickinson | 2009-10-25 20:39:06 +0000 (Sun, 25 Oct 2009) | 3 lines

  Issue #1087418: Small performance boost for bitwise operations on longs.
  Initial patch by Gregory Smith;  some tweaks added.
........
2009-10-25 20:50:18 +00:00
Eric Smith 83efa5b936 Blocked revisions 75675 via svnmerge
........
  r75675 | eric.smith | 2009-10-24 15:50:44 -0400 (Sat, 24 Oct 2009) | 1 line

  Removed unused function PyFloat_AsStringEx. It is unused in floatobject.c, and it's not declared in any .h file.
........
2009-10-24 19:53:00 +00:00
Eric Smith ef909e3af9 Blocked revisions 75620 via svnmerge
........
  r75620 | eric.smith | 2009-10-22 16:13:14 -0400 (Thu, 22 Oct 2009) | 1 line

  Per the discussion in issue6882, backport the try/finally work that was done to the py3k version (mostly in r59477, I think).
........
2009-10-22 20:41:34 +00:00
Raymond Hettinger f04545565a Update advice on how to implement a queue. 2009-10-21 17:44:38 +00:00
R. David Murray 3f902a0e65 Blocked revisions 75518 via svnmerge
........
  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-10-19 16:07:41 +00:00
Barry Warsaw f80ee8ebee done with 2.6.4rc2 2009-10-19 16:00:35 +00:00
R. David Murray a0a97782dc Blocked revisions 75400 via svnmerge
........
  r75400 | r.david.murray | 2009-10-14 09:58:07 -0400 (Wed, 14 Oct 2009) | 6 lines

  Enhanced Issue 7058 patch, which will not be backported.  Refactors the
  code, adds checks for stdin/out/err, cwd, and sys.path, and adds a new
  section in the summary for tests that modify the environment (thanks to
  Ezio Melotti for that suggestion).
........
2009-10-19 15:36:52 +00:00
R. David Murray b48cb343f9 Blocked revisions 75503 via svnmerge
........
  r75503 | r.david.murray | 2009-10-18 17:12:37 -0400 (Sun, 18 Oct 2009) | 11 lines

  Issue #7151: regrtest would generate a JSON failure if there was output
  to stderr during the test run and it happened to get emitted after the
  worker thread emitted the result JSON.  Now we capture stdout and stderr
  separately, which avoids that problem.  It also means that _all_ stderr
  output is after all stdout output when we print the test results, but
  that seems acceptable, since output ordering is not guaranteed anyway.
  The patch also moves the emit of the test name into the output block
  generated after the test completes.  Otherwise test names and test
  output/errors were mixed in the terminal display, making it difficult
  to determine which test generated the output.
........
2009-10-19 15:34:11 +00:00
Eric Smith 1880f56405 Blocked revisions 75510 via svnmerge
........
  r75510 | eric.smith | 2009-10-19 10:38:14 -0400 (Mon, 19 Oct 2009) | 1 line

  Issue #7169: Document PyFloat_AsString and PyFloat_AsReprString, and note that they are unsafe and deprecated.
........
2009-10-19 14:39:24 +00:00
Eric Smith ea10c732e5 Blocked revisions 75506 via svnmerge
........
  r75506 | eric.smith | 2009-10-18 20:34:12 -0400 (Sun, 18 Oct 2009) | 7 lines

  Removed calls to PyFloat_AsReprString.
  This is in anticipation of possibly implementing issue 7117 (short float repr).
  This removes the last calls to PyFloat_AsString, PyFloat_AsReprString, and
  PyFloat_AsStringEx, which are unsafe.

  Also, switch to defines for error values to bring this code more in line
  with the py3k branch.
........
2009-10-19 00:34:48 +00:00
Barry Warsaw 9292df1309 Tagging 2.6.4rc2 2009-10-18 16:50:55 +00:00
Barry Warsaw bde44876de Bump to 2.6.4rc2 2009-10-18 16:50:06 +00:00
Nick Coghlan 0c0cfad5fb Blocked revisions 75453,75456-75458,75461-75463,75465-75468,75481,75486,75489 via svnmerge
........
  r75453 | nick.coghlan | 2009-10-17 16:33:05 +1000 (Sat, 17 Oct 2009) | 1 line

  Correctly restore sys.stdout in test_descr
........
  r75456 | nick.coghlan | 2009-10-17 17:30:40 +1000 (Sat, 17 Oct 2009) | 1 line

  Enhancement to the new environment checking code to print the changed items under -vv. Also includes a small tweak to allow underscores in the names of resources.
........
  r75457 | nick.coghlan | 2009-10-17 17:34:27 +1000 (Sat, 17 Oct 2009) | 1 line

  Formatting tweak so that before and after values are vertically aligned
........
  r75458 | nick.coghlan | 2009-10-17 18:21:21 +1000 (Sat, 17 Oct 2009) | 1 line

  Check and revert expected sys.path alterations
........
  r75461 | nick.coghlan | 2009-10-18 00:40:54 +1000 (Sun, 18 Oct 2009) | 1 line

  Restore original sys.path when running TTK tests
........
  r75462 | nick.coghlan | 2009-10-18 01:09:41 +1000 (Sun, 18 Oct 2009) | 1 line

  Don't invoke reload(sys) and use StringIO objects instead of real files to capture stdin and stdout when needed (ensures all sys attributes remain unmodified after test_xmlrpc runs)
........
  r75463 | nick.coghlan | 2009-10-18 01:23:08 +1000 (Sun, 18 Oct 2009) | 1 line

  Revert changes made to environment in test_httpservers
........
  r75465 | nick.coghlan | 2009-10-18 01:45:52 +1000 (Sun, 18 Oct 2009) | 1 line

  Move restoration of the os.environ object into the context manager where it belongs
........
  r75466 | nick.coghlan | 2009-10-18 01:48:16 +1000 (Sun, 18 Oct 2009) | 1 line

  Also check and restore identity of sys.path, sys.argv and os.environ rather than just their values (this picked up a few more misbehaving tests)
........
  r75467 | nick.coghlan | 2009-10-18 01:57:42 +1000 (Sun, 18 Oct 2009) | 1 line

  Avoid replacing existing modules and sys.path in import tests
........
  r75468 | nick.coghlan | 2009-10-18 02:19:51 +1000 (Sun, 18 Oct 2009) | 1 line

  Don't replace sys.path in test_site
........
  r75481 | nick.coghlan | 2009-10-18 15:38:48 +1000 (Sun, 18 Oct 2009) | 1 line

  Using CleanImport to revert a reload of the os module doesn't work due to function registrations in copy_reg. The perils of reloading modules even for tests...
........
  r75486 | nick.coghlan | 2009-10-18 20:29:10 +1000 (Sun, 18 Oct 2009) | 1 line

  Silence a deprecation warning by using the appropriate replacement construct
........
  r75489 | nick.coghlan | 2009-10-18 20:56:21 +1000 (Sun, 18 Oct 2009) | 1 line

  Restore sys.path in test_tk
........
2009-10-18 11:16:19 +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
Martin v. Löwis e8e9cf4f8d Add 2.6.4c2 and 2.6.5[c1]. 2009-10-18 05:03:16 +00:00
Senthil Kumaran ede15a56b8 Merged revisions 75478 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75478 | senthil.kumaran | 2009-10-18 07:28:45 +0530 (Sun, 18 Oct 2009) | 3 lines

  Fix a typo.
........
2009-10-18 02:01:06 +00:00
Senthil Kumaran 3ae41accc6 Merged revisions 75474 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75474 | senthil.kumaran | 2009-10-18 06:54:41 +0530 (Sun, 18 Oct 2009) | 2 lines

  Fix for Issue7155 - urllib do not document default use of system proxy configuration
........
2009-10-18 01:31:15 +00:00
Eric Smith f278ad6333 Blocked revisions 75446 via svnmerge
........
  r75446 | eric.smith | 2009-10-16 10:26:36 -0400 (Fri, 16 Oct 2009) | 1 line

  Removed usage of unsafe PyFloat_AsString.
........
2009-10-16 14:28:33 +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
Ronald Oussoren 1ab4095e76 Merged revisions 75281 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75281 | ronald.oussoren | 2009-10-08 10:04:15 +0200 (Thu, 08 Oct 2009) | 3 lines

  Ensure that _scproxy gets build even when --disable-toolbox-glue
  is specified on OSX. Fixes a regression in 2.6.3.
........
2009-10-08 09:48:32 +00:00
Barry Warsaw 9592fcbe38 Tagging 2.6.4rc1 2009-10-06 13:21:35 +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 b85c147224 Blocked revisions 72226 via svnmerge
........
  r72226 | kurt.kaiser | 2009-05-02 21:03:44 -0400 (Sat, 02 May 2009) | 3 lines

  idle.py modified and simplified to better support
  developing experimental versions of IDLE which are
  not installed in the standard location.
........
2009-10-04 22:48:25 +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