Martin v. Löwis <mar...@v.loewis.de> added the comment: > I suggest that publishing nanoseconds as a plain int would be a > nasty API. Consider what it would do to os.utime:
No, it wouldn't. Please re-read Guido's proposal. If you want to specify nanoseconds, you have to pass the ns= parameter. My only quibble with the specific spelling is that it invokes Godwin's law (but I can live that that as a theoretical concern, also). > Have we ever published an API that treated a parameter as two wildly > different numbers based solely on whether the parameter was an int > or a float? No, and Guido is on the record for objecting such APIs. Hence the keyword parameter. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14127> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com