summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2022-03-13 12:32:20 -0500
committerMichael Merickel <michael@merickel.org>2022-03-13 12:32:20 -0500
commit90e4de273506e8fd6b66e18517e98eaa61f5e268 (patch)
treea8de764568ee0c553a326fcff7ddc5289e4f3e93 /src
parent6966401de04be64906f40e6fc6a2cf138cb7d3ca (diff)
downloadpyramid-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.py7
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, '', '')