question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Universalize zero-argument super

See original GitHub issue
  File "log_util_hx.py", line 1322, in __init__
    super().__init__(message)  #213 (line num in coconut source)
TypeError: super() takes at least 1 argument (0 given)

I hope that coconut can automatically handle the problem.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
evhubcommented, Feb 12, 2022

@hlizard This is now live on develop—just pip install -U coconut-develop>=2.0.0-a_dev44 to get the fix.

0reactions
evhubcommented, Feb 16, 2022

@hlizard Thanks for the bug report—should be fixed now as of coconut-develop>=2.0.0-a_dev45.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is it unnecessary to put super() in constructor? - Stack Overflow
If the super class constructor has no arguments Java automatically calls it for you. If it has arguments you'll get an error.
Read more >
Using the Keyword super (The Java™ Tutorials > Learning the ...
With super() , the superclass no-argument constructor is called. With super(parameter list) , the superclass constructor with a matching parameter list is ...
Read more >
Missing argument to super() - QuantifiedCode
Missing argument to super() ¶. super() enables you to access the methods and members of a parent class without referring to the parent...
Read more >
Unsettling the Coloniality of Being/Power/Truth/Freedom
Here, the Argument, basing itself on Fanon's and Bateson's redefinition of the human, proposes that the adaptive truth-for terms in which each.
Read more >
Python | super() in single inheritance - GeeksforGeeks
It is worthwhile to note that the zero argument form of super() can only be used inside a class definition as it is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found