[Patches] [ python-Patches-1557390 ] datetime's strftime limits strings to 127 chars

SourceForge.net noreply at sourceforge.net
Tue Sep 12 21:35:42 CEST 2006


Patches item #1557390, was opened at 2006-09-12 15:35
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1557390&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: Modules
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Eric V. Smith (ericvsmith)
Assigned to: Nobody/Anonymous (nobody)
Summary: datetime's strftime limits strings to 127 chars

Initial Comment:
See bug http://python.org/sf/1556784

By putting the length into a char, wrap_strftime()
restricts the format string to be 127 characters long.
 This patch removes that restriction, but using Py_ssize_t.

Test included.

Patch is against release25-maint.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1557390&group_id=5470


More information about the Patches mailing list