3 ms·
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 branc
by jay-barronville 2y 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.c#L1425 https://github.com/python/cpython/blob/main/Python/pythonrun...
[1]: https://github.com/python/cpython/blob/967a4f1d180d4cd669d5c6e3ac5ba99af4e72d4e/Python/pythonrun.c#L1425-L1453 https://github.com/python/cpython/blob/967a4f1d180d4cd669d5c...
- 0x63_Problems 2y agoThanks for pointing this out, the link is now updated!
- jay-barronville 2y agoSure 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 https://news.ycombinator.com/user?id=dang [1]: mailto:hn@ycombinator.com [2]: https://news.ycombinator.com/item?id=41171593 https://news.ycombinator.com/item?id=41171593 [3]: https://news.ycombinator.com/item?id=26998308 https://news.ycombinator.com/item?id=26998308
- garbagepatch 2y agoTip: in Github, press `y` when looking at a `/blob/branch/something` url to turn it into the current commit.