Skip to content

A couple fixes to the deprecated decorator#2811

Merged
embray merged 2 commits into
astropy:masterfrom
embray:deprecation-fixes
Aug 4, 2014
Merged

A couple fixes to the deprecated decorator#2811
embray merged 2 commits into
astropy:masterfrom
embray:deprecation-fixes

Conversation

@embray

@embray embray commented Aug 1, 2014

Copy link
Copy Markdown
Member
  1. staticmethods were not fully supported (they receive the same treatment as classmethods)
  2. the full message for deprecation warnings was not being displayed; I think this was just due to some code rot that hung around after deprecated was refactored to support class decoration

…ere the full deprecation message was not being displayed
@embray embray added Bug labels Aug 1, 2014
@embray embray added this to the v0.4.1 milestone Aug 1, 2014
embray added a commit that referenced this pull request Aug 4, 2014
A couple fixes to the deprecated decorator
@embray embray merged commit e586d8d into astropy:master Aug 4, 2014
@embray embray deleted the deprecation-fixes branch August 4, 2014 14:11
embray added a commit to embray/astropy that referenced this pull request Aug 4, 2014
…methods and classmethods after reports that it didn't work on Python 2.6
@embray embray mentioned this pull request Aug 4, 2014
embray added a commit that referenced this pull request Aug 4, 2014
embray added a commit that referenced this pull request Aug 6, 2014
A couple fixes to the deprecated decorator
embray added a commit that referenced this pull request Aug 6, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant