pypi saspy 3.1.8
V3.1.8

latest releases: 5.4.4, 5.4.3, 5.4.2...
4 years ago

This release just has a couple new WAY COOL features :) Actually these have been a long time coming, and I only just finally got around to added them. As you know, submit() returns a dict, with LOG and LST. But then what? what's the next thing you have to type? Why bother? So, now there's submitLOG() and submitLST(). Guess what they do!

And, submitLST has an option, method=['LISTONLY', 'listorlog', 'listandlog', 'logandlist'] yes, you should already guess what these do too, but I'll tell you anyway. The default just shows the LST, even if it's empty. So, listorlog is good when you expect output, but in case there's nothing, you would then look at the log to see if there was an error or something; so that's what it does; shows the list if there is one, else the log. The other two show both, in the order you choose.

There's also a similar fix for methods which only render their output (hist(), bar(), series() ...). If these methods have nothing to render (LST was empty), then clearly something is amiss. So, in that case thy now display the LOG, which likely contains an error. Same thing you would do yourself if they rendered nothing; print the log looking for the error!

The third thing in this release is a performance improvement to the new sd2df_DISK() method. Found an optimization in the datastep code I'm generating which happens to run faster.

Don't miss a new saspy release

NewReleases is sending notifications on new releases.