[Patches] [ python-Patches-1635473 ] strptime %F and %T directives
SourceForge.net
noreply at sourceforge.net
Mon Jan 15 20:19:45 CET 2007
Patches item #1635473, was opened at 2007-01-14 16:40
Message generated for change (Comment added) made by bcannon
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1635473&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Library (Lib)
Group: Python 2.6
>Status: Closed
>Resolution: Rejected
Priority: 5
Private: No
Submitted By: Mark Roberts (mark-roberts)
Assigned to: Nobody/Anonymous (nobody)
Summary: strptime %F and %T directives
Initial Comment:
In response to bug 1633628. %F and %T are valid directives. These are added to Lib/_strptime.py via adding the Y-M-d H:M:S directives in sub-expressions. Includes a test case.
----------------------------------------------------------------------
>Comment By: Brett Cannon (bcannon)
Date: 2007-01-15 11:19
Message:
Logged In: YES
user_id=357491
Originator: NO
Thanks for the work, Mark, but I am going to have to reject this patch.
The F and T directives are not supported necessarily on every platform (at
least to my knowledge) which is why they are not documented. Because of
this I don't want to add support for them to strptime and have to start
maintaining directives that are not documented.
----------------------------------------------------------------------
Comment By: Mark Roberts (mark-roberts)
Date: 2007-01-14 17:05
Message:
Logged In: YES
user_id=1591633
Originator: YES
I took a look on the time documentation page, and it did not detail %F and
%T, even though they were supported in strftime. I added them to the
documentation page since strptime now supports them.
File Added: bug_1633628_strptime_doc.patch
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1635473&group_id=5470
More information about the Patches
mailing list