Issue 1557390: datetime's strftime limits strings to 127 chars (original) (raw)

Issue1557390

Created on 2006-09-12 19:35 by eric.smith, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
strftime.patch eric.smith,2006-09-12 19:35 Code and test patch
Messages (2)
msg51109 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2006-09-12 19:35
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.
msg51110 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2006-09-30 11:17
Logged In: YES user_id=849994 Thanks for the report, fixed in rev. 52072, 52073 (2.4), 52074 (2.5).
History
Date User Action Args
2022-04-11 14:56:20 admin set github: 43966
2006-09-12 19:35:42 eric.smith create