[issue43243] Strict ABC classes

2021-02-17 Thread Yurii Karabas
Yurii Karabas <1998uri...@gmail.com> added the comment: Sorry about this, in a future I will use forum for such discussions. -- ___ Python tracker ___

[issue43243] Strict ABC classes

2021-02-17 Thread Guido van Rossum
Change by Guido van Rossum : -- nosy: -gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43243] Strict ABC classes

2021-02-17 Thread Guido van Rossum
Guido van Rossum added the comment: This discussion is not appropriate for the bug tracker. Try finding a user forum to discuss the pros and cons and history of the current functionality. It is clear that you have plenty of ways to discover the problem already. -- resolution: ->

[issue43243] Strict ABC classes

2021-02-17 Thread Yurii Karabas
Yurii Karabas <1998uri...@gmail.com> added the comment: When I work with ABC classes usually I faced a problem - I forget to implement one of the methods or make a typo in the method name. In such case I will know about it only when I will try to instantiate a class. In case when a

[issue43243] Strict ABC classes

2021-02-17 Thread Raymond Hettinger
Raymond Hettinger added the comment: Why is this needed? Already, instantiation is blocked. -- nosy: +gvanrossum, rhettinger ___ Python tracker ___

[issue43243] Strict ABC classes

2021-02-17 Thread Yurii Karabas
Change by Yurii Karabas <1998uri...@gmail.com>: -- keywords: +patch pull_requests: +23339 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24558 ___ Python tracker

[issue43243] Strict ABC classes

2021-02-17 Thread Yurii Karabas
New submission from Yurii Karabas <1998uri...@gmail.com>: Basically, the idea is to add the ability to mark abstract classes as strict. What does this mean - in case when a class inherits from a strict abstract base class and doesn't implement all abstract methods then it will fail to create