[Scipy-tickets] [SciPy] #1211: KeyError: Wien = _cd('Wien displacement law constant') in constants.constants

SciPy Trac scipy-tickets@scipy....
Sat Jun 26 18:39:50 CDT 2010


#1211: KeyError: Wien = _cd('Wien displacement law constant') in
constants.constants
-------------------------------------+--------------------------------------
 Reporter:  vincentdavis             |       Owner:  somebody
     Type:  defect                   |      Status:  new     
 Priority:  normal                   |   Milestone:  0.8.0   
Component:  Other                    |     Version:  devel   
 Keywords:  constants, wien, codata  |  
-------------------------------------+--------------------------------------

Comment(by vincentdavis):

 I got little/no feedback when I questioned how to go about deprecating the
 2002 constants "codata.py". There are many name changes many because
 additional values have been added as in this case (Freq., Wave length)

 If we are going to provide a deprecation to the 2002 values I propose
 adding back the 2002 values, and adding a deprecation waring. Then adding
 an option e.g.
 value(key) > value(key, 2006=false)
 and then change this to 2006=true at some point in the future.

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1211#comment:2>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list