This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import gc | |
import sys | |
import time | |
import itertools | |
import weakref | |
import concurrent.futures | |
import tracemalloc | |
import ctypes | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import itertools | |
import random | |
def mytee1(xs, n): | |
last = [None, None] | |
def gen(it, mylast): | |
nonlocal last |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import gc | |
import pprint | |
import types | |
import weakref | |
import asyncio | |
from asyncio import tasks | |
from tornado import gen | |
from tornado.ioloop import IOLoop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import threading | |
from tornado import gen | |
from tornado.concurrent import Future | |
from tornado.ioloop import IOLoop | |
fut = Future() | |
#print("in main:", fut, id(getattr(fut, '_loop', None))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import struct | |
try: | |
from time import perf_counter as clock | |
except ImportError: | |
from time import time as clock | |
import asyncio | |
#import uvloop | |
#asyncio.set_event_loop_policy(uvloop.EventLoopPolicy()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import struct | |
try: | |
from time import perf_counter as clock | |
except ImportError: | |
from time import time as clock | |
from tornado.tcpserver import TCPServer | |
from tornado.tcpclient import TCPClient | |
from tornado.ioloop import IOLoop | |
from tornado import gen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ readelf -V /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19 | grep -i CXXABI | |
084: 1f (GLIBC_2.2.5) 1f (GLIBC_2.2.5) 0 (*local*) 16 (CXXABI_1.3) | |
0a0: 2 (GLIBCXX_3.4) 2 (GLIBCXX_3.4) 19 (CXXABI_1.3.3) 2 (GLIBCXX_3.4) | |
0b8: 11 (GLIBCXX_3.4.15) 2 (GLIBCXX_3.4) 2 (GLIBCXX_3.4) 16 (CXXABI_1.3) | |
0d8: 7 (GLIBCXX_3.4.5) 2 (GLIBCXX_3.4) 16 (CXXABI_1.3) 2 (GLIBCXX_3.4) | |
0e0: 2 (GLIBCXX_3.4) 16 (CXXABI_1.3) 2 (GLIBCXX_3.4) 2 (GLIBCXX_3.4) | |
120: 2 (GLIBCXX_3.4) 2 (GLIBCXX_3.4) 13 (GLIBCXX_3.4.17) 19 (CXXABI_1.3.3) | |
12c: 16 (CXXABI_1.3) c (GLIBCXX_3.4.10) 2 (GLIBCXX_3.4) 2 (GLIBCXX_3.4) | |
160: 16 (CXXABI_1.3) 2 (GLIBCXX_3.4) 15 (GLIBCXX_3.4.19) 2 (GLIBCXX_3.4) | |
164: 2 (GLIBCXX_3.4) 11 (GLIBCXX_3.4.15) 16 (CXXABI_1.3) 2 (GLIBCXX_3.4) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(view as text) | |
conda build -q conda-recipes/llvmdev -c numba --python=2.7 --no-test | |
in dir /Users/buildbot/hpa-ci/buildbot-slave/llvmdev-osx/build (timeout 1200 secs) | |
watching logfiles {} | |
argv: ['conda', 'build', '-q', 'conda-recipes/llvmdev', '-c', 'numba', '--python=2.7', '--no-test'] | |
environment: | |
BUILDMASTER=numba-linux64-gpu | |
BUILDMASTER_PORT=9989 | |
HOME=/Users/buildbot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2016-07-18 19:10:33+0200 [_GenericHTTPChannelProtocol,0,127.0.0.1] Unhandled Error | |
Traceback (most recent call last): | |
File "/home/antoine/miniconda3/envs/bb-numba/lib/python2.7/site-packages/buildbot/status/web/base.py", line 391, in view | |
return defer.maybeDeferred(lambda: self.content(request, ctx)) | |
File "/home/antoine/miniconda3/envs/bb-numba/lib/python2.7/site-packages/twisted/internet/defer.py", line 150, in maybeDeferred | |
result = f(*args, **kw) | |
File "/home/antoine/miniconda3/envs/bb-numba/lib/python2.7/site-packages/buildbot/status/web/base.py", line 391, in <lambda> | |
return defer.maybeDeferred(lambda: self.content(request, ctx)) | |
File "/home/antoine/miniconda3/envs/bb-numba/lib/python2.7/site-packages/twisted/internet/defer.py", line 1274, in unwindGenerator | |
return _inlineCallbacks(None, gen, Deferred()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numba as nb | |
import numpy as np | |
from time import process_time as clock | |
class Timer: | |
def __init__(self,title=None): | |
self.title=title | |
def __enter__(self): |
NewerOlder