We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
beaker.session.Session._delete_cookie() contains a buggy date calculation.
beaker.session.Session._delete_cookie()
expires = datetime.utcnow().replace(year=2003)
On February 29th of a leap year this raises:
ValueError: day is out of range for month
The apparent goal is to set a date in the past. Can't it just use a fixed date like '2003-01-01'?
The text was updated successfully, but these errors were encountered:
Yep, this was actually fixed yesterday, and the new Beaker release contains it.
Sorry, something went wrong.
Linking to fix: b5afb4d
No branches or pull requests
beaker.session.Session._delete_cookie()
contains a buggy date calculation.On February 29th of a leap year this raises:
The apparent goal is to set a date in the past. Can't it just use a fixed date like '2003-01-01'?
The text was updated successfully, but these errors were encountered: