Start here. Read. Absorb. Click on the navbar "Code" link. Go into the synapse directory. Look at python_dependencies.py. Go to line 29.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
I hereby claim:
- I am moshez on github.
- I am moshez (https://keybase.io/moshez) on keybase.
- I have a public key whose fingerprint is 892D D96A 0A37 2F5E 7941 9F93 CCA3 ADC2 53AF C674
To claim this, I am signing this object:
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
def deepdict(): | |
return collections.defaultdict(deepdict) | |
def deepdictify(tupdict): | |
res = deepdict() | |
for key, val in tupdict.items(): | |
tempres = res | |
for kpart in key[:-1]: | |
tempres = tempres[kpart] | |
tempres[key[-1]] = val |
I hereby claim:
- I am moshez on github.
- I am moshez (https://keybase.io/moshez) on keybase.
- I have a public key whose fingerprint is EC9F EF3A C5B1 E856 B3CA ED27 0E46 DCC1 1A77 FCF1
To claim this, I am signing this object:
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
diff --git a/tests/ncolony/tests/nidl/test_interface.py b/tests/ncolony/tests/nidl/test_interface.py | |
index 85f7ffb..9ef57fa 100644 | |
--- a/tests/ncolony/tests/nidl/test_interface.py | |
+++ b/tests/ncolony/tests/nidl/test_interface.py | |
@@ -104,6 +104,62 @@ class Foo(types.Implementation): | |
def remote_float(self, a): | |
return dict(b=1-a) | |
+class TestDocumentation(unittest.TestCase): | |
+ |
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
diff --git a/txmob/nidl/types.py b/txmob/nidl/types.py | |
index 86595f7..2fe1811 100644 | |
--- a/txmob/nidl/types.py | |
+++ b/txmob/nidl/types.py | |
@@ -190,6 +190,7 @@ class Implementation(object): | |
if '_user' in kwargs: | |
user = kwargs['_user'] | |
if user is not None: | |
+ print "woo got user", user | |
User.processInput(user) |
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
moshez@mcgyver:~/src/games$ virtualenv forwarner | |
Running virtualenv with interpreter /usr/bin/python2 | |
New python executable in forwarner/bin/python2 | |
Also creating executable in forwarner/bin/python | |
Installing setuptools, pip...done. | |
moshez@mcgyver:~/src/games$ ./forwarner/bin/pip install tox | |
Downloading/unpacking tox | |
Downloading tox-2.1.1-py2.py3-none-any.whl | |
Downloading/unpacking pluggy>=0.3.0,<0.4.0 (from tox) | |
Downloading pluggy-0.3.0-py2.py3-none-any.whl |
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
Collecting twisted | |
Using cached Twisted-15.1.0.tar.bz2 | |
Requirement already satisfied (use --upgrade to upgrade): zope.interface>=3.6.0 in ./venv/site-packages (from twisted) | |
Requirement already satisfied (use --upgrade to upgrade): setuptools in ./venv/site-packages (from zope.interface>=3.6.0->twisted) | |
Installing collected packages: twisted | |
Running setup.py install for twisted | |
Complete output from command /home/moshez/src/pypy-games/venv/bin/pypy -c "import setuptools, tokenize;__file__='/tmp/pip-build-cyqLBs/twisted/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-U2dS1I-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/moshez/src/pypy-games/venv/include/site/python2.7/twisted: | |
running install | |
running build | |
running build_py |
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
from werkzeug.routing import Map, Rule | |
a=Map(rules=[Rule('/<__rest__>')]) | |
c=a.bind('foo', path_info='/foo/%0A%0D') | |
c.match() | |
~ |
NewerOlder