

Yeah. This post was made to show off something cursed I created.
I have already updated the repo to make it more obvious this is not standard Python. I will do the same with the post.
Yeah. This post was made to show off something cursed I created.
I have already updated the repo to make it more obvious this is not standard Python. I will do the same with the post.
Conveniently Python keeps the comments around. 😄
I updated the source after this post was made. The image transcription still holds. I did not update the image and the post text.
You can view the git history. I will tag the specific commit at the time of the post later and update it accordingly.
I have updated the repository. Just clone it.
The lib module was written by me. Actual implementation code is here: https://github.com/raldone01/python_lessons_py/blob/v2.0.0/arglib.py
Well now that causes breakage two dependencies down the line. Good luck with that. 😅
On a serious note:
This feature is actually very useful. Libraries can use it create neat error messages. It is also needed when logging information to a file.
You should however never ever parse the source code and react to it differently.
You know that this is acutally working right??? 😊
You should hide your nginx version.
Reminds me of: https://www.wired.com/story/null-license-plate-landed-one-hacker-ticket-hell/
A guy thought it would be funny to change his license plate to NULL.
Pid 3386 behave or I am gonna SIGKILL all your children. That’s not an EMPTY THREAT. In fact I will start with the first one RIGHT NOW.
This is the way usually but some people just don’t learn from their mistakes…
It is now directly in the notebook in the latest version: https://github.com/raldone01/python_lessons_py/blob/v2.0.0/lesson_0_comments.ipynb