Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions src/RestrictedPython/tests/security_in_syntax.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,6 @@
# Each function in this module is compiled using compile_restricted().


def except_using_bad_name():
try:
foo
except NameError, _leading_underscore:
# The name of choice (say, _write) is now assigned to an exception
# object. Hard to exploit, but conceivable.
pass


def keyword_arg_with_bad_name():
def f(okname=1, __badname=2):
pass
Expand Down