I don't think the SDK will ever upload pyc files.
It could be handcrafted to do some non-pythonic things.

I looked at the code for appcfg.py and it does processes this directive.
I does the precompilation by sending a '/api/appversion/precompile'
command to the server.

I have enabled it for a test app and did an upload.
It gives responses that it starts and stops precompilation.

If I look at the files on the GAE server that are new there is a directory added
'/_ah/python_bytecode' in this directory there are for me just 2 pyc files.
But the test app has more then 2 py files. Why these and only these 2
where selected I have no clue. Maybe it is just in a test state at the
moment. If I sort my py files by date these are the two oldest files.

If I change a py file and upload, it gets uploaded, but not precompiled.

Maybe it goes life with one of the new releases.

2010/5/23 Tim Hoffman <[email protected]>:
> Any pointers to some docs on this directive ?
>
> T
>
> On May 23, 6:46 pm, Stephen <[email protected]> wrote:
>> On May 19, 9:23 pm, stevep <[email protected]> wrote:
>>
>>
>>
>> > Hopefully there is only a fractional time cost for GAE to load the
>> > larger code base module if it loads the .pyc version. If so, I would
>> > prefer to stay with the two large modules.
>>
>> Add the following to your app.yaml file:
>>
>> derived_file_type:
>> - python_precompiled

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to