Opened 10 years ago

Closed 10 years ago

#11320 closed enhancement (fixed)

deprecated_function_alias for Cython classes

Reported by: vbraun Owned by: jason
Priority: major Milestone: sage-4.7.1
Component: misc Keywords:
Cc: fhivert, burcin Merged in: sage-4.7.1.alpha3
Authors: Volker Braun Reviewers: Mike Hansen
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

Currently you can't use deprecated_function_alias with Cython classes because they do not have a __dict__ attribute. This patch implements a try/except block as suggested by Florent Hivert in https://groups.google.com/d/topic/sage-devel/DayMPddlOds/discussion

Attachments (1)

trac_11320_deprecated_function_alias_in_cython.patch (1.0 KB) - added by vbraun 10 years ago.
Initial patch

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by vbraun

Initial patch

comment:1 Changed 10 years ago by vbraun

  • Cc fhivert burcin added
  • Status changed from new to needs_review

comment:2 Changed 10 years ago by mhansen

  • Reviewers set to Mike Hansen
  • Status changed from needs_review to positive_review

Looks good to me.

comment:3 Changed 10 years ago by jdemeyer

  • Merged in set to sage-4.7.1.alpha3
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.