twisted / twisted/twisted

t.w.xish.domish.Element recursion error

Open
#2,880 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug new priority-normal words
Dominant language
Python
Stars
6k
Forks
1.2k
Avg merge
2d 10h
Merged PRs (30d)
10

Description

twonds's avatar twonds reported
Trac ID trac#2880
Type defect
Created 2007-11-09 17:29:41Z

When you pickle a domish.Element object you get the following error. 'RuntimeError: maximum recursion depth exceeded'

A fix is attached, unit tests to follow.

Attachments:

  • tw.diff (637 bytes) - added by twonds on 2007-11-09 17:29:58Z -
Searchable metadata
trac-id__2880 2880
type__defect defect
reporter__twonds twonds
priority__normal normal
milestone__ 
branch__ 
branch_author__ 
status__new new
resolution__None None
component__words words
keywords__ 
time__1194629381000000 1194629381000000
changetime__1265387458000000 1265387458000000
version__None None
owner__ 
cc__jack cc__ralphm cc__exarkun

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the recursion error when pickling a domish.Element, then inspect the attached tw.diff for the proposed fix. Confirm that pickling no longer exceeds the recursion limit and add the promised unit-test coverage; the issue is done when that behavior is verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.