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 sjdv1982
Recipients Arfrever, eric.araujo, georg.brandl, ncoghlan, sjdv1982
Date 2011-10-24.17:00:49
SpamBayes Score 4.9564e-05
Marked as misclassified No
Message-id <1319475649.8.0.862930515877.issue12618@psf.upfronthosting.co.za>
In-reply-to
Content
Hi Éric,

There you go, adapted from http://effbot.org/librarybook/py-compile.htm :

############
# File: py-compile-example-1.py

import py_compile

# explicitly compile this module
py_compile.compile("py-compile-example-1.py","py-compile-example-1.pyc")

############

Also, I tested and this bug is present neither on 3.1 nor on 2.x

cheers
Sjoerd
History
Date User Action Args
2011-10-24 17:00:49sjdv1982setrecipients: + sjdv1982, georg.brandl, ncoghlan, eric.araujo, Arfrever
2011-10-24 17:00:49sjdv1982setmessageid: <1319475649.8.0.862930515877.issue12618@psf.upfronthosting.co.za>
2011-10-24 17:00:49sjdv1982linkissue12618 messages
2011-10-24 17:00:49sjdv1982create