FYI: git-hooks update on sourceware.org

Simon Marchi simark@simark.ca
Fri Aug 7 16:02:21 GMT 2020


On 2020-08-07 12:00 p.m., Simon Marchi wrote:
> What version of Python are you using, is it really old?  All the reasonably recent
> and supported Python versions ship with the enum module.

Ah nevermind, I thought it was available in 2.7, but no.  So I presume you use 2.7.

In this case, this module can help, it backports the enum module introduced in 3.4:

https://pypi.org/project/enum34/

Or, making sure you use python3 on the server could just be easier.

Simon


More information about the Binutils mailing list