]> granicus.if.org Git - python/log
python
15 years agoBlocked revisions 69001,69010,69012,69014,69018,69023 via svnmerge
Benjamin Peterson [Tue, 27 Jan 2009 21:37:33 +0000 (21:37 +0000)]
Blocked revisions 69001,69010,69012,69014,69018,69023 via svnmerge

........
  r69001 | raymond.hettinger | 2009-01-26 20:58:49 -0600 (Mon, 26 Jan 2009) | 1 line

  Promote combinations_with_replacement() from a recipe to a regular itertool.
........
  r69010 | raymond.hettinger | 2009-01-27 03:33:06 -0600 (Tue, 27 Jan 2009) | 1 line

  Add tests to verify combinatoric relationships.
........
  r69012 | raymond.hettinger | 2009-01-27 03:52:35 -0600 (Tue, 27 Jan 2009) | 1 line

  Stronger tests for combinatoric relationships.
........
  r69014 | raymond.hettinger | 2009-01-27 04:03:04 -0600 (Tue, 27 Jan 2009) | 1 line

  Issue 5021: doctest.testfile should set __name__
........
  r69018 | raymond.hettinger | 2009-01-27 04:36:14 -0600 (Tue, 27 Jan 2009) | 1 line

  More exhaustive combinatoric checks.
........
  r69023 | raymond.hettinger | 2009-01-27 07:26:35 -0600 (Tue, 27 Jan 2009) | 1 line

  Add more tests for the powerset() recipe.
........

15 years agoFix an occurrence of cmp that was missed in r69025
Mark Dickinson [Tue, 27 Jan 2009 20:27:05 +0000 (20:27 +0000)]
Fix an occurrence of cmp that was missed in r69025

15 years agoIssue #1717: Remove cmp. Stage 1: remove all uses of cmp and __cmp__ from
Mark Dickinson [Tue, 27 Jan 2009 18:17:45 +0000 (18:17 +0000)]
Issue #1717: Remove cmp.  Stage 1: remove all uses of cmp and __cmp__ from
the standard library and tests.

15 years agoAdd more tests for the powerset() recipe.
Raymond Hettinger [Tue, 27 Jan 2009 13:29:43 +0000 (13:29 +0000)]
Add more tests for the powerset() recipe.

15 years agoResurrect two buffer tests, converting irepeat() to imul(). Undoes part of r68962.
Raymond Hettinger [Tue, 27 Jan 2009 11:06:40 +0000 (11:06 +0000)]
Resurrect two buffer tests, converting irepeat() to imul().  Undoes part of r68962.

15 years agoAdd executable property to Python/makeopcodetargets.py
Antoine Pitrou [Tue, 27 Jan 2009 10:49:58 +0000 (10:49 +0000)]
Add executable property to Python/makeopcodetargets.py

15 years agoMore exhaustive combinatoric checks.
Raymond Hettinger [Tue, 27 Jan 2009 10:39:42 +0000 (10:39 +0000)]
More exhaustive combinatoric checks.

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

15 years agoStronger tests for combinatoric relationships.
Raymond Hettinger [Tue, 27 Jan 2009 09:56:30 +0000 (09:56 +0000)]
Stronger tests for combinatoric relationships.

15 years agoAdd tests to verify combinatoric relationships.
Raymond Hettinger [Tue, 27 Jan 2009 09:35:21 +0000 (09:35 +0000)]
Add tests to verify combinatoric relationships.

15 years agoBeautify grouper() recipe in docs.
Raymond Hettinger [Tue, 27 Jan 2009 04:57:51 +0000 (04:57 +0000)]
Beautify grouper() recipe in docs.

15 years agoPut functions back in alphabetical order.
Raymond Hettinger [Tue, 27 Jan 2009 04:42:48 +0000 (04:42 +0000)]
Put functions back in alphabetical order.

15 years agoForward port r69001: itertools.combinations_with_replacement().
Raymond Hettinger [Tue, 27 Jan 2009 04:20:44 +0000 (04:20 +0000)]
Forward port r69001: itertools.combinations_with_replacement().

15 years agoBlocked revisions 68998 via svnmerge
Benjamin Peterson [Tue, 27 Jan 2009 03:02:38 +0000 (03:02 +0000)]
Blocked revisions 68998 via svnmerge

........
  r68998 | raymond.hettinger | 2009-01-26 20:36:33 -0600 (Mon, 26 Jan 2009) | 3 lines

  Tweak column alignment for collections docs.
........

15 years agoInitial take on importlib.test.loader_tests.
Brett Cannon [Tue, 27 Jan 2009 02:39:33 +0000 (02:39 +0000)]
Initial take on importlib.test.loader_tests.

15 years agoTweak column alignment in collections docs.
Raymond Hettinger [Tue, 27 Jan 2009 02:38:22 +0000 (02:38 +0000)]
Tweak column alignment in collections docs.

15 years agoBlocked revisions 68964,68985 via svnmerge
Benjamin Peterson [Tue, 27 Jan 2009 02:30:47 +0000 (02:30 +0000)]
Blocked revisions 68964,68985 via svnmerge

........
  r68964 | raymond.hettinger | 2009-01-26 10:52:22 -0600 (Mon, 26 Jan 2009) | 1 line

  Fix signed/unsigned mismatch.
........
  r68985 | raymond.hettinger | 2009-01-26 17:29:09 -0600 (Mon, 26 Jan 2009) | 6 lines

  Remove startup firewall message.  That is handled by an error dialog
  whenever a connection cannot be formed.  Also, the Idle version number
  is already in the About Idle dialog.  Now, the startup is clean looking
  once again.
........

15 years agoUpdate importlib NOTES.
Brett Cannon [Tue, 27 Jan 2009 01:46:04 +0000 (01:46 +0000)]
Update importlib NOTES.

15 years agoMove importlib.test.frozen.test_finder over to importlib.test.finder_tests.
Brett Cannon [Tue, 27 Jan 2009 01:44:50 +0000 (01:44 +0000)]
Move importlib.test.frozen.test_finder over to importlib.test.finder_tests.

15 years agoMove importlib.test.builtin.test_finder over to importlib.test.finder_tests.
Brett Cannon [Tue, 27 Jan 2009 01:41:57 +0000 (01:41 +0000)]
Move importlib.test.builtin.test_finder over to importlib.test.finder_tests.

15 years agoMake importlib.test.finder_tests an ABC.
Brett Cannon [Tue, 27 Jan 2009 01:34:30 +0000 (01:34 +0000)]
Make importlib.test.finder_tests an ABC.

15 years agoMove importlib.test.extension.test_finder over to importlib.test.finder_tests.
Brett Cannon [Tue, 27 Jan 2009 01:33:54 +0000 (01:33 +0000)]
Move importlib.test.extension.test_finder over to importlib.test.finder_tests.

15 years agoForward port r68985: Idle startup message.
Raymond Hettinger [Tue, 27 Jan 2009 00:28:36 +0000 (00:28 +0000)]
Forward port r68985: Idle startup message.

15 years agoFix test so as to also pass in debug mode
Antoine Pitrou [Mon, 26 Jan 2009 22:00:21 +0000 (22:00 +0000)]
Fix test so as to also pass in debug mode

15 years agoMerged revisions 68974-68975 via svnmerge from
Mark Dickinson [Mon, 26 Jan 2009 21:56:07 +0000 (21:56 +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.
........

15 years agoFollowup of #4705: we can't skip the binary buffering layer for stdin because FileIO...
Antoine Pitrou [Mon, 26 Jan 2009 21:48:00 +0000 (21:48 +0000)]
Followup of #4705: we can't skip the binary buffering layer for stdin because FileIO doesn't have a read1() method

15 years agoMerged revisions 68951 via svnmerge from
Tarek Ziadé [Mon, 26 Jan 2009 17:23:20 +0000 (17:23 +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
........

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

15 years agoBlocked revisions 68941-68942 via svnmerge
Benjamin Peterson [Mon, 26 Jan 2009 03:50:45 +0000 (03:50 +0000)]
Blocked revisions 68941-68942 via svnmerge

........
  r68941 | raymond.hettinger | 2009-01-25 15:04:14 -0600 (Sun, 25 Jan 2009) | 1 line

  Promote compress() from a recipe to being a regular itertool.
........
  r68942 | raymond.hettinger | 2009-01-25 15:31:47 -0600 (Sun, 25 Jan 2009) | 1 line

  Improved itertools recipe for generating powerset().
........

15 years agoForward port r68941 adding itertools.compress().
Raymond Hettinger [Mon, 26 Jan 2009 02:56:58 +0000 (02:56 +0000)]
Forward port r68941 adding itertools.compress().

15 years agoBackport r68942: update powerset() recipe.
Raymond Hettinger [Mon, 26 Jan 2009 02:23:50 +0000 (02:23 +0000)]
Backport r68942:  update powerset() recipe.

15 years agoAs discussed on python-dev, remove several operator functions
Raymond Hettinger [Mon, 26 Jan 2009 02:09:03 +0000 (02:09 +0000)]
As discussed on python-dev, remove several operator functions
isSequenceType(), isMappingType(), and isNumberType() in favor
of using abstract base classes.  Also, remove repeat() and irepeat()
in favor of mul() and imul().

After the buildbots have had a go at this.  Will backport to Py3.0.1.
For Py2.7, will just mark as deprecated.

15 years agoUpdate NOTES for importlib.
Brett Cannon [Mon, 26 Jan 2009 01:54:40 +0000 (01:54 +0000)]
Update NOTES for importlib.

15 years agoBlocked revisions 68953 via svnmerge
Brett Cannon [Mon, 26 Jan 2009 01:21:47 +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.
........

15 years agoMerged revisions 68947 via svnmerge from
Mark Dickinson [Sun, 25 Jan 2009 22:25:06 +0000 (22:25 +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.
........

15 years agouse the classmethod directive
Benjamin Peterson [Sun, 25 Jan 2009 19:44:16 +0000 (19:44 +0000)]
use the classmethod directive

15 years agoMerged revisions 68933 via svnmerge from
Tarek Ziadé [Sun, 25 Jan 2009 19:31:22 +0000 (19:31 +0000)]
Merged revisions 68933 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

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

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

15 years agoMerged revisions 68929 via svnmerge from
Tarek Ziadé [Sun, 25 Jan 2009 18:27:45 +0000 (18:27 +0000)]
Merged revisions 68929 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

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

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

15 years agoBlocked revisions 68927 via svnmerge
Hirokazu Yamamoto [Sun, 25 Jan 2009 17:50:07 +0000 (17:50 +0000)]
Blocked revisions 68927 via svnmerge

........
  r68927 | hirokazu.yamamoto | 2009-01-26 02:46:48 +0900 | 1 line

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

15 years agoBlocked revisions 68925 via svnmerge
Benjamin Peterson [Sun, 25 Jan 2009 17:19:17 +0000 (17:19 +0000)]
Blocked revisions 68925 via svnmerge

........
  r68925 | benjamin.peterson | 2009-01-25 11:15:10 -0600 (Sun, 25 Jan 2009) | 5 lines

  fix building the core with --disable-unicode

  I changed some bytearray methods to use strings instead of unicode like bytes_repr
  Also, bytearray.fromhex() can take strings as well as unicode
........

15 years agoIssue #4753: By enabling a configure option named '--with-computed-gotos'
Antoine Pitrou [Sun, 25 Jan 2009 16:34:23 +0000 (16:34 +0000)]
Issue #4753: By enabling a configure option named '--with-computed-gotos'
on compilers that support it (notably: gcc, SunPro, icc), the bytecode
evaluation loop is compiled with a new dispatch mechanism which gives
speedups of up to 20%, depending on the system, on various benchmarks.

15 years agoMerged revisions 68920 via svnmerge from
Mark Dickinson [Sun, 25 Jan 2009 10:48:51 +0000 (10:48 +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.
........

15 years agoDocument both importlib.machinery.BuiltinImporter and FrozenImporter.
Brett Cannon [Sun, 25 Jan 2009 04:56:30 +0000 (04:56 +0000)]
Document both importlib.machinery.BuiltinImporter and FrozenImporter.

15 years agoAdd the terms "finder", "loader", and "importer" to the glossary.
Brett Cannon [Sun, 25 Jan 2009 04:21:39 +0000 (04:21 +0000)]
Add the terms "finder", "loader", and "importer" to the glossary.

15 years agomerge r68915 to py3k
Jesse Noller [Sun, 25 Jan 2009 03:45:53 +0000 (03:45 +0000)]
merge r68915 to py3k

15 years agoMerged revisions 68903,68906 via svnmerge from
Mark Dickinson [Sat, 24 Jan 2009 21:46:33 +0000 (21:46 +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.
........

15 years agoMerged revisions 68897 via svnmerge from
Mark Dickinson [Sat, 24 Jan 2009 16:22:21 +0000 (16:22 +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.
........

15 years agoMerged revisions 68893 via svnmerge from
Martin v. Löwis [Sat, 24 Jan 2009 16:19:45 +0000 (16:19 +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.
........

15 years agoMerged revisions 68890 via svnmerge from
Mark Dickinson [Sat, 24 Jan 2009 15:56:57 +0000 (15:56 +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
........

15 years agoSome minor cleanups in PyLong_FromLong:
Mark Dickinson [Sat, 24 Jan 2009 15:02:35 +0000 (15:02 +0000)]
Some minor cleanups in PyLong_FromLong:
 - fast path wasn't being properly taken for negative ints;
   thanks Victor Stinner for pointing this out.
 - use Py_SAFE_DOWNCAST instead of direct casting to digit
   (it's safer, especially if we ever consider moving to 30-bit
   digits)
 - cleaner way to write negation

15 years agoMerged revisions 68885 via svnmerge from
Martin v. Löwis [Sat, 24 Jan 2009 14:10:07 +0000 (14:10 +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.
........

15 years agoAdd a test for UNC import paths, see issue 3677
Kristján Valur Jónsson [Sat, 24 Jan 2009 10:50:45 +0000 (10:50 +0000)]
Add a test for UNC import paths, see issue 3677

15 years agoIssue 3677: Release the path string on py3k
Kristján Valur Jónsson [Sat, 24 Jan 2009 10:33:25 +0000 (10:33 +0000)]
Issue 3677: Release the path string on py3k

15 years agoFactor common branch in load_long().
Alexandre Vassalotti [Sat, 24 Jan 2009 01:47:57 +0000 (01:47 +0000)]
Factor common branch in load_long().

Suggested by Neal Norwitz.

15 years agomerge 68874 to py3kwq!
Jesse Noller [Fri, 23 Jan 2009 14:09:08 +0000 (14:09 +0000)]
merge 68874 to py3kwq!

15 years agoMerged revisions 68457 via svnmerge from
Hirokazu Yamamoto [Fri, 23 Jan 2009 07:23:03 +0000 (07:23 +0000)]
Merged revisions 68457 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68457 | kristjan.jonsson | 2009-01-10 05:10:59 +0900 | 1 line

  Issue 3677:  Fix import from UNC paths on Windows.
........

15 years agoClean up pickle usage examples.
Alexandre Vassalotti [Fri, 23 Jan 2009 05:28:16 +0000 (05:28 +0000)]
Clean up pickle usage examples.

16 years agoIssue 2980: Protocol 0 is not truly restricted to ASCII.
Alexandre Vassalotti [Fri, 23 Jan 2009 04:50:05 +0000 (04:50 +0000)]
Issue 2980: Protocol 0 is not truly restricted to ASCII.

16 years agoRemove obsolete note on binary-mode vs. text-mode file.
Alexandre Vassalotti [Fri, 23 Jan 2009 04:46:05 +0000 (04:46 +0000)]
Remove obsolete note on binary-mode vs. text-mode file.

16 years agoRemove unnecessary copying in load_long().
Alexandre Vassalotti [Fri, 23 Jan 2009 04:43:46 +0000 (04:43 +0000)]
Remove unnecessary copying in load_long().

16 years agoMerged revisions 68750,68776-68777,68811,68842,68859 via svnmerge from
Benjamin Peterson [Fri, 23 Jan 2009 03:26:36 +0000 (03:26 +0000)]
Merged revisions 68750,68776-68777,68811,68842,68859 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68750 | benjamin.peterson | 2009-01-18 16:47:04 -0600 (Sun, 18 Jan 2009) | 1 line

  fix encoding cookie case
........
  r68776 | benjamin.peterson | 2009-01-19 10:17:54 -0600 (Mon, 19 Jan 2009) | 1 line

  move BufferedIOBase into the base class section
........
  r68777 | benjamin.peterson | 2009-01-19 10:18:27 -0600 (Mon, 19 Jan 2009) | 1 line

  add email address
........
  r68811 | benjamin.peterson | 2009-01-20 12:58:27 -0600 (Tue, 20 Jan 2009) | 1 line

  fix url
........
  r68842 | andrew.kuchling | 2009-01-20 20:16:26 -0600 (Tue, 20 Jan 2009) | 1 line

  Markup fixes
........
  r68859 | georg.brandl | 2009-01-22 12:29:28 -0600 (Thu, 22 Jan 2009) | 2 lines

  Clarify wording.
........

16 years agoIgnore pyc and pyo files.
Brett Cannon [Thu, 22 Jan 2009 22:45:00 +0000 (22:45 +0000)]
Ignore pyc and pyo files.

16 years agoAdd some comment markers to more clearly delineate what different parts of the
Brett Cannon [Thu, 22 Jan 2009 22:44:04 +0000 (22:44 +0000)]
Add some comment markers to more clearly delineate what different parts of the
code are for. Also add a note that the import * at the end of the file should
eventually go away.

16 years agoAdd importlib.machinery with its first tenants, BuitinImporter and
Brett Cannon [Thu, 22 Jan 2009 22:43:07 +0000 (22:43 +0000)]
Add importlib.machinery with its first tenants, BuitinImporter and
FrozenImporter. Docs forthcoming.

I plan on all finders and loaders (and most likely hooks) to live
in imoprtlib.machinery. Utility stuff will end up in importlib.util.
Higher-level API stuff will stay on imoprtlib directly (e.g. import_module).

16 years agomerge r68862 to py3k
Jesse Noller [Thu, 22 Jan 2009 21:56:13 +0000 (21:56 +0000)]
merge r68862 to py3k

16 years agoBlocked revisions 68850,68853 via svnmerge
Benjamin Peterson [Thu, 22 Jan 2009 21:50:27 +0000 (21:50 +0000)]
Blocked revisions 68850,68853 via svnmerge

........
  r68850 | raymond.hettinger | 2009-01-21 23:20:47 -0600 (Wed, 21 Jan 2009) | 1 line

  More doc tweaks.
........
  r68853 | raymond.hettinger | 2009-01-22 03:05:43 -0600 (Thu, 22 Jan 2009) | 1 line

  Update comments and add an optimized path for Counter.update().
........

16 years agoFix markup for arguments in importlib docs.
Brett Cannon [Thu, 22 Jan 2009 18:37:20 +0000 (18:37 +0000)]
Fix markup for arguments in importlib docs.

16 years agoFollowup of #4874: also fix multibytecodec.c
Antoine Pitrou [Thu, 22 Jan 2009 11:59:55 +0000 (11:59 +0000)]
Followup of #4874: also fix multibytecodec.c

16 years agoIssue #4874: Most builtin decoders now reject unicode input.
Antoine Pitrou [Thu, 22 Jan 2009 10:11:36 +0000 (10:11 +0000)]
Issue #4874: Most builtin decoders now reject unicode input.

16 years agoUpdate comments and add an optimized path for Counter.update().
Raymond Hettinger [Thu, 22 Jan 2009 09:09:55 +0000 (09:09 +0000)]
Update comments and add an optimized path for Counter.update().

16 years agoMore doc tweaks.
Raymond Hettinger [Thu, 22 Jan 2009 05:27:37 +0000 (05:27 +0000)]
More doc tweaks.

16 years agoBlocked revisions 68760,68793,68813,68826,68829,68831 via svnmerge
Benjamin Peterson [Thu, 22 Jan 2009 03:21:11 +0000 (03:21 +0000)]
Blocked revisions 68760,68793,68813,68826,68829,68831 via svnmerge

........
  r68760 | vinay.sajip | 2009-01-19 00:49:19 -0600 (Mon, 19 Jan 2009) | 1 line

  Added more cross-reference targets and tidied up list of useful handlers.
........
  r68793 | raymond.hettinger | 2009-01-19 21:36:36 -0600 (Mon, 19 Jan 2009) | 1 line

  Make merging easier by formattng comment blocks the same in Py3.1
........
  r68813 | raymond.hettinger | 2009-01-20 14:34:19 -0600 (Tue, 20 Jan 2009) | 3 lines

  Issue 4998:  __slots__ on Fractions was useless.
........
  r68826 | vinay.sajip | 2009-01-20 16:43:17 -0600 (Tue, 20 Jan 2009) | 1 line

  Issue 5013: Fixed bug in FileHandler when delay was set.
........
  r68829 | vinay.sajip | 2009-01-20 17:16:08 -0600 (Tue, 20 Jan 2009) | 1 line

  Issue 5013: Fixed bug in FileHandler when delay was set - added fix for RotatingFileHandler and changed header comment slightly.
........
  r68831 | raymond.hettinger | 2009-01-20 17:42:54 -0600 (Tue, 20 Jan 2009) | 1 line

  Beautify and cleanup the references section.
........

16 years agoBlocked revisions 68843,68845 via svnmerge
Benjamin Peterson [Thu, 22 Jan 2009 02:24:32 +0000 (02:24 +0000)]
Blocked revisions 68843,68845 via svnmerge

........
  r68843 | raymond.hettinger | 2009-01-21 14:31:50 -0600 (Wed, 21 Jan 2009) | 1 line

  Simplify explanation of multiset operations by removing restrictions on negative inputs.
........
  r68845 | raymond.hettinger | 2009-01-21 17:12:51 -0600 (Wed, 21 Jan 2009) | 1 line

  Tighten-up the docs for Counter().
........

16 years agoTighten-up the docs for Counter().
Raymond Hettinger [Wed, 21 Jan 2009 23:14:07 +0000 (23:14 +0000)]
Tighten-up the docs for Counter().

16 years agoSimplify explanation of multiset operations by removing restrictions on negative...
Raymond Hettinger [Wed, 21 Jan 2009 20:36:27 +0000 (20:36 +0000)]
Simplify explanation of multiset operations by removing restrictions on negative inputs.

16 years agomerge r68839 forward to py3k
Jesse Noller [Wed, 21 Jan 2009 02:15:48 +0000 (02:15 +0000)]
merge r68839 forward to py3k

16 years agoMerged revisions 68835 via svnmerge from
Antoine Pitrou [Wed, 21 Jan 2009 00:55:13 +0000 (00:55 +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 [Wed, 21 Jan 2009 00:19:28 +0000 (00:19 +0000)]
Issue 5013: Fixed bug in FileHandler when delay was set - added fix for RotatingFileHandler and changed header comment slightly.

16 years agoBeautify and cleanup the references section.
Raymond Hettinger [Tue, 20 Jan 2009 23:44:31 +0000 (23:44 +0000)]
Beautify and cleanup the references section.

16 years agoRevert part of r68799 which unintentionally updated this file.
Raymond Hettinger [Tue, 20 Jan 2009 21:25:32 +0000 (21:25 +0000)]
Revert part of r68799 which unintentionally updated this file.

16 years agoIssue 4842, patch 2/2: int('3L') should be invalid in Python 3.x.
Mark Dickinson [Tue, 20 Jan 2009 20:45:53 +0000 (20:45 +0000)]
Issue 4842, patch 2/2:  int('3L') should be invalid in Python 3.x.

16 years agoIssue #4842, patch 1/2: fix pickle in Python 3.x so that pickling with the
Mark Dickinson [Tue, 20 Jan 2009 20:43:58 +0000 (20:43 +0000)]
Issue #4842, patch 1/2: fix pickle in Python 3.x so that pickling with the
'L' opcode always appends an 'L' on output, just as 2.x does.  When
unpickling, remove the trailing 'L' (if present) before passing the
result to PyLong_FromString.

16 years agoBlocked revisions 68764,68766 via svnmerge
Benjamin Peterson [Tue, 20 Jan 2009 18:50:52 +0000 (18:50 +0000)]
Blocked revisions 68764,68766 via svnmerge

........
  r68764 | benjamin.peterson | 2009-01-19 09:04:35 -0600 (Mon, 19 Jan 2009) | 3 lines

  Removed merge tracking for "svnmerge" for
  svn+ssh://pythondev@svn.python.org/python/branches/trunk-math
........
  r68766 | benjamin.peterson | 2009-01-19 09:06:33 -0600 (Mon, 19 Jan 2009) | 3 lines

  Removed merge tracking for "svnmerge" for
  svn+ssh://pythondev@svn.python.org/python/branches/tnelson-trunk-bsddb-47-upgrade
........

16 years agoMerged revisions 68797,68801 via svnmerge from
Benjamin Peterson [Tue, 20 Jan 2009 15:01:54 +0000 (15:01 +0000)]
Merged revisions 68797,68801 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68797 | raymond.hettinger | 2009-01-20 01:11:47 -0600 (Tue, 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
........
  r68801 | raymond.hettinger | 2009-01-20 04:46:23 -0600 (Tue, 20 Jan 2009) | 5 lines

  Use Georg's new permalinks to documentation by version number.
  That assures that IDLE's help always points to the correct
  version and the latest update with all bug fixes.
........

16 years agoBlocked revisions 68807 via svnmerge
Benjamin Peterson [Tue, 20 Jan 2009 14:33:15 +0000 (14:33 +0000)]
Blocked revisions 68807 via svnmerge

........
  r68807 | benjamin.peterson | 2009-01-20 08:31:08 -0600 (Tue, 20 Jan 2009) | 1 line

  backport r68802 (bugfix)
........

16 years agoBlocked revisions 68803,68805 via svnmerge
Benjamin Peterson [Tue, 20 Jan 2009 14:24:13 +0000 (14:24 +0000)]
Blocked revisions 68803,68805 via svnmerge

........
  r68803 | raymond.hettinger | 2009-01-20 06:59:36 -0600 (Tue, 20 Jan 2009) | 1 line

  Fix typos.
........
  r68805 | benjamin.peterson | 2009-01-20 08:21:16 -0600 (Tue, 20 Jan 2009) | 1 line

  allow unicode keyword arguments for the ** syntax #4978
........

16 years agoFix typos.
Raymond Hettinger [Tue, 20 Jan 2009 13:00:59 +0000 (13:00 +0000)]
Fix typos.

16 years agoFix typo
Antoine Pitrou [Tue, 20 Jan 2009 11:42:11 +0000 (11:42 +0000)]
Fix typo

16 years agoIssue 4998: Decimal should not subclass or register with numbers.Real.
Raymond Hettinger [Tue, 20 Jan 2009 07:24:44 +0000 (07:24 +0000)]
Issue 4998: Decimal should not subclass or register with numbers.Real.

16 years agoForward port r68797: Fix-up jump targets in collections docs.
Raymond Hettinger [Tue, 20 Jan 2009 07:15:22 +0000 (07:15 +0000)]
Forward port r68797: Fix-up jump targets in collections docs.

16 years agoBlocked revisions 68789,68792 via svnmerge
Benjamin Peterson [Tue, 20 Jan 2009 04:02:27 +0000 (04:02 +0000)]
Blocked revisions 68789,68792 via svnmerge

........
  r68789 | raymond.hettinger | 2009-01-19 19:19:26 -0600 (Mon, 19 Jan 2009) | 6 lines

  Build-outs for Counter() class:
  * Constructor and update() support keyword args (like their dict counterparts).
  * The 'del' statement no longer raises KeyError for missing values.
  * Add multiset operations:  __add__, __sub__, __and__, __or__.
........
  r68792 | raymond.hettinger | 2009-01-19 20:24:38 -0600 (Mon, 19 Jan 2009) | 1 line

  Add Counter() to __all__.
........

16 years agoForward port r68792 and r68789 putting Counter in __all__ and adding Counter buildouts.
Raymond Hettinger [Tue, 20 Jan 2009 03:41:22 +0000 (03:41 +0000)]
Forward port r68792 and r68789 putting Counter in __all__ and adding Counter buildouts.

16 years agoDocument the (very small) public API for importlib. As time goes on and some
Brett Cannon [Tue, 20 Jan 2009 02:21:27 +0000 (02:21 +0000)]
Document the (very small) public API for importlib. As time goes on and some
key refactorings occur more of the API will be exposed and documented.

16 years agoClarify how the specify the name of a module with the 'module' directive.
Brett Cannon [Tue, 20 Jan 2009 02:09:18 +0000 (02:09 +0000)]
Clarify how the specify the name of a module with the 'module' directive.

16 years agomerge r68787 to py3k
Jesse Noller [Tue, 20 Jan 2009 00:23:01 +0000 (00:23 +0000)]
merge r68787 to py3k

16 years agoBlocked revisions 68785 via svnmerge
Benjamin Peterson [Mon, 19 Jan 2009 21:11:05 +0000 (21:11 +0000)]
Blocked revisions 68785 via svnmerge

........
  r68785 | benjamin.peterson | 2009-01-19 15:08:37 -0600 (Mon, 19 Jan 2009) | 1 line

  I'm sick of these deprecations warnings in test_os
........

16 years agoMerged revisions 68779 via svnmerge from
Benjamin Peterson [Mon, 19 Jan 2009 21:00:09 +0000 (21:00 +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 68763,68773 via svnmerge from
Benjamin Peterson [Mon, 19 Jan 2009 17:53:36 +0000 (17:53 +0000)]
Merged revisions 68763,68773 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68763 | kristjan.jonsson | 2009-01-19 07:10:27 -0600 (Mon, 19 Jan 2009) | 2 lines

  Issue 4957
  Let os.ftruncate raise OSError like documented.
........
  r68773 | benjamin.peterson | 2009-01-19 09:51:27 -0600 (Mon, 19 Jan 2009) | 1 line

  simplify code
........

16 years agomerge r68768 to py3k
Jesse Noller [Mon, 19 Jan 2009 16:23:53 +0000 (16:23 +0000)]
merge r68768 to py3k

16 years agofix compiler warning
Benjamin Peterson [Mon, 19 Jan 2009 15:19:46 +0000 (15:19 +0000)]
fix compiler warning