Ticket #4935 defect new

Opened 2 years ago

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

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

Change History

1

Changed 2 years ago by DefaultCC Plugin

  • cc warner added

Changed 2 years ago by speth

Test case demonstrating the failure

Changed 2 years ago by speth

Patch that fixes the issue

Note: See TracTickets for help on using tickets.