[Python-Dev] Change the repr for datetime.timedelta (was Re: Asynchronous context manager in a typical network server)

Emanuel Barry vgr255 at live.ca
Sun Dec 20 18:05:07 EST 2015


From: guido at python.org
Date: Sun, 20 Dec 2015 14:33:46 -0800
To: rosuav at gmail.com
Subject: Re: [Python-Dev] Change the repr for datetime.timedelta (was Re: Asynchronous context manager in a typical network server)
CC: python-dev at python.org

> I'm just curious on the backward compatibility impact.

I'm just curious on the number of programs depending on the repr() of any object at all in production (not counting tests). I could be wrong, but it seems foolish to rely on that, especially since this is something that we *can* change on an (almost) arbitrary basis. IMO, the repr() is meant to aid the programmer - not specifying keyword arguments here does quite the opposite of that :)
> 
> -- 
> --Guido van Rossum (python.org/~guido)
-Emanuel


_______________________________________________
Python-Dev mailing list
Python-Dev at python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: https://mail.python.org/mailman/options/python-dev/vgr255%40live.ca 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20151220/8da969a1/attachment.html>


More information about the Python-Dev mailing list