enthought/distarray — pull request #15 by bgrant (2013-08-28 22:39:58+00:00)
Title: Add return-type checking to odin.local

Previously, `@odin.local` wrapped all return values as `DistArrayProxy`s. In this PR, I check the return type of the wrapped function. If it's a `DistArray`, it gets wrapped as a `DistArrayProxy`. `NoneType`s is returned as `None`. No other types are supported, pending thinking.