Changes between Initial Version and Version 2 of Ticket #8011


Ignore:
Timestamp:
Jul 28, 2008, 1:23:19 PM (16 years ago)
Author:
Malcolm Tredinnick
Comment:

Thanks for the report. There are no edge cases in this are -- they're all real bugs.

The "problem" is that we're now copying all of the methods from the underlying function return value to the lazy object, so even things like bool() (e.g. if self.verbose_name:...) end up triggering a translation and that's a bad thing to do whilst the apps are loading. I'll hook up a quick hack to fix this and investigate a longer term solution when I get a chance.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8011

    • Property Cc oliver@… added
    • Property Owner changed from nobody to Malcolm Tredinnick
    • Property Triage Stage UnreviewedAccepted
  • Ticket #8011 – Description

    initial v2  
    5454}}}
    5555
    56 (This actually happened in `django-tagging`). I've tracked it down to changes made to or in `django.utils.functional.lazy.__proxy__.__promise__.__wrapper__` — it doesn't appear that it got called prior to these changes (in [8119] at least), if that helps at all.
     56(This actually happened in `django-tagging`). I've tracked it down to changes made to or in `django.utils.functional.lazy.__proxy__.__promise__.__wrapper__` — it doesn't appear that it got called prior to these changes (in [8119] at least), if that helps at all.
Back to Top