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

Releases: google/python-gflags

3.1.2

Choose a tag to compare

@vrusinov vrusinov released this 27 Oct 13:03
  • New API names for compatibility with abseil-py.
  • The library is now deprecated. Please use abseil-py instead

3.1.1

Choose a tag to compare

@vrusinov vrusinov released this 30 Jan 16:31
  • Added PEP8 style method/function aliases.

3.1.0

Choose a tag to compare

@vrusinov vrusinov released this 01 Nov 11:11
  • 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

Choose a tag to compare

@vrusinov vrusinov released this 09 Sep 15:07
  • Removed the unused method ShortestUniquePrefixes.
  • Removed _GetCallingModule function alias.

3.0.6

Choose a tag to compare

@vrusinov vrusinov released this 09 Aug 13:40
  • Declared pypi package classifiers.
  • Added support for CLIF flag processing (not included in python-gflags repo
    yet).

3.0.5

Choose a tag to compare

@vrusinov vrusinov released this 11 May 22:56
  • Added a warning when FLAGS.SetDefault is used after flags were parsed.
  • Added new function: MarkFlagsAsRequired.

3.0.4

Choose a tag to compare

@vrusinov vrusinov released this 15 Apr 15:33
  • One more fix for setup.py - this time about third_party package.

3.0.3

3.0.3 Pre-release
Pre-release

Choose a tag to compare

@vrusinov vrusinov released this 12 Apr 13:46
  • 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

3.0.2 Pre-release
Pre-release

Choose a tag to compare

@vrusinov vrusinov released this 09 Feb 12:09
  • Fix MANIFEST.in to include all relevant files.

3.0.1

3.0.1 Pre-release
Pre-release

Choose a tag to compare

@vrusinov vrusinov released this 05 Feb 20:56
  • Some changes for python3 compatibility.
  • Automatically generate ordering operations for Flag.
  • Add optional comma compatibility to whitespace-separated list flags.