[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnulib-tool.py: Prefer 'list.append(item)' over 'list += [item]'.
From: |
Bruno Haible |
Subject: |
Re: gnulib-tool.py: Prefer 'list.append(item)' over 'list += [item]'. |
Date: |
Tue, 09 Apr 2024 03:28:44 +0200 |
Hi Collin,
> >> Sounds good. What do you think about two patches to normalize the
> >> existing code with the conventions we've agreed upon:
> >>
> >> 1. Convert '+= [item]' to '.append(item)'
> >
>
> Patch 0001.
>
> >> 2. Use single quotes for string literals.
>
> Patch 0002.
Thanks, both patches applied.
What about GLEmiter.py line 468?
> Also I ran all the tests successfully with Python 3.7 + 3.12 just to
> make sure I didn't miss anything strange.
Good.
Bruno
- Re: Python list micro-benchmarks, (continued)
- Re: Python list micro-benchmarks, Bruno Haible, 2024/04/08
- Re: Python list micro-benchmarks, Collin Funk, 2024/04/08
- Re: Python list micro-benchmarks, Bruno Haible, 2024/04/08
- Re: Python list micro-benchmarks, Paul Eggert, 2024/04/08
- Re: Python list micro-benchmarks, Collin Funk, 2024/04/08
- gnulib-tool.py: Prefer 'list.append(item)' over 'list += [item]'., Collin Funk, 2024/04/08
- Re: gnulib-tool.py: Prefer 'list.append(item)' over 'list += [item]'.,
Bruno Haible <=
- Re: gnulib-tool.py: Prefer 'list.append(item)' over 'list += [item]'., Collin Funk, 2024/04/08