[issue29944] Argumentless super() fails in classes constructed with type()

2022-03-28 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-47143 "Add functools.copy_class() which updates closures". -- nosy: +vstinner ___ Python tracker ___

[issue29944] Argumentless super() fails in classes constructed with type()

2021-12-07 Thread Caleb Donovick
Change by Caleb Donovick : -- nosy: +donovick ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29944] Argumentless super() fails in classes constructed with type()

2017-04-08 Thread Dan Snider
Dan Snider added the comment: Just wanted to add that I found this when I was trying to find a way to decorate all methods in a class without using a metaclass or modifying __getattr__. Using Josh's workaround, here's a simple demonstration that (at least at first glance) prints a message

[issue29944] Argumentless super() fails in classes constructed with type()

2017-04-08 Thread Martin Panter
Martin Panter added the comment: In Issue 23674, I posted a patch that changes to consistent parameter names (subclass, self). The exception message would avoid “type”, becoming super(subclass, self): self must be an instance or subtype of subclass -- nosy: +martin.panter

[issue29944] Argumentless super() fails in classes constructed with type()

2017-04-08 Thread Jim Fasarakis-Hilliard
Changes by Jim Fasarakis-Hilliard : -- nosy: +Jim Fasarakis-Hilliard ___ Python tracker ___

[issue29944] Argumentless super() fails in classes constructed with type()

2017-04-05 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- nosy: +benjamin.peterson ___ Python tracker ___

[issue29944] Argumentless super() fails in classes constructed with type()

2017-03-31 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- title: Argumentless super() calls do not work in classes constructed with type() -> Argumentless super() fails in classes constructed with type() ___ Python tracker