homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Warn for __coerce__ in new-style classes
Type: Stage:
Components: Interpreter Core Versions: Python 2.3
process
Status: closed Resolution: later
Dependencies: Superseder:
Assigned To: nnorwitz Nosy List: gvanrossum, nnorwitz
Priority: normal Keywords:

Created on 2002年04月22日 18:51 by gvanrossum, last changed 2022年04月10日 16:05 by admin. This issue is now closed.

Messages (3)
msg10486 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2002年04月22日 18:51
New-style classes don't support __coerce__, except that
when you define it, coerce() will call it. (But it
won't be called by the binary operators.) Methinks a
warning should be issued when a new-style class defines
__coerce__.
msg10487 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2002年06月03日 21:04
Logged In: YES 
user_id=6380
I think this is a PyChecker issue.
Neal, can you add this to PyChecker?
If you do, please close this bug report.
msg10488 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2002年06月04日 16:20
Logged In: YES 
user_id=33168
Added warning to pychecker.
History
Date User Action Args
2022年04月10日 16:05:15adminsetgithub: 36485
2002年04月22日 18:51:12gvanrossumcreate

AltStyle によって変換されたページ (->オリジナル) /