-
```
def _are_same(expected, actual, ignore_value_of_keys, ignore_missing_keys=False):
# Check for None
if expected is None:
return expected == actual, Stack()
…
-
```
What steps will reproduce the problem?
1. happens with 1.4.2 and 2.0.1 (debian experimental)
2. on sparc boxes (but necessarily all of them)
3. some times just a test failure some times a crash, e…
-
The logger is not successfully writing to CloudWatch when using multiprocessing. I tested to see whether this was my configuration by dropping a watchtower handler and using a file handler. This logge…
-
Originally reported by: **parahelox (Bitbucket: [parahelox](https://bitbucket.org/parahelox), GitHub: [parahelox](https://github.com/parahelox))**
----------------------------------------
ubuntu 14.…
-
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
-
LeetCode wants to give one of its best employees the option to travel among N cities to collect algorithm problems. But all work and no play makes Jack a dull boy, you could take vacations in some par…
-
PAUSE_LATENCY = 20这样设置的原因是什么?为何两个frame之间的latency大于20,则不是一个jankniess?
-
```
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…
-
```
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 (…