(Email resent, I first sent it to Nick privately by mistake.) 2017-11-02 2:53 GMT+01:00 Nick Coghlan <ncoghlan at gmail.com>: > The piece that we're currently missing to make such workflows easier to > manage is an equivalent of JavaScript's source maps (...) Code objects already have a instruction pointer => line number mapping table: the code.co_lnotab field. It's documented at: https://github.com/python/cpython/blob/master/Objects/lnotab_notes.txt This table is built from the line number information of the AST tree. The mapping table is optimized to be small. Before Python 3.5, line number had to be monotonic. Since Python 3.6, you "move" instructions at the AST level, and so have "non-monotonic" line numbers (ex: line 1, line 3, line 2, line 4). Victor
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4