Content-Length: 265862 | pFad | https://github.com/python/cpython/issues/95185

B9 AST constructor can stack overflow when compiling some deep trees · Issue #95185 · python/cpython · GitHub
Skip to content

AST constructor can stack overflow when compiling some deep trees #95185

@pablogsal

Description

@pablogsal

This crashes CPython on most machines (use a release build):

python3 -c 'import ast; ast.parse("+0"*209644)'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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/95185

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy