Re: [committed] Use u'' instead of '' in libgdiagnostics/conf.py

2025-01-02 Thread David Malcolm
On Thu, 2025-01-02 at 10:39 -0500, David Malcolm wrote: > On Thu, 2025-01-02 at 13:34 +0100, Jakub Jelinek wrote: > > On Thu, Jan 02, 2025 at 11:51:20AM +, Richard Sandiford wrote: > > > Jakub Jelinek writes: > > > > libgdiagnostics/conf.py breaks update-copyright.py --this-year, > > > > which

Re: [committed] Use u'' instead of '' in libgdiagnostics/conf.py

2025-01-02 Thread David Malcolm
On Thu, 2025-01-02 at 13:34 +0100, Jakub Jelinek wrote: > On Thu, Jan 02, 2025 at 11:51:20AM +, Richard Sandiford wrote: > > Jakub Jelinek writes: > > > libgdiagnostics/conf.py breaks update-copyright.py --this-year, > > > which only accepts copyright year in u'' literals in python > > > files

Re: [committed] Use u'' instead of '' in libgdiagnostics/conf.py

2025-01-02 Thread Jakub Jelinek
On Thu, Jan 02, 2025 at 11:51:20AM +, Richard Sandiford wrote: > Jakub Jelinek writes: > > libgdiagnostics/conf.py breaks update-copyright.py --this-year, > > which only accepts copyright year in u'' literals in python files, > > not in ''. > > > > u'' strings is what e.g. libgccjit conf.py us

Re: [committed] Use u'' instead of '' in libgdiagnostics/conf.py

2025-01-02 Thread Richard Sandiford
Jakub Jelinek writes: > Hi! > > libgdiagnostics/conf.py breaks update-copyright.py --this-year, > which only accepts copyright year in u'' literals in python files, > not in ''. > > u'' strings is what e.g. libgccjit conf.py uses. > Tested by building libgdiagnostics docs without/with this patch,

[committed] Use u'' instead of '' in libgdiagnostics/conf.py

2025-01-02 Thread Jakub Jelinek
Hi! libgdiagnostics/conf.py breaks update-copyright.py --this-year, which only accepts copyright year in u'' literals in python files, not in ''. u'' strings is what e.g. libgccjit conf.py uses. Tested by building libgdiagnostics docs without/with this patch, the difference is just the expected a