[pypy-svn] r46325 - pypy/branch/merging/rpython/lltypesystem

arigo at codespeak.net arigo at codespeak.net
Wed Sep 5 12:33:40 CEST 2007


Author: arigo
Date: Wed Sep  5 12:33:40 2007
New Revision: 46325

Added:
   pypy/branch/merging/rpython/lltypesystem/lltype.py.merge.tmp
      - copied, changed from r46315, pypy/branch/merging/rpython/lltypesystem/lltype.py
Log:
merging of svn+ssh://codespeak.net/svn/pypy/branch/pypy-more-rtti-inprogress/rpython/lltypesystem/lltype.py
revisions 45507 to 46315:

    ------------------------------------------------------------------------
    r45879 | arigo | 2007-08-20 16:57:24 +0200 (Mon, 20 Aug 2007) | 17 lines
    
    Fix for an issue where multiple _func objects have the same graph.
    They were created by multiple calls to rtyper.getcallable(), once
    without particular arguments, and once from annlowlevel.py with
    extra **fnobjattrs.
    
    In details:
    
    * getcallable() now always reads extra fnobj attributes from the Python
      function object's '_fnobjattrs_' attribute, if any, so that it always
      return an equal _func object.
    * this allows us to revert the recently-introduced **fnobjattrs
      arguments in annlowlevel.py.
    * make _func objects really immutable, to avoid surprizes with hash().
    * shuffle things around in ll2ctypes to cope with this.
    
    translator/c/test/test_newgc is now passing.
    
    ------------------------------------------------------------------------
    r45656 | arigo | 2007-08-14 18:10:44 +0200 (Tue, 14 Aug 2007) | 6 lines
    
    For backup purposes, in-progress: convert more of the os module to rtti
    and try to get rid of the rllib.ros module by making the native
    interfaces RPythonic.  This looks quite good in my opinion - seems that
    we've finally learned a reasonable way to do external functions.
    
    
    ------------------------------------------------------------------------




More information about the Pypy-commit mailing list