github Erotemic/ubelt v1.2.0
Version 1.2.0

latest releases: v1.3.6, v1.3.5, v1.3.4...
2 years ago

Version 1.2.0 - Released 2022-08-02

Added

  • Added keywords argument to ub.compatible.
  • Added warncls argument to ub.schedule_deprecation.
  • Experimental SetDict, UDict and aliases sdict, udict.

Fixed

  • Race condition on win32 in ubelt.symlink
  • Issue with ubelt.memoize_method where the method name and docstring were
    not wrapped correctly.
  • The timeout argument now works correctly with ub.cmd when tee=True.
  • Added appname to ubelt.download which was supposed to exist as indicated
    by the docs, but didn't.
  • The resources used by ubelt.cmd are now properly closed.

Changed

  • ub.compatible no longer errors on positional only functions, instead it
    returns the keyword-compatible arguments.
  • An issue in ubelt.symlink with unintuitive behavior when an empty string
    was given as the link path. This now raises an error.
  • The main implementations of ubelt.sorted_vals and ubelt.map_vals were
    renamed to ubelt.sorted_values and ubelt.map_values, but the old names
    are still available as aliases.
  • Positional arguments in Path.augment have been modified.
  • In Path.augment, deprecate overloaded suffix and introduce stemsuffix
    as an alternative.
  • Added cls to a lot of util_dict funcs

Don't miss a new ubelt release

NewReleases is sending notifications on new releases.