D7286: match: suppress error about subscripting an exception
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Thu Nov 7 03:21:05 EST 2019
This revision is now accepted and ready to land.
indygreg added a comment.
indygreg accepted this revision.
Regarding filing a bug, ISTR exception subscription is deprecated (or at least discouraged) in modern Python versions: I believe you are encouraged to access e.g. `e.message` now. But I'm fine suppressing these for now until Python formally deprecates it by emitting a `DeprecationWarning`.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D7286/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D7286
To: durin42, #hg-reviewers, indygreg
Cc: indygreg, mercurial-devel
More information about the Mercurial-devel
mailing list