>>>>> "FP" =3D=3D Fran=E7ois Pinard <pinard@iro.umontreal.ca> writes: FP> A bit more seriously, it is fun writing: | try: | frame =3D sys._getframe(1) | except AttributeError: | frame =3D sys.exc_info()[2].tb_frame.f_back FP> putting the error to good use whenever `_getframe' is not FP> available! LOL! Very cute! -Barry
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4