I hereby claim:
- I am nazavode on github.
- I am nazavode (https://keybase.io/nazavode) on keybase.
- I have a public key whose fingerprint is 74C9 67CD E139 0E80 0521 33A0 51E3 130F 9AD6 20D7
To claim this, I am signing this object:
| from __future__ import print_function | |
| import ctypes | |
| import threading | |
| import time | |
| def async_raise(thread_obj, exception): | |
| """ Raises an exception inside an arbitrary active :class:`~threading.Thread`. | |
| Parameters |
| # -*- coding: utf-8 -*- | |
| # | |
| # Copyright 2015 Federico Ficarelli | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # |
| # -*- coding: utf-8 -*- | |
| import pytest | |
| import timeit | |
| # from duga import * | |
| @pytest.fixture | |
| def domain(): |
I hereby claim:
To claim this, I am signing this object:
Amazing projects based on async/await features:
arq - Fast job queuing and RPC in python with asyncio, redis and msgpack (https://github.com/samuelcolvin/arq)aiopubsub - Simple pubsub pattern for asyncio applications (https://github.com/qntln/aiopubsub)aioredis - asyncio (PEP 3156) Redis support (https://github.com/aio-libs/aioredis)aioamqp - AMQP implementation using asyncio (https://github.com/Polyconseil/aioamqp)asynqp - An AMQP library for asyncio (https://github.com/benjamin-hodgson/asynqp)uvloop - Ultra fast implementation of asyncio event loop on top of libuv (https://github.com/MagicStack/uvloop)sqlalchemy_aio - Asyncio strategy for SQLAlchemy (https://github.com/RazerM/sqlalchemy_aio)curio - Curio - The coroutine concurrency library (https://github.com/dabeaz/curio)| *.o |
| class AstNode(object): | |
| pass | |
| class Expression(AstNode): | |
| pass | |
| class BinOp(AstNode): | |
| pass | |
| class Add(BinOp): |
| # -*- coding: utf-8 -*- | |
| from collections import namedtuple, Mapping | |
| __all__ = ['defaultuple'] | |
| def defaultuple(typename, field_names, default_values=()): | |
| """ Build a new `namedtuple` type with optional default values that | |
| can be specified as positional or keyword arguments. |
| def attach(sig, frame): | |
| import pdb | |
| pdb.Pdb().set_trace(frame) | |
| if __name__ == '__main__': | |
| import signal | |
| signal.signal(signal.SIGUSR1, attach) | |
| # ... | |
| # kill -USR1 <pid> |
| *.dot | |
| .venv |