]> granicus.if.org Git - python/log
python
16 years agoDoc fixes. Remove overbroad, redundant warnings. Fixup example code.
Raymond Hettinger [Wed, 4 Feb 2009 11:59:49 +0000 (11:59 +0000)]
Doc fixes. Remove overbroad, redundant warnings. Fixup example code.

16 years agoBlocked revisions 69252-69253 via svnmerge
Brett Cannon [Tue, 3 Feb 2009 05:01:06 +0000 (05:01 +0000)]
Blocked revisions 69252-69253 via svnmerge

........
  r69252 | brett.cannon | 2009-02-02 20:58:29 -0800 (Mon, 02 Feb 2009) | 3 lines

  Make importlib a package. This allows using svn:externals in the sandbox to
  package up the code for separate distribution.
........
  r69253 | brett.cannon | 2009-02-02 20:59:58 -0800 (Mon, 02 Feb 2009) | 1 line

  Ignore bytecode files in importlib.
........

16 years agoMore informative NEWS entry.
Raymond Hettinger [Tue, 3 Feb 2009 03:44:39 +0000 (03:44 +0000)]
More informative NEWS entry.

16 years agoRegister decimals as numbers.Number
Raymond Hettinger [Tue, 3 Feb 2009 03:42:07 +0000 (03:42 +0000)]
Register decimals as numbers.Number

16 years agoRecord operator deprecations in docs.
Raymond Hettinger [Tue, 3 Feb 2009 03:36:27 +0000 (03:36 +0000)]
Record operator deprecations in docs.

16 years agoValidate that __length_hint__ returns a usable result.
Raymond Hettinger [Tue, 3 Feb 2009 02:28:00 +0000 (02:28 +0000)]
Validate that __length_hint__ returns a usable result.

16 years agoIssue 1242657: list(obj) can swallow KeyboardInterrupt
Raymond Hettinger [Mon, 2 Feb 2009 22:44:06 +0000 (22:44 +0000)]
Issue 1242657: list(obj) can swallow KeyboardInterrupt

16 years agoMerged revisions 69217,69219 via svnmerge from
Guilherme Polo [Mon, 2 Feb 2009 21:15:41 +0000 (21:15 +0000)]
Merged revisions 69217,69219 via svnmerge from
svn+ssh://pythondev/python/trunk

........
  r69217 | guilherme.polo | 2009-02-02 19:08:32 -0200 (Mon, 02 Feb 2009) | 1 line

  Fix for issue #1581476
........
  r69219 | guilherme.polo | 2009-02-02 19:14:14 -0200 (Mon, 02 Feb 2009) | 1 line

  NEWS entry for issue #1581476
........

16 years agoMerged revisions 69205 via svnmerge from
Martin v. Löwis [Mon, 2 Feb 2009 14:24:18 +0000 (14:24 +0000)]
Merged revisions 69205 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69205 | martin.v.loewis | 2009-02-02 15:23:16 +0100 (Mo, 02 Feb 2009) | 1 line

  Issue #4494: Fix build with Py_NO_ENABLE_SHARED on Windows.
........

16 years agoMerged revisions 69200 via svnmerge from
Hirokazu Yamamoto [Mon, 2 Feb 2009 08:27:16 +0000 (08:27 +0000)]
Merged revisions 69200 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69200 | hirokazu.yamamoto | 2009-02-02 17:01:17 +0900 | 1 line

  Set native svn:eol-style property for text files.
........

16 years agoBlocked revisions 69169,69195 via svnmerge
Guilherme Polo [Mon, 2 Feb 2009 00:42:09 +0000 (00:42 +0000)]
Blocked revisions 69169,69195 via svnmerge

........
  r69169 | guilherme.polo | 2009-02-01 00:56:16 -0200 (Sun, 01 Feb 2009) | 3 lines

  Restore Tkinter.Tk._loadtk so this test doesn't fail for problems
  related to ttk.
........
  r69195 | guilherme.polo | 2009-02-01 22:38:54 -0200 (Sun, 01 Feb 2009) | 3 lines

  Use a single Tcl interpreter through all these tests, this may help some
  failing buildbots.
........

16 years agomerge 69161 wording update.
Gregory P. Smith [Sun, 1 Feb 2009 00:25:16 +0000 (00:25 +0000)]
merge 69161 wording update.

16 years ago#documentation update for issue4903 -
Gregory P. Smith [Sun, 1 Feb 2009 00:19:42 +0000 (00:19 +0000)]
#documentation update for issue4903 -
 svn merge -c68535 http://svn.python.org/projects/python/trunk
 svn merge -c69159 http://svn.python.org/projects/python/trunk

16 years agoreindent, again
Benjamin Peterson [Sat, 31 Jan 2009 22:25:08 +0000 (22:25 +0000)]
reindent, again

16 years agoexpand tabs in unicodeobject.c
Benjamin Peterson [Sat, 31 Jan 2009 16:34:44 +0000 (16:34 +0000)]
expand tabs in unicodeobject.c

16 years agoMerged revisions 69106 via svnmerge from
Tarek Ziadé [Thu, 29 Jan 2009 23:51:53 +0000 (23:51 +0000)]
Merged revisions 69106 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69106 | tarek.ziade | 2009-01-30 00:49:17 +0100 (Fri, 30 Jan 2009) | 1 line

  fixed test_make_distribution so it runs on any platform, as long as tar an gzip are available
........

16 years agoMerged revisions 69100 via svnmerge from
Antoine Pitrou [Thu, 29 Jan 2009 20:30:51 +0000 (20:30 +0000)]
Merged revisions 69100 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69100 | antoine.pitrou | 2009-01-29 21:19:34 +0100 (jeu., 29 janv. 2009) | 5 lines

  Issue #2047: shutil.move() could believe that its destination path was
  inside its source path if it began with the same letters (e.g. "src" vs.
  "src.new").
........

16 years agoMerged revisions 69094 via svnmerge from
Mark Hammond [Thu, 29 Jan 2009 12:31:51 +0000 (12:31 +0000)]
Merged revisions 69094 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69094 | mark.hammond | 2009-01-29 23:13:31 +1100 (Thu, 29 Jan 2009) | 2 lines

  Fix issue5075: bdist_wininst should not depend on the vc runtime?
........

16 years agoMerged revisions 69078-69079 via svnmerge from
Brett Cannon [Thu, 29 Jan 2009 03:58:16 +0000 (03:58 +0000)]
Merged revisions 69078-69079 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69078 | brett.cannon | 2009-01-28 16:54:11 -0800 (Wed, 28 Jan 2009) | 2 lines

  Clarify some __del__ stuff.
........
  r69079 | brett.cannon | 2009-01-28 16:54:32 -0800 (Wed, 28 Jan 2009) | 2 lines

  Minor spelling mistake in datetime docs.
........

16 years agoMerged revisions 69083 via svnmerge from
Benjamin Peterson [Thu, 29 Jan 2009 03:11:30 +0000 (03:11 +0000)]
Merged revisions 69083 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69083 | benjamin.peterson | 2009-01-28 21:03:00 -0600 (Wed, 28 Jan 2009) | 1 line

  fix download url
........

16 years agoCorrect docs for ABCs (MutableSequence was missing __setiem). Simplify the table...
Raymond Hettinger [Thu, 29 Jan 2009 00:02:31 +0000 (00:02 +0000)]
Correct docs for ABCs (MutableSequence was missing __setiem).  Simplify the table by taking out inherited requirements for abstract methods.

16 years agoIssue 4920: Fixed next() vs __next__() issues in the ABCs
Raymond Hettinger [Wed, 28 Jan 2009 23:14:58 +0000 (23:14 +0000)]
Issue 4920:  Fixed next() vs __next__() issues in the ABCs
for Iterator and MutableSet.  Also added thorough test for
required abstractmethods.

16 years agoBlocked revisions 69060-69063 via svnmerge
Guilherme Polo [Wed, 28 Jan 2009 20:47:52 +0000 (20:47 +0000)]
Blocked revisions 69060-69063 via svnmerge

........
  r69060 | guilherme.polo | 2009-01-28 17:23:28 -0200 (Wed, 28 Jan 2009) | 2 lines

  Added support for collecting tests only from specific packages.
........
  r69061 | guilherme.polo | 2009-01-28 17:28:04 -0200 (Wed, 28 Jan 2009) | 4 lines

  * Renaming test_tk_* to test_ttk_* since that is what they are testing.
  * Added ttk tests to the expected skips mapping just like where test_tcl
  was expected to be skipped too.
........
  r69062 | guilherme.polo | 2009-01-28 18:02:01 -0200 (Wed, 28 Jan 2009) | 1 line

  Make sure the root windows gets destroyed
........
  r69063 | guilherme.polo | 2009-01-28 18:03:26 -0200 (Wed, 28 Jan 2009) | 2 lines

  Issue #5083: New 'gui' resource for regrtest.
........

16 years agoBlocked revisions 69050,69053 via svnmerge
Guilherme Polo [Wed, 28 Jan 2009 16:12:35 +0000 (16:12 +0000)]
Blocked revisions 69050,69053 via svnmerge

........
  r69050 | guilherme.polo | 2009-01-28 11:09:03 -0200 (Wed, 28 Jan 2009) | 2 lines

  Added the ttk module. See issue #2983: Ttk support for Tkinter.
........
  r69053 | guilherme.polo | 2009-01-28 13:56:01 -0200 (Wed, 28 Jan 2009) | 2 lines

  Demos for ttk added.
........

16 years agoMerged revisions 69038 via svnmerge from
Mark Hammond [Tue, 27 Jan 2009 23:30:15 +0000 (23:30 +0000)]
Merged revisions 69038 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69038 | mark.hammond | 2009-01-28 10:12:23 +1100 (Wed, 28 Jan 2009) | 3 lines

  On Windows, use the Python 'Activation Context' when loading extensions
  to avoid problems loading the CRT from a private assembly.  Via bug 4566.
........

16 years agoIssue 5021: doctest.testfile should set __name__
Raymond Hettinger [Tue, 27 Jan 2009 10:30:26 +0000 (10:30 +0000)]
Issue 5021: doctest.testfile should set __name__

16 years agoFixup itertools recipe to cover a corner case.
Raymond Hettinger [Tue, 27 Jan 2009 06:38:00 +0000 (06:38 +0000)]
Fixup itertools recipe to cover a corner case.

16 years agoAllow docs to be built with Sphinx 0.5.x.
Georg Brandl [Mon, 26 Jan 2009 23:06:17 +0000 (23:06 +0000)]
Allow docs to be built with Sphinx 0.5.x.

16 years agoMerged revisions 68978 via svnmerge from
Mark Dickinson [Mon, 26 Jan 2009 21:53:32 +0000 (21:53 +0000)]
Merged revisions 68978 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68978 | mark.dickinson | 2009-01-26 21:51:56 +0000 (Mon, 26 Jan 2009) | 3 lines

  Issue #5073: Fix occasional failure of bsddb/test/test_lock.py.  Thanks
  Hirokazu Yamamoto for the patch.
........

16 years agoMerged revisions 68974-68975 via svnmerge from
Mark Dickinson [Mon, 26 Jan 2009 21:43:42 +0000 (21:43 +0000)]
Merged revisions 68974-68975 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68974 | mark.dickinson | 2009-01-26 21:36:30 +0000 (Mon, 26 Jan 2009) | 4 lines

  Fix undefined behaviour (left shift of negative value) in long_hash.  Also,
  rewrap a line of length > 79, and update comments.
........
  r68975 | mark.dickinson | 2009-01-26 21:40:08 +0000 (Mon, 26 Jan 2009) | 2 lines

  Fix comment.
........

16 years agoMerged revisions 68951 via svnmerge from
Tarek Ziadé [Mon, 26 Jan 2009 17:20:15 +0000 (17:20 +0000)]
Merged revisions 68951 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68951 | tarek.ziade | 2009-01-26 00:34:00 +0100 (Mon, 26 Jan 2009) | 1 line

  Fixed #1885: --formats=tar,gztar was not working properly in the sdist command
........

16 years agoFix signed/unsigned mismatch.
Raymond Hettinger [Mon, 26 Jan 2009 16:55:41 +0000 (16:55 +0000)]
Fix signed/unsigned mismatch.

16 years agoBackport r68942: update powerset() recipe.
Raymond Hettinger [Mon, 26 Jan 2009 02:17:52 +0000 (02:17 +0000)]
Backport r68942:  update powerset() recipe.

16 years agoBlocked revisions 68953 via svnmerge
Brett Cannon [Mon, 26 Jan 2009 01:21:54 +0000 (01:21 +0000)]
Blocked revisions 68953 via svnmerge

........
  r68953 | brett.cannon | 2009-01-25 17:16:50 -0800 (Sun, 25 Jan 2009) | 3 lines

  Backport importlib in the form of providing importlib.import_module(). This has
  been done purely to help transitions from 2.7 to 3.1.
........

16 years agoMerged revisions 68947 via svnmerge from
Mark Dickinson [Sun, 25 Jan 2009 22:20:39 +0000 (22:20 +0000)]
Merged revisions 68947 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68947 | mark.dickinson | 2009-01-25 22:12:31 +0000 (Sun, 25 Jan 2009) | 3 lines

  No need for carry to be type twodigits in _PyLong_AsByteArray; digit is large enough.
  This change should silence a compiler warning on Windows.
........

16 years agoBlocked revisions 68943 via svnmerge
Tarek Ziadé [Sun, 25 Jan 2009 22:12:09 +0000 (22:12 +0000)]
Blocked revisions 68943 via svnmerge

........
  r68943 | tarek.ziade | 2009-01-25 23:09:10 +0100 (Sun, 25 Jan 2009) | 1 line

  Issue #5052: removed backward compatibility information (out of date)
........

16 years agoBlocked revisions 68933 via svnmerge
Tarek Ziadé [Sun, 25 Jan 2009 19:30:17 +0000 (19:30 +0000)]
Blocked revisions 68933 via svnmerge

........
  r68933 | tarek.ziade | 2009-01-25 20:29:10 +0100 (Sun, 25 Jan 2009) | 1 line

  Issue #4863, removing remaining bits
........

16 years agoBlocked revisions 68929 via svnmerge
Tarek Ziadé [Sun, 25 Jan 2009 18:21:04 +0000 (18:21 +0000)]
Blocked revisions 68929 via svnmerge

........
  r68929 | tarek.ziade | 2009-01-25 19:19:25 +0100 (Sun, 25 Jan 2009) | 1 line

  Fixed #4863: removed distutils.mwerkscompiler
........

16 years agoMerged revisions 68920 via svnmerge from
Mark Dickinson [Sun, 25 Jan 2009 10:47:45 +0000 (10:47 +0000)]
Merged revisions 68920 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68920 | mark.dickinson | 2009-01-25 10:39:15 +0000 (Sun, 25 Jan 2009) | 2 lines

  Remove uses of cmp from the decimal module.
........

16 years agoMerged revisions 68903,68906 via svnmerge from
Mark Dickinson [Sat, 24 Jan 2009 21:30:14 +0000 (21:30 +0000)]
Merged revisions 68903,68906 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68903 | mark.dickinson | 2009-01-24 16:40:29 +0000 (Sat, 24 Jan 2009) | 5 lines

  Issue #1672332: Fix unpickling of subnormal floats, which was raising
  ValueError on some platforms as a result of the platform strtod setting
  errno on underflow.
........
  r68906 | mark.dickinson | 2009-01-24 21:08:38 +0000 (Sat, 24 Jan 2009) | 2 lines

  Issue #3657: fix occasional test_pickletools failures.
........

16 years agoMerged revisions 68897 via svnmerge from
Mark Dickinson [Sat, 24 Jan 2009 16:20:50 +0000 (16:20 +0000)]
Merged revisions 68897 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68897 | mark.dickinson | 2009-01-24 16:17:27 +0000 (Sat, 24 Jan 2009) | 2 lines

  Issue #5025: Fix occasional test_kqueue failure on OS X.
........

16 years agoMerged revisions 68893 via svnmerge from
Martin v. Löwis [Sat, 24 Jan 2009 15:50:00 +0000 (15:50 +0000)]
Merged revisions 68893 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68893 | martin.v.loewis | 2009-01-24 16:47:27 +0100 (Sa, 24 Jan 2009) | 3 lines

  Issue #3881: Help Tcl to load even when started through the
  unreadable local symlink to "Program Files" on Vista.
........

16 years agoMerged revisions 68890 via svnmerge from
Mark Dickinson [Sat, 24 Jan 2009 15:42:34 +0000 (15:42 +0000)]
Merged revisions 68890 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68890 | mark.dickinson | 2009-01-24 15:27:44 +0000 (Sat, 24 Jan 2009) | 6 lines

  Issue #4393: fix 3 classes of potential portability problems in longobject.c:
   - fix some places where counters into ob_digit were declared as
     int instead of Py_ssize_t
   - add (twodigit) casts where necessary
   - fix code in _PyLong_AsByteArray that uses << on negative values
........

16 years agoMerged revisions 68885 via svnmerge from
Martin v. Löwis [Sat, 24 Jan 2009 14:04:33 +0000 (14:04 +0000)]
Merged revisions 68885 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68885 | martin.v.loewis | 2009-01-24 15:00:33 +0100 (Sa, 24 Jan 2009) | 3 lines

  Issue #4710: Extract directories properly in the zipfile module;
  allow adding directories to a zipfile.
........

16 years agoMerged revisions 68835 via svnmerge from
Antoine Pitrou [Wed, 21 Jan 2009 00:56:37 +0000 (00:56 +0000)]
Merged revisions 68835 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68835 | antoine.pitrou | 2009-01-21 01:45:36 +0100 (mer., 21 janv. 2009) | 6 lines

  Issue #5008: When a file is opened in append mode with the new IO library,
  do an explicit seek to the end of file (so that e.g. tell() returns the
  file size rather than 0). This is consistent with the behaviour of the
  traditional 2.x file object.
........

16 years agoIssue 5013: Fixed bug in FileHandler when delay was set - added fix for RotatingFileH...
Vinay Sajip [Tue, 20 Jan 2009 23:20:02 +0000 (23:20 +0000)]
Issue 5013: Fixed bug in FileHandler when delay was set - added fix for RotatingFileHandler and changed header comment slightly.

16 years agoIssue 5013: Fixed bug in FileHandler when delay was set.
Vinay Sajip [Tue, 20 Jan 2009 22:49:13 +0000 (22:49 +0000)]
Issue 5013: Fixed bug in FileHandler when delay was set.

16 years agoMerged revisions 68779 via svnmerge from
Benjamin Peterson [Mon, 19 Jan 2009 21:02:45 +0000 (21:02 +0000)]
Merged revisions 68779 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68779 | benjamin.peterson | 2009-01-19 11:37:42 -0600 (Mon, 19 Jan 2009) | 1 line

  make bad file descriptor tests more robust
........

16 years agoMerged revisions 68755 via svnmerge from
Benjamin Peterson [Mon, 19 Jan 2009 15:59:36 +0000 (15:59 +0000)]
Merged revisions 68755 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68755 | benjamin.peterson | 2009-01-18 18:08:08 -0600 (Sun, 18 Jan 2009) | 1 line

  raise an OSError for invalid fds #4991
........

16 years agoMerged revisions 68610,68621-68622,68649 via svnmerge from
Benjamin Peterson [Mon, 19 Jan 2009 15:06:00 +0000 (15:06 +0000)]
Merged revisions 68610,68621-68622,68649 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68610 | kristjan.jonsson | 2009-01-15 03:09:13 -0600 (Thu, 15 Jan 2009) | 3 lines

  Fix recently introduced test cases.
  For datetime, gentoo didn't seem to mind the %e format for strftime.  So, we just excercise those instead making sure that we don't crash.
  For test_os, two cases were incorrect.
........
  r68621 | kristjan.jonsson | 2009-01-15 16:40:03 -0600 (Thu, 15 Jan 2009) | 1 line

  Fix two test cases in test_os.  ftruncate raises IOError unlike all the others which raise OSError.  And close() on some platforms doesn't complain when given an invalid file descriptor.
........
  r68622 | kristjan.jonsson | 2009-01-15 16:46:26 -0600 (Thu, 15 Jan 2009) | 1 line

  Make all the invalid fd tests for os subject to the function being available.
........
  r68649 | benjamin.peterson | 2009-01-16 22:39:05 -0600 (Fri, 16 Jan 2009) | 1 line

  trying to find some fpathconf() settings that all unixs support...
........

16 years agoMerged revisions 68678 via svnmerge from
Amaury Forgeot d'Arc [Sun, 18 Jan 2009 20:27:45 +0000 (20:27 +0000)]
Merged revisions 68678 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68678 | amaury.forgeotdarc | 2009-01-17 23:43:50 +0100 (Sat, 17 Jan 2009) | 3 lines

  follow-up of #3997: since 0xFFFF numbers are not enough to indicate a zip64 format,
  always try to read the "zip64 end of directory structure".
........

16 years agoMerged revisions 68708 via svnmerge from
Benjamin Peterson [Sun, 18 Jan 2009 04:01:18 +0000 (04:01 +0000)]
Merged revisions 68708 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68708 | jesse.noller | 2009-01-17 20:45:38 -0600 (Sat, 17 Jan 2009) | 1 line

  Resolve issue 4449: AssertionError in mp_benchmarks.py
........

16 years agoMerged revisions 68661 via svnmerge from
Amaury Forgeot d'Arc [Sat, 17 Jan 2009 16:46:35 +0000 (16:46 +0000)]
Merged revisions 68661 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68661 | amaury.forgeotdarc | 2009-01-17 17:40:17 +0100 (Sat, 17 Jan 2009) | 5 lines

  #3997: zipfiles generated with more than 65536 files could not be opened
  with other applications.

  Reviewed by Martin, will backport to 2.6 and 3.0
........

16 years agoMerged revisions 68611-68613 via svnmerge from
Mark Dickinson [Thu, 15 Jan 2009 15:25:51 +0000 (15:25 +0000)]
Merged revisions 68611-68613 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68611 | mark.dickinson | 2009-01-15 14:54:37 +0000 (Thu, 15 Jan 2009) | 2 lines

  Issue #4397.  Fix occasional test_socket failure on OS X.
........
  r68612 | mark.dickinson | 2009-01-15 14:58:28 +0000 (Thu, 15 Jan 2009) | 2 lines

  Comment typo
........
  r68613 | mark.dickinson | 2009-01-15 15:17:43 +0000 (Thu, 15 Jan 2009) | 2 lines

  Another typo fix.
........

16 years agoBlocked revisions 68532,68542,68544-68546,68559-68560,68562,68565-68569 via svnmerge
Georg Brandl [Wed, 14 Jan 2009 00:08:45 +0000 (00:08 +0000)]
Blocked revisions 68532,68542,68544-68546,68559-68560,68562,68565-68569 via svnmerge

........
  r68532 | kristjan.jonsson | 2009-01-11 17:23:37 +0100 (So, 11 Jan 2009) | 1 line

  Issue 4879: Allow buffering for HTTPResponse
........
  r68542 | martin.v.loewis | 2009-01-12 09:11:24 +0100 (Mo, 12 Jan 2009) | 2 lines

  Issue #4893: Use NT threading on CE.
........
  r68544 | kristjan.jonsson | 2009-01-12 10:20:34 +0100 (Mo, 12 Jan 2009) | 1 line

  Update Misc/NEWS for issue 3582
........
  r68545 | kristjan.jonsson | 2009-01-12 10:24:04 +0100 (Mo, 12 Jan 2009) | 1 line

  Misc/NEWS for issue 4293
........
  r68546 | raymond.hettinger | 2009-01-12 11:37:32 +0100 (Mo, 12 Jan 2009) | 1 line

  Optimize heapq.nsmallest/nlargest for cases where n==1 or n>=size.
........
  r68559 | raymond.hettinger | 2009-01-12 23:58:41 +0100 (Mo, 12 Jan 2009) | 1 line

  Issue 1696199: Add collections.Counter().
........
  r68560 | amaury.forgeotdarc | 2009-01-13 00:36:55 +0100 (Di, 13 Jan 2009) | 6 lines

  #3720: Interpreter crashes when an evil iterator removes its own next function.

  Now the slot is filled with a function that always raises.

  Will not backport: extensions compiled with 2.6.x would not run on 2.6.0.
........
  r68562 | raymond.hettinger | 2009-01-13 02:05:03 +0100 (Di, 13 Jan 2009) | 7 lines

  Simplify Counter() API.  Replace items keyword argument
  with a mapping.  Makes Counter() idempotent, makes update()
  API the same as Counter.__init__(), makes a more readable
  repr, makes the API more dict-like, and allows Steven
  Bethard's update() example to work.
........
  r68565 | raymond.hettinger | 2009-01-13 04:49:43 +0100 (Di, 13 Jan 2009) | 1 line

  Minor documentation tweaks and simpler update() example.
........
  r68566 | raymond.hettinger | 2009-01-13 05:13:53 +0100 (Di, 13 Jan 2009) | 1 line

  Fixup and simplify docstrings and doctests.
........
  r68567 | raymond.hettinger | 2009-01-13 05:50:35 +0100 (Di, 13 Jan 2009) | 1 line

  Speed-up __repr__.  Eliminate duplicate tests.  Use a from-irmport.
........
  r68568 | georg.brandl | 2009-01-13 09:11:07 +0100 (Di, 13 Jan 2009) | 2 lines

  Fix call signature and markup.
........
  r68569 | raymond.hettinger | 2009-01-13 09:38:14 +0100 (Di, 13 Jan 2009) | 7 lines

  Add table of idioms/patterns for using Counter objects.
  Improve the appearance and flow of the References section -- it used
  to have a box around it that wasn't distinct from the preceding code
  boxes and it had a weird bolding pattern and hanging indents that
  made the section disproportionately large.
........

16 years agoMerged revisions 68521,68527,68534-68536,68540,68547,68552,68563,68570,68572,68575...
Georg Brandl [Wed, 14 Jan 2009 00:08:09 +0000 (00:08 +0000)]
Merged revisions 68521,68527,68534-68536,68540,68547,68552,68563,68570,68572,68575,68579-68580,68584 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68521 | hirokazu.yamamoto | 2009-01-11 04:28:13 +0100 (So, 11 Jan 2009) | 1 line

  Fixed version number in build_ssl.bat.
........
  r68527 | martin.v.loewis | 2009-01-11 10:43:55 +0100 (So, 11 Jan 2009) | 2 lines

  Issue #4895: Use _strdup on Windows CE.
........
  r68534 | gregory.p.smith | 2009-01-11 18:53:33 +0100 (So, 11 Jan 2009) | 2 lines

  correct email address
........
  r68535 | gregory.p.smith | 2009-01-11 18:57:54 +0100 (So, 11 Jan 2009) | 9 lines

  Update the documentation for binascii and zlib crc32/adler32 functions
  to better describe the signed vs unsigned return value behavior on
  different platforms and versions of python.  Mention the workaround to
  make them all return the same thing by using & 0xffffffff.

  Fixes issue4903.

  Also needs to be merged into release26-maint, release30-maint, & py3k.
........
  r68536 | benjamin.peterson | 2009-01-11 20:48:15 +0100 (So, 11 Jan 2009) | 1 line

  add email addresses
........
  r68540 | martin.v.loewis | 2009-01-12 08:57:11 +0100 (Mo, 12 Jan 2009) | 2 lines

  Issue #4915: Port sysmodule to Windows CE.
........
  r68547 | kristjan.jonsson | 2009-01-12 19:09:27 +0100 (Mo, 12 Jan 2009) | 1 line

  Add tests for invalid format specifiers in strftime, and for handling of invalid file descriptors in the os module.
........
  r68552 | vinay.sajip | 2009-01-12 21:36:18 +0100 (Mo, 12 Jan 2009) | 1 line

  Minor changes/corrections in markup.
........
  r68563 | benjamin.peterson | 2009-01-13 02:49:10 +0100 (Di, 13 Jan 2009) | 1 line

  small logic correction
........
  r68570 | raymond.hettinger | 2009-01-13 10:08:32 +0100 (Di, 13 Jan 2009) | 5 lines

  Issue 4922: Incorrect comments for MutableSet.add() and MutableSet.discard().

  Needs to be backported to 2.6 and forward ported to 3.0 and 3.1.
........
  r68572 | andrew.kuchling | 2009-01-13 14:40:54 +0100 (Di, 13 Jan 2009) | 1 line

  Note that first coord. is left alone
........
  r68575 | thomas.heller | 2009-01-13 18:32:28 +0100 (Di, 13 Jan 2009) | 1 line

  Fix refcount leak in error cases.  Bug found by coverity.
........
  r68579 | benjamin.peterson | 2009-01-13 22:42:23 +0100 (Di, 13 Jan 2009) | 1 line

  make bytearrayobject.o depend on the stringlib #4936
........
  r68580 | benjamin.peterson | 2009-01-13 22:43:11 +0100 (Di, 13 Jan 2009) | 1 line

  add bytearrayobject.h to PYTHON_HEADERS
........
  r68584 | benjamin.peterson | 2009-01-13 23:22:41 +0100 (Di, 13 Jan 2009) | 1 line

  de-spacify
........

16 years agoBlocked revisions 68238,68240,68243,68319,68381,68425,68432,68455,68458-68461,68484...
Georg Brandl [Wed, 14 Jan 2009 00:01:13 +0000 (00:01 +0000)]
Blocked revisions 68238,68240,68243,68319,68381,68425,68432,68455,68458-68461,68484-68485,68496,68498 via svnmerge

........
  r68238 | georg.brandl | 2009-01-03 23:03:11 +0100 (Sa, 03 Jan 2009) | 2 lines

  Manually merge r68095,68186,68187,68188,68190 from 2.6 branch.
........
  r68240 | georg.brandl | 2009-01-03 23:05:22 +0100 (Sa, 03 Jan 2009) | 2 lines

  Manually merge r67868 from 2.6 branch.
........
  r68243 | georg.brandl | 2009-01-03 23:15:42 +0100 (Sa, 03 Jan 2009) | 2 lines

  Add temporary code to fix the automatic doc build failure.
........
  r68319 | antoine.pitrou | 2009-01-04 22:29:23 +0100 (So, 04 Jan 2009) | 3 lines

  Issue #4272: Add an optional argument to the GzipFile constructor to override the timestamp in the gzip stream.
........
  r68381 | martin.v.loewis | 2009-01-07 19:40:40 +0100 (Mi, 07 Jan 2009) | 2 lines

  Issue #4850: Change COUNT_ALLOCS variables to Py_ssize_t.
........
  r68425 | benjamin.peterson | 2009-01-09 03:56:32 +0100 (Fr, 09 Jan 2009) | 1 line

  fix markup
........
  r68432 | benjamin.peterson | 2009-01-09 04:15:00 +0100 (Fr, 09 Jan 2009) | 1 line

  remove temporary code now
........
  r68455 | kristjan.jonsson | 2009-01-09 21:03:27 +0100 (Fr, 09 Jan 2009) | 1 line

  Issue 3582.  Improved thread support and TLS for Windows
........
  r68458 | kristjan.jonsson | 2009-01-09 21:23:16 +0100 (Fr, 09 Jan 2009) | 1 line

  Issue 4336:  HTTPRequest._send_output() now deals with the case of the message body not being a string.  This allows clients to use endheaders(message_body) instead of endheaders() + send(message_body) without making any extra checks.
........
  r68459 | kristjan.jonsson | 2009-01-09 21:27:16 +0100 (Fr, 09 Jan 2009) | 1 line

  Issue 4336:  Let users of HTTPConnection.endheaders() submit a message body to the function if required.
........
  r68460 | kristjan.jonsson | 2009-01-09 21:31:26 +0100 (Fr, 09 Jan 2009) | 1 line

  Issue 4293:  Make Py_AddPendingCall() thread safe
........
  r68461 | kristjan.jonsson | 2009-01-09 22:35:16 +0100 (Fr, 09 Jan 2009) | 2 lines

  Issue 4293:  Make Py_AddPendingCall() thread safe
  Add test cases and documentation
........
  r68484 | antoine.pitrou | 2009-01-10 17:13:45 +0100 (Sa, 10 Jan 2009) | 3 lines

  Issue #3860: GzipFile and BZ2File now support the context manager protocol.
........
  r68485 | antoine.pitrou | 2009-01-10 17:15:24 +0100 (Sa, 10 Jan 2009) | 1 line

  Add NEWS entry for r68484.
........
  r68496 | antoine.pitrou | 2009-01-10 19:33:21 +0100 (Sa, 10 Jan 2009) | 3 lines

  Add ACKS entries for some of the patches I've been committing.
........
  r68498 | benjamin.peterson | 2009-01-10 20:08:49 +0100 (Sa, 10 Jan 2009) | 1 line

  fix encoding
........

16 years agoMerged revisions 68292,68344,68361,68378,68424,68426,68429-68430,68450,68457,68480...
Georg Brandl [Wed, 14 Jan 2009 00:00:17 +0000 (00:00 +0000)]
Merged revisions 68292,68344,68361,68378,68424,68426,68429-68430,68450,68457,68480-68481,68493,68495,68499,68501,68512,68514-68515 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68292 | skip.montanaro | 2009-01-04 11:36:58 +0100 (So, 04 Jan 2009) | 3 lines

  If user configures --without-gcc give preference to $CC instead of blindly
  assuming the compiler will be "cc".
........
  r68344 | marc-andre.lemburg | 2009-01-05 20:43:35 +0100 (Mo, 05 Jan 2009) | 7 lines

  Fix #4846 (Py_UNICODE_ISSPACE causes linker error) by moving the declaration
  into the extern "C" section.

  Add a few more comments and apply some minor edits to make the file contents
  fit the original structure again.
........
  r68361 | antoine.pitrou | 2009-01-06 19:34:08 +0100 (Di, 06 Jan 2009) | 3 lines

  Use shutil.rmtree rather than os.rmdir.
........
  r68378 | mark.dickinson | 2009-01-07 18:48:33 +0100 (Mi, 07 Jan 2009) | 2 lines

  Issue #4869: clarify documentation for random.expovariate.
........
  r68424 | benjamin.peterson | 2009-01-09 03:53:35 +0100 (Fr, 09 Jan 2009) | 1 line

  specify what -3 warnings are about
........
  r68426 | benjamin.peterson | 2009-01-09 04:03:05 +0100 (Fr, 09 Jan 2009) | 1 line

  fix spelling
........
  r68429 | benjamin.peterson | 2009-01-09 04:05:14 +0100 (Fr, 09 Jan 2009) | 1 line

  add -3 to manpage
........
  r68430 | benjamin.peterson | 2009-01-09 04:07:27 +0100 (Fr, 09 Jan 2009) | 1 line

  be more specific in -3 option help
........
  r68450 | jeffrey.yasskin | 2009-01-09 17:47:07 +0100 (Fr, 09 Jan 2009) | 3 lines

  Fix issue 4884, preventing a crash in the socket code when python is compiled
  with llvm-gcc and run with a glibc <2.10.
........
  r68457 | kristjan.jonsson | 2009-01-09 21:10:59 +0100 (Fr, 09 Jan 2009) | 1 line

  Issue 3677:  Fix import from UNC paths on Windows.
........
  r68480 | vinay.sajip | 2009-01-10 14:38:04 +0100 (Sa, 10 Jan 2009) | 1 line

  Minor documentation changes cross-referencing NullHandler to the documentation on configuring logging in a library.
........
  r68481 | vinay.sajip | 2009-01-10 14:42:04 +0100 (Sa, 10 Jan 2009) | 1 line

  Corrected an incorrect self-reference.
........
  r68493 | benjamin.peterson | 2009-01-10 18:18:55 +0100 (Sa, 10 Jan 2009) | 1 line

  rewrite verbose conditionals
........
  r68495 | benjamin.peterson | 2009-01-10 18:36:44 +0100 (Sa, 10 Jan 2009) | 1 line

  tp_iter only exists with Py_TPFLAGS_HAVE_ITER #4901
........
  r68499 | mark.dickinson | 2009-01-10 20:14:55 +0100 (Sa, 10 Jan 2009) | 2 lines

  Remove an unnecessary check from test_decimal.
........
  r68501 | vinay.sajip | 2009-01-10 20:22:57 +0100 (Sa, 10 Jan 2009) | 1 line

  Corrected minor typo and added .currentmodule directives to fix missing cross-references.
........
  r68512 | benjamin.peterson | 2009-01-10 23:42:10 +0100 (Sa, 10 Jan 2009) | 1 line

  make tests fail if they can't be imported
........
  r68514 | benjamin.peterson | 2009-01-11 00:41:59 +0100 (So, 11 Jan 2009) | 1 line

  move seealso to a more appropiate place
........
  r68515 | benjamin.peterson | 2009-01-11 00:49:08 +0100 (So, 11 Jan 2009) | 1 line

  macos 9 isn't supported
........

16 years agoMerged revisions 68589 via svnmerge from
Antoine Pitrou [Tue, 13 Jan 2009 23:25:47 +0000 (23:25 +0000)]
Merged revisions 68589 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68589 | antoine.pitrou | 2009-01-14 00:13:52 +0100 (mer., 14 janv. 2009) | 5 lines

  Issue #4935: The overflow checking code in the expandtabs() method common
  to str, bytes and bytearray could be optimized away by the compiler, letting
  the interpreter segfault instead of raising an error.
........

16 years agoMerged revisions 68523 via svnmerge from
Martin v. Löwis [Sun, 11 Jan 2009 09:28:08 +0000 (09:28 +0000)]
Merged revisions 68523 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68523 | martin.v.loewis | 2009-01-11 10:26:54 +0100 (So, 11 Jan 2009) | 2 lines

  Issue #4279: Fix build of parsermodule under Cygwin.
........

16 years agoFixed version number in build_ssl.bat.
Hirokazu Yamamoto [Sun, 11 Jan 2009 03:32:00 +0000 (03:32 +0000)]
Fixed version number in build_ssl.bat.

16 years agoMerge r68487 from svn+ssh://pythondev@svn.python.org/python/trunk:
Matthias Klose [Sat, 10 Jan 2009 17:11:11 +0000 (17:11 +0000)]
Merge r68487 from svn+ssh://pythondev@svn.python.org/python/trunk:

- Issue #4861: ctypes.util.find_library(): Robustify. Fix library detection on
  biarch systems. Try to rely on ldconfig only, without using objdump and gcc.

16 years agoMerged revisions 68470 via svnmerge from
Hirokazu Yamamoto [Sat, 10 Jan 2009 09:35:47 +0000 (09:35 +0000)]
Merged revisions 68470 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68470 | hirokazu.yamamoto | 2009-01-10 18:18:16 +0900 | 1 line

  Added helper script to build Tcl/Tk.
........

16 years agoMerged revisions 68469 via svnmerge from
Hirokazu Yamamoto [Sat, 10 Jan 2009 09:28:57 +0000 (09:28 +0000)]
Merged revisions 68469 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68469 | hirokazu.yamamoto | 2009-01-10 17:12:09 +0900 | 1 line

  Link to debug version of Tcl/Tk when python is built as debug version.
........

16 years agoMerged revisions 68468 via svnmerge from
Hirokazu Yamamoto [Sat, 10 Jan 2009 09:24:47 +0000 (09:24 +0000)]
Merged revisions 68468 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68468 | hirokazu.yamamoto | 2009-01-10 17:09:43 +0900 | 1 line

  Bump up Tcl/Tk version on VC6. (tcl8.4.12 -> tcl8.5.2, tk8.4.12 -> tk8.5.2, tix8.4.0 -> tix8.4.3)
........

16 years agoMerged revisions 68439 via svnmerge from
Hirokazu Yamamoto [Fri, 9 Jan 2009 04:14:13 +0000 (04:14 +0000)]
Merged revisions 68439 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68439 | hirokazu.yamamoto | 2009-01-09 13:10:40 +0900 | 1 line

  Bump up bsddb version on VC6. (db-4.4.20 -> db-4.7.25)
........

16 years agoMerged revisions 68435 via svnmerge from
Hirokazu Yamamoto [Fri, 9 Jan 2009 03:56:58 +0000 (03:56 +0000)]
Merged revisions 68435 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68435 | hirokazu.yamamoto | 2009-01-09 12:32:46 +0900 | 1 line

  Bump up bzip2 version on VC6. (bzip2-1.0.3 -> bzip2-1.0.5)
........

16 years agoMerged revisions 68288-68291,68325-68326,68338,68388,68393,68423 via svnmerge from
Benjamin Peterson [Fri, 9 Jan 2009 03:04:01 +0000 (03:04 +0000)]
Merged revisions 68288-68291,68325-68326,68338,68388,68393,68423 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

................
  r68288 | benjamin.peterson | 2009-01-03 18:39:07 -0600 (Sat, 03 Jan 2009) | 1 line

  only check the actual compile() call for a SyntaxError
................
  r68289 | georg.brandl | 2009-01-04 02:26:10 -0600 (Sun, 04 Jan 2009) | 2 lines

  Test commit.
................
  r68290 | georg.brandl | 2009-01-04 04:23:49 -0600 (Sun, 04 Jan 2009) | 4 lines

  Add "suspicious" builder which finds leftover markup in the HTML files.

  Patch by Gabriel Genellina.
................
  r68291 | georg.brandl | 2009-01-04 04:24:09 -0600 (Sun, 04 Jan 2009) | 2 lines

  Fix two issues found by the suspicious builder.
................
  r68325 | benjamin.peterson | 2009-01-04 16:00:18 -0600 (Sun, 04 Jan 2009) | 1 line

  use Jinja 2.1.1
................
  r68326 | georg.brandl | 2009-01-04 16:03:10 -0600 (Sun, 04 Jan 2009) | 2 lines

  Update make.bat.
................
  r68338 | neal.norwitz | 2009-01-04 21:57:25 -0600 (Sun, 04 Jan 2009) | 1 line

  Make sure to checkout any new packages
................
  r68388 | benjamin.peterson | 2009-01-07 21:39:46 -0600 (Wed, 07 Jan 2009) | 1 line

  string exceptions are gone
................
  r68393 | benjamin.peterson | 2009-01-07 22:01:00 -0600 (Wed, 07 Jan 2009) | 1 line

  use new sphinx modules
................
  r68423 | benjamin.peterson | 2009-01-08 20:13:34 -0600 (Thu, 08 Jan 2009) | 29 lines

  Merged revisions 68306-68308,68340,68368,68422 via svnmerge from
  svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

  ........
    r68306 | benjamin.peterson | 2009-01-04 12:27:19 -0600 (Sun, 04 Jan 2009) | 1 line

    fix_urllib: add mappings for the url parsing functions
  ........
    r68307 | benjamin.peterson | 2009-01-04 12:30:01 -0600 (Sun, 04 Jan 2009) | 1 line

    remove duplicated function
  ........
    r68308 | benjamin.peterson | 2009-01-04 12:50:34 -0600 (Sun, 04 Jan 2009) | 1 line

    turtle is no longer renamed
  ........
    r68340 | georg.brandl | 2009-01-05 02:11:39 -0600 (Mon, 05 Jan 2009) | 2 lines

    Fix undefined locals in parse_tokens().
  ........
    r68368 | benjamin.peterson | 2009-01-06 17:56:10 -0600 (Tue, 06 Jan 2009) | 1 line

    fix typo (thanks to Robert Lehmann)
  ........
    r68422 | benjamin.peterson | 2009-01-08 20:01:03 -0600 (Thu, 08 Jan 2009) | 1 line

    run the imports fixers after fix_import, so fix_import doesn't try to make stdlib renames into relative imports #4876
  ........
................

16 years agoBlocked revisions 68415 via svnmerge
Tarek Ziadé [Thu, 8 Jan 2009 23:58:51 +0000 (23:58 +0000)]
Blocked revisions 68415 via svnmerge

........
  r68415 | tarek.ziade | 2009-01-09 00:56:31 +0100 (Fri, 09 Jan 2009) | 1 line

  fixed #4394 make the storage of the password optional in .pypirc
........

16 years ago- Issue 4816: itertools.combinations() and itertools.product were raising
Raymond Hettinger [Thu, 8 Jan 2009 05:20:19 +0000 (05:20 +0000)]
- Issue 4816: itertools.combinations() and itertools.product were raising
  a ValueError for values of *r* larger than the input iterable.  They now
  correctly return an empty iterator.

16 years agoMerged revisions 68373 via svnmerge from
Hirokazu Yamamoto [Wed, 7 Jan 2009 09:53:35 +0000 (09:53 +0000)]
Merged revisions 68373 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68373 | hirokazu.yamamoto | 2009-01-07 18:42:28 +0900 | 2 lines

  Issue #4864: test_msvc9compiler failed on VC6/7.
  Reviewed by Amaury Forgeot d'Arc.
........

16 years agoMerged revisions 68360 via svnmerge from
Antoine Pitrou [Tue, 6 Jan 2009 19:00:59 +0000 (19:00 +0000)]
Merged revisions 68360 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68360 | antoine.pitrou | 2009-01-06 19:10:47 +0100 (mar., 06 janv. 2009) | 7 lines

  Issue #1180193: When importing a module from a .pyc (or .pyo) file with
  an existing .py counterpart, override the co_filename attributes of all
  code objects if the original filename is obsolete (which can happen if the
  file has been renamed, moved, or if it is accessed through different paths).
  Patch by Ziga Seilnacht and Jean-Paul Calderone.
........

16 years agoMerged revisions 68312 via svnmerge from
Mark Dickinson [Mon, 5 Jan 2009 19:41:31 +0000 (19:41 +0000)]
Merged revisions 68312 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68312 | mark.dickinson | 2009-01-04 20:19:41 +0000 (Sun, 04 Jan 2009) | 4 lines

  It's wrong to use AC_REPLACE_FUNCS for hypot, since there's no longer any
  Python/hypot.c replacement file.  Use AC_CHECK_FUNCS instead.  This change
  should be backported to 2.6 and 3.0.
........

16 years agoBackport r68338: Make sure to checkout any new packages
Neal Norwitz [Mon, 5 Jan 2009 04:08:06 +0000 (04:08 +0000)]
Backport r68338: Make sure to checkout any new packages

16 years agoMerged revisions 68317-68318 via svnmerge from
Mark Dickinson [Sun, 4 Jan 2009 21:30:17 +0000 (21:30 +0000)]
Merged revisions 68317-68318 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68317 | mark.dickinson | 2009-01-04 21:22:02 +0000 (Sun, 04 Jan 2009) | 2 lines

  More Python 2.3 compatibility fixes for decimal.py.
........
  r68318 | mark.dickinson | 2009-01-04 21:25:40 +0000 (Sun, 04 Jan 2009) | 2 lines

  Misc/NEWS entry for r68317
........

16 years agoMerged revisions 68293 via svnmerge from
Tarek Ziadé [Sun, 4 Jan 2009 10:43:32 +0000 (10:43 +0000)]
Merged revisions 68293 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68293 | tarek.ziade | 2009-01-04 11:37:52 +0100 (Sun, 04 Jan 2009) | 1 line

  using clearer syntax
........

16 years agoMerged revisions 68276 via svnmerge from
Tarek Ziadé [Sun, 4 Jan 2009 00:07:14 +0000 (00:07 +0000)]
Merged revisions 68276 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68276 | tarek.ziade | 2009-01-04 01:04:49 +0100 (Sun, 04 Jan 2009) | 1 line

  fixed #1702551: distutils sdist was not pruning VCS directories under win32
........

16 years agoMerged revisions 68232 via svnmerge from
Georg Brandl [Sat, 3 Jan 2009 21:58:35 +0000 (21:58 +0000)]
Merged revisions 68232 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68232 | georg.brandl | 2009-01-03 22:52:16 +0100 (Sat, 03 Jan 2009) | 2 lines

  Grammar fix.
........

16 years agoBlocked revisions 68150,68153,68156,68158,68163,68167,68176,68203,68208-68209,68231...
Georg Brandl [Sat, 3 Jan 2009 21:56:58 +0000 (21:56 +0000)]
Blocked revisions 68150,68153,68156,68158,68163,68167,68176,68203,68208-68209,68231 via svnmerge

........
  r68150 | ronald.oussoren | 2009-01-02 12:46:05 +0100 (Fri, 02 Jan 2009) | 1 line

  Fix for issue 3433
........
  r68153 | ronald.oussoren | 2009-01-02 13:59:32 +0100 (Fri, 02 Jan 2009) | 10 lines

  Fix for issue3559: No preferences menu in IDLE on OSX

  1) Add a comment to the help file to that points to the
     preferences menu.

  2) An earlier checkin tried to detect Tk >= 8.10.14,
     but did this in the wrong way. The end result of this
     was that the IDLE->Preferences... menu got surpressed
     when using the system version of Tcl/Tk
........
  r68156 | ronald.oussoren | 2009-01-02 15:10:20 +0100 (Fri, 02 Jan 2009) | 1 line

  Fix for issue1594
........
  r68158 | ronald.oussoren | 2009-01-02 15:46:19 +0100 (Fri, 02 Jan 2009) | 2 lines

  Fix for issue 900949
........
  r68163 | ronald.oussoren | 2009-01-02 16:25:36 +0100 (Fri, 02 Jan 2009) | 2 lines

  Fix for issues #841800 and #900506
........
  r68167 | vinay.sajip | 2009-01-02 19:53:04 +0100 (Fri, 02 Jan 2009) | 1 line

  Minor documentation changes relating to NullHandler, the module used for handlers and references to ConfigParser.
........
  r68176 | andrew.kuchling | 2009-01-02 22:00:35 +0100 (Fri, 02 Jan 2009) | 1 line

  Add various items
........
  r68203 | martin.v.loewis | 2009-01-03 18:19:26 +0100 (Sat, 03 Jan 2009) | 2 lines

  Issue #4817: Remove unused function PyOS_GetLastModificationTime.
........
  r68208 | raymond.hettinger | 2009-01-03 20:02:23 +0100 (Sat, 03 Jan 2009) | 1 line

  Issue 4796: Add from_float methods to the decimal module.
........
  r68209 | raymond.hettinger | 2009-01-03 20:08:10 +0100 (Sat, 03 Jan 2009) | 1 line

  Reapply r68191.
........
  r68231 | guilherme.polo | 2009-01-03 22:51:09 +0100 (Sat, 03 Jan 2009) | 4 lines

  The _tkinter module functions "createfilehandler", "deletefilehandler",
  "createtimerhandler", "mainloop", "dooneevent" and "quit" have been
  deprecated for removal in 3.x (part of issue #3638).
........

16 years agoMerged revisions 68133-68134,68141-68142,68145-68146,68148-68149,68159-68162,68166...
Georg Brandl [Sat, 3 Jan 2009 21:55:17 +0000 (21:55 +0000)]
Merged revisions 68133-68134,68141-68142,68145-68146,68148-68149,68159-68162,68166,68171-68174,68179,68195-68196,68210,68214-68215,68217-68222 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68133 | antoine.pitrou | 2009-01-01 16:38:03 +0100 (Thu, 01 Jan 2009) | 1 line

  fill in actual issue number in tests
........
  r68134 | hirokazu.yamamoto | 2009-01-01 16:45:39 +0100 (Thu, 01 Jan 2009) | 2 lines

  Issue #4797: IOError.filename was not set when _fileio.FileIO failed to open
  file with `str' filename on Windows.
........
  r68141 | benjamin.peterson | 2009-01-01 17:43:12 +0100 (Thu, 01 Jan 2009) | 1 line

  fix highlighting
........
  r68142 | benjamin.peterson | 2009-01-01 18:29:49 +0100 (Thu, 01 Jan 2009) | 2 lines

  welcome to 2009, Python!
........
  r68145 | amaury.forgeotdarc | 2009-01-02 01:03:54 +0100 (Fri, 02 Jan 2009) | 5 lines

  #4801 _collections module fails to build on cygwin.

  _PyObject_GC_TRACK is the macro version of PyObject_GC_Track,
  and according to documentation it should not be used for extension modules.
........
  r68146 | ronald.oussoren | 2009-01-02 11:44:46 +0100 (Fri, 02 Jan 2009) | 2 lines

  Fix for issue4472: "configure --enable-shared doesn't work on OSX"
........
  r68148 | ronald.oussoren | 2009-01-02 11:48:31 +0100 (Fri, 02 Jan 2009) | 2 lines

  Forgot to add a NEWS item in my previous checkin
........
  r68149 | ronald.oussoren | 2009-01-02 11:50:48 +0100 (Fri, 02 Jan 2009) | 2 lines

  Fix for issue4780
........
  r68159 | ronald.oussoren | 2009-01-02 15:48:17 +0100 (Fri, 02 Jan 2009) | 2 lines

  Fix for issue 1627952
........
  r68160 | ronald.oussoren | 2009-01-02 15:52:09 +0100 (Fri, 02 Jan 2009) | 2 lines

  Fix for issue r1737832
........
  r68161 | ronald.oussoren | 2009-01-02 16:00:05 +0100 (Fri, 02 Jan 2009) | 3 lines

  Fix for issue 1149804
........
  r68162 | ronald.oussoren | 2009-01-02 16:06:00 +0100 (Fri, 02 Jan 2009) | 3 lines

  Fix for issue 4472 is incompatible with Cygwin, this patch
  should fix that.
........
  r68166 | benjamin.peterson | 2009-01-02 19:26:23 +0100 (Fri, 02 Jan 2009) | 1 line

  document PyMemberDef
........
  r68171 | georg.brandl | 2009-01-02 21:25:14 +0100 (Fri, 02 Jan 2009) | 3 lines

  #4811: fix markup glitches (mostly remains of the conversion),
  found by Gabriel Genellina.
........
  r68172 | martin.v.loewis | 2009-01-02 21:32:55 +0100 (Fri, 02 Jan 2009) | 2 lines

  Issue #4075: Use OutputDebugStringW in Py_FatalError.
........
  r68173 | martin.v.loewis | 2009-01-02 21:40:14 +0100 (Fri, 02 Jan 2009) | 2 lines

  Issue #4051: Prevent conflict of UNICODE macros in cPickle.
........
  r68174 | benjamin.peterson | 2009-01-02 21:47:27 +0100 (Fri, 02 Jan 2009) | 1 line

  fix compilation on non-Windows platforms
........
  r68179 | raymond.hettinger | 2009-01-02 22:26:45 +0100 (Fri, 02 Jan 2009) | 1 line

  Issue #4615.  Document how to use itertools for de-duping.
........
  r68195 | georg.brandl | 2009-01-03 14:45:15 +0100 (Sat, 03 Jan 2009) | 2 lines

  Remove useless string literal.
........
  r68196 | georg.brandl | 2009-01-03 15:29:53 +0100 (Sat, 03 Jan 2009) | 2 lines

  Fix indentation.
........
  r68210 | georg.brandl | 2009-01-03 20:10:12 +0100 (Sat, 03 Jan 2009) | 2 lines

  Set eol-style correctly for mp_distributing.py.
........
  r68214 | georg.brandl | 2009-01-03 20:44:48 +0100 (Sat, 03 Jan 2009) | 2 lines

  Make indentation consistent.
........
  r68215 | georg.brandl | 2009-01-03 21:15:14 +0100 (Sat, 03 Jan 2009) | 2 lines

  Fix role name.
........
  r68217 | georg.brandl | 2009-01-03 21:30:15 +0100 (Sat, 03 Jan 2009) | 2 lines

  Add rstlint, a little tool to find subtle markup problems and inconsistencies in the Doc sources.
........
  r68218 | georg.brandl | 2009-01-03 21:38:59 +0100 (Sat, 03 Jan 2009) | 2 lines

  Recognize usage of the default role.
........
  r68219 | georg.brandl | 2009-01-03 21:47:01 +0100 (Sat, 03 Jan 2009) | 2 lines

  Fix uses of the default role.
........
  r68220 | georg.brandl | 2009-01-03 21:55:06 +0100 (Sat, 03 Jan 2009) | 2 lines

  Remove trailing whitespace.
........
  r68221 | georg.brandl | 2009-01-03 22:04:55 +0100 (Sat, 03 Jan 2009) | 2 lines

  Remove tabs from the documentation.
........
  r68222 | georg.brandl | 2009-01-03 22:11:58 +0100 (Sat, 03 Jan 2009) | 2 lines

  Disable the line length checker by default.
........

16 years agoMerged revisions 68197 via svnmerge from
Benjamin Peterson [Sat, 3 Jan 2009 16:54:28 +0000 (16:54 +0000)]
Merged revisions 68197 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

................
  r68197 | benjamin.peterson | 2009-01-03 10:34:02 -0600 (Sat, 03 Jan 2009) | 55 lines

  Merged revisions 67900-67901,67919,67928,67984,67991-67993,68106-68108,68110 via svnmerge from
  svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

  ........
    r67900 | benjamin.peterson | 2008-12-22 14:02:45 -0600 (Mon, 22 Dec 2008) | 4 lines

    fix_execfile: wrap the open(fn).read() call in compile(), so the filename is preserved

    also add unittests for the fixer
  ........
    r67901 | benjamin.peterson | 2008-12-22 14:09:55 -0600 (Mon, 22 Dec 2008) | 1 line

    remove unused import
  ........
    r67919 | benjamin.peterson | 2008-12-23 13:12:22 -0600 (Tue, 23 Dec 2008) | 1 line

    copy permission bits from the backup to the original
  ........
    r67928 | benjamin.peterson | 2008-12-26 20:49:30 -0600 (Fri, 26 Dec 2008) | 1 line

    don't be so idiot about multiple local imports in fix_import; still won't handle absolute and local imports on the same line
  ........
    r67984 | benjamin.peterson | 2008-12-28 09:55:16 -0600 (Sun, 28 Dec 2008) | 1 line

    don't need loop
  ........
    r67991 | benjamin.peterson | 2008-12-28 14:30:26 -0600 (Sun, 28 Dec 2008) | 1 line

    actually call finish_tree()
  ........
    r67992 | benjamin.peterson | 2008-12-28 14:34:47 -0600 (Sun, 28 Dec 2008) | 1 line

    remove useless test
  ........
    r67993 | benjamin.peterson | 2008-12-28 15:04:32 -0600 (Sun, 28 Dec 2008) | 1 line

    update pyk3's test grammar
  ........
    r68106 | benjamin.peterson | 2008-12-31 11:53:58 -0600 (Wed, 31 Dec 2008) | 1 line

    #2734 don't convert every instance of long (eg if it's an attribute)
  ........
    r68107 | benjamin.peterson | 2008-12-31 11:55:10 -0600 (Wed, 31 Dec 2008) | 1 line

    add another test
  ........
    r68108 | benjamin.peterson | 2008-12-31 12:00:12 -0600 (Wed, 31 Dec 2008) | 1 line

    don't change long even if it's the only argument name
  ........
    r68110 | benjamin.peterson | 2008-12-31 14:13:26 -0600 (Wed, 31 Dec 2008) | 1 line

    remove unused import
  ........
................

16 years agoMerged revisions 68191 via svnmerge from
Mark Dickinson [Sat, 3 Jan 2009 12:09:22 +0000 (12:09 +0000)]
Merged revisions 68191 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68191 | mark.dickinson | 2009-01-03 12:07:20 +0000 (Sat, 03 Jan 2009) | 2 lines

  Issue #4812:  further renaming of internal Decimal constants, for clarity.
........

16 years agoFix spelling.
Raymond Hettinger [Sat, 3 Jan 2009 09:27:41 +0000 (09:27 +0000)]
Fix spelling.

16 years agoFractions.from_float() no longer loses precision with large integer inputs.
Raymond Hettinger [Sat, 3 Jan 2009 09:24:18 +0000 (09:24 +0000)]
Fractions.from_float() no longer loses precision with large integer inputs.

16 years agoLost one line on a decimal recipe.
Raymond Hettinger [Sat, 3 Jan 2009 07:50:46 +0000 (07:50 +0000)]
Lost one line on a decimal recipe.

16 years agoSimplify one of the decimal recipes.
Raymond Hettinger [Sat, 3 Jan 2009 07:46:36 +0000 (07:46 +0000)]
Simplify one of the decimal recipes.

16 years agoMerged revisions 68182 via svnmerge from
Mark Dickinson [Fri, 2 Jan 2009 23:16:51 +0000 (23:16 +0000)]
Merged revisions 68182 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68182 | mark.dickinson | 2009-01-02 23:07:08 +0000 (Fri, 02 Jan 2009) | 4 lines

  Issue #4812: add missing underscore prefix to some internal-use-only
  constants in the decimal module.  (Dec_0 becomes _Dec_0, etc.)
........

16 years agoIssue #4615. Document how to use itertools for de-duping.
Raymond Hettinger [Fri, 2 Jan 2009 21:20:38 +0000 (21:20 +0000)]
Issue #4615.  Document how to use itertools for de-duping.

16 years agoBackport of r68153
Ronald Oussoren [Fri, 2 Jan 2009 13:00:09 +0000 (13:00 +0000)]
Backport of r68153

16 years agoBackport of r68150
Ronald Oussoren [Fri, 2 Jan 2009 11:47:17 +0000 (11:47 +0000)]
Backport of r68150

16 years agoBackport of r68146
Ronald Oussoren [Fri, 2 Jan 2009 10:46:42 +0000 (10:46 +0000)]
Backport of r68146

16 years agoMerged revisions 67952-67953,67955,67957-67958,67960-67961,67963,67965,67967,67970...
Georg Brandl [Thu, 1 Jan 2009 15:46:10 +0000 (15:46 +0000)]
Merged revisions 67952-67953,67955,67957-67958,67960-67961,67963,67965,67967,67970-67971,67973,67982,67988,67990,67995,68014,68016,68030,68057,68061,68112,68115-68118,68120-68121,68123-68128 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67952 | georg.brandl | 2008-12-27 18:42:40 +0100 (Sat, 27 Dec 2008) | 2 lines

  #4752: actually use custom handler in example.
........
  r67953 | georg.brandl | 2008-12-27 19:20:04 +0100 (Sat, 27 Dec 2008) | 3 lines

  Patch #4739 by David Laban: add symbols to pydoc help topics,
  so that ``help('@')`` works as expected.
........
  r67955 | georg.brandl | 2008-12-27 19:27:53 +0100 (Sat, 27 Dec 2008) | 3 lines

  Follow-up to r67746 in order to restore backwards-compatibility for
  those who (monkey-)patch TextWrapper.wordsep_re with a custom RE.
........
  r67957 | georg.brandl | 2008-12-27 19:49:19 +0100 (Sat, 27 Dec 2008) | 2 lines

  #4754: improve winsound documentation.
........
  r67958 | georg.brandl | 2008-12-27 20:02:59 +0100 (Sat, 27 Dec 2008) | 2 lines

  #4682: 'b' is actually unsigned char.
........
  r67960 | georg.brandl | 2008-12-27 20:04:44 +0100 (Sat, 27 Dec 2008) | 2 lines

  #4695: fix backslashery.
........
  r67961 | georg.brandl | 2008-12-27 20:06:04 +0100 (Sat, 27 Dec 2008) | 2 lines

  Use :samp: role.
........
  r67963 | georg.brandl | 2008-12-27 20:11:15 +0100 (Sat, 27 Dec 2008) | 2 lines

  #4671: document that pydoc imports modules.
........
  r67965 | antoine.pitrou | 2008-12-27 21:34:52 +0100 (Sat, 27 Dec 2008) | 3 lines

  Issue #4677: add two list comprehension tests to pybench.
........
  r67967 | benjamin.peterson | 2008-12-27 23:18:58 +0100 (Sat, 27 Dec 2008) | 1 line

  fix markup
........
  r67970 | alexandre.vassalotti | 2008-12-28 02:52:58 +0100 (Sun, 28 Dec 2008) | 2 lines

  Fix name mangling of PyUnicode_ClearFreeList.
........
  r67971 | alexandre.vassalotti | 2008-12-28 03:10:35 +0100 (Sun, 28 Dec 2008) | 2 lines

  Sort UCS-2/UCS-4 name mangling list.
........
  r67973 | alexandre.vassalotti | 2008-12-28 03:58:22 +0100 (Sun, 28 Dec 2008) | 2 lines

  Document Py_VaBuildValue.
........
  r67982 | benjamin.peterson | 2008-12-28 16:37:31 +0100 (Sun, 28 Dec 2008) | 1 line

  fix WORD_BIGEDIAN declaration in Universal builds; fixes #4060 and #4728
........
  r67988 | ronald.oussoren | 2008-12-28 20:40:56 +0100 (Sun, 28 Dec 2008) | 1 line

  Issue4064: architecture string for universal builds on OSX
........
  r67990 | ronald.oussoren | 2008-12-28 20:50:40 +0100 (Sun, 28 Dec 2008) | 3 lines

  Update the fix for issue4064 to deal correctly with all three variants of
  universal builds that are presented by the configure script.
........
  r67995 | benjamin.peterson | 2008-12-28 22:16:07 +0100 (Sun, 28 Dec 2008) | 1 line

  #4763 PyErr_ExceptionMatches won't blow up with NULL arguments
........
  r68014 | benjamin.peterson | 2008-12-29 18:47:42 +0100 (Mon, 29 Dec 2008) | 1 line

  #4764 set IOError.filename when trying to open a directory on POSIX platforms
........
  r68016 | benjamin.peterson | 2008-12-29 18:56:58 +0100 (Mon, 29 Dec 2008) | 1 line

  #4764 in io.open, set IOError.filename when trying to open a directory on POSIX platforms
........
  r68030 | benjamin.peterson | 2008-12-29 22:38:14 +0100 (Mon, 29 Dec 2008) | 1 line

  fix French
........
  r68057 | vinay.sajip | 2008-12-30 08:01:25 +0100 (Tue, 30 Dec 2008) | 1 line

  Minor documentation change relating to NullHandler.
........
  r68061 | georg.brandl | 2008-12-30 11:15:49 +0100 (Tue, 30 Dec 2008) | 2 lines

  #4778: attributes can't be called.
........
  r68112 | benjamin.peterson | 2009-01-01 00:48:39 +0100 (Thu, 01 Jan 2009) | 1 line

  #4795 inspect.isgeneratorfunction() should return False instead of None
........
  r68115 | benjamin.peterson | 2009-01-01 05:04:41 +0100 (Thu, 01 Jan 2009) | 1 line

  simplfy code
........
  r68116 | georg.brandl | 2009-01-01 12:46:51 +0100 (Thu, 01 Jan 2009) | 2 lines

  #4100: note that element children are not necessarily present on "start" events.
........
  r68117 | georg.brandl | 2009-01-01 12:53:55 +0100 (Thu, 01 Jan 2009) | 2 lines

  #4156: make clear that "protocol" is to be replaced with the protocol name.
........
  r68118 | georg.brandl | 2009-01-01 13:00:19 +0100 (Thu, 01 Jan 2009) | 2 lines

  #4185: clarify escape behavior of replacement strings.
........
  r68120 | georg.brandl | 2009-01-01 13:15:31 +0100 (Thu, 01 Jan 2009) | 4 lines

  #4228: Pack negative values the same way as 2.4
  in struct's L format.
........
  r68121 | georg.brandl | 2009-01-01 13:43:33 +0100 (Thu, 01 Jan 2009) | 2 lines

  Point to types module in new module deprecation notice.
........
  r68123 | georg.brandl | 2009-01-01 13:52:29 +0100 (Thu, 01 Jan 2009) | 2 lines

  #4784: ... on three counts ...
........
  r68124 | georg.brandl | 2009-01-01 13:53:19 +0100 (Thu, 01 Jan 2009) | 2 lines

  #4782: Fix markup error that hid load() and loads().
........
  r68125 | georg.brandl | 2009-01-01 14:02:09 +0100 (Thu, 01 Jan 2009) | 2 lines

  #4776: add data_files and package_dir arguments.
........
  r68126 | georg.brandl | 2009-01-01 14:05:13 +0100 (Thu, 01 Jan 2009) | 2 lines

  Handlers are in the `logging.handlers` module.
........
  r68127 | georg.brandl | 2009-01-01 14:14:49 +0100 (Thu, 01 Jan 2009) | 2 lines

  #4767: Use correct submodules for all MIME classes.
........
  r68128 | antoine.pitrou | 2009-01-01 15:11:22 +0100 (Thu, 01 Jan 2009) | 3 lines

  Issue #3680: Reference cycles created through a dict, set or deque iterator did not get collected.
........

16 years agoBlocked revisions 67902,67946,67954,67976,67978-67980,67985,68089,68092,68119 via...
Georg Brandl [Thu, 1 Jan 2009 15:33:10 +0000 (15:33 +0000)]
Blocked revisions 67902,67946,67954,67976,67978-67980,67985,68089,68092,68119 via svnmerge

........
  r67902 | benjamin.peterson | 2008-12-22 21:16:25 +0100 (Mon, 22 Dec 2008) | 1 line

  add py3k warnings to frame.f_exc_*
........
  r67946 | antoine.pitrou | 2008-12-27 16:43:12 +0100 (Sat, 27 Dec 2008) | 4 lines

  Issue #4756: zipfile.is_zipfile() now supports file-like objects.
  Patch by Gabriel Genellina.
........
  r67954 | benjamin.peterson | 2008-12-27 19:24:11 +0100 (Sat, 27 Dec 2008) | 1 line

  #4748 lambda generators shouldn't return values
........
  r67976 | georg.brandl | 2008-12-28 12:54:53 +0100 (Sun, 28 Dec 2008) | 7 lines

  Backport r67974:

  #4759: allow None as first argument of bytearray.translate(), for consistency with bytes.translate().

  Also fix segfault for bytearray.translate(x, None) -- will backport this part to 3.0 and 2.6.
........
  r67978 | georg.brandl | 2008-12-28 12:58:49 +0100 (Sun, 28 Dec 2008) | 2 lines

  #4731: clarify message about missing module prerequisites.
........
  r67979 | antoine.pitrou | 2008-12-28 15:09:36 +0100 (Sun, 28 Dec 2008) | 3 lines

  Issue #4444: Allow assertRaises() to be used as a context handler.
........
  r67980 | antoine.pitrou | 2008-12-28 15:24:29 +0100 (Sun, 28 Dec 2008) | 1 line

  wrong version number in doc changes committed in r67979
........
  r67985 | antoine.pitrou | 2008-12-28 17:01:11 +0100 (Sun, 28 Dec 2008) | 4 lines

  Issue #2153: modernize coding style of unittest.py, remove obsolete compatibility stuff.
  Patch by Virgil Dupras.
........
  r68089 | benjamin.peterson | 2008-12-31 04:37:51 +0100 (Wed, 31 Dec 2008) | 1 line

  #4788 qualify some bare except clauses
........
  r68092 | benjamin.peterson | 2008-12-31 05:08:55 +0100 (Wed, 31 Dec 2008) | 1 line

  fix name collision issues
........
  r68119 | georg.brandl | 2009-01-01 13:09:40 +0100 (Thu, 01 Jan 2009) | 3 lines

  #4222: document dis.findlabels() and dis.findlinestarts() and
  put them into dis.__all__.
........

16 years agoMerged revisions 68099 via svnmerge from
Hirokazu Yamamoto [Wed, 31 Dec 2008 05:54:10 +0000 (05:54 +0000)]
Merged revisions 68099 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68099 | hirokazu.yamamoto | 2008-12-31 14:47:19 +0900 | 1 line

  Just inserted blank line.
........

16 years agoMerged revisions 68097 via svnmerge from
Hirokazu Yamamoto [Wed, 31 Dec 2008 05:31:10 +0000 (05:31 +0000)]
Merged revisions 68097 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68097 | hirokazu.yamamoto | 2008-12-31 14:24:37 +0900 | 1 line

  Fixed compile error on windows.
........

16 years agoIssue 4790: Eliminate unnecessary work from heapq's nlargest() and nsmallest()
Raymond Hettinger [Wed, 31 Dec 2008 04:18:44 +0000 (04:18 +0000)]
Issue 4790:  Eliminate unnecessary work from heapq's nlargest() and nsmallest()
functions for the common case where no key function is specified.

16 years agoMerged revisions 68081 via svnmerge from
Tarek Ziadé [Tue, 30 Dec 2008 23:06:46 +0000 (23:06 +0000)]
Merged revisions 68081 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68081 | tarek.ziade | 2008-12-31 00:03:41 +0100 (Wed, 31 Dec 2008) | 1 line

  Fixed #4702: Throwing DistutilsPlatformError instead of IOError under win32 if MSVC is not found
........

16 years agoMerged revisions 68051 via svnmerge from
Nick Coghlan [Tue, 30 Dec 2008 01:36:00 +0000 (01:36 +0000)]
Merged revisions 68051 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68051 | nick.coghlan | 2008-12-30 11:18:48 +1000 (Tue, 30 Dec 2008) | 1 line

  Issue #4701: implicitly call PyType_Ready from PyObject_Hash
........

16 years agoMerged revisions 68033 via svnmerge from
Tarek Ziadé [Mon, 29 Dec 2008 22:36:22 +0000 (22:36 +0000)]
Merged revisions 68033 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68033 | tarek.ziade | 2008-12-29 23:23:53 +0100 (Mon, 29 Dec 2008) | 1 line

  fixed #4646 : distutils was choking on empty options arg in the setup function.
........

16 years agoMerged revisions 68018 via svnmerge from
Martin v. Löwis [Mon, 29 Dec 2008 18:20:48 +0000 (18:20 +0000)]
Merged revisions 68018 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68018 | martin.v.loewis | 2008-12-29 19:17:34 +0100 (Mo, 29 Dez 2008) | 2 lines

  Issue #1040026: Fix os.times result on systems where HZ is incorrect.
........