Commit Graph

88 Commits

Author SHA1 Message Date
David Wilson 397275087b Fix name. 2016-08-13 22:03:57 +01:00
David Wilson f4fa69075e Remove unused signal.signal(). 2016-08-13 22:03:57 +01:00
David Wilson 14b0b0d008 Remove unused ReadMore(). 2016-08-13 22:03:57 +01:00
David Wilson 4bf9d35e74 Better LocalStream bootstrap failure message. 2016-08-13 22:03:57 +01:00
David Wilson 8216edd755 Quieter logging of ImportError. 2016-08-13 22:03:57 +01:00
David Wilson fa0beffac2 Fix stdout reopen when stdout is a socket. 2016-08-13 22:03:57 +01:00
David Wilson 625bec9db5 Remove wait= from Finalize(), main() try/except. 2016-08-13 22:03:57 +01:00
David Wilson d9e9d94f30 GetLocal(python_path=...) 2016-08-13 22:03:57 +01:00
David Wilson d8b6aa8902 Beginnings of graceful shutdown. 2016-08-13 22:03:57 +01:00
David Wilson 8a081a103f Python 2.4 open() vs. file(). 2016-08-13 22:03:57 +01:00
David Wilson 82a31cfb7a Tidy up _ReceiveOne() logic. 2016-08-13 22:03:57 +01:00
David Wilson f93839c318 Fix variable name. 2016-08-13 22:03:57 +01:00
David Wilson 7683ee060e Split out GetPreamble. 2016-08-13 22:03:56 +01:00
David Wilson 8fdedff8e7 Do docstring and comment removal before compression. 2016-08-13 22:03:56 +01:00
David Wilson d4875fdec7 Fix obvious importer bug. 2016-08-13 22:03:56 +01:00
David Wilson bca3a65157 Use set_cloexec() everywhere. 2016-08-13 22:03:56 +01:00
David Wilson 6bedfe1934 Fix input length check error. 2016-08-13 22:03:56 +01:00
David Wilson eeecf0f984 Simplify module loader (master already checked in) 2016-08-13 22:03:56 +01:00
David Wilson 1d4e63947f Remove finalize_on_disconnect. 2016-08-13 22:03:56 +01:00
David Wilson 274f7f91a3 Oops, forgot to check in master.py. 2016-08-13 22:03:56 +01:00
David Wilson 054e74c952 Remove ancient stuff. 2016-08-13 22:03:56 +01:00
David Wilson c6b0bdf12e Try harder to avoid roundtrips for missing modules. 2016-08-13 22:03:56 +01:00
David Wilson ae3316b985 Split into core and master modules. 2016-08-13 22:03:56 +01:00
David Wilson dc231847a0 Add absent package cache. 2016-08-13 22:03:56 +01:00
David Wilson 5775f9791c Fix package imports. 2016-08-13 22:03:56 +01:00
David Wilson 27a1c9b182 Better default remote context name. 2016-08-13 22:03:56 +01:00
David Wilson 081565358d utils.run_with_broker. 2016-08-13 22:03:55 +01:00
David Wilson 0b0663e21b flake8 2016-08-13 22:03:55 +01:00
David Wilson 34595dd00f Don't infinite loop on short reads. 2016-08-13 22:03:55 +01:00
David Wilson 98da046f81 Remove various bits of debug junk. 2016-08-13 22:03:55 +01:00
David Wilson aeb953738a Fix reception of multiple frames in one read(). 2016-08-13 22:03:55 +01:00
David Wilson 29f38d578c Replace GetStream/SetStream with Disconnect() 2016-08-13 22:03:55 +01:00
David Wilson e042bfa954 Fix CallError when no traceback is active. 2016-08-13 22:03:55 +01:00
David Wilson 0b0e828c04 Fixes/improvements
Get rid of syslog.
Get rid of section comments.
Move IOLOG to separate logger to avoid infinite loop.
Change function docstring style.
Delete log Formatter.
Implement LogHandler to forward logs to parent.
Delete Pickle(), simplify Unpickle().
Have slave Finalize() when parent disconnects.
Delete AddStream().
2016-08-13 22:03:55 +01:00
David Wilson 9e2b1d24be Fix memory leak. 2016-08-13 22:03:55 +01:00
David Wilson b9e4dd62e9 Fix _UpdateStream race. 2016-08-13 22:03:55 +01:00
David Wilson da77cb5870 Fixes
CallError rather than trying to preserve exceptions.
Dead sentinel value instead of killed everywhere.
Simplify Channel.
MasterModuleResponder error response.
Simplify Unpickle().
Simplify reprs everywhere.
AllowClass() instead of AllowModule().
Get rid of needless property().
Split ExternalContextMain up into class.
econtext.utils module.
2016-08-13 22:03:55 +01:00
David Wilson cd9b93dd17 Turn into a package. 2016-08-13 22:03:55 +01:00