[egenix-users] "right truncation" warning in mx.ODBC.Windows
M.-A. Lemburg
mal at egenix.com
Mon Mar 15 15:41:09 CET 2004
Steve Holden wrote:
> I just ran a test. Despite the fact that Microsoft suggest otherwise,
> most "hundredth-second" intervals fail - I ran a test, adding i/100 to
> an integral ticks value for i in range(99).
>
> The only ones that worked were the quarter-seconds (0.25, 0.5, 0.75).
> So, rounding to the nearest 250 mS should work, for some value of
> "work".
Thanks for checking. Unless we find a better alternative, I
guess rounding to the nearest quarter of a second is the
way to go... or maybe we can just silence the warning in this
particular case.
Thanks,
--
Marc-Andre Lemburg
eGenix.com
Professional Python Services directly from the Source (#1, Mar 15 2004)
>>> Python/Zope Consulting and Support ... http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
________________________________________________________________________
Python UK 2004, Oxford, UK 31 days left
EuroPython 2004, Göteborg, Sweden 83 days left
::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::
More information about the egenix-users
mailing list