Skip to content

Version 0.6.1-beta.5

Pre-release
Pre-release
Compare
Choose a tag to compare
@MikeDacre MikeDacre released this 01 Nov 23:16
· 212 commits to 0.6.2 since this release

This version changes the way outputs are retrieved from jobs.

Previously, Job.get() would return (exitcode, stdout, stderr), now it just returns the output, which is either the function return value, or the contents of STDOUT All other variables (.out, .stdout, .stderr, and .exitcode) are saved and the temp files cleaned up by default after get() completes.

The one potential downside is that very large return values get loaded into memory by default. That can be avoided by using wait().

Specific changes:

  • Make file cleanup the default
  • Make get() return either function return value or STDOUT.
  • Make .stdout, .stderr, and .exitcode handling more robust and less error prone.
  • Add link from .err to .stderr.
  • Alter test suite to work with new output API.
  • Add script to make multiple virtualenv testing easier