GithubHelp home page GithubHelp logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 27, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 27, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 27, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 27, 2024
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)

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.