-
```
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…
-
As per title.
```
unrecognized option -title
line 0: Cannot load input from 'Battery Graph'
```
Or with bash -x
```
+ gnuplot -persist -title 'Battery Graph'
+ echo 'zero_time_err = sqrt((…
-
When calculating array derivative (diff) carray shortens the array:
``` python
import carray as ca
import numpy as np
carr = ca.arange(1000000)
diff_arr = ca.eval("np.diff(carr)", vm="python")
nd_ar…
btel updated
12 years ago
-
```
Take the code
"""
def add(a, b):
c = a + b
d = a + b
return c + d
def main():
for _ in xrange(12000):
add(1, 1)
"""
that is, we forcibly specialize add() on ints. We currentl…
-
Using Python 3.5
I tried to run this project with its basic settings and cannot even run main.py as it claims there's a missing module.
Though __init__.py in the models folder says it can't find T…
-
RT
zuosc updated
4 years ago
-
```
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…
-
```
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…