Django

Code

Ticket #5664 (closed: fixed)

Opened 1 year ago

Last modified 11 months ago

django.dispatch.saferef doesn't work on Jython

Reported by: leosoto <leo.soto@gmail.com> Assigned to: nobody
Milestone: Component: Uncategorized
Version: SVN Keywords: jython
Cc: Triage Stage: Unreviewed
Has patch: 1 Needs documentation:
Needs tests: Patch needs improvement:

Description

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

Attachments

saferef_for_non_descriptor_methods.patch (4.3 kB) - added by leosoto <leo.soto@gmail.com> on 10/02/07 09:31:27.
Patch that offer a different implementation for platforms where methods are not descriptors. It has no impact when running under CPython.

Change History

10/02/07 09:31:27 changed by leosoto <leo.soto@gmail.com>

  • attachment saferef_for_non_descriptor_methods.patch added.

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

10/21/07 13:26:25 changed by mtredinnick

  • status changed from new to closed.
  • resolution set to fixed.

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


Add/Change #5664 (django.dispatch.saferef doesn't work on Jython)




Change Properties
Action