diff options
| author | Michael Merickel <michael@merickel.org> | 2022-03-13 12:32:20 -0500 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2022-03-13 12:32:20 -0500 |
| commit | 90e4de273506e8fd6b66e18517e98eaa61f5e268 (patch) | |
| tree | a8de764568ee0c553a326fcff7ddc5289e4f3e93 /src | |
| parent | 6966401de04be64906f40e6fc6a2cf138cb7d3ca (diff) | |
| download | pyramid-90e4de273506e8fd6b66e18517e98eaa61f5e268.tar.gz pyramid-90e4de273506e8fd6b66e18517e98eaa61f5e268.tar.bz2 pyramid-90e4de273506e8fd6b66e18517e98eaa61f5e268.zip | |
remove obsolete hack required on unsupported version 3.5.0
Diffstat (limited to 'src')
| -rw-r--r-- | src/pyramid/config/actions.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/pyramid/config/actions.py b/src/pyramid/config/actions.py index c3554ced8..d80f840ac 100644 --- a/src/pyramid/config/actions.py +++ b/src/pyramid/config/actions.py @@ -557,13 +557,6 @@ def action_method(wrapped): if info is None: try: f = traceback.extract_stack(limit=4) - - # Work around a Python 3.5 issue whereby it would insert an - # extra stack frame. This should no longer be necessary in - # Python 3.5.1 - last_frame = ActionInfo(*f[-1]) - if last_frame.function == 'extract_stack': # pragma: no cover - f.pop() info = ActionInfo(*f[-backframes]) except Exception: # pragma: no cover info = ActionInfo(None, 0, '', '') |
