79446614

Date: 2025-02-17 21:28:13
Score: 2
Natty:
Report link

I think because you used the word "Canonical" people are answering in terms of best pythonic programming. Like when you read your own code 6 months from now you get a sense of how smart the coder was.

Otherwise, in the moment long before worrying about swallowing exceptions just do:

type(anyVar)

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: bi422