> -----Original Message-----
> From: Armin Rigo [mailto:[EMAIL PROTECTED]
> Given that the __long__ vs __int__ difference doesn't really make sense
> any more nowadays, I'd think it would be saner to change the nb_long
> slot of old-style instances instead of PyInt_AsSsize_t().  The logic
> would be that if the nb_long slot implementation finds no "__long__"
> attribute on the instance it tries with "__int__" instead.
>

That sounds fine to me.  I'll be happy to make the change (and revert the
change to intobject.c) if everyone concurs.
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to