[Python-Dev] Why is nb_inplace_power ternary?

python at rcn.com python at rcn.com
Thu Feb 8 19:58:26 CET 2007


[MvL]
>>> So here is my proposed change:
>>> 
>>> 1. For 2.5.1, rewrite slot_nb_inplace_power to raise an exception
>>> if the third argument is not None, and then invoke __ipow__ with only one argument.

Why would you change Py2.5?  There is no bug here.


Raymond


More information about the Python-Dev mailing list