Re: Fix python3 deprecation warning

2020-02-19 Thread Karl Berry
I would have expected your version of python to raise a warning. Maybe it's a distribution specific change ? Looks like that way. The CentOS7 packages for python3 still provide a /usr/lib64/python3.6/imp.py without any deprecation warnings that I can discern. Not that I'm sure of anything

Re: Fix python3 deprecation warning

2020-02-19 Thread Gabriel Ganne
Hi Karl, Thanks for reviewing. I had not thought about it, but it is absolutely true that autotools should not drop python2 support. I had a look at when the imp module has been explicitly deprecated. In cpython, it has been flagged so in commit e4f41deccf94ccc798b1eb1f44657ade9a60, which is