-
```
What steps will reproduce the problem?
import PyV8
import eventlet
class Global(PyV8.JSClass):
def sleep(self, seconds):
eventlet.sleep(seconds)
def run(n):
with PyV8.JSContext(G…
-
```
What steps will reproduce the problem?
import os, gc
import PyV8
def get_mem():
a = os.popen('ps -p %d -o %s | tail -1' % (os.getpid(),"vsize,rss,pcpu")).read()
a = a.split()
return (…
-
```
What steps will reproduce the problem?
import PyV8
import eventlet
class Global(PyV8.JSClass):
def sleep(self, seconds):
eventlet.sleep(seconds)
def run(n):
with PyV8.JSContext(G…
-
```
>>> import psycopg2cffi
>>> c = psycopg2cffi.connect(database='postgres')
>>> cur = c.cursor()
>>> cur.execute('create table binarydata(c bytea)')
>>> psycopg2cffi.extensions.register_type(psycopg…
-
This code has quite peculiar behavior on the OpenCL backend:
```python
import bohrium as np
import time
DTYPE = np.float32
if __name__ == "__main__":
a = np.random.rand(100,10**6, dtyp…
-
```
What steps will reproduce the problem?
1. Install Python 3.3 on Windows XP platform
2. Execute cpplint_unittest.py
3.
What is the expected output? What do you see instead?
Expected no failures…
-
In Heptapod by bitbucket_importer on Oct 13, 2018, 11:39
*Created originally on Bitbucket by [wait4pumpkin (Tinho Lee)](https://bitbucket.org/[7.3.7](https://github.com/gitlab-importer/pypy/milestone…
-
```
What steps will reproduce the problem?
1.
tar -xzf “Path to” libdnet-1.12.tgz
cd libdnet-1.12
./configure
make
sudo make install
cd python
sudo python setup.py install
The last line produces a…
-
```
What steps will reproduce the problem?
1.
tar -xzf “Path to” libdnet-1.12.tgz
cd libdnet-1.12
./configure
make
sudo make install
cd python
sudo python setup.py install
The last line produces a…
-
Currently we use this function on the outputs of svd
```python
def svd_flip(u, v):
u2, v2 = delayed(skm.svd_flip, nout=2)(u, v)
u = da.from_delayed(u2, shape=u.shape, dtype=u.dtype)
…