Hacker News new | ask | show | jobs
by jay-barronville 685 days ago
Evan, just a tip…

When linking to code on GitHub in an article like this, for posterity, it’s a good idea to link based on a specific commit instead of a branch.

It might be a good idea to change your link to the `Py_CompileStringObject()` function in CPython’s `Python/pythonrun.c` [0] to a commit-based link [1].

[0]: https://github.com/python/cpython/blob/main/Python/pythonrun...

[1]: https://github.com/python/cpython/blob/967a4f1d180d4cd669d5c...

2 comments

Tip: in Github, press `y` when looking at a `/blob/branch/something` url to turn it into the current commit.
Thanks for pointing this out, the link is now updated!
Sure thing. Great article, by the way!

Side note: Your tool, Tach, seems interesting…you might want to ask @dang [0] via email [1] if he’d be willing to add your submission [2] to the second-chance pool [3] (maybe also provide a clearer and more technical explanation of the tool and its key features).

[0]: https://news.ycombinator.com/user?id=dang

[1]: mailto:hn@ycombinator.com

[2]: https://news.ycombinator.com/item?id=41171593

[3]: https://news.ycombinator.com/item?id=26998308