]> granicus.if.org Git - python/log
python
15 years agoTweak markup, grammar, and punctuation.
Raymond Hettinger [Wed, 25 Feb 2009 00:32:51 +0000 (00:32 +0000)]
Tweak markup, grammar, and punctuation.

15 years agoRevert unintended part of r69948. Pydoc was not supposed to change.
Raymond Hettinger [Tue, 24 Feb 2009 23:41:47 +0000 (23:41 +0000)]
Revert unintended part of r69948.  Pydoc was not supposed to change.

15 years agoRefine docs for super() noting that sibling classes can
Raymond Hettinger [Tue, 24 Feb 2009 23:30:43 +0000 (23:30 +0000)]
Refine docs for super() noting that sibling classes can
be called, not just parents.  Add a comparison to getattr()
which has the same search order but also includes the type
itself.

15 years agoUse ABCs to validate documented restriction to Sets or Sequences.
Raymond Hettinger [Tue, 24 Feb 2009 11:27:15 +0000 (11:27 +0000)]
Use ABCs to validate documented restriction to Sets or Sequences.

15 years agorange() should have been registered as a Sequence.
Raymond Hettinger [Tue, 24 Feb 2009 11:25:35 +0000 (11:25 +0000)]
range() should have been registered as a Sequence.
Needs to be backported to 2.6, 2.7, and 3.0.

15 years agoFix-up random docs. Jumpahead was removed long ago. Other minor corrections.
Raymond Hettinger [Tue, 24 Feb 2009 10:57:02 +0000 (10:57 +0000)]
Fix-up random docs.  Jumpahead was removed long ago.  Other minor corrections.

15 years agoBlocked revisions 69870-69871,69908 via svnmerge
Benjamin Peterson [Tue, 24 Feb 2009 03:16:28 +0000 (03:16 +0000)]
Blocked revisions 69870-69871,69908 via svnmerge

........
  r69870 | antoine.pitrou | 2009-02-22 11:25:52 -0600 (Sun, 22 Feb 2009) | 3 lines

  Try to make sense of the test_site buildbot failures
........
  r69871 | antoine.pitrou | 2009-02-22 12:20:46 -0600 (Sun, 22 Feb 2009) | 3 lines

  Revert debugging statements, culprit is possibly test_distutils (see #5316)
........
  r69908 | raymond.hettinger | 2009-02-23 13:32:55 -0600 (Mon, 23 Feb 2009) | 1 line

  Update itertools recipes to use next().
........

15 years agoUpdate itertools recipes to use next().
Raymond Hettinger [Mon, 23 Feb 2009 19:38:09 +0000 (19:38 +0000)]
Update itertools recipes to use next().

15 years agoMerged revisions 69902 via svnmerge from
Tarek Ziadé [Mon, 23 Feb 2009 12:47:55 +0000 (12:47 +0000)]
Merged revisions 69902 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69902 | tarek.ziade | 2009-02-23 13:41:29 +0100 (Mon, 23 Feb 2009) | 1 line

  more test coverage
........

15 years agoBlocked revisions 69896 via svnmerge
Georg Brandl [Mon, 23 Feb 2009 10:25:20 +0000 (10:25 +0000)]
Blocked revisions 69896 via svnmerge

........
  r69896 | georg.brandl | 2009-02-23 11:24:23 +0100 (Mo, 23 Feb 2009) | 1 line

  #5348: format() converts all kinds of values.
........

15 years ago#5348: format() converts all kinds of values.
Georg Brandl [Mon, 23 Feb 2009 10:24:05 +0000 (10:24 +0000)]
#5348: format() converts all kinds of values.

15 years ago.pythonrc.py is no more
Benjamin Peterson [Mon, 23 Feb 2009 03:38:43 +0000 (03:38 +0000)]
.pythonrc.py is no more

15 years agoMerged revisions 69889 via svnmerge from
Matthias Klose [Sun, 22 Feb 2009 23:18:38 +0000 (23:18 +0000)]
Merged revisions 69889 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69889 | matthias.klose | 2009-02-23 00:14:26 +0100 (Mo, 23 Feb 2009) | 2 lines

  - Link the shared python library with $(MODLIBS).
........

15 years agoMerged revisions 69881 via svnmerge from
Tarek Ziadé [Sun, 22 Feb 2009 20:20:59 +0000 (20:20 +0000)]
Merged revisions 69881 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69881 | tarek.ziade | 2009-02-22 21:15:41 +0100 (Sun, 22 Feb 2009) | 1 line

  Removing unused __main__ sections
........

15 years agoBlocked revisions 69878 via svnmerge
Tarek Ziadé [Sun, 22 Feb 2009 20:14:01 +0000 (20:14 +0000)]
Blocked revisions 69878 via svnmerge

........
  r69878 | tarek.ziade | 2009-02-22 21:11:46 +0100 (Sun, 22 Feb 2009) | 1 line

  removing map and lambda usage, so the test is similar to py3k's branch one
........

15 years agoMerged revisions 69874 via svnmerge from
Tarek Ziadé [Sun, 22 Feb 2009 20:05:16 +0000 (20:05 +0000)]
Merged revisions 69874 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69874 | tarek.ziade | 2009-02-22 20:58:12 +0100 (Sun, 22 Feb 2009) | 1 line

  moved distutils.text_file tests into a real unittest class
........

15 years ago- Modules/Setup.dist: Mention _heapq
Matthias Klose [Sun, 22 Feb 2009 12:57:58 +0000 (12:57 +0000)]
- Modules/Setup.dist: Mention _heapq

15 years agoMerged revisions 69861 via svnmerge from
Tarek Ziadé [Sun, 22 Feb 2009 00:10:58 +0000 (00:10 +0000)]
Merged revisions 69861 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69861 | tarek.ziade | 2009-02-22 01:07:45 +0100 (Sun, 22 Feb 2009) | 1 line

  using versionchanged instead of versionadded for distutils doc on sdist default files
........

15 years agoIn Py3.x, a list comprehension is now faster than list(map(itemgetter(0), iterable)).
Raymond Hettinger [Sat, 21 Feb 2009 23:20:57 +0000 (23:20 +0000)]
In Py3.x, a list comprehension is now faster than list(map(itemgetter(0), iterable)).

15 years agoMerged revisions 69855 via svnmerge from
Benjamin Peterson [Sat, 21 Feb 2009 23:14:55 +0000 (23:14 +0000)]
Merged revisions 69855 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69855 | benjamin.peterson | 2009-02-21 17:09:33 -0600 (Sat, 21 Feb 2009) | 1 line

  fix compiler warnings
........

15 years agoRelocate source_mtime in importlib to PyPycLoader.
Brett Cannon [Sat, 21 Feb 2009 23:12:24 +0000 (23:12 +0000)]
Relocate source_mtime in importlib to PyPycLoader.

15 years agoBlocked revisions 69837-69838 via svnmerge
Benjamin Peterson [Sat, 21 Feb 2009 22:39:38 +0000 (22:39 +0000)]
Blocked revisions 69837-69838 via svnmerge

........
  r69837 | raymond.hettinger | 2009-02-21 01:17:22 -0600 (Sat, 21 Feb 2009) | 4 lines

  Fix keyword arguments for itertools.count().
  Step arg without a start arg was ignored.
........
  r69838 | raymond.hettinger | 2009-02-21 02:58:42 -0600 (Sat, 21 Feb 2009) | 1 line

  Speedup and simplify negative counter using count's new step argument.
........

15 years agoPort r69837: Fix keyword arguments for itertools.count(). Step arg without a start...
Raymond Hettinger [Sat, 21 Feb 2009 22:30:12 +0000 (22:30 +0000)]
Port r69837: Fix keyword arguments for itertools.count(). Step arg without a start arg was ignored.

15 years agoPort r69838: Speedup and simplify negative counter using count's new step argument.
Raymond Hettinger [Sat, 21 Feb 2009 22:10:18 +0000 (22:10 +0000)]
Port r69838:  Speedup and simplify negative counter using count's new step argument.

15 years agoMerged revisions 69846 via svnmerge from
Mark Dickinson [Sat, 21 Feb 2009 20:59:32 +0000 (20:59 +0000)]
Merged revisions 69846 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

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

  Issue #5341: Fix a variety of spelling errors.
........

15 years agoRefactor source and bytecode file loaders in importlib so that there
Brett Cannon [Sat, 21 Feb 2009 05:41:15 +0000 (05:41 +0000)]
Refactor source and bytecode file loaders in importlib so that there
are source-only and source/bytecode loaders.

15 years agoTweak the source/bytecode loader from importlib to use more of the PEP 302
Brett Cannon [Sat, 21 Feb 2009 03:53:06 +0000 (03:53 +0000)]
Tweak the source/bytecode loader from importlib to use more of the PEP 302
protocol API.

15 years agoSeparate out finder for source and source/bytecode.
Brett Cannon [Sat, 21 Feb 2009 03:31:35 +0000 (03:31 +0000)]
Separate out finder for source and source/bytecode.

15 years agoDo some cleanup in importlib:
Brett Cannon [Sat, 21 Feb 2009 03:15:37 +0000 (03:15 +0000)]
Do some cleanup in importlib:

+ Ditch using arguments to super().
+ Ditch subclassing from object directly.
+ Move directory check out of chaining path hook to file path hook/finder.
+ Rename some classes to better reflect they are finders, not importers.

15 years agoAdd some notes about importlib and some API exposure cleanup.
Brett Cannon [Sat, 21 Feb 2009 03:12:17 +0000 (03:12 +0000)]
Add some notes about importlib and some API exposure cleanup.

15 years agoMinor NOTES changes for importlib.
Brett Cannon [Sat, 21 Feb 2009 02:51:12 +0000 (02:51 +0000)]
Minor NOTES changes for importlib.

15 years agoMore typos in Lib/turtle.py
Mark Dickinson [Fri, 20 Feb 2009 20:53:56 +0000 (20:53 +0000)]
More typos in Lib/turtle.py

15 years agoMerged revisions 69816 via svnmerge from
Mark Dickinson [Fri, 20 Feb 2009 20:50:21 +0000 (20:50 +0000)]
Merged revisions 69816 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69816 | mark.dickinson | 2009-02-20 20:42:53 +0000 (Fri, 20 Feb 2009) | 2 lines

  Issue #5295: Typos in turtle.py
........

15 years agoMerged revisions 69806 via svnmerge from
Eric Smith [Fri, 20 Feb 2009 14:25:03 +0000 (14:25 +0000)]
Merged revisions 69806 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69806 | eric.smith | 2009-02-20 09:02:36 -0500 (Fri, 20 Feb 2009) | 1 line

  Issue #5247: Improve error message when unknown format codes are used when using str.format() with str, int, and float arguments.
........

15 years agoMerged revisions 69415,69591,69593 via svnmerge from
Benjamin Peterson [Fri, 20 Feb 2009 04:09:19 +0000 (04:09 +0000)]
Merged revisions 69415,69591,69593 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69415 | benjamin.peterson | 2009-02-07 13:08:22 -0600 (Sat, 07 Feb 2009) | 1 line

  make destinsrc private
........
  r69591 | martin.v.loewis | 2009-02-13 14:26:16 -0600 (Fri, 13 Feb 2009) | 1 line

  Update Tix build procedure.
........
  r69593 | martin.v.loewis | 2009-02-13 14:51:48 -0600 (Fri, 13 Feb 2009) | 1 line

  Add optional code signing after merging.
........

15 years agoMerged revisions 69769,69776 via svnmerge from
Benjamin Peterson [Fri, 20 Feb 2009 04:02:38 +0000 (04:02 +0000)]
Merged revisions 69769,69776 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69769 | georg.brandl | 2009-02-19 02:30:06 -0600 (Thu, 19 Feb 2009) | 1 line

  #5310, #3558: fix operator precedence table.
........
  r69776 | georg.brandl | 2009-02-19 10:34:51 -0600 (Thu, 19 Feb 2009) | 2 lines

  #5317: update IronPython URL.
........

15 years agoBlocked revisions 69268,69516,69757,69761,69765,69770,69772,69777,69795 via svnmerge
Benjamin Peterson [Fri, 20 Feb 2009 03:40:57 +0000 (03:40 +0000)]
Blocked revisions 69268,69516,69757,69761,69765,69770,69772,69777,69795 via svnmerge

........
  r69268 | kristjan.jonsson | 2009-02-04 04:05:25 -0600 (Wed, 04 Feb 2009) | 1 line

  issue 4804:  Provide checks for the format string of strftime, and for the "mode" string of fopen on Windows.  These strings are user provided from python and so we can avoid invoking the C runtime invalid parameter handler by first checking that they are valid.
........
  r69516 | hirokazu.yamamoto | 2009-02-10 22:13:06 -0600 (Tue, 10 Feb 2009) | 2 lines

  Issue #5204: Define _PyVerify_fd on VC6 to make
  test_fdopen (test_os.py) pass.
........
  r69757 | raymond.hettinger | 2009-02-18 23:34:35 -0600 (Wed, 18 Feb 2009) | 1 line

  Add some cross-references to the docs.  Simplify the python code equivalent for izip().  Supply an optional argument for the nth() recipe.
........
  r69761 | raymond.hettinger | 2009-02-18 23:51:41 -0600 (Wed, 18 Feb 2009) | 1 line

  Add an example for math.fsum() and elaborate on the accurary note.
........
  r69765 | raymond.hettinger | 2009-02-19 00:55:03 -0600 (Thu, 19 Feb 2009) | 1 line

  Add links to helpful external resources.
........
  r69770 | raymond.hettinger | 2009-02-19 03:50:24 -0600 (Thu, 19 Feb 2009) | 1 line

  Inline coefficients in gamma().  Add reflection formula.  Add comments.
........
  r69772 | vinay.sajip | 2009-02-19 06:31:32 -0600 (Thu, 19 Feb 2009) | 1 line

  #5287: Add exception handling around findCaller() call to help out IronPython.
........
  r69777 | jeroen.ruigrok | 2009-02-19 12:52:21 -0600 (Thu, 19 Feb 2009) | 3 lines

  Since we recommend one module per import line, reflect this also in the
  documentation.
........
  r69795 | benjamin.peterson | 2009-02-19 21:31:23 -0600 (Thu, 19 Feb 2009) | 1 line

  revert r69777 since all the experts agree that extra import lines distract from the code
........

15 years agofix None errno #5312
Benjamin Peterson [Fri, 20 Feb 2009 03:19:25 +0000 (03:19 +0000)]
fix None errno #5312

15 years ago#5306: Fix compilation on Windows by properly merging change 69495.
Amaury Forgeot d'Arc [Thu, 19 Feb 2009 23:23:47 +0000 (23:23 +0000)]
#5306: Fix compilation on Windows by properly merging change 69495.
+ fixed an obvious merge glitch in a windows-only test.

Patch by Hirokazu Yamamoto.

I added a _PyVerify_fd() call to os.device_encoding() (new in python 3.0)
which also uses a raw file descriptor.

15 years ago#5287: Add exception handling around findCaller() call to help out IronPython.
Vinay Sajip [Thu, 19 Feb 2009 12:36:11 +0000 (12:36 +0000)]
#5287: Add exception handling around findCaller() call to help out IronPython.

15 years agoInline coefficients in gamma(). Add reflection formula. Add comments.
Raymond Hettinger [Thu, 19 Feb 2009 09:53:18 +0000 (09:53 +0000)]
Inline coefficients in gamma().  Add reflection formula.  Add comments.

15 years agoRegenerate with autoconf 2.61.
Martin v. Löwis [Thu, 19 Feb 2009 07:51:52 +0000 (07:51 +0000)]
Regenerate with autoconf 2.61.

15 years agoAdd links to helpful external resources.
Raymond Hettinger [Thu, 19 Feb 2009 06:44:30 +0000 (06:44 +0000)]
Add links to helpful external resources.

15 years agoAdd an example for math.fsum() and elaborate on the accurary note.
Raymond Hettinger [Thu, 19 Feb 2009 05:48:05 +0000 (05:48 +0000)]
Add an example for math.fsum() and elaborate on the accurary note.

15 years agoAdd some cross-references to the docs. Simplify the python code equivalent for zip...
Raymond Hettinger [Thu, 19 Feb 2009 04:45:07 +0000 (04:45 +0000)]
Add some cross-references to the docs.  Simplify the python code equivalent for zip().  Supply an optional argument for the nth() recipe.

15 years agoMerged revisions 69576,69579-69580,69589,69619-69620,69633,69703-69704,69728-69730...
Benjamin Peterson [Thu, 19 Feb 2009 04:22:03 +0000 (04:22 +0000)]
Merged revisions 69576,69579-69580,69589,69619-69620,69633,69703-69704,69728-69730 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69576 | georg.brandl | 2009-02-13 04:56:50 -0600 (Fri, 13 Feb 2009) | 1 line

  #1661108: note that urlsafe encoded string can contain "=".
........
  r69579 | georg.brandl | 2009-02-13 05:06:59 -0600 (Fri, 13 Feb 2009) | 2 lines

  Fix warnings GCC emits where the argument of PyErr_Format is a single variable.
........
  r69580 | georg.brandl | 2009-02-13 05:10:04 -0600 (Fri, 13 Feb 2009) | 2 lines

  Fix warnings GCC emits where the argument of PyErr_Format is a single variable.
........
  r69589 | martin.v.loewis | 2009-02-13 14:11:34 -0600 (Fri, 13 Feb 2009) | 2 lines

  Move amd64 properties further to the top, so that they override
  the linker options correctly.
........
  r69619 | benjamin.peterson | 2009-02-14 11:00:51 -0600 (Sat, 14 Feb 2009) | 1 line

  this needn't be a shebang line
........
  r69620 | georg.brandl | 2009-02-14 11:01:36 -0600 (Sat, 14 Feb 2009) | 1 line

  #5179: don't leak PIPE fds when child execution fails.
........
  r69633 | hirokazu.yamamoto | 2009-02-15 03:19:48 -0600 (Sun, 15 Feb 2009) | 1 line

  Fixed typo.
........
  r69703 | raymond.hettinger | 2009-02-16 16:42:54 -0600 (Mon, 16 Feb 2009) | 3 lines

  Issue 5229: Documentation for super() neglects to say what super() actually does
........
  r69704 | raymond.hettinger | 2009-02-16 17:00:25 -0600 (Mon, 16 Feb 2009) | 1 line

  Add explanation for super(type1, type2).
........
  r69728 | georg.brandl | 2009-02-17 18:22:55 -0600 (Tue, 17 Feb 2009) | 2 lines

  #5297: fix example.
........
  r69729 | georg.brandl | 2009-02-17 18:25:13 -0600 (Tue, 17 Feb 2009) | 2 lines

  #5296: sequence -> iterable.
........
  r69730 | georg.brandl | 2009-02-17 18:31:36 -0600 (Tue, 17 Feb 2009) | 2 lines

  #5268: mention VMSError.
........

15 years agoBlocked revisions 69748,69751 via svnmerge
Benjamin Peterson [Thu, 19 Feb 2009 03:24:17 +0000 (03:24 +0000)]
Blocked revisions 69748,69751 via svnmerge

........
  r69748 | raymond.hettinger | 2009-02-18 20:15:14 -0600 (Wed, 18 Feb 2009) | 1 line

  Add keyword arg support to itertools.compress().
........
  r69751 | raymond.hettinger | 2009-02-18 20:38:25 -0600 (Wed, 18 Feb 2009) | 1 line

  Add keyword arg support to itertools.repeat().
........

15 years agoAdd keyword arg support to itertools.repeat().
Raymond Hettinger [Thu, 19 Feb 2009 02:44:01 +0000 (02:44 +0000)]
Add keyword arg support to itertools.repeat().

15 years agoAdd keyword arg support to itertools.compress().
Raymond Hettinger [Thu, 19 Feb 2009 02:17:09 +0000 (02:17 +0000)]
Add keyword arg support to itertools.compress().

15 years agoBlocked revisions 69716 via svnmerge
Benjamin Peterson [Thu, 19 Feb 2009 02:17:08 +0000 (02:17 +0000)]
Blocked revisions 69716 via svnmerge

........
  r69716 | ronald.oussoren | 2009-02-17 06:38:42 -0600 (Tue, 17 Feb 2009) | 2 lines

  Fix issue776533.
........

15 years agoBlocked revisions 69414,69561,69604,69672,69689,69709,69715,69717,69739,69743 via...
Benjamin Peterson [Thu, 19 Feb 2009 02:12:26 +0000 (02:12 +0000)]
Blocked revisions 69414,69561,69604,69672,69689,69709,69715,69717,69739,69743 via svnmerge

........
  r69414 | georg.brandl | 2009-02-07 12:49:54 -0600 (Sat, 07 Feb 2009) | 1 line

  make "super only for new-style classes" a note.
........
  r69561 | gregory.p.smith | 2009-02-12 21:00:00 -0600 (Thu, 12 Feb 2009) | 5 lines

  - Issue #3745: Fix hashlib to always reject unicode and non buffer-api
    supporting objects as input no matter how it was compiled (built in
    implementations or external openssl library).
  (backported from a py3k branch)
........
  r69604 | raymond.hettinger | 2009-02-13 18:25:51 -0600 (Fri, 13 Feb 2009) | 1 line

  Add keyword argument support to itertools.count().
........
  r69672 | benjamin.peterson | 2009-02-16 08:54:34 -0600 (Mon, 16 Feb 2009) | 1 line

  note functions that are not aliased to PyBytes_ #5280
........
  r69689 | benjamin.peterson | 2009-02-16 15:09:09 -0600 (Mon, 16 Feb 2009) | 1 line

  remove some PyBytes_* aliases that are not in 3.x
........
  r69709 | raymond.hettinger | 2009-02-17 02:33:01 -0600 (Tue, 17 Feb 2009) | 1 line

  Fix-up intro paragraph for collections docs.
........
  r69715 | raymond.hettinger | 2009-02-17 05:00:27 -0600 (Tue, 17 Feb 2009) | 1 line

  Fixup intro paragraphs for the itertools docs.  Add some tables for quick reference.
........
  r69717 | marc-andre.lemburg | 2009-02-17 06:48:19 -0600 (Tue, 17 Feb 2009) | 5 lines

  Clarify the deprecation of platform.dist().

  Add versionadded tags.
........
  r69739 | raymond.hettinger | 2009-02-18 14:54:53 -0600 (Wed, 18 Feb 2009) | 1 line

  Generalize the itertools.tee() recipe.
........
  r69743 | raymond.hettinger | 2009-02-18 17:10:19 -0600 (Wed, 18 Feb 2009) | 1 line

  Py3k warnings now automatically include -Qwarn for division.
........

15 years agomerge socket module documentation update from trunk r69731.
Gregory P. Smith [Thu, 19 Feb 2009 01:25:51 +0000 (01:25 +0000)]
merge socket module documentation update from trunk r69731.

15 years agoGeneralize the itertools.tee() recipe.
Raymond Hettinger [Wed, 18 Feb 2009 20:56:51 +0000 (20:56 +0000)]
Generalize the itertools.tee() recipe.

15 years agoMerged revisions 69714,69718 via svnmerge from
Hirokazu Yamamoto [Wed, 18 Feb 2009 16:38:00 +0000 (16:38 +0000)]
Merged revisions 69714,69718 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69714 | hirokazu.yamamoto | 2009-02-17 19:12:10 +0900 | 1 line

  Issue #5292: Fixed mmap crash on its boundary access m[len(m)].
........
  r69718 | hirokazu.yamamoto | 2009-02-17 22:17:26 +0900 | 3 lines

  Issue #5282: Fixed mmap resize on 32bit windows and unix. When offset > 0,
  The file was resized to wrong size.
........

15 years agoMerged revisions 69724 via svnmerge from
Tarek Ziadé [Tue, 17 Feb 2009 23:10:18 +0000 (23:10 +0000)]
Merged revisions 69724 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69724 | tarek.ziade | 2009-02-18 00:06:51 +0100 (Wed, 18 Feb 2009) | 1 line

  fixed the data_files inclusion behavior
........

15 years agoFix-up intro paragraph for collections docs.
Raymond Hettinger [Tue, 17 Feb 2009 20:06:51 +0000 (20:06 +0000)]
Fix-up intro paragraph for collections docs.

15 years agoFixup intro paragraphs for the itertools docs. Add some tables for quick reference.
Raymond Hettinger [Tue, 17 Feb 2009 20:00:59 +0000 (20:00 +0000)]
Fixup intro paragraphs for the itertools docs.  Add some tables for quick reference.

15 years agoMerged revisions 69710 via svnmerge from
Tarek Ziadé [Tue, 17 Feb 2009 09:47:25 +0000 (09:47 +0000)]
Merged revisions 69710 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69710 | tarek.ziade | 2009-02-17 10:42:44 +0100 (Tue, 17 Feb 2009) | 1 line

  #2279 added the plain path case for data_files
........

15 years agoOutline a possible way to separate out source loading from bytecode loading.
Brett Cannon [Tue, 17 Feb 2009 07:15:17 +0000 (07:15 +0000)]
Outline a possible way to separate out source loading from bytecode loading.

15 years agoImplement the more specific PEP 302 semantics for loaders and what happens upon
Brett Cannon [Tue, 17 Feb 2009 02:45:03 +0000 (02:45 +0000)]
Implement the more specific PEP 302 semantics for loaders and what happens upon
load failure in relation to reloads. Also expose
importlib.util.module_for_loader to handle all of the details of this along
with making sure all current loaders behave nicely.

15 years agoI think this file has long outlived its usefulness
Benjamin Peterson [Tue, 17 Feb 2009 01:53:19 +0000 (01:53 +0000)]
I think this file has long outlived its usefulness

15 years agoMerged revisions 69700 via svnmerge from
Tarek Ziadé [Mon, 16 Feb 2009 22:42:39 +0000 (22:42 +0000)]
Merged revisions 69700 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69700 | tarek.ziade | 2009-02-16 23:38:43 +0100 (Mon, 16 Feb 2009) | 1 line

  note about #2279
........

15 years agoMerged revisions 69693 via svnmerge from
Tarek Ziadé [Mon, 16 Feb 2009 21:51:13 +0000 (21:51 +0000)]
Merged revisions 69693 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69693 | tarek.ziade | 2009-02-16 22:41:54 +0100 (Mon, 16 Feb 2009) | 1 line

  #2279: use os.sep so the MANIFEST file test work on win32
........

15 years agoMerged revisions 69692 via svnmerge from
Tarek Ziadé [Mon, 16 Feb 2009 21:49:12 +0000 (21:49 +0000)]
Merged revisions 69692 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69692 | tarek.ziade | 2009-02-16 22:38:01 +0100 (Mon, 16 Feb 2009) | 1 line

  Fixed #2279: distutils.sdist.add_defaults now add files listed in package_data and data_files
........

15 years agoMerged revisions 69688,69690 via svnmerge from
Benjamin Peterson [Mon, 16 Feb 2009 21:28:29 +0000 (21:28 +0000)]
Merged revisions 69688,69690 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69688 | benjamin.peterson | 2009-02-16 15:07:52 -0600 (Mon, 16 Feb 2009) | 1 line

  fix compiler warnings
........
  r69690 | benjamin.peterson | 2009-02-16 15:23:04 -0600 (Mon, 16 Feb 2009) | 1 line

  PyList_Append() can fail
........

15 years agoBlocked revisions 69685 via svnmerge
Benjamin Peterson [Mon, 16 Feb 2009 21:02:16 +0000 (21:02 +0000)]
Blocked revisions 69685 via svnmerge

........
  r69685 | raymond.hettinger | 2009-02-16 14:39:12 -0600 (Mon, 16 Feb 2009) | 1 line

  Add GC support to count() objects.  Backport candidate.
........

15 years agoAdd GC support to count() objects.
Raymond Hettinger [Mon, 16 Feb 2009 20:50:56 +0000 (20:50 +0000)]
Add GC support to count() objects.

15 years agoremove another use of cmp()
Benjamin Peterson [Mon, 16 Feb 2009 18:22:15 +0000 (18:22 +0000)]
remove another use of cmp()

15 years agono 2.3 compat in the py3k lib #3676
Benjamin Peterson [Mon, 16 Feb 2009 16:20:10 +0000 (16:20 +0000)]
no 2.3 compat in the py3k lib #3676

15 years agoraise more generic Exception() instead of RuntimeError() #5281
Benjamin Peterson [Mon, 16 Feb 2009 16:15:34 +0000 (16:15 +0000)]
raise more generic Exception() instead of RuntimeError() #5281

15 years agoRemoved message about compatibility with 2.3.
Facundo Batista [Mon, 16 Feb 2009 15:41:37 +0000 (15:41 +0000)]
Removed message about compatibility with 2.3.

15 years agoMerged revisions 69666 via svnmerge from
Eric Smith [Mon, 16 Feb 2009 12:37:11 +0000 (12:37 +0000)]
Merged revisions 69666 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69666 | eric.smith | 2009-02-16 04:56:39 -0500 (Mon, 16 Feb 2009) | 1 line

  Added Ross Light to ACKS, for bug 4285 (r69331).
........

15 years agoIssue #5249: time.strftime returned malformed string when format string
Hirokazu Yamamoto [Mon, 16 Feb 2009 09:13:20 +0000 (09:13 +0000)]
Issue #5249: time.strftime returned malformed string when format string
contained non ascii character on windows.

15 years agoDocument importlib.machinery.PathFinder.
Brett Cannon [Mon, 16 Feb 2009 04:18:01 +0000 (04:18 +0000)]
Document importlib.machinery.PathFinder.

15 years agoFix more places in Objects/longobject.c where it's silently assumed that
Mark Dickinson [Sun, 15 Feb 2009 17:27:41 +0000 (17:27 +0000)]
Fix more places in Objects/longobject.c where it's silently assumed that
sizeof(digit) < sizeof(int).

15 years agoBlocked revisions 69639 via svnmerge
Mark Dickinson [Sun, 15 Feb 2009 15:49:16 +0000 (15:49 +0000)]
Blocked revisions 69639 via svnmerge

........
  r69639 | mark.dickinson | 2009-02-15 15:48:39 +0000 (Sun, 15 Feb 2009) | 2 lines

  A few more minor fixed in longobject.c
........

15 years agoA few more type fixes for py3k that were missed in r69635
Mark Dickinson [Sun, 15 Feb 2009 15:14:57 +0000 (15:14 +0000)]
A few more type fixes for py3k that were missed in r69635

15 years agoMerged revisions 69634 via svnmerge from
Mark Dickinson [Sun, 15 Feb 2009 11:04:38 +0000 (11:04 +0000)]
Merged revisions 69634 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69634 | mark.dickinson | 2009-02-15 10:13:41 +0000 (Sun, 15 Feb 2009) | 6 lines

  Issue #5260: Various portability and standards compliance fixes, optimizations
  and cleanups in Objects/longobject.c.  The most significant change is that
  longs now use less memory:  average savings are 2 bytes per long on 32-bit
  systems and 6 bytes per long on 64-bit systems.  (This memory saving already
  exists in py3k.)
........

15 years agoChange importlib.machinery.PathFinder to not have implicit semantics (that's
Brett Cannon [Sun, 15 Feb 2009 05:48:13 +0000 (05:48 +0000)]
Change importlib.machinery.PathFinder to not have implicit semantics (that's
not handled by importlib._bootstrap._DefaultPathFinder).

15 years agoAdd a NOTE about the new specific semantics for failed loads.
Brett Cannon [Sun, 15 Feb 2009 05:46:50 +0000 (05:46 +0000)]
Add a NOTE about the new specific semantics for failed loads.

15 years agoMerged revisions 69617 via svnmerge from
Benjamin Peterson [Sat, 14 Feb 2009 17:00:16 +0000 (17:00 +0000)]
Merged revisions 69617 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69617 | benjamin.peterson | 2009-02-14 10:51:03 -0600 (Sat, 14 Feb 2009) | 1 line

  we're no longer using CVS, so this doesn't have to be binary
........

15 years agoBlocked revisions 69610 via svnmerge
Tarek Ziadé [Sat, 14 Feb 2009 14:36:38 +0000 (14:36 +0000)]
Blocked revisions 69610 via svnmerge

........
  r69610 | tarek.ziade | 2009-02-14 15:12:30 +0100 (Sat, 14 Feb 2009) | 1 line

  Replace variable
........

15 years agoMerged revisions 69609 via svnmerge from
Tarek Ziadé [Sat, 14 Feb 2009 14:35:51 +0000 (14:35 +0000)]
Merged revisions 69609 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69609 | tarek.ziade | 2009-02-14 15:10:23 +0100 (Sat, 14 Feb 2009) | 1 line

  Fix for #5257: refactored all tests in distutils, so they use a temporary directory.
........

15 years agoAdd keyword argument support to itertools.count().
Raymond Hettinger [Sat, 14 Feb 2009 04:21:49 +0000 (04:21 +0000)]
Add keyword argument support to itertools.count().

15 years agoMerged revisions 69602 via svnmerge from
Tarek Ziadé [Fri, 13 Feb 2009 23:48:11 +0000 (23:48 +0000)]
Merged revisions 69602 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69602 | tarek.ziade | 2009-02-14 00:41:57 +0100 (Sat, 14 Feb 2009) | 1 line

  fix the environ for distutils test_util
........

15 years agoMerged revisions 69598 via svnmerge from
Tarek Ziadé [Fri, 13 Feb 2009 23:04:17 +0000 (23:04 +0000)]
Merged revisions 69598 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69598 | tarek.ziade | 2009-02-14 00:00:43 +0100 (Sat, 14 Feb 2009) | 1 line

  Fixed #4524: distutils build_script command failed with --with-suffix=3
........

15 years agoMerged revisions 69594 via svnmerge from
Tarek Ziadé [Fri, 13 Feb 2009 22:26:15 +0000 (22:26 +0000)]
Merged revisions 69594 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69594 | tarek.ziade | 2009-02-13 23:22:03 +0100 (Fri, 13 Feb 2009) | 1 line

  Issue #2461: added tests for distutils.util
........

15 years agoFix typos in version numbers.
Martin v. Löwis [Fri, 13 Feb 2009 20:27:39 +0000 (20:27 +0000)]
Fix typos in version numbers.

15 years agoMerged revisions 69585 via svnmerge from
Tarek Ziadé [Fri, 13 Feb 2009 16:23:57 +0000 (16:23 +0000)]
Merged revisions 69585 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69585 | tarek.ziade | 2009-02-13 17:13:16 +0100 (Fri, 13 Feb 2009) | 1 line

  reverted leak fix, to use the one done in py3k branch (r67382)
........

15 years agoMerged revisions 69582-69583 via svnmerge from
Antoine Pitrou [Fri, 13 Feb 2009 14:01:05 +0000 (14:01 +0000)]
Merged revisions 69582-69583 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69582 | antoine.pitrou | 2009-02-13 14:52:33 +0100 (ven., 13 févr. 2009) | 4 lines

  Issue #5186: Reduce hash collisions for objects with no __hash__ method by
  rotating the object pointer by 4 bits to the right.
........
  r69583 | antoine.pitrou | 2009-02-13 14:57:40 +0100 (ven., 13 févr. 2009) | 3 lines

  Fix compiler warning (gcc)
........

15 years agoBlocked revisions 69578 via svnmerge
Georg Brandl [Fri, 13 Feb 2009 11:10:15 +0000 (11:10 +0000)]
Blocked revisions 69578 via svnmerge

........
  r69578 | georg.brandl | 2009-02-13 12:03:59 +0100 (Fr, 13 Feb 2009) | 1 line

  #3694: add test for fix committed in r66693.
........

15 years ago#3694: fix an "XXX undetected error" leak in struct.
Georg Brandl [Fri, 13 Feb 2009 11:01:07 +0000 (11:01 +0000)]
#3694: fix an "XXX undetected error" leak in struct.

15 years agopart of #3613: fix get_host_info() usage of base64.encodestring().
Georg Brandl [Fri, 13 Feb 2009 10:50:01 +0000 (10:50 +0000)]
part of #3613: fix get_host_info() usage of base64.encodestring().

15 years agoBlocked revisions 69573 via svnmerge
Georg Brandl [Fri, 13 Feb 2009 10:44:28 +0000 (10:44 +0000)]
Blocked revisions 69573 via svnmerge

........
  r69573 | georg.brandl | 2009-02-13 11:44:17 +0100 (Fr, 13 Feb 2009) | 1 line

  #3734: document complex coercing behavior better.
........

15 years agoBlocked revisions 69570 via svnmerge
Georg Brandl [Fri, 13 Feb 2009 10:42:52 +0000 (10:42 +0000)]
Blocked revisions 69570 via svnmerge

........
  r69570 | georg.brandl | 2009-02-13 11:40:14 +0100 (Fr, 13 Feb 2009) | 1 line

  #4894: document "newurl" parameter to redirect_request().
........

15 years ago#4894: document "newurl" parameter to redirect_request().
Georg Brandl [Fri, 13 Feb 2009 10:40:43 +0000 (10:40 +0000)]
#4894: document "newurl" parameter to redirect_request().

15 years agoMerged revisions 69566 via svnmerge from
Tarek Ziadé [Fri, 13 Feb 2009 09:15:20 +0000 (09:15 +0000)]
Merged revisions 69566 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69566 | tarek.ziade | 2009-02-13 10:12:33 +0100 (Fri, 13 Feb 2009) | 1 line

  #5158: added documentation on the depends option in distutils extensions
........

15 years agoMerged revisions 69562 via svnmerge from
Georg Brandl [Fri, 13 Feb 2009 09:11:32 +0000 (09:11 +0000)]
Merged revisions 69562 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69562 | georg.brandl | 2009-02-13 10:08:34 +0100 (Fr, 13 Feb 2009) | 2 lines

  Add links to the other versions we have in stock.
........

15 years agoMerged revisions 69364-69365,69409-69410,69413,69417,69435,69442,69447,69495,69519...
Benjamin Peterson [Fri, 13 Feb 2009 02:50:59 +0000 (02:50 +0000)]
Merged revisions 69364-69365,69409-69410,69413,69417,69435,69442,69447,69495,69519-69521 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69364 | kristjan.jonsson | 2009-02-06 04:17:34 -0600 (Fri, 06 Feb 2009) | 1 line

  Fix a number of Win32ErrorTests error cases.  chmod wasn't being tested.  'access' never raises an error.
........
  r69365 | armin.rigo | 2009-02-06 05:46:26 -0600 (Fri, 06 Feb 2009) | 2 lines

  Ivan on IRC in #twisted reported this crasher.
........
  r69409 | georg.brandl | 2009-02-07 06:21:17 -0600 (Sat, 07 Feb 2009) | 1 line

  #5174: fix wrong file closing in example.
........
  r69410 | neil.schemenauer | 2009-02-07 08:53:31 -0600 (Sat, 07 Feb 2009) | 4 lines

  Fix broken test in test_hotshot.  Treating the current directory as an
  empty file is sloppy and non-portable.  Use NamedTemporaryFile to make
  an empty file.
........
  r69413 | neil.schemenauer | 2009-02-07 12:35:16 -0600 (Sat, 07 Feb 2009) | 2 lines

  Add test for issue #999042, explict global statement works.
........
  r69417 | benjamin.peterson | 2009-02-07 17:01:19 -0600 (Sat, 07 Feb 2009) | 1 line

  document individual 2to3 fixers
........
  r69435 | benjamin.peterson | 2009-02-08 08:38:13 -0600 (Sun, 08 Feb 2009) | 1 line

  document numliterals fixer
........
  r69442 | benjamin.peterson | 2009-02-08 09:14:57 -0600 (Sun, 08 Feb 2009) | 1 line

  a few edits and typos
........
  r69447 | vinay.sajip | 2009-02-08 13:06:08 -0600 (Sun, 08 Feb 2009) | 2 lines

  Issue #5170: Fixed Unicode output bug in logging and added test case. This is a regression which did not occur in 2.5.
........
  r69495 | kristjan.jonsson | 2009-02-10 07:32:24 -0600 (Tue, 10 Feb 2009) | 1 line

  Issue 4804.  Add a function to test the validity of file descriptors on Windows, and stop using global runtime settings to silence the warnings / assertions.
........
  r69519 | gregory.p.smith | 2009-02-11 17:45:25 -0600 (Wed, 11 Feb 2009) | 3 lines

  Issue #1008086: Fixes socket.inet_aton() to always return 4 bytes even
  on LP64 platforms (most 64-bit Linux, bsd, unix systems).
........
  r69520 | benjamin.peterson | 2009-02-11 21:50:00 -0600 (Wed, 11 Feb 2009) | 1 line

  os.fsync() should be used to ensure that data is written to disk
........
  r69521 | benjamin.peterson | 2009-02-11 22:17:04 -0600 (Wed, 11 Feb 2009) | 1 line

  no need for this __bases__ trick anymore
........

15 years agoBlocked revisions 69522,69525,69528,69530,69546 via svnmerge
Benjamin Peterson [Fri, 13 Feb 2009 01:35:28 +0000 (01:35 +0000)]
Blocked revisions 69522,69525,69528,69530,69546 via svnmerge

........
  r69522 | raymond.hettinger | 2009-02-11 23:39:46 -0600 (Wed, 11 Feb 2009) | 3 lines

  Issue 5032:  added a step argument to itertools.count() and allowed non-integer arguments.
........
  r69525 | raymond.hettinger | 2009-02-12 04:16:19 -0600 (Thu, 12 Feb 2009) | 1 line

  Fix spaces/tabs in example.
........
  r69528 | raymond.hettinger | 2009-02-12 06:04:26 -0600 (Thu, 12 Feb 2009) | 1 line

  Add an extra testcase.
........
  r69530 | raymond.hettinger | 2009-02-12 06:43:01 -0600 (Thu, 12 Feb 2009) | 1 line

  One more test.
........
  r69546 | mark.dickinson | 2009-02-12 11:55:42 -0600 (Thu, 12 Feb 2009) | 2 lines

  Typo fix.
........