Changes between Initial Version and Version 2 of Ticket #8011


Ignore:
Timestamp:
07/28/2008 01:23:19 PM (7 years ago)
Author:
mtredinnick
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 Patch needs improvement unset
    • Property Needs tests unset
    • Property Owner changed from nobody to mtredinnick
    • Property Needs documentation unset
    • Property Triage Stage changed from Unreviewed to Accepted
  • 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