If I try to compile a .pyc file doing the following, I get:

>>> import py_compile as p
>>> p.compile('dummy.py')
Traceback (most recent call last):
  File "<string>", line 1, in <module>
File "D:\Programming\IronPython 2.7\Lib\py_compile.py", line 126, in compile
    marshal.dump(codeobject, fc)
ValueError: unmarshallable object

where 'dummy.py' is a simple test file consisting of:
a = 1

I seem to have noticed that whenever files are imported in a session that no .pyc files are automatically generated.

---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com

_______________________________________________
Ironpython-users mailing list
Ironpython-users@python.org
https://mail.python.org/mailman/listinfo/ironpython-users

Reply via email to