]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
backport gvanrossum's patch:
authorAnthony Baxter <anthonybaxter@gmail.com>
Thu, 18 Apr 2002 05:37:51 +0000 (05:37 +0000)
committerAnthony Baxter <anthonybaxter@gmail.com>
Thu, 18 Apr 2002 05:37:51 +0000 (05:37 +0000)
commitc82143eb5e5fb44e7b49e763fefe02f71be4f3b4
tree86602ff27755d1f8be61e6e1e1fe2eaf2401655c
parent93e81e7c1f4daba42716e996e4c1afc587bb4083
backport gvanrossum's patch:

SF bug #543387.

Complex numbers implement divmod() and //, neither of which makes one
lick of sense.  Unfortunately this is documented, so I'm adding a
deprecation warning now, so we can delete this silliness, oh, around
2005 or so.

Bugfix candidate (At least for 2.2.2, I think.)

Original patches were:
python/dist/src/Objects/complexobject.c:2.58
Objects/complexobject.c