Python Forum
eval lambda function with restricted context
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
eval lambda function with restricted context
#3
My code is of course a minimal working example. Instead of "exp(1)" there will be an abritray expression supplied by the user.
Reply


Messages In This Thread
RE: eval lambda function with restricted context - by Olivier - Mar-04-2019, 05:59 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Add two resultant fields from python lambda function klllmmm 4 927 Jun-06-2023, 05:11 PM
Last Post: rajeshgk
  with open context inside of a recursive function billykid999 1 587 May-23-2023, 02:37 AM
Last Post: deanhystad
  Context-sensitive delimiter ZZTurn 9 1,515 May-16-2023, 07:31 AM
Last Post: Gribouillis
  Running 3rd party libs on Steam Deck (Arch Linux) with restricted access metulburr 0 1,872 Jan-07-2023, 10:41 PM
Last Post: metulburr
  How does open context manager work? deanhystad 7 1,354 Nov-08-2022, 02:45 PM
Last Post: deanhystad
  Decimal context stevendaprano 1 1,048 Apr-11-2022, 09:44 PM
Last Post: deanhystad
  How to avoid exec(), globals(), locals(), eval() paul18fr 10 5,067 Apr-21-2021, 05:53 PM
Last Post: snippsat
  Writing a lambda function that sorts dictionary GJG 1 2,030 Mar-09-2021, 06:44 PM
Last Post: buran
  int, floats, eval menator01 2 2,449 Jun-26-2020, 09:03 PM
Last Post: menator01
  translating lambda in function fabs 1 2,169 Apr-28-2020, 05:18 AM
Last Post: deanhystad

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020