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 piotr
Recipients piotr
Date 2014-11-29.10:16:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
when py_compile module is asked to create .pyc file for file with invalid name, it doesn't fail or ignore such request - it creates/overwrites .pyc file for sane file name (i.e. ignores everything after dot)

$ touch
$ python3.4 -m py_compile
$ ls __pycache__

Even though is not a valid file name, some programmers are using such names for plugins which leads to bugs similar to

I will update my scripts to not feed py_compile module with file names containing dot (and remove already generated .pyc files if such files are detected), but please do not generate them or generate .pyc files with invalid file names as well.
Date User Action Args
2014-11-29 10:16:42piotrsetrecipients: + piotr
2014-11-29 10:16:42piotrsetmessageid: <>
2014-11-29 10:16:42piotrlinkissue22966 messages
2014-11-29 10:16:42piotrcreate