On 08/31/2015 11:58 AM, Tim Peters wrote:
> I think I'd rather acknowledge that problem cases exist in a direct
> and straightforward way, by adding a new tzinfo (say).classify()
> method.  For example, .classify() could return a
> 
>     (kind, detail)
> 
> 2-tuple.

FWIW, regardless of the question of `utcoffset()` raising exceptions,
the addition of this `classify()` method alone would resolve every use
case I've ever had for pytz's `is_dst=None` strict ambiguity handling.

Carl

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Datetime-SIG mailing list
[email protected]
https://mail.python.org/mailman/listinfo/datetime-sig
The PSF Code of Conduct applies to this mailing list: 
https://www.python.org/psf/codeofconduct/

Reply via email to