[issue46419] Incomplete Comparison to C++ Methods

2022-01-21 Thread Jorgen Harmse
Jorgen Harmse added the comment: Is van Rossum serious? I responded to the comments on my report. The action is to clarify the documentation, probably including a warning against multiple inheritance. -- ___ Python tracker

[issue46419] Incomplete Comparison to C++ Methods

2022-01-21 Thread Guido van Rossum
Guido van Rossum added the comment: You appear more interested in a discussion of Python semantics than in improving the tutorial. I see nothing actionable here. -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python

[issue46419] Incomplete Comparison to C++ Methods

2022-01-21 Thread Jorgen Harmse
Jorgen Harmse added the comment: There may be more people who use Python, but there are strange semantics that cause problems even for experienced Python programmers. For example, assign-by-reference (apparently built without considering the solutions available in MatLab & R) frequently

[issue46419] Incomplete Comparison to C++ Methods

2022-01-21 Thread Guido van Rossum
Guido van Rossum added the comment: Just because __init__ is extra weird doesn't mean that other methods aren't roughly like C++. But I can't find the text the OP refers to. Without a specific pointer (at least a URL and quoted text) this issue is non-actionable and should probably be

[issue46419] Incomplete Comparison to C++ Methods

2022-01-21 Thread Éric Araujo
Éric Araujo added the comment: Maybe the reference should be removed entirely! Nowadays there may be more people knowing Python and how its methods work than C++. -- nosy: +eric.araujo, gvanrossum ___ Python tracker

[issue46419] Incomplete Comparison to C++ Methods

2022-01-17 Thread Jorgen Harmse
New submission from Jorgen Harmse : The description of classes mentions twice that methods are like C++ virtual member functions, but the truth is a bit stranger. Even __init__ seems to act like a virtual function, so there is no guarantee that the base-class part of a derived-class instance