This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients ezio.melotti, rbcollins, serhiy.storchaka, sih4sing5hong5, vstinner
Date 2015-06-23.10:00:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
r'[^\W\d]\w*' doesn't match all valid Python identifiers. It would be more correct to write the check as:

    root, ext = os.path.splitext(basename)
    if not (ext == '.py' and root.isidentifier()):
        # valid Python identifiers only
        return None, False
Date User Action Args
2015-06-23 10:00:04serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, rbcollins, ezio.melotti, sih4sing5hong5
2015-06-23 10:00:04serhiy.storchakasetmessageid: <>
2015-06-23 10:00:04serhiy.storchakalinkissue24263 messages
2015-06-23 10:00:04serhiy.storchakacreate