Pygdbmi Versions Save

A library to parse gdb mi output and interact with gdb subprocesses

v0.11.0.0

1 year ago

Breaking changes

  • Removed pygdbmi.IoManager.make_non_blocking from the public API; it's unrelated and was not meant to be public

Other changes

  • Fixed a bug where notifications without a payload were not recognized as such
  • Invalid octal sequences produced by GDB are left unchanged instead of causing a UnicodeDecodeError (#64)
  • Fix a crash on Windows by waiting for the GDB process to exit in GdbController.exit
  • Added type annotations to the whole public API
  • Updated the examples in README.md to use the current API and show the results printed by this version of pygdbmi (#69)

Internal changes

  • Update and freeze dependencies for documentation generation
  • Refactored the code to parse MI records to decrease the number of regex matches to perform
  • Added __all__ to all modules, which means that star imports (like from pygdbmi.gdbmiparser import *) will not pollute the namespace with modules used by pygdbmi itself
  • Added nox -s format to re-format the source code using the correct options
  • Reformatted all imports with isort, and use it as part of nox -s lint and nox -s format
  • Converted tests to use pytest's test structure rather than the unittest-based one
  • Added mypy configuration to detect more problems and to force all code to be annotated
  • Added a test for example.py
  • Replaced uses of distutils.spawn.find_executable, which is deprecated, with shutil.which
  • Ran pyupgrade (with option --py37-plus) on the codebase to convert to Python 3.7 idioms
  • Excluded some common backup and cache files from MANIFEST.in to prevent unwanted files to be included which causes check-manifest to fail
  • Fix .flake8 to not cause errors with some versions of the flake8 tool

0.10.0.0

3 years ago

0.10.0.0

Breaking Changes

  • Drop support for Python 3.5
  • Update GdbController() API. New API is GdbController(command: Optional[List[str]], time_to_check_for_additional_output_sec: Optional[int]).
  • GdbController.verify_valid_gdb_subprocess() was removed
  • Remove NoGdbProcessError error

Other Changes

  • Add new IoManager class to handle more generic use-cases, like working with pty's
  • [dev] use pytest for testing
  • gdb mi parsing remains unchanged

v0.10.0.0b0

3 years ago

0.9.0.3

4 years ago

0.9.0.2

4 years ago