[ZCM] [ZC] 1712/ 1 Request "Inconsistent and sometimes
incomprehensible error messages from bad dates"
Collector: Zope Bugs, Features,
and Patches ...
zope-coders-admin at zope.org
Fri Feb 25 08:54:20 EST 2005
Issue #1712 Update (Request) "Inconsistent and sometimes incomprehensible error messages from bad dates"
Status Pending, Zope/bug medium
To followup, visit:
http://www.zope.org/Collectors/Zope/1712
==============================================================
= Request - Entry #1 by rjmunro on Feb 25, 2005 8:54 am
x = DateTime("99/99/99")
gives the excepton:
"DateError: 99/99/99"
which makes perfect sense, but:
x = DateTime("null/null/null")
gives the exception:
"AttributeError: SyntaxError instance has no attribute 'replace'"
and
x = DateTime("null")
gives the exception:
"IndexError: string index out of range"
neither of which make any sense.
==============================================================
More information about the Zope-Collector-Monitor
mailing list