News for hackers. Stuff that matters.
Re:Show HN: Wat – Deep inspection of Python objects by fuzztester on Thursday July 25, 2024 @03:05PM (#41072201)
just so that it is clear for everyone, including newbies here, does the insta-load code snippet work like this:

the author has encoded the wat module's source code into base64. the snippet shown decodes that back into python code, and then executes it on the fly, thus having the same effect as importing the wat module in the normal python way?

Re:Show HN: Wat – Deep inspection of Python objects by igrek51 on Thursday July 25, 2024 @05:56PM (#41073806)
Yes, that has the same effect as installing the package. So if you feel uncomfortable, you can either install the pip package (and of course review the installed code) or review the decoded string before executing it. It's not that obfuscated anyways, it's still quite readable.
Re:Show HN: Wat – Deep inspection of Python objects by fuzztester on Thursday July 25, 2024 @08:13PM (#41074778)
got it, thanks.