[issue12618] py_compile cannot create files in current directory

2011-10-24 Thread Sjoerd de Vries
Sjoerd de Vries sjdv1...@gmail.com 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-compile

[issue12618] py_compile cannot create files in current directory

2011-07-23 Thread Sjoerd de Vries
New submission from Sjoerd de Vries sjdv1...@gmail.com: 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

[issue12618] py_compile cannot create files in current directory

2011-07-23 Thread Sjoerd de Vries
Sjoerd de Vries sjdv1...@gmail.com added the comment: The attached file just works. You can diff with trunk, or wherever python devs store the latest version. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12618

[issue12618] py_compile cannot create files in current directory

2011-07-23 Thread Sjoerd de Vries
Sjoerd de Vries sjdv1...@gmail.com 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

[issue12618] py_compile cannot create files in current directory

2011-07-23 Thread Sjoerd de Vries
Sjoerd de Vries sjdv1...@gmail.com 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