| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
@ammaraskar can we separate co_positions() from traceback stuff? I think they are two separate features, and one masking the other right now might make users miss the co_positions() API. |
Sorry, something went wrong.
|
Thanks @ammaraskar for taking the first pass on documentation. I think overall it looks great! |
Sorry, something went wrong.
Added a separate section for this to make it harder to miss. |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
|
Rebased and squashed with the CPython specific column limit removed. Hopefully the documentation conveys that you should always be prepared to handle None with the API :) Anything else to address here? |
Sorry, something went wrong.
There was a problem hiding this comment.
Let's focus next on finishing the specialized formats so the docs are up to date with that
Sorry, something went wrong.
|
Updated the existing examples for #27037 but maybe we should put an example of a complicated arithmetic expression to show off that specialization as well? |
Sorry, something went wrong.
Yeah, I want to also prepare in a separate PR some mini tutorial/example on how to use the Python fields. We should also document "how to read the new tracebacks", especially for the specializations. For that, we should ask the one and only @willingc for advice on what's the best way to document it and where :) |
Sorry, something went wrong.
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> Co-authored-by: Batuhan Taskaya <batuhanosmantaskaya@gmail.com> Co-authored-by: Ammar Askar <ammar@ammaraskar.com>
|
Added an example for binary operations.
Definitely, both of those sound good for follow-up docs. Maybe we can ask the overarching docs working group and specifically cc Carol in for help :) |
Sorry, something went wrong.
|
Ready to go 🚀 |
Sorry, something went wrong.
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
| - Running the interpreter with ``-X no_debug_ranges``. | ||
| - Loading a pyc file compiled while using ``-X no_debug_ranges``. | ||
| - Position tuples corresponding to artificial instructions. | ||
| - Line and column numbers that can't be represented due to | ||
| implementation specific limitations. |
There was a problem hiding this comment.
Nice 👍
Sorry, something went wrong.
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
| Back | FazBrowse Home | New Git URL |
First pass at documenting the feature.
https://bugs.python.org/issue43950