I am creating a child class
`Child(twisted.internet.protocol.DatagramProtocol)` to implement a
custom UDP multicast protocol.

I need to add an `__init__()` to `Child`, but as part of that I need
to call `super()` which is impossible because `DatagramProtocol` is
old-style.

How should I proceed?

Also, why are there old-style classes in the latest release of Twisted?

_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to