holger krekel
e3b34c9da3
* allowing arbitrary keys for xspecs but adding some sanity checks to xspec-parsing and makegateway.
...
* fixing a python3 IO issue - we need to retain sys.stdout/stdin
references to keep the underlying byte stream open.
--HG--
branch : trunk
2009-09-22 18:40:20 +02:00
holger krekel
47bad98c07
* various cleanups and detailed doc string for gateway_base module
...
* remove old multi-file-send mechanism/tests now that
only gateway_base is send to the other side.
* adding some (c) notices where i am pretty sure about them.
--HG--
branch : trunk
2009-09-11 16:26:19 +02:00
holger krekel
5df58c619d
* move gateway management code to py/test/dist because it's not clear
...
how generally useful it is.
* provide pytest_dist_makegateway(txspec) hook so that plugins
can add their own interpretation/keywords.
--HG--
branch : trunk
2009-09-09 20:12:03 +02:00
holger krekel
c7f11745cd
* fix various remaining 3k issues until test_gateway.py passes with python3 py/bin/py.test
...
* we now wait on gateway initialization until we got a byte back after
we sent the bootstrap
--HG--
branch : trunk
2009-09-02 21:05:08 +02:00
holger krekel
6c3e961bc5
* simplify stdout/stderr handling and modules and for now remove support
...
for directly stdout/stderr directly on remote_exec
--HG--
branch : trunk
2009-09-02 19:39:24 +02:00
holger krekel
73fc2f01f2
filter out and test exception printing
...
--HG--
branch : trunk
2009-09-02 19:05:34 +02:00
holger krekel
e30aeed876
* more tests and fixes for cross-python compatibility
...
* use byte-buffer files if available for io
* shift receivelock to gateway object
* kill dead code
--HG--
branch : trunk
2009-09-02 18:56:43 +02:00
holger krekel
5d2504df0a
* simplify lock acquiration for received messages, review code
...
* try to fix seldomly occuring race condition with setcallback/receive and closing of channel
--HG--
branch : trunk
2009-09-02 15:45:59 +02:00
holger krekel
f636ed8ced
* make Gateway interface more asymetric: remote_* methods
...
and cleanup/atexit handling now live exclusively with the "InitiatingGateway"
* fix some cross-python io related handling
--HG--
branch : trunk
2009-09-02 14:31:48 +02:00
holger krekel
c1fcf9c4d8
* use py.builtin._getimself instead of getattr(..., '*self*') everywhere
...
* fix logging to work with 3k, implement buffering manually
* fix unicode capturing issue - re-introduce EncodedFile for <3K file writes
--HG--
branch : trunk
2009-09-01 16:10:21 +02:00
holger krekel
43b8bd7df7
* refactor gateway code and tests to live in fewer files, remove some lock usage
...
* move text files to a new "hacking" directory
--HG--
branch : trunk
2009-09-01 11:39:27 +02:00