Skip to content

second lexer reg memory use issue #367

Description

@zzzeek
>>> from mako.lexer import Lexer
>>> template = '<%def name="foo()"> this is a def. </%' + ' ' * 10000
>>> Lexer(template).parse()

Activity

  1. sqla-tester commented on Sep 22, 2022

    @sqla-tester
    Collaborator

    Mike Bayer has proposed a fix for this issue in the main branch:

    replace "dot" with "set not containing whitespace" https://gerrit.sqlalchemy.org/c/sqlalchemy/mako/+/4091

  2. added a commit that references this issue on Nov 1, 2022
  3. added a commit that references this issue on Nov 1, 2022
  4. added a commit that references this issue on Nov 1, 2022
  5. added a commit that references this issue on Nov 1, 2022
  6. added a commit that references this issue on Nov 2, 2022
  7. added a commit that references this issue on Nov 2, 2022
  8. added a commit that references this issue on Nov 2, 2022
  9. added a commit that references this issue on Nov 24, 2022
  10. added a commit that references this issue on Jul 15, 2025
    0babe1c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinglexer

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions