Opened 9 years ago

Closed 9 years ago

#5664 closed (fixed)

django.dispatch.saferef doesn't work on Jython

Reported by: leosoto <leo.soto@…> Owned by: nobody
Component: Uncategorized Version: master
Severity: Keywords: jython
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

BoundMethodWeakref assumes that methods are descriptors, and that's not the case in Jython.

Attachments (1)

saferef_for_non_descriptor_methods.patch (4.3 KB) - added by leosoto <leo.soto@…> 9 years ago.
Patch that offer a different implementation for platforms where methods are not descriptors. It has no impact when running under CPython.

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by leosoto <leo.soto@…>

Patch that offer a different implementation for platforms where methods are not descriptors. It has no impact when running under CPython.

comment:1 Changed 9 years ago by Malcolm Tredinnick

Resolution: fixed
Status: newclosed

(In [6586]) Fixed #5664 -- Added a Jython workaround for some assumptions in the signal
dispatch code. Thanks, Leo Soto.

Note: See TracTickets for help on using tickets.
Back to Top