A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-June/025492.html below:

[Python-Dev] Python strptime

[Python-Dev] Python strptimeGuido van Rossum guido@python.org
Mon, 17 Jun 2002 17:44:28 -0400
> Do you just want a callout to strptime or should I also include my helper
> classes and functions?  I have implemented a class that figures out and
> stores all locale-specific date info (weekday names, month names, etc.).
> I subclass that for another class that creates the regexes used by
> strptime.  I also have three functions that calculate missing data (Julian
> date from Gregorian date, etc.).
> 
> But one does not need access to any of these things directly if one just
> wants to use strptime like in the time module, so they can be left out for
> now if you prefer.

If there's a way to get at the extra stuff by importing strptime.py,
that's preferred.  The time module only needs to support the classic
strptime function.  (But as I said I haven't seen your code, so maybe
I misunderstand your question.)

--Guido van Rossum (home page: http://www.python.org/~guido/)




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4