ARM-software / trappy

This repository has moved to https://gitlab.arm.com/tooling/trappy
Apache License 2.0
60 stars 39 forks source link

Hex conversion downtuning #291

Closed valschneider closed 5 years ago

valschneider commented 5 years ago

Fixes a bug reported by @derkling, details in the commit log.

valschneider commented 5 years ago

I realized that this initial version didn't accept things like "-0x42". Then I looked at the doc of int() and found this:

Base 0 means to interpret exactly as a code literal,

So I'm just doing int(string, base=0) now.

derkling commented 5 years ago

LGTM