[issue23572] functools.singledispatch fails when "not BaseClass" is True

2015-09-04 Thread Łukasz Langa
Łukasz Langa added the comment: Thank you for fixing this and sorry for not being responsive sooner! -- ___ Python tracker ___

[issue23572] functools.singledispatch fails when not BaseClass is True

2015-08-18 Thread Yury Selivanov
Changes by Yury Selivanov yseliva...@gmail.com: -- versions: +Python 3.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23572 ___ ___

[issue23572] functools.singledispatch fails when not BaseClass is True

2015-08-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 586195685aaf by Yury Selivanov in branch '3.4': Issue #23572: Fixed functools.singledispatch on classes with falsy metaclasses. https://hg.python.org/cpython/rev/586195685aaf -- ___ Python tracker

[issue23572] functools.singledispatch fails when not BaseClass is True

2015-08-18 Thread Yury Selivanov
Yury Selivanov added the comment: I was also bitten by this via Enum. Is there any chance this will be fixed in Python 3.5? It will be fixed in 3.5.1. Thanks for the patch, Ethan! -- nosy: +yselivanov resolution: - fixed status: open - closed

[issue23572] functools.singledispatch fails when not BaseClass is True

2015-08-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 73984e665bf5 by Yury Selivanov in branch '3.5': Issue #23572: Fixed functools.singledispatch on classes with falsy metaclasses. https://hg.python.org/cpython/rev/73984e665bf5 New changeset 94d0c219d46f by Yury Selivanov in branch 'default': Merge

[issue23572] functools.singledispatch fails when not BaseClass is True

2015-08-16 Thread Adam Bartoš
Adam Bartoš added the comment: I was also bitten by this via Enum. Is there any chance this will be fixed in Python 3.5? -- nosy: +Drekin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23572

[issue23572] functools.singledispatch fails when not BaseClass is True

2015-07-21 Thread Ethan Furman
Changes by Ethan Furman et...@stoneleaf.us: -- nosy: -ethan.furman ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23572 ___ ___ Python-bugs-list

[issue23572] functools.singledispatch fails when not BaseClass is True

2015-05-16 Thread Ethan Furman
Ethan Furman added the comment: Attached is patch and test case. -- keywords: +patch stage: - patch review Added file: http://bugs.python.org/file39398/issue23572.stoneleaf.01.patch ___ Python tracker rep...@bugs.python.org

[issue23572] functools.singledispatch fails when not BaseClass is True

2015-05-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: An example is Enum. -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23572 ___ ___

[issue23572] functools.singledispatch fails when not BaseClass is True

2015-05-01 Thread Paul Moore
Changes by Paul Moore p.f.mo...@gmail.com: -- nosy: +paul.moore ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23572 ___ ___ Python-bugs-list

[issue23572] functools.singledispatch fails when not BaseClass is True

2015-04-30 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +ethan.furman ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23572 ___ ___

[issue23572] functools.singledispatch fails when not BaseClass is True

2015-04-30 Thread Łukasz Langa
Łukasz Langa added the comment: Yes, this needs addressing. -- assignee: - lukasz.langa versions: +Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23572 ___

[issue23572] functools.singledispatch fails when not BaseClass is True

2015-03-03 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: +lukasz.langa ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23572 ___ ___

[issue23572] functools.singledispatch fails when not BaseClass is True

2015-03-03 Thread Sergio Pascual
New submission from Sergio Pascual: I admit this case is rather convoluted, but I have been debugging a few hours so I think I should share my findings. I have a metaclass MetaA that provides to the classes constructed with it have a dictionary interface. Of all the functions only __len__ is