Skip to content
This repository has been archived by the owner on Apr 9, 2021. It is now read-only.

Version 2

Compare
Choose a tag to compare
@clo4 clo4 released this 16 Mar 13:16
· 69 commits to master since this release

Version 2 is out. It simplifies the internals significantly and removes barely-used functions from the public interface, making the library easier to learn and use.

Most code should still work, but some might require changing. Expect bugs too — the internals have changed significantly.

Breaking changes

  • Renamed Opt.take_args keyword arg default to d
  • Removed Opt.is_long() classmethod
  • Removed Opt.is_short() classmethod
  • Removed Opt.find_in() method (private)
  • Removed Opt.converter attribute (private)
  • Removed Opt.arg_amt attribute (private)
  • Removed Opt.names attribute (private)
  • Removed Argv class
  • Removed _ListSubclass class

Non-breaking changes

  • Removed type annotations
  • Opt's string form always sorts option names by length.