Code

Opened 7 years ago

Closed 6 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@…> 7 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 7 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 6 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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.