On 2/27/24 3:39 PM, Bruno Haible wrote:
> $ pycodestyle *.py
> ...
> GLEmiter.py:535:26: W605 invalid escape sequence '\.'
> GLEmiter.py:535:35: W605 invalid escape sequence '\.'
> ...
I discovered it that way too. I like using Eglot from Emacs though. If
you are using Emacs 29+ the `eglot' comman
Collin Funk wrote:
> > I guess I wasn't very familiar with raw strings when I did this change.
>
> No worries, it was pretty easy to find and fix. I remember a professor
> in college telling us to always use them for Python regular
> expressions. It seems this is also recommended by the Python peo
Hi Bruno,
On 2/27/24 2:39 PM, Bruno Haible wrote:
> I guess I wasn't very familiar with raw strings when I did this change.
No worries, it was pretty easy to find and fix. I remember a professor
in college telling us to always use them for Python regular
expressions. It seems this is also recomme
Collin Funk wrote:
> When running the following command,
>
> gnulib-tool.py --create-testdir --dir test-dir-python dummy
>
> creates a configure.ac like so:
>
> gl_source_base='gllib'
>
> \
> m4_ifval(gl_LIBSOURCES_LIST, [
> m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
> ...
>
so I will fix the other double
quote offenders then.
[1] https://docs.python.org/3/library/re.html#raw-string-notation
CollinFrom a9932bf82e3b5e1526e801a55f743a0c8aeb2331 Mon Sep 17 00:00:00 2001
From: Collin Funk
Date: Tue, 27 Feb 2024 14:15:10 -0800
Subject: [PATCH] gnulib-tool.py: Fix co