Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

difflib exceeding recursion limit #42832

Closed
niemeyer mannequin opened this issue Jan 24, 2006 · 3 comments
Closed

difflib exceeding recursion limit #42832

niemeyer mannequin opened this issue Jan 24, 2006 · 3 comments
Labels
stdlib Python modules in the Lib dir

Comments

@niemeyer
Copy link
Mannequin

niemeyer mannequin commented Jan 24, 2006

BPO 1413711
Files
  • difflib.patch: Patch
  • test.tar.bz2: Test case
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2006-01-31.18:35:39.000>
    created_at = <Date 2006-01-24.13:50:10.000>
    labels = ['library']
    title = 'difflib exceeding recursion limit'
    updated_at = <Date 2006-01-31.18:35:39.000>
    user = 'https://bugs.python.org/niemeyer'

    bugs.python.org fields:

    activity = <Date 2006-01-31.18:35:39.000>
    actor = 'niemeyer'
    assignee = 'niemeyer'
    closed = True
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2006-01-24.13:50:10.000>
    creator = 'niemeyer'
    dependencies = []
    files = ['6979', '6980']
    hgrepos = []
    issue_num = 1413711
    keywords = ['patch']
    message_count = 3.0
    messages = ['49407', '49408', '49409']
    nosy_count = 1.0
    nosy_names = ['niemeyer']
    pr_nums = []
    priority = 'normal'
    resolution = 'accepted'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue1413711'
    versions = ['Python 2.4']

    @niemeyer
    Copy link
    Mannequin Author

    niemeyer mannequin commented Jan 24, 2006

    difflib is exceeding the default recursion limit in
    certain patterns of lines.

    The attached patch will change the problematic method
    into a non-recursive version.

    @niemeyer niemeyer mannequin closed this as completed Jan 24, 2006
    @niemeyer niemeyer mannequin self-assigned this Jan 24, 2006
    @niemeyer niemeyer mannequin added stdlib Python modules in the Lib dir labels Jan 24, 2006
    @niemeyer
    Copy link
    Mannequin Author

    niemeyer mannequin commented Jan 24, 2006

    Logged In: YES
    user_id=7887

    Attaching a test case showing the problem.

    @niemeyer
    Copy link
    Mannequin Author

    niemeyer mannequin commented Jan 31, 2006

    Logged In: YES
    user_id=7887

    Patch applied as revision 42212.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    stdlib Python modules in the Lib dir
    Projects
    None yet
    Development

    No branches or pull requests

    0 participants