GithubHelp home page GithubHelp logo

Fix classes during ipm about python-on-a-chip HOT 6 CLOSED

abzac avatar abzac commented on July 17, 2024
Fix classes during ipm

from python-on-a-chip.

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
The STORE_ATTR bytecode fails because the self argument is not of type 
instance.  
Research reveals that the instance object gets clobbered on the stack during 
the 
CALL_FUNCTION bytecode implementation because up to two extra slots on the 
stack are 
used that the compiler didn't account for.  Added two extra slots to the frame 
allocation in frame_new() to fix the situation.

Along the way, I discovered that __NATIVE__ __init__ method was pushing its 
return 
object when it shouldn't.  Added logic to fix that.

Original comment by [email protected] on 2 May 2009 at 5:40

  • Changed state: Started

from python-on-a-chip.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
Added system test 230 to prevent regression of __NATIVE__ __init__ pushing its 
return 
None on the stack when it shouldn't.  System tests passed.  ipm test (above) 
passed.  

Mainlined directly, see r357

Original comment by [email protected] on 2 May 2009 at 6:05

from python-on-a-chip.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024

Original comment by [email protected] on 2 May 2009 at 6:13

  • Changed state: Fixed

from python-on-a-chip.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
Changing Milestone-r10 to Milestone-r09

Original comment by [email protected] on 7 Mar 2010 at 6:26

  • Added labels: Milestone-r09

from python-on-a-chip.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
Changed r09 to R09

Original comment by [email protected] on 12 Mar 2010 at 8:22

from python-on-a-chip.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024

Original comment by [email protected] on 13 Mar 2010 at 1:30

  • Added labels: Milestone-09

from python-on-a-chip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.