mirror of
https://github.com/python/cpython.git
synced 2026-05-06 20:51:17 -04:00
4a0af0cfdc
- Cache line object to avoid creating a Unicode object
for all of the tokens in the same line.
- Speed up byte offset to column offset conversion by using the
smallest buffer possible to measure the difference.
(cherry picked from commit d87b015106)
Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
Co-authored-by: Pablo Galindo <pablogsal@gmail.com>
Miscellaneous source files for the main Python shared library