pygdbmi icon indicating copy to clipboard operation
pygdbmi copied to clipboard

Do not raise a UnicodeDecodeError for invalid octal escape sequences

Open barisione opened this issue 3 years ago • 0 comments

  • [x] I have added an entry to CHANGELOG.md

Summary of changes

According to #64, GDB on Windows can produce invalid octal sequences. I cannot reproduce the problem (and I don't have access to Windows) but, instead of failing, we are better off by just allowing the string to be unchanged.

Fixes https://github.com/cs01/pygdbmi/issues/64

Test plan

Added a test case and tested by running

nox -s tests

barisione avatar Aug 07 '22 14:08 barisione