On 8/15/06, Jakub Labath <[EMAIL PROTECTED]> wrote: > Has anybody tried running the mod_python and django with the > PythonOptimize flag enabled? > Did it make any difference? Anything else interesting came out of it?
Hey Jakub, I've never tried this personally but have always wondered about it. One thing it would affect, off the top of my head, is the various "assert" calls within the database API. For example, a call to Model.objects.get() asserts that the list of returned values has at most one element. This shouldn't be a problem if you can guarantee your get() calls should always return one element, based on the parameters you're sending. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" 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/django-users -~----------~----~----~----~------~----~------~--~---

