Python Forum
in a function checking for caller errors
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
in a function checking for caller errors
#4
what about setting an environment variable to enable the maximum level of checks? the developer could leave that set when doing development. without it being set the function will assume this call is from well debugged code and that the checks would pass.

these checks are intended to meaningfully report to the developer what coding errors she has made.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
RE: in a function checking for caller errors - by Skaperen - Mar-04-2021, 05:00 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  function to store in caller's context Skaperen 7 3,027 Jul-27-2020, 08:45 PM
Last Post: Skaperen
  f-string for caller? Skaperen 2 1,990 Sep-16-2019, 07:47 PM
Last Post: Skaperen

Forum Jump:

User Panel Messages

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