Skip to content

Conversation

symonk
Copy link
Member

@symonk symonk commented Jun 15, 2022

I updated most of the code to be python3.7+ syntactically, a few outliers referencing their parent class explicitly by name. This patch addresses all cases of that throughout the code. This will allow co-operative multi inheritance (leaving mro to python rather than strictly naming the class) should we/a user wish to benefit from it and make things syntactically tidier.

closes #10769

@symonk symonk changed the title [py]: Enable multi co-operative inheritance with super() throughout [py]: Enable co-operative multi inheritance with super() throughout Jun 15, 2022
@symonk symonk requested a review from AutomatedTester June 15, 2022 08:52
@symonk symonk merged commit 40c16bb into trunk Jun 15, 2022
@symonk symonk deleted the support-co-operative-multi-inheritance branch June 15, 2022 19:06
elgatov pushed a commit to elgatov/selenium that referenced this pull request Jun 27, 2022
…SeleniumHQ#10773)

* [py]: Enable multi co-operative inheritance with `super()` throughout

* [py]: Fix `_URL` param in firefox extension and indentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[🚀 Feature]: Replace explicit parent class references using Parent.__init__(...)
1 participant