[Python-ideas] Backward-incompatible changes for Python 4
MRAB
python at mrabarnett.plus.com
Mon Apr 1 15:02:21 EDT 2019
On 2019-04-01 19:33, Paul Moore wrote:
> On Mon, 1 Apr 2019 at 16:36, Anders Hovmöller <boxed at killingar.net> wrote:
>>
>> Please let's all agree that April 1 is the worst day of the year.
>
> Maybe in Python 4, datetime.datetime should silently convert 1st April
> to the 2nd? :-P
>
Converting silently is not Pythonic. It should raise an exception. :-)
More information about the Python-ideas
mailing list