[InterNetNews/inn] 9281ee: filter_innd.py: Fix syntax for Python 3.12

Julien ÉLIE noreply at github.com
Sun Dec 22 21:26:16 UTC 2024


  Branch: refs/heads/main
  Home:   https://github.com/InterNetNews/inn
  Commit: 9281ee7883f9e6ff8651800a5f7dab78abdff28f
      https://github.com/InterNetNews/inn/commit/9281ee7883f9e6ff8651800a5f7dab78abdff28f
  Author: Julien ÉLIE <Julien-Elie at users.noreply.github.com>
  Date:   2024-12-22 (Sun, 22 Dec 2024)

  Changed paths:
    M CONTRIBUTORS
    M doc/pod/news.pod
    M samples/filter_innd.py

  Log Message:
  -----------
  filter_innd.py: Fix syntax for Python 3.12

Python 3.12 generates a syntax warning when a backslash-character
pair that is not a valid escape sequence is used in a regular string.
Such strings must now be raw strings.

Thanks to Roberto Corrado for the patch!

close #314



To unsubscribe from these emails, change your notification settings at https://github.com/InterNetNews/inn/settings/notifications


More information about the inn-committers mailing list