Sjoerd de Vries added the comment:
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-compil
Sjoerd de Vries added the comment:
Good to hear that the patch is helpful.
Again, I am just trying to be a helpful user, making a (very very little)
contribution to make Python better. I am not a Python dev at all: Python is
already awesome enough for me, no desire to change it :-)
I just
Sjoerd de Vries added the comment:
Makes no sense to me: since I don't have the trunk version, I can only diff -c
against 3.2 release. Doing a diff against trunk is 1 sec of work for you.
But I am just being a helpful user; so if a diff is what you want, here it is.
No trouble for me,
Sjoerd de Vries added the comment:
The attached file just works.
You can diff with trunk, or wherever python devs store the latest version.
--
___
Python tracker
<http://bugs.python.org/issue12
New submission from Sjoerd de Vries :
When you specify cfile to be in the current directory, an error occurs (line
133).
I have fixed the file, see attached
--
components: Library (Lib)
files: py_compile.py
messages: 140940
nosy: sjdv1982
priority: normal
severity: normal
status: open