Zeth added the comment:
I don't get why this is closed. It is a bug. The Generator type annotation
works differently than the others, it shouldn't.
Sebastian Rittau is correct here, the closer doesn't seem to have understood.
As for using Iterator instead as the documen
Zeth added the comment:
Did you read the attached PR? For three lines longer, the method becomes more
generally useful now.
As pointed out in the other thread that you pointed to, Javascript can parse
Python's seralised datetime object but Python cannot parse Javascript's due to
New submission from Zeth :
The datetime.datetime.fromisoformat() method unnecessarily rejects datetime
strings that are valid under ISO 8601 if timezone uses the UTC designator or
it only has hours.
In ISO 8601, section 4.2.5.1: "When it is required to indicate the difference
between
New submission from Zeth :
Julius Caesar might have written the Rot13 codec, but he forgot to write unit
tests, dragging down test coverage.
--
components: Tests
messages: 349874
nosy: zeth
priority: normal
pull_requests: 15033
severity: normal
status: open
title: Tests for Rot13