]> granicus.if.org Git - python/log
python
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.
........

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

........
  r69551 | tarek.ziade | 2009-02-12 21:56:21 +0100 (Thu, 12 Feb 2009) | 1 line

  fixing the leak introduced in r69304
........

15 years agoIssue 4998: restore utility of __slots__ on Fraction.
Mark Dickinson [Thu, 12 Feb 2009 17:58:36 +0000 (17:58 +0000)]
Issue 4998: restore utility of __slots__ on Fraction.
(forward merge of r68813).

15 years agoFix for issue5224 ("Update Shell Profile.command" contains wrong Python version on...
Ronald Oussoren [Thu, 12 Feb 2009 16:08:14 +0000 (16:08 +0000)]
Fix for issue5224 ("Update Shell Profile.command" contains wrong Python version on OSX)

15 years agoThis fixes issue3883 (text on the buttons in the preferences panel for IDLE doesn...
Ronald Oussoren [Thu, 12 Feb 2009 16:02:11 +0000 (16:02 +0000)]
This fixes issue3883 (text on the buttons in the preferences panel for IDLE doesn't fit on OSX)

15 years agoThis fixes issue5143 and includes a test.
Ronald Oussoren [Thu, 12 Feb 2009 15:55:38 +0000 (15:55 +0000)]
This fixes issue5143 and includes a test.

Issue5143 notes that getpath.c and main.c pass a 'char*' where
a 'wchar_t*' is expected on OSX.

15 years agoUpdate the ReadMe and Welcome files that are used by the OSX binary
Ronald Oussoren [Thu, 12 Feb 2009 15:24:51 +0000 (15:24 +0000)]
Update the ReadMe and Welcome files that are used by the OSX binary
installer. Fixes issue5226. Patch by Ned Deily.

15 years agoFix for issue5196, patch by Ned Deily.
Ronald Oussoren [Thu, 12 Feb 2009 15:18:15 +0000 (15:18 +0000)]
Fix for issue5196, patch by Ned Deily.

15 years agoFix for issue5195, a patch by Ned Deily
Ronald Oussoren [Thu, 12 Feb 2009 15:12:03 +0000 (15:12 +0000)]
Fix for issue5195, a patch by Ned Deily

15 years agoFix for issue5194, based on a patch by Ned Deily.
Ronald Oussoren [Thu, 12 Feb 2009 15:01:44 +0000 (15:01 +0000)]
Fix for issue5194, based on a patch by Ned Deily.

15 years agoOne more test.
Raymond Hettinger [Thu, 12 Feb 2009 12:53:53 +0000 (12:53 +0000)]
One more test.

15 years agoAdd an extra testcase.
Raymond Hettinger [Thu, 12 Feb 2009 12:08:18 +0000 (12:08 +0000)]
Add an extra testcase.

15 years agoFix spaces/tabs in example.
Raymond Hettinger [Thu, 12 Feb 2009 10:19:59 +0000 (10:19 +0000)]
Fix spaces/tabs in example.

15 years agoFixes Issue #3745: Fix hashlib to always reject unicode and non
Gregory P. Smith [Thu, 12 Feb 2009 07:35:29 +0000 (07:35 +0000)]
Fixes 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).

15 years agoIssue 5032: added a step argument to itertools.count() and allowed non-integer argum...
Raymond Hettinger [Thu, 12 Feb 2009 06:28:27 +0000 (06:28 +0000)]
Issue 5032:  added a step argument to itertools.count() and allowed non-integer arguments.

15 years agoIssue #4910: PyNumber_Int is deprecated in 3.0.1; will be removed in 3.1.
Mark Dickinson [Wed, 11 Feb 2009 17:04:37 +0000 (17:04 +0000)]
Issue #4910:  PyNumber_Int is deprecated in 3.0.1; will be removed in 3.1.

15 years agoBlocked revisions 69509 via svnmerge
Benjamin Peterson [Wed, 11 Feb 2009 04:10:53 +0000 (04:10 +0000)]
Blocked revisions 69509 via svnmerge

........
  r69509 | raymond.hettinger | 2009-02-10 18:06:17 -0600 (Tue, 10 Feb 2009) | 1 line

  Clean-up named tuple docs.
........

15 years agoIssue #4631: Fix urlopen() result when an HTTP response uses chunked encoding.
Antoine Pitrou [Wed, 11 Feb 2009 00:39:14 +0000 (00:39 +0000)]
Issue #4631: Fix urlopen() result when an HTTP response uses chunked encoding.

15 years agoClean-up named tuple docs.
Raymond Hettinger [Wed, 11 Feb 2009 00:20:02 +0000 (00:20 +0000)]
Clean-up named tuple docs.

15 years ago(The fix has been slightly adjusted.)
Thomas Heller [Tue, 10 Feb 2009 18:59:04 +0000 (18:59 +0000)]
(The fix has been slightly adjusted.)

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

........
  r69505 | thomas.heller | 2009-02-10 19:43:01 +0100 (Di, 10 Feb 2009) | 3 lines

  Issue#5203: ctypes segfaults when passing a unicode string to a
  function without argtypes, if HAVE_USABLE_WCHAR_T is false.
........

15 years agoMerged revisions 69500 via svnmerge from
Mark Dickinson [Tue, 10 Feb 2009 16:18:22 +0000 (16:18 +0000)]
Merged revisions 69500 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69500 | mark.dickinson | 2009-02-10 16:17:16 +0000 (Tue, 10 Feb 2009) | 4 lines

  _testcapi depends on testcapi_long.h

  Thanks Lisandro Dalcin.
........

15 years agoMerged revisions 69498 via svnmerge from
Mark Dickinson [Tue, 10 Feb 2009 16:13:25 +0000 (16:13 +0000)]
Merged revisions 69498 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69498 | mark.dickinson | 2009-02-10 15:46:50 +0000 (Tue, 10 Feb 2009) | 6 lines

  Issue #5175: PyLong_AsUnsignedLongLong now raises OverflowError for
  negative arguments.  Previously, it raised TypeError.

  Thanks Lisandro Dalcin.
........

15 years agoMerged revisions 69494 via svnmerge from
Hirokazu Yamamoto [Tue, 10 Feb 2009 14:27:19 +0000 (14:27 +0000)]
Merged revisions 69494 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69494 | hirokazu.yamamoto | 2009-02-10 22:31:28 +0900 | 1 line

  Fixed svn:eol-style.
........

15 years agoMerged revisions 69489-69490 via svnmerge from
Martin v. Löwis [Tue, 10 Feb 2009 13:13:30 +0000 (13:13 +0000)]
Merged revisions 69489-69490 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69489 | martin.v.loewis | 2009-02-10 14:09:19 +0100 (Di, 10 Feb 2009) | 1 line

  Issue #5134: Silence compiler warnings when compiling sqlite with VC++.
........
  r69490 | martin.v.loewis | 2009-02-10 14:12:12 +0100 (Di, 10 Feb 2009) | 1 line

  Set eol-style to native
........

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

........
  r69485 | tarek.ziade | 2009-02-10 13:31:09 +0100 (Tue, 10 Feb 2009) | 1 line

  Fixed #3386: the optional prefix argument was ignored under OS2 and NT in distutils.sysconfig.get_python_lib
........

15 years agoMerged revisions 69466,69480 via svnmerge from
Benjamin Peterson [Tue, 10 Feb 2009 02:41:10 +0000 (02:41 +0000)]
Merged revisions 69466,69480 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69466 | raymond.hettinger | 2009-02-09 12:39:41 -0600 (Mon, 09 Feb 2009) | 3 lines

  Issue 5171: itertools.product docstring missing 'repeat' argument
........
  r69480 | raymond.hettinger | 2009-02-09 19:24:05 -0600 (Mon, 09 Feb 2009) | 1 line

  Issue 1818: collections.namedtuple() to support automatic renaming of invalid fieldnames.
........

15 years agoThis header was supposed to be committed in r69476
Guilherme Polo [Tue, 10 Feb 2009 02:20:49 +0000 (02:20 +0000)]
This header was supposed to be committed in r69476

15 years agoMerged revisions 69481 via svnmerge from
Brett Cannon [Tue, 10 Feb 2009 02:10:16 +0000 (02:10 +0000)]
Merged revisions 69481 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69481 | brett.cannon | 2009-02-09 18:07:38 -0800 (Mon, 09 Feb 2009) | 4 lines

  compileall used the ctime of bytecode and source to determine if the bytecode
  should be recreated. This created a timing hole. Fixed by just doing what
  import does; check the mtime and magic number.
........

15 years agoMerged revisions 69474 via svnmerge from
Guilherme Polo [Mon, 9 Feb 2009 22:35:27 +0000 (22:35 +0000)]
Merged revisions 69474 via svnmerge from
svn+ssh://pythondev/python/trunk

........
  r69474 | guilherme.polo | 2009-02-09 18:57:45 -0200 (Mon, 09 Feb 2009) | 1 line

  Enforcing Tk 8.3.1 requirement.
........