Hi,

On last DjangoCon sprints I started working on ticket #26355 
<https://code.djangoproject.com/ticket/26355>, WIP is 
at https://github.com/django/django/pull/6395.

During the implementation I've realized that I need a double-dispatch 
mechanism for registering overloaded operators.
Current approach uses Python operator overloading exclusively, which can't 
(generally) take into account types of both operands.

So, I think I'm left with two options: 
reinvent https://pypi.python.org/pypi/multipledispatch, or import that into 
django.utils along with the license etc.

I appreciate this is not a decision to be taken lightly, so I'd rather ask 
here first, than submit a PR with shady imports.

Also, there might be a simpler/cleaner solution that doesn't required 3rd 
party code.

opinions?
-- 
Michał 'Khorne' Lowas-Rzechonek

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/4a8df55e-825c-4097-85bb-9b600d2c795a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to