[issue1717] Get rid of more refercenes to __cmp__

Mark Dickinson report at bugs.python.org
Sat Jan 3 13:48:20 CET 2009


Mark Dickinson <dickinsm at gmail.com> added the comment:

[Georg Brandl, on spark.py]
> This is used by asdl_c.py which generates Python-ast.c -- it should be
> updated.

The only issue here is a single comment, which reads:

#  GenericASTMatcher.  AST nodes must have "__getitem__" and "__cmp__"

Still, I'm reluctant to remove or alter the comment without
understanding why it was there in the first place.  If someone more
familiar with AST stuff can confirm that __cmp__ is definitely no
longer needed, I'll remove the mention of it from the comment.

> Misc/cheatsheet
>
>  This needs a general overhaul.

I'll open a separate issue for this, if that's okay with everyone.  
Presumably 3.0.1 doesn't need to wait for Misc/cheatsheet to be updated.

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1717>
_______________________________________


More information about the Python-bugs-list mailing list