Opened 17 years ago

Closed 17 years ago

#5664 closed (fixed)

django.dispatch.saferef doesn't work on Jython

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

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@…> 17 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)

by leosoto <leo.soto@…>, 17 years ago

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

comment:1 by Malcolm Tredinnick, 17 years ago

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