File tree 2 files changed +4
-1
lines changed
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ Unreleased
9
9
- Logging works with client addresses containing an IPv6 scope :issue: `2952 `
10
10
- Ignore invalid authorization parameters. :issue: `2955 `
11
11
- Improve type annotation fore ``SharedDataMiddleware ``. :issue: `2958 `
12
+ - Compatibility with Python 3.13 when generating debugger pin and the current
13
+ UID does not have an associated name. :issue: `2957 `
12
14
13
15
14
16
Version 3.0.4
Original file line number Diff line number Diff line change @@ -173,7 +173,8 @@ def get_pin_and_cookie_name(
173
173
# App Engine. It may also raise a KeyError if the UID does not
174
174
# have a username, such as in Docker.
175
175
username = getpass .getuser ()
176
- except (ImportError , KeyError ):
176
+ # Python >= 3.13 only raises OSError
177
+ except (ImportError , KeyError , OSError ):
177
178
username = None
178
179
179
180
mod = sys .modules .get (modname )
You can’t perform that action at this time.
0 commit comments