1. 30 Haz, 2010 3 kayıt (commit)
  2. 29 Haz, 2010 14 kayıt (commit)
  3. 28 Haz, 2010 16 kayıt (commit)
  4. 27 Haz, 2010 7 kayıt (commit)
    • Brett Cannon's avatar
      Implement importlib.abc.SourceLoader and deprecate PyLoader and PyPycLoader. · f23e3744
      Brett Cannon yazdı
      SourceLoader is a simplification of both PyLoader and PyPycLoader. If one only
      wants to use source, then they need to only implement get_data and
      get_filename. To also use bytecode -- sourceless loading is not supported --
      then two abstract methods -- path_mtime and set_data -- need to be implemented.
      Compared to PyLoader and PyPycLoader, there are less abstract methods
      introduced and bytecode files become an optimization controlled by the ABC and
      hidden from the user (this need came about as PEP 3147 showed that not treating
      bytecode as an optimization can cause problems for compatibility).
      
      PyLoader is deprecated in favor of SourceLoader. To be compatible from Python
      3.1 onwards, a subclass need only use simple methods for source_path and
      is_package. Otherwise conditional subclassing based on whether Python 3.1 or
      Python 3.2 is being is the only change. The documentation and docstring for
      PyLoader explain what is exactly needed.
      
      PyPycLoader is deprecated also in favor of SourceLoader. Because PEP 3147
      shifted bytecode path details so much, there is no foolproof way to provide
      backwards-compatibility with SourceLoader. Because of this the class is simply
      deprecated and users should move to SourceLoader (and optionally PyLoader for
      Python 3.1). This does lead to a loss of support for sourceless loading
      unfortunately.
      
      At some point before Python 3.2 is released, SourceLoader will be moved over to
      importlib._bootstrap so that the core code of importlib relies on the new code
      instead of the old PyPycLoader code. This commit is being done now so that
      there is no issue in having the API in Python 3.1a1.
      f23e3744
    • Benjamin Peterson's avatar
      Blocked revisions 79596 via svnmerge · 22d0830a
      Benjamin Peterson yazdı
      ........
        r79596 | eric.smith | 2010-04-02 07:30:56 -0500 (Fri, 02 Apr 2010) | 1 line
      
        Issue 7994: Make object.__format__ with a non-empty format string a PendingDecprecationWarning. Still need to remove uses of this from various tests.
      ........
      22d0830a
    • Benjamin Peterson's avatar
      Merged revisions 79894-79895,80098,80120 via svnmerge from · e0edb8b3
      Benjamin Peterson yazdı
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r79894 | jeroen.ruigrok | 2010-04-07 09:33:37 -0500 (Wed, 07 Apr 2010) | 5 lines
      
        FreeBSD is not a sysv platform, so use freebsd.S instead of sysv.S (as is
        also the case in FreeBSD's port of libffi).
      
        Reviewed by: dickinsm
      ........
        r79895 | jeroen.ruigrok | 2010-04-07 11:34:08 -0500 (Wed, 07 Apr 2010) | 2 lines
      
        Document the libffi FreeBSD fix.
      ........
        r80098 | benjamin.peterson | 2010-04-15 16:42:16 -0500 (Thu, 15 Apr 2010) | 1 line
      
        add space
      ........
        r80120 | antoine.pitrou | 2010-04-16 16:34:02 -0500 (Fri, 16 Apr 2010) | 3 lines
      
        Ignore jinja2
      ........
      e0edb8b3
    • Benjamin Peterson's avatar
      Merged revisions 81004 via svnmerge from · 19a14884
      Benjamin Peterson yazdı
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r81004 | mark.dickinson | 2010-05-08 14:13:21 -0500 (Sat, 08 May 2010) | 1 line
      
        Fix configure bug that was misreporting availability of MacOS X 10.5 SDK as available on Linux but not on OS X.
      ........
      19a14884
    • Benjamin Peterson's avatar
      Blocked revisions 80396 via svnmerge · 345a1c24
      Benjamin Peterson yazdı
      ........
        r80396 | sean.reifschneider | 2010-04-23 03:31:55 -0500 (Fri, 23 Apr 2010) | 2 lines
      
        issue8451: Making syslog module use sys.argv[0] for "ident".
      ........
      345a1c24
    • Benjamin Peterson's avatar
      Recorded merge of revisions 80866 via svnmerge from · 3f191b36
      Benjamin Peterson yazdı
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r80866 | andrew.kuchling | 2010-05-06 08:03:39 -0500 (Thu, 06 May 2010) | 1 line
      
        Use anonymous hyperlinks
      ........
      3f191b36
    • Benjamin Peterson's avatar
      Merged revisions 81880 via svnmerge from · 68d83d1c
      Benjamin Peterson yazdı
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r81880 | andrew.kuchling | 2010-06-10 19:14:34 -0500 (Thu, 10 Jun 2010) | 1 line
      
        Edit comments for current Python; bump version number of Python
      ........
      68d83d1c