You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
logging.StringTemplateStyle's usesTime method using wrong variable to search for asctime #99811
See usesTime method of StringTemplateStyle class in logging module. It's passing self.asctime_format to fmt.find but I believe it should be passing self.asctime_search. The two variables have the same value so it doesn't currently result in broken behavior, but this is a latent bug that could reveal itself if either variable's value changes. I've got a PR ready, I'll submit it shortly after this.
Activity
gh-99811: Use correct variable to search for time in format string (G…
pythongh-99811: Use correct variable to search for time in format str…
pythongh-99811: Use correct variable to search for time in format str…
[3.11] gh-99811: Use correct variable to search for time in format st…
[3.10] gh-99811: Use correct variable to search for time in format st…