Commit Graph

38504 Commits

Author SHA1 Message Date
Tarek Ziadé 6d327b0d53 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
........
2009-02-23 12:47:55 +00:00
Georg Brandl 4f69a12eaf 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.
........
2009-02-23 10:25:20 +00:00
Georg Brandl 5579ba9183 #5348: format() converts all kinds of values. 2009-02-23 10:24:05 +00:00
Benjamin Peterson 9249f8034d .pythonrc.py is no more 2009-02-23 03:38:43 +00:00
Matthias Klose 906785c4c2 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).
........
2009-02-22 23:18:38 +00:00
Tarek Ziadé 929a723690 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
........
2009-02-22 20:20:59 +00:00
Tarek Ziadé ea1a7d1936 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
........
2009-02-22 20:14:01 +00:00
Tarek Ziadé 5e25f9f67e 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
........
2009-02-22 20:05:16 +00:00
Matthias Klose 131733a2b9 - Modules/Setup.dist: Mention _heapq 2009-02-22 12:57:58 +00:00
Tarek Ziadé c1a2657381 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
........
2009-02-22 00:10:58 +00:00
Raymond Hettinger ba86fa9d5f In Py3.x, a list comprehension is now faster than list(map(itemgetter(0), iterable)). 2009-02-21 23:20:57 +00:00
Benjamin Peterson 912fbcade3 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
........
2009-02-21 23:14:55 +00:00
Brett Cannon 94aaf9e4b8 Relocate source_mtime in importlib to PyPycLoader. 2009-02-21 23:12:24 +00:00
Benjamin Peterson aa9d5de2ed 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.
........
2009-02-21 22:39:38 +00:00
Raymond Hettinger eb13fdda59 Port r69837: Fix keyword arguments for itertools.count(). Step arg without a start arg was ignored. 2009-02-21 22:30:12 +00:00
Raymond Hettinger bd171bcfc4 Port r69838: Speedup and simplify negative counter using count's new step argument. 2009-02-21 22:10:18 +00:00
Mark Dickinson 934896dc09 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.
........
2009-02-21 20:59:32 +00:00
Brett Cannon 91cf882b36 Refactor source and bytecode file loaders in importlib so that there
are source-only and source/bytecode loaders.
2009-02-21 05:41:15 +00:00
Brett Cannon 0515619dbc Tweak the source/bytecode loader from importlib to use more of the PEP 302
protocol API.
2009-02-21 03:53:06 +00:00
Brett Cannon 4afab6b30b Separate out finder for source and source/bytecode. 2009-02-21 03:31:35 +00:00
Brett Cannon 2dee597e05 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.
2009-02-21 03:15:37 +00:00
Brett Cannon a2fcb1d964 Add some notes about importlib and some API exposure cleanup. 2009-02-21 03:12:17 +00:00
Brett Cannon 22db67ed26 Minor NOTES changes for importlib. 2009-02-21 02:51:12 +00:00
Mark Dickinson f8798f579b More typos in Lib/turtle.py 2009-02-20 20:53:56 +00:00
Mark Dickinson 0fc61ccbba 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
........
2009-02-20 20:50:21 +00:00
Eric Smith 5e5c0db5d7 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.
........
2009-02-20 14:25:03 +00:00
Benjamin Peterson 247a9b87bd 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.
........
2009-02-20 04:09:19 +00:00
Benjamin Peterson ba01dd93d2 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.
........
2009-02-20 04:02:38 +00:00
Benjamin Peterson 93d83da8e2 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
........
2009-02-20 03:40:57 +00:00
Benjamin Peterson 4b068190aa fix None errno #5312 2009-02-20 03:19:25 +00:00
Amaury Forgeot d'Arc 2fc224f090 #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.
2009-02-19 23:23:47 +00:00
Vinay Sajip b672b6dea6 #5287: Add exception handling around findCaller() call to help out IronPython. 2009-02-19 12:36:11 +00:00
Raymond Hettinger 2d0c2568d5 Inline coefficients in gamma(). Add reflection formula. Add comments. 2009-02-19 09:53:18 +00:00
Martin v. Löwis b70bcf59a5 Regenerate with autoconf 2.61. 2009-02-19 07:51:52 +00:00
Raymond Hettinger 477be8224a Add links to helpful external resources. 2009-02-19 06:44:30 +00:00
Raymond Hettinger f3936f875a Add an example for math.fsum() and elaborate on the accurary note. 2009-02-19 05:48:05 +00:00
Raymond Hettinger cdf8ba369b Add some cross-references to the docs. Simplify the python code equivalent for zip(). Supply an optional argument for the nth() recipe. 2009-02-19 04:45:07 +00:00
Benjamin Peterson d75fcb4ddf 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.
........
2009-02-19 04:22:03 +00:00
Benjamin Peterson e69a6b2ddf 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().
........
2009-02-19 03:24:17 +00:00
Raymond Hettinger f4bb7f2100 Add keyword arg support to itertools.repeat(). 2009-02-19 02:44:01 +00:00
Raymond Hettinger 15a4950da1 Add keyword arg support to itertools.compress(). 2009-02-19 02:17:09 +00:00
Benjamin Peterson bc67084940 Blocked revisions 69716 via svnmerge
........
  r69716 | ronald.oussoren | 2009-02-17 06:38:42 -0600 (Tue, 17 Feb 2009) | 2 lines

  Fix issue776533.
........
2009-02-19 02:17:08 +00:00
Benjamin Peterson adea5329cd 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.
........
2009-02-19 02:12:26 +00:00
Gregory P. Smith 349c595ff9 merge socket module documentation update from trunk r69731. 2009-02-19 01:25:51 +00:00
Raymond Hettinger cf984cee93 Generalize the itertools.tee() recipe. 2009-02-18 20:56:51 +00:00
Hirokazu Yamamoto 0654ccd1d2 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.
........
2009-02-18 16:38:00 +00:00
Tarek Ziadé 14d34a0e43 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
........
2009-02-17 23:10:18 +00:00
Raymond Hettinger acd82b99c8 Fix-up intro paragraph for collections docs. 2009-02-17 20:06:51 +00:00
Raymond Hettinger f76b920942 Fixup intro paragraphs for the itertools docs. Add some tables for quick reference. 2009-02-17 20:00:59 +00:00
Tarek Ziadé a30337aa3b 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
........
2009-02-17 09:47:25 +00:00