[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnulib-tool.py: Use absolute imports consistently.
From: |
Collin Funk |
Subject: |
Re: gnulib-tool.py: Use absolute imports consistently. |
Date: |
Mon, 22 Apr 2024 18:08:01 -0700 |
User-agent: |
Mozilla Thunderbird |
Hi Bruno,
On 4/22/24 7:33 AM, Bruno Haible wrote:
> OK, patch welcome. I assume that when Dmitry used this style of assignments,
> the Python 2.7 / 3.0 imports were not so well developed as they are today.
Here is a patch that removes all the module-specific variables and
imports the functions directly. I haven't pushed it just incase you
want to make any style changes or something.
I ran all the tests quickly with Python 3.7 and 3.12 just to double
check that I didn't break anything in the process. PyCharm has good
warnings for missing or unused imports so I used that too.
Collin
0001-gnulib-tool.py-Make-better-use-of-imports.patch
Description: Text Data