[Python-Dev] Re: [Python-checkins] python/dist/src/Objects complexobject.c,2.57,2.58 (original) (raw)

Guido van Rossum guido@python.org
Mon, 15 Apr 2002 08:44:32 -0400


[Tim]

Does it make sense to deprecate divmod() and // for complex numbers while leaving % intact?

It doesn't, and I've repaired this.

However, I'm wondering what to do after we unify all numeric types (if we ever decide to do that, which isn't clear). At that point, should these operators be allowed as long as the imaginary part is zero?

--Guido van Rossum (home page: http://www.python.org/~guido/)