Comments (8)
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.
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.
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.
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.
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.
Changed r09 to R09
Original comment by [email protected]
on 12 Mar 2010 at 8:22
from python-on-a-chip.
Original comment by [email protected]
on 13 Mar 2010 at 1:30
- Added labels: Milestone-09
from python-on-a-chip.
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)
- Remove pycscope from tools HOT 1
- Multithread HOT 1
- running ipm in Windows desttop
- Create new platform darwin with xcode project HOT 2
- false positive in string/sequence comparison HOT 1
- Patch for /src/lib/dict.py
- PIC32 support? HOT 4
- Linker trouble due to ordering of files HOT 1
- Compiler warning when shifting an 8-bit value beyond 8 bits HOT 1
- Implement SLICE_1,2,3 HOT 2
- Fix string cache
- Implement the simplest form of try/catch HOT 1
- Fix compile system so string cache can be disabled
- Fix sys.time overflow HOT 3
- Fix build break when HAVE_SNPRINTF_FORMAT is false HOT 4
- Fix C_NULL for C++ compiler HOT 3
- Unable to build v10 posix64 HOT 1
- support for user data types
- functions assigned to a class attribute are promoted to members HOT 1
- empty string assignment produces garbage HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-on-a-chip.