Content-Length: 267281 | pFad | https://github.com/python/cpython/issues/97639

01 `tokenize.NL` always exists, `tabnanny` thinks otherwise · Issue #97639 · python/cpython · GitHub
Skip to content

tokenize.NL always exists, tabnanny thinks otherwise #97639

@sobolevn

Description

@sobolevn

While checking coverage of some module, I found that these condition is never True: https://github.com/python/cpython/blame/4652093e1b816b78e9a585d671a807ce66427417/Lib/tabnanny.py#L26-L27

Which is correct, because NL token is always there.
This code is pretty old, I think it is safe to be removed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dir

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/python/cpython/issues/97639

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy