[Python-Dev] return type of __complex__
Antoine Pitrou
solipsis at pitrou.net
Sun Oct 21 13:08:02 CEST 2012
More information about the Python-Dev mailing list
Sun Oct 21 13:08:02 CEST 2012
- Previous message: [Python-Dev] return type of __complex__
- Next message: [Python-Dev] return type of __complex__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sun, 21 Oct 2012 22:02:17 +1100 Steven D'Aprano <steve at pearwood.info> wrote: > > In Python 3.3, math.pow is the builtin pow. Presumably for backwards > compatibility reasons when they were different? If so, it was a LONG > time ago: > > [steve at ando ~]$ python1.5 > Python 1.5.2 (#1, Aug 27 2012, 09:09:18) [GCC 4.1.2 20080704 (Red Hat 4.1.2-52)] on linux2 > Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam > >>> import math > >>> math.pow > <built-in function pow> You are being too optimistic: >>> pow <built-in function pow> >>> math.pow <built-in function pow> >>> pow is math.pow False Regards Antoine.
- Previous message: [Python-Dev] return type of __complex__
- Next message: [Python-Dev] return type of __complex__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list