boltons v16.1.0 Release Notes
-
(February 24, 2016)
๐ The centerpiece of this release is highly improved Windows support for ๐พ [fileutils.atomic_save][fileutils.atomic_save] via ๐ ReplaceFile system call. This functionality is also made available directly via [fileutils.replace][fileutils.replace], which is akin to Python 3.3+'s [os.replace][os.replace], except that
os.replace
's approach has ๐ arguably poorer behavior and atomicity compared tofileutils.replace
.Also, a couple new strutils, and [iterutils.backoff][iterutils.backoff] grew a jitter argument.
- [iterutils.backoff][iterutils.backoff] now supports start=0
- More comprehensive [iterutils.backoff][iterutils.backoff] argument checking/validation
- [fileutils.replace][fileutils.replace] and [fileutils.atomic_rename][fileutils.atomic_rename] are now public functions in [fileutils][fileutils] with cross-platform implementations (discussion here)
- [tableutils.Table][tableutils.Table]s have a metadata argument and attribute for miscellaneous metadata.
- [strutils.is_ascii][strutils.is_ascii] and [strutils.is_uuid][strutils.is_uuid]: About as straightforward as they are handy.
- Tox testing improvements