* pygnulib/main.py: Add comment regarding conditional expressions.
+2024-03-10 Bruno Haible <bruno@clisp.org>
+
+ gnulib-tool.py: One more comment regarding coding style.
+ * pygnulib/main.py: Add comment regarding conditional expressions.
+
2024-03-09 Collin Funk <collin.funk1@gmail.com>
gnulib-tool.py: Follow gnulib-tool changes, part 50.
# Use 'is' and 'is not' for variables which can contain only class instances
# (e.g. GLModule instances) and None.
# Rationale: <https://lists.gnu.org/archive/html/bug-gnulib/2024-02/msg00225.html>
+# - Avoid conditional expressions as in PEP 308 <https://peps.python.org/pep-0308/>.
+# Rationale: They violate the principle that in conditional code, the
+# condition comes first.
# You can use this command to check the style:
# $ pycodestyle *.py