A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2003-January/032156.html below:

[Python-Dev] Broken strptime in Python 2.3a1 & CVS

[Python-Dev] Broken strptime in Python 2.3a1 & CVS [Python-Dev] Broken strptime in Python 2.3a1 & CVSTim Peters tim.one@comcast.net
Mon, 13 Jan 2003 22:40:46 -0500
[Brett Cannon, on folding strptime into datetime]
> Well, I would assume the responsibility of maintaining it would fall on
> my shoulders.  But leaving it out is fine with me.

I also maintain a pure-Python version of datetime.py (for Zope's use).
date/time modules are a bottomless pit.

> ...
> Also, is there any desire for the C wrapper

The C wrapper for what?

> to do any checking of the values so we can change the docs and
> guarantee that any value returned by ``time.strptime()`` will have
> valid values?

I think we should lose the C version of strptime and use _strptime.py
everywhere now -- allowing x-platform accidents to sneak thru is un-Pythonic
(unless they're *valuable* x-platform accidents <wink> -- strptime accidents
are random crap).




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