On 2/9/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > My recommendation in there is that we stop screwing around with builtins > and just import the thing directly and alias it in each module. We are > trying to be too clever. I don't really like breaking Python's existing > use of _ as we are doing and it's slightly odd behaviour, since almost > nothing else in Python appears magically like this. > > The only reason I have not done this is that whilst it is fine for > Django core, it more or less immediately breaks all code that uses i18n > (because they have to do the import in their own code instead of relying > on Django to have poked into __builtins__). I had mentally put this off > as a post-0.96, pre-1.0 issue to sort out.
I'm +1 on that change, despite its backwards incompatibility. It doesn't require much brain power to add import statements to code, so it wouldn't be a *huge* inconvenience. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---