#19160: Make ungettext_lazy really usable --------------------------------------+------------------------------------ Reporter: claudep | Owner: nobody Type: New feature | Status: new Component: Internationalization | Version: master Severity: Normal | Resolution: Keywords: | Triage Stage: Accepted Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 --------------------------------------+------------------------------------
Comment (by aaugustin): We talked a lot about this ticket on IRC. The latest discussion concluded with: {{{ 2013-01-03 23:41:27 <void> mYk: I wonder if there is a way to rewrite lazy() with __get__/__set__ descriptors instead of all that copying 2013-01-03 23:43:10 <mYk> it would probably be cleaner and faster... 2013-01-03 23:45:24 <void> mYk: yes. but I am not sure if there are some hidden pitfalls that way }}} This could help avoid the `_<classname>_<attrname>` hack. -- Ticket URL: <https://code.djangoproject.com/ticket/19160#comment:19> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.