2012/6/12 Alex Gaynor <alex.gay...@gmail.com>

>
>
> On Tue, Jun 12, 2012 at 11:47 AM, Brett Cannon <br...@python.org> wrote:
>
>>
>>
>> On Tue, Jun 12, 2012 at 12:38 PM, Alex Gaynor <alex.gay...@gmail.com>wrote:
>>
>>> For PyPy: I'm not an expert in our import, but from looking at the source
>>>
>>> 1) imp.cache_from_source is unimplemented, it's an AttributeError.
>>>
>>
>> Well, you will have it come Python 3.3 one way or another. =)
>>
>>
>
> Sure, I'm not totally up to speed on the py3k effort.
>

It's indeed implemented in pypy's py3k branch.


>
>
>>
>>> 2) sys.dont_write_bytecode is always false, we don't respect that flag
>>> (we really
>>>   should IMO, but it's not a high priority for me, or anyone else
>>> apparently)
>>>
>>
>> But doesn't PyPy read and write .pyc files (
>> http://doc.pypy.org/en/latest/config/objspace.usepycfiles.html suggests
>> you do)? So I would assume you are not affected by this. Jython and
>> IronPython, though, would be (I think).
>>
>
> This is a compile time option, not a runtime option.  However, it looks
> like I lied, someone did implement it correctly, so we have the same
> behavior as CPython.


Yes, PyPy seems to respect sys.dontwritebytecode.

-- 
Amaury Forgeot d'Arc
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to