Comments (4)
Could you reproduce the issue in the SVN build, or attach your test.py? Because
I
can't reproduce it with latest code.
D:\Python\pyjamas\pyv8>echo print "hello" > test.py
D:\Python\pyjamas\pyv8>pyv8run.py test.py
hello
Original comment by [email protected]
on 25 Jun 2009 at 4:31
from pyv8.
test.py:
from fred import fred
fred()
fred.py:
class fred:
def __init__(self):
print "this doesn't work"
i'll try latest svn, it'll be later - i packed my 32-bit machine for the
conference.
Original comment by [email protected]
on 25 Jun 2009 at 4:37
from pyv8.
It seems caused by a missing attribute :(
>>> ctxt.eval(code)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
PyV8.JSError: JSError: undefined ( @ 1055 : 4 ) -> throw e.__name__;
I think the root cause is that you guys using function prototype, but pyv8
doesn't
have a full feature unit tests cover it :(
pyjslib.StopIteration = function () { };
pyjslib.StopIteration.prototype = new Error();
pyjslib.StopIteration.__name__ = 'StopIteration';
pyjslib.StopIteration.message = 'StopIteration';
I will check it in weekend, wish it is not too complex :S
Original comment by [email protected]
on 25 Jun 2009 at 5:06
- Changed state: Accepted
- Added labels: OpSys-All
from pyv8.
Fix a crash issue when exception doesn't include any message information
http://code.google.com/p/pyv8/source/detail?r=128
Original comment by [email protected]
on 27 Jun 2009 at 9:13
- Changed state: Fixed
- Added labels: Component-Logic
Attachments:
from pyv8.
Related Issues (20)
- Can't override eval method when inheriting JSClass HOT 2
- Compilation error HOT 7
- Compilation issue on Ubuntu 13.10 - no matching function for call to ‘CAstVisitor::InitializeAstVisitor(v8::internal::Isolate*)’ HOT 2
- Symbol not found: __ZSt20__throw_length_errorPKc HOT 2
- Builds HOT 5
- Garbage Collector not working HOT 8
- Memory leak with evaluating pure JS HOT 3
- How to load contents of alert screen ?
- Update version on PyPI
- error: 'CLASSIC_MODE' is not a member of 'v8i' v8 API change ?
- REVISION
- AST can't visit object properties: No to_python (by-value) converter found for C++ type: v8::internal::ObjectLiteralProperty*
- src/Context.h:66:114: error: no member named 'HasOutOfMemoryException' in 'v8::Context'
- Help !!
- Precompiled for Debain x64 HOT 1
- Failed to pip install/build under linux x64 — lot of errors in src/Wrapper.cpp HOT 1
- segfault
- compile failed with error code 1
- Segmentation fault when incorrectly instantiating a new Date
- error install from pip
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 pyv8.