I hereby claim:
- I am markrwilliams on github.
- I am markrwilliams (https://keybase.io/markrwilliams) on keybase.
- I have a public key ASAc0PYz8kM8wGLX9sAxx2RzeFky9nyHgSlFYMQ81pTgOQo
To claim this, I am signing this object:
from __future__ import print_function | |
import sys | |
import treq | |
from twisted.internet.task import react | |
def main(reactor, domain): |
from twisted.logger import globalLogBeginner, textFileLogObserver, Logger | |
from twisted.internet.defer import inlineCallbacks | |
from twisted.internet.task import react | |
from twisted.python import failure | |
from twisted.internet import protocol, endpoints | |
import sys | |
import twisted | |
print "Twisted:", twisted.__version__ | |
log = Logger() |
diff --git a/src/twisted/internet/tcp.py b/src/twisted/internet/tcp.py | |
index dc798f08c..4550c0e03 100644 | |
--- a/src/twisted/internet/tcp.py | |
+++ b/src/twisted/internet/tcp.py | |
@@ -11,6 +11,9 @@ End users shouldn't use this module directly - use the reactor APIs instead. | |
from __future__ import division, absolute_import | |
# System Imports | |
+import traceback | |
+import weakref |
import pytest | |
from twisted.internet import defer | |
def successResultOf(d): | |
completed = [] | |
d.addCallback(completed.append) | |
assert completed, "{!r} not yet fired".format(d) |
X |
I hereby claim:
To claim this, I am signing this object:
import sys | |
from threading import Thread | |
from time import time | |
from Queue import Queue | |
def f(a): | |
return a | |
from threading import RLock | |
class T(object): | |
def __init__(self): | |
self.lock = RLock() | |
def _meth(self): | |
pass |
# # emacs keybindings for navigation in copy mode | |
# markkeys ^B=Y:^F=V:h=^B:l=^F:0=^A:$=^E | |
# # C-space sets mark. markkeys does it in screen 4.0 and higher, but 3.9x | |
# # needs the bindkey command. (note the ^@ escape sequence for C-space.) | |
# markkeys ' '=^@ | |
# # bindkey -m ^@ stuff ' ' | |
# # page up and page down | |
# bindkey -m -k kP stuff Y |
#include <dirent.h> | |
#include <errno.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <unistd.h> | |
#include <fcntl.h> | |
static void lookup() | |
{ |