On Sun, Sep 24, 2017 at 11:34 PM, Ivan Savov <ivan.sa...@gmail.com> wrote:

>
> For some reason my adblocker blocked the script. You might look into
>> why it does that.
>>
>>
> Were you using AdBlock plus?
>

I'm using uBlock Origin.


>
>
>> I guess some modules are excluded from the import? I tried to run the
>> tests, but the test() function wasn't imported, and when I tried to
>> import it, I got a failure because it couldn't import the signal
>> module.
>>
>
> Right. I removed the tests import because I it was failing to import
> (because of signal).
>

Let's refactor the test runner so that it works without signal. It's only
needed for the timeout behavior.


> see botton of this diff https://github.com/minireference/sympy/commit/
> 3f49636b42d707ef8934ef44993cec79d8f8d4b7
> The only other thing I had to modify in sympy is
> from threading import RLock
>
> because threading seems to be a CPython-only thing
>

It looks like this is used by the Python 2 compatibility lru_cache. PyPy is
Python 2, but I don't think pypy.js needs to worry about threading. Let's
refactor it so that it uses a no-op when threading isn't there.

It's also used by the pyglet plotting library, which obviously isn't going
to be used here.

Aaron Meurer


> I will try to run some tests manually next time I work on this.
> I'm particularly interested in numeric-heavy stuff, how slow pypyjs is
> compared to CPython.
>
>
> Ivan
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sympy+unsubscr...@googlegroups.com.
> To post to this group, send email to sympy@googlegroups.com.
> Visit this group at https://groups.google.com/group/sympy.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/sympy/35f0d00e-7c42-4eaf-8153-5ba2dae35bf7%40googlegroups.com
> <https://groups.google.com/d/msgid/sympy/35f0d00e-7c42-4eaf-8153-5ba2dae35bf7%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAKgW%3D6%2BkbXzQKfSVNw9Hw%2BZgDM5EN%3Db4zPCLvDXfx6e__SpwoQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to