[gcc r12-3550] gcc-changelog: Add FIXME note.

Martin Liska marxin@gcc.gnu.org
Wed Sep 15 14:39:07 GMT 2021


https://gcc.gnu.org/g:a37d7d6fc1dbd9906bbb2c6bf5ba9d30fd17a584

commit r12-3550-ga37d7d6fc1dbd9906bbb2c6bf5ba9d30fd17a584
Author: Martin Liska <mliska@suse.cz>
Date:   Wed Sep 15 16:38:41 2021 +0200

    gcc-changelog: Add FIXME note.
    
    contrib/ChangeLog:
    
            * gcc-changelog/git_commit.py: Add FIXME note.

Diff:
---
 contrib/gcc-changelog/git_commit.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/contrib/gcc-changelog/git_commit.py b/contrib/gcc-changelog/git_commit.py
index 03736140fd0..f26dc3b4135 100755
--- a/contrib/gcc-changelog/git_commit.py
+++ b/contrib/gcc-changelog/git_commit.py
@@ -811,5 +811,6 @@ class GitCommit:
         email = self.info.author.split(' ')[-1].strip('<>')
 
         # Verify that all characters are ASCII
+        # TODO: Python 3.7 provides a nicer function: isascii
         if len(email) != len(email.encode()):
             self.errors.append(Error(f'non-ASCII characters in git commit email address ({email})'))


More information about the Gcc-cvs mailing list