Opened 3 years ago

#4935 defect new

spread.jelly doesn't properly resolve some circular references

Reported by: speth Owned by:
Priority: normal Milestone:
Component: pb Keywords: jelly
Cc: warner Branch:
Author: speth Launchpad Bug:

Description

Circular references which are attributes of a new-style class instance are not unjellied properly due to the way the instance dictionary is handled. The resulting unjellied object contains instances of twisted.persisted.crefutil._Dereference objects.

Attached are a set of test cases demonstrating the failure and a patch which corrects them.

Attachments (2)

test_jelly.py (2.1 KB) - added by speth 3 years ago.
Test case demonstrating the failure
jelly.patch (481 bytes) - added by speth 3 years ago.
Patch that fixes the issue

Download all attachments as: .zip

Change History (3)

comment:1 Changed 3 years ago by DefaultCC Plugin

  • Cc warner added

Changed 3 years ago by speth

Test case demonstrating the failure

Changed 3 years ago by speth

Patch that fixes the issue

Note: See TracTickets for help on using tickets.