-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An Infinite loop in the time formatter #367
Comments
An excerpt from the manual:
Which is, again, will give an infinite loop with out of memory error. It probably makes sense to use Python's approach. |
Thanks for catching these! The first issue should be fixed in 1a23f9c. |
The second issue should be fixed in a5d0adf. Thanks again. |
(cherry picked from commit 1a23f9c)
(cherry picked from commit a5d0adf)
+
has higher precedence than?:
, so this line will not expand the buffer, giving an infinite loop with longstrftime
results. It should be:Simple test:
The text was updated successfully, but these errors were encountered: