Keith Rothman
20d6c4eef7
Rename capnp.lib.capnp.Promise to capnp.lib.capnp._Promise.
...
This is to prevent aliasing with capnp.includes.capnp_cpp.Promise. This
aliasing is problematic if capnp/lib/capnp.pxd uses the template definition
from capnp.includes.capnp_cpp.Promise.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com >
2020-02-28 16:53:52 -08:00
Jacob Alexander
b3021e4f6b
Fixing flake8 warnings and errors
...
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --exclude benchmark
Excluding the benchmark directory (due to protobuf generated files)
Also removing some Python2 specific code
2019-09-27 00:15:13 -07:00
Jason Paryani
93352a31d2
Initial version of code generating plugin
...
The plugin generates higher performance compiled versions of the structs
2014-09-04 14:21:27 -07:00
Jason Paryani
1e87bed8c7
Refactor capnp.pyx to be in lib subdirectory
2013-12-08 17:43:08 -08:00
Jason Paryani
888b906781
Remove all public references to EventLoop to match changes to async API
2013-12-02 17:38:32 -08:00
Jason Paryani
2e4efd040b
Allow client requests to use positional args
2013-11-14 20:59:21 -08:00
Jason Paryani
26579d307d
Enable import hook by default
2013-09-03 00:21:28 -07:00
Jason Paryani
1317527893
Change naming for functions to conform to PEP 8. Also deprecate old
...
read/write api.
2013-09-01 20:10:57 -07:00
Jason Paryani
6fcdf841e4
Update preferred method for reading/writing messages from files
2013-09-01 02:13:19 -07:00
Jason Paryani
f7fbe5bdb3
Change load to use a global SchemaParser. Make structs settable as field
2013-08-29 21:03:00 -07:00
Jason Paryani
f0aa4d996b
Add docstrings for new functions and _DynamicResizableListBuilder
2013-08-29 18:46:17 -07:00
Jason Paryani
397357110d
Fix tests
2013-08-28 23:29:48 -07:00
Jason Paryani
7d59df357c
Add _capnp for original Cython module. Meant for testing.
2013-08-28 23:11:59 -07:00
Jason Paryani
172c2fd900
Change orphan list semantics a bit
2013-08-27 10:55:06 -07:00
Jason Paryani
448ea93891
Add full orphan functionality. Also, allow special orphan lists
...
that can grow over time.
2013-08-26 22:00:12 -07:00
Jason Paryani
7b33513bdb
Add a ton of docstrings and add to official docs
2013-08-26 16:16:58 -07:00
Jason Paryani
0856cf413b
Remove a bunch of cruft. Also re-namespace all private methods with _
2013-08-26 15:07:13 -07:00
Jason Paryani
a4d2bd6020
Add some docstrings
2013-08-26 10:07:54 -07:00
Jason Paryani
0ed0bcf361
Fixed up setup process, cleaned up repo, and updated README
2013-07-06 23:41:19 -07:00