On Tue, 24 Jun 2008, Nick Coghlan wrote: > I'd prefer to see a proper PEP for this proposing a new slot that lets any > class return an (integer_part, fraction_part) tuple of integers, and > have PyNumber_ToBase take care of the actual string formatting.
I take issue only with your notion of returning a 'fraction_part integer'. How do you propose we do this? I suggest we add a third value, exponent, to the suggested return value. -- Cheers, Leif _______________________________________________ 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