Skip to content

super for object does not work #520

@wrobell

Description

@wrobell

Having sp.py file with code

class Test(object):
    def __init__(self):
        super().__init__()

t = Test()

And running with Micro Python

$ ./unix/micropython sp.py
Traceback (most recent call last):
  File "sp.py", line 5, in <module>
  File "sp.py", line 3, in __init__
AttributeError: 'super' object has no attribute '__init__'

Above works with CPython.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy