Opened 8 years ago

Closed 8 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:
Needs tests: Patch needs improvement:
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@…> 8 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 8 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 8 years ago by mtredinnick

  • Resolution set to fixed
  • Status changed from new to closed

(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