Message11783

Author jeff.allen
Recipients jamesmudd, jeff.allen, stefan.richthofer
Date 2018-03-12.08:49:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1520844556.26.0.467229070634.issue2558@psf.upfronthosting.co.za>
In-reply-to
Content
I think automatic coercion of a string would turn out badly: we'll discover cases where two signatures match. Compare the insoluble #1781.

We can do this:
>>> import java.time.LocalDate
>>> from java.time import Month
>>> java.time.LocalDate.of(2015, Month.DECEMBER, 3)
2015-12-03

or:
>>> from java.time.Month import *
>>> DECEMBER
DECEMBER
>>> java.time.LocalDate.of(2015, DECEMBER, 3)
2015-12-03

Does that not do the trick?
History
Date User Action Args
2018-03-12 08:49:16jeff.allensetmessageid: <1520844556.26.0.467229070634.issue2558@psf.upfronthosting.co.za>
2018-03-12 08:49:16jeff.allensetrecipients: + jeff.allen, stefan.richthofer, jamesmudd
2018-03-12 08:49:16jeff.allenlinkissue2558 messages
2018-03-12 08:49:15jeff.allencreate