STRPTIME method missing from TIME class, in win32 ?

Fredrik Lundh fredrik at effbot.org
Mon Jan 1 12:28:57 EST 2001


Werner Geuens wrote:
> A very basic method, STRPTIME, seem to be missing from the Win32
> distributions. Both 1.5.2 and 2.0 lack this method. A bit weird, considering
> an ill supported platform such as OS/2 has the method in it's 1.5.x release.
>
> The tutorials mensions "This function may not be defined on all platforms.".
>
> Can someone give me a sane explanation WHY ?

it's only supported if the underlying C library supports it.

microsoft's C library doesn't.

search deja.com for more info, and several pure-Python
replacements.

</F>





More information about the Python-list mailing list