Skip to content
Myr

Merge branch '3.0.x'

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by David Lord · parents 57add38, eb1182a · Browse files · 2 files+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+2 added−2 removed

  • other:+2 added−2 removed

2 files+2 added−2 removed

modified:src/flask/sessions.py+1 added-1 removed
363 unmodified lines
364 if not self.should_set_cookie(app, session):365 return366367 expires = self.get_expiration_time(app, session)368 val = self.get_signing_serializer(app).dumps(dict(session)) # type: ignore368 val = self.get_signing_serializer(app).dumps(dict(session)) # type: ignore[union-attr]369 response.set_cookie(370 name,371 val,372 expires=expires,
7 unmodified lines
modified:src/flask/wrappers.py+1 added-1 removed
69 unmodified lines
70 This in combination with :attr:`view_args` can be used to71 reconstruct the same URL or a modified URL.72 """73 if self.url_rule is not None:74 return self.url_rule.endpoint74 return self.url_rule.endpoint # type: ignore[no-any-return]7576 return None7778 @property
96 unmodified lines