A large number of methods and classes have been deprecated in FiPy for a long 
time and it's time to clean up the code. The 3.2 release of FiPy (hopefully 
coming soon) will be removing anything that was deprecated in FiPy 3.0 or 
earlier. This includes just about any method that starts with "get" or "set", 
archaic viewers using gist and gnuplot, and some old names for the Gmsh mesh 
classes. 

We flagged all of these items with DeprecationWarnings three years ago and our 
documentation has reflected that fact. Unfortunately, the Python development 
community made the decision in Python 2.7 and later "to silence warnings only 
of interest to developers by default", thus "preventing users from seeing 
warnings triggered by an application", c.f.

  
https://docs.python.org/2.7/whatsnew/2.7.html#changes-to-the-handling-of-deprecation-warnings

The issue is that FiPy's users are developers, but you haven't been seeing 
warnings that would have prompted you to shift your syntax to the newer forms, 
e.g.,

  DeprecationWarning: :func:`getCellVolumeAverage` is deprecated, use the 
:attr:`cellVolumeAverage` property instead!


To remedy this situation before the next FiPy release breaks your code, please 
run your scripts with the '-Wdefault' option:

  python -Wdefault some_fipy_script.py

in order to see what changes should be made.
_______________________________________________
fipy mailing list
[email protected]
http://www.ctcms.nist.gov/fipy
  [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]

Reply via email to