Commits

Author Commit Message Labels Comments Date
Cameron Simpson
cs.threads: runTree: short circuit on empty results
Cameron Simpson
cs.app.pilfer: add some docstrings, streamline Pilfer.set_user_vars()
Cameron Simpson
cs.app.pilfer: Pilfer: a little more docstring on attributes
Cameron Simpson
cs.app.pilfer: action_operator: a couple of comments
Cameron Simpson
cs.threads: runTree: coerce functions returning generators to list, forcing execution of the generator in parallel with other tasks instead of constructing a huge single threaded generator tree executed later
Cameron Simpson
lc, __: trace exec of frename; clean up perl code in lc
Cameron Simpson
__: turn whitespace in filenames into an underscore
Cameron Simpson
rename lwrename2 to frename, adjust lc and present in bin-cs
Cameron Simpson
cs.app.pilfer: fix call to os.path.exists, add tracing to queued operations
Cameron Simpson
cs.threads: runTree_inner: queue functions directly, collect via LateFunctions (avoiding deadlock if a function throws an exception), some result delivery streamlining
Cameron Simpson
cs.app.pilfer: save: add overwrite keyword (default false)
Cameron Simpson
cs.app.pilfer: replace Byzantine save function with simple and direct method for saner augumentation later
Cameron Simpson
cs.app.pilfer: add "-j jobs" option to tune parallelism
Cameron Simpson
cs.threada, cs.app.pilfers: add func_sig optional parameter to RunTreeOp factory function to allow easy submission of functions other than many-to-many; import convertors from cs.app.pilfer and adapt the latter to use func_sig
Cameron Simpson
Automated merge with file:///Users/cameron/hg/css
Cameron Simpson
cs.app.pilfer: converted functions are now generators since cs.threads.runTree now handles arbitrary iterables
Cameron Simpson
cs.threads: runTree: accept arbitrary iterable from func
Cameron Simpson
cs.threads: update docstring for runTree
Cameron Simpson
cs.app.pilfer: Pilfer: use a lock around .print() operations, use Pilfer.print in "print" action
Cameron Simpson
cs.threads: runTree: complete reimplementation with simpler RunTreeOps and no thread leakage for control routines, using deferred Queue collection instead
Cameron Simpson
cs.threads: AdjustableSemaphore: recite original capacity in __str__
Cameron Simpson
cs.threads: put thread back into thread pool a little earlier
Cameron Simpson
cs.threads: debugging statements and an additional forgetting of a func
Cameron Simpson
cs.app.pilfer: debugging tweaks and tidyups.
Cameron Simpson
cs.app.pilfer: add X() tracing debug function.
Cameron Simpson
cs.later: debugging tweaks
Cameron Simpson
cs.later: docstring typo fix
Cameron Simpson
cs.urlutils: a little debug around URL fetches
Cameron Simpson
cs.app.pilfer: implement s/regexp/replacement/g
Cameron Simpson
cs.later: reimplement PendingFunction.result as a settable property with many more sanity checks
  1. Prev
  2. Next