Better HN
topnewbestaskshowjobs
Log inSign up

notsorandomname

23 karma · joined Oct 3, 2015 (11y ago) · 4 submissions

Submissions

comment 10y ago · link · parent

Though, you still should provide a way to read from file/write into file. I prefer passing "-" or /dev/stdin (/dev/stdout) for that purpose. Just for the sake of debuggability, if someone would like to debug your script with a debugger/debug prints/debug reads

comment 10y ago · link · parent

Shouldn't the title of the article be "500 lines or less - ceval.c written in Python" or "500 lines or less - a python bytecode interpreter written in python" The original one is just misleading.

comment 10y ago · link · parent

Hash table realization seems to be harmful with the "no collisions" assumption. That's like writing a red black tree and assuming that insert/delete operations will keep tree balanced so we don't need rotations.

4.

Show HN: Pytb – extract stack trace from running Python processes(github.com ↗)

4 points · by notsorandomname · 11y ago · discuss