GithubHelp home page GithubHelp logo

Comments (8)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
The trouble this introduces is that the assert statement needs the 
AssertionError 
exception and as exceptions become classes (rather than types), the VM will 
require 
classes in order to support the system tests.  In short, this makes 
HAVE_CLASSES a 
requirement for core functionality.  Some smaller-RAM targets will suffer.

Original comment by [email protected] on 18 Jan 2010 at 4:33

from python-on-a-chip.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
The trouble is remedied by the existing HAVE_ASSERT definition which could be 
disabled 
for smaller targets alleviating the need for classes; however, system tests 
won't be 
able to run on such target platforms.

Original comment by [email protected] on 18 Jan 2010 at 3:34

  • Changed state: Started

from python-on-a-chip.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
Removed 3 places where OBJ_TYPE_EXN was used for managing the EXN type's 
attributes.  
Edited RAISE_VARARGS bytecode to use the new class_isSubclass() function to fix 
the bug 
mentioned above.  Made various fixups where TYPE_EXN was used.  Had to create a 
new 
global "Exception" string so that builtin could be loaded from within interp(). 
 Now 
that HAVE_ASSERT requires HAVE_CLASS, it is relocated within all 
platform/*/pmfeatures.h.  Updated docs/src/AssertStatement.txt (docs build).

Original comment by [email protected] on 18 Jan 2010 at 10:38

from python-on-a-chip.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
Tests pass.  Builds for avr, arm7 and mbed.  ipm works.

Mainlined directly, see r410

Original comment by [email protected] on 18 Jan 2010 at 10:46

  • 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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
r517
Post mainline checkin.  Added system tests that should be enabled after 
exceptions can be handled.

Original comment by [email protected] on 9 Jul 2010 at 8:29

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.