Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Releases: google/python-gflags

3.1.2

27 Oct 13:03
Compare
Choose a tag to compare
  • New API names for compatibility with abseil-py.
  • The library is now deprecated. Please use abseil-py instead

3.1.1

30 Jan 16:31
Compare
Choose a tag to compare
  • Added PEP8 style method/function aliases.

3.1.0

01 Nov 11:11
Compare
Choose a tag to compare
  • Python3 compatibility
  • Removed UnrecognizedFlag exception.
  • Replaced flags.DuplicateFlag with flags.DuplicateFlagError.
  • Moved the validators.Error class to exceptions.ValidationError.
  • Renamed IllegalFlagValue to IllegalFlagValueError.
  • Removed MutualExclusionValidator class, in favor of flags.MarkFlagsAsMutualExclusive.
  • Removed FlagValues.AddValidator method.
  • Removed _helpers.GetMainModule.
  • Use xml.dom.minidom to create XML strings, instead of manual crafting.
  • Declared PEP8-style names.
  • Added examples.

3.0.7

09 Sep 15:07
Compare
Choose a tag to compare
  • Removed the unused method ShortestUniquePrefixes.
  • Removed _GetCallingModule function alias.

3.0.6

09 Aug 13:40
Compare
Choose a tag to compare
  • Declared pypi package classifiers.
  • Added support for CLIF flag processing (not included in python-gflags repo
    yet).

3.0.5

11 May 22:56
Compare
Choose a tag to compare
  • Added a warning when FLAGS.SetDefault is used after flags were parsed.
  • Added new function: MarkFlagsAsRequired.

3.0.4

15 Apr 15:33
Compare
Choose a tag to compare
  • One more fix for setup.py - this time about third_party package.

3.0.3

12 Apr 13:46
Compare
Choose a tag to compare
3.0.3 Pre-release
Pre-release
  • Fixed setup.py.
  • --noflag if argument is given is no longer allowed.
  • Python3 compatibility: removed need for cgi import.
  • Disallowed unparsed flag usage after FLAGS.Reset()

3.0.2

09 Feb 12:09
Compare
Choose a tag to compare
3.0.2 Pre-release
Pre-release
  • Fix MANIFEST.in to include all relevant files.

3.0.1

05 Feb 20:56
Compare
Choose a tag to compare
3.0.1 Pre-release
Pre-release
  • Some changes for python3 compatibility.
  • Automatically generate ordering operations for Flag.
  • Add optional comma compatibility to whitespace-separated list flags.