gh-104825: Remove implicit newline in the line attribute in tokens emitted in the tokenize module by pablogsal · Pull Request #104846 · python/cpython · GitHub

github.com

Tin mới

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

Token lines in the tokenize module always end in new line #104825

: Remove implicit newline in the line attribute in tok…

awaiting core review

awaiting core review

View reviewed changes

View reviewed changes

Learn more about hiding disruptive comments

The reason will be displayed to describe this comment to others. Learn more.

Update Lib/tokenize.py

needs backport to 3.12

needs backport to 3.12

: Remove implicit newline in the line attribute…

[3.12] gh-104825: Remove implicit newline in the line attribute in tokens emitted in the tokenize module (GH-104846). (#104850) (cherry picked from commit c8cf9b42eb2bfbd4c3e708ec28d32430248a1d7a)

gh-104719: IDLE - test existence of all tokenize references. #104767

needs backport to 3.11

needs backport to 3.11

3.12 backport gh 105236 #105358