diff options
| author | Chris McDonough <chrism@plope.com> | 2011-07-12 03:26:21 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-07-12 03:26:21 -0400 |
| commit | 7cf06765c863ec73adccc73cefcf7630b2020f21 (patch) | |
| tree | 369d2cbe96cda8bbd335cb36106bf92c85f8d0b7 | |
| parent | e4770d391bd87c5d6164affb1a2f79b77b35b58b (diff) | |
| download | pyramid-7cf06765c863ec73adccc73cefcf7630b2020f21.tar.gz pyramid-7cf06765c863ec73adccc73cefcf7630b2020f21.tar.bz2 pyramid-7cf06765c863ec73adccc73cefcf7630b2020f21.zip | |
warn about warnings in 2.7+
| -rw-r--r-- | docs/whatsnew-1.1.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/whatsnew-1.1.rst b/docs/whatsnew-1.1.rst index b249b0ba7..8cf6c715c 100644 --- a/docs/whatsnew-1.1.rst +++ b/docs/whatsnew-1.1.rst @@ -308,6 +308,15 @@ Backwards Incompatibilities Deprecations and Behavior Differences ------------------------------------- +.. note:: Under Python 2.7+, it's necessary to pass the Python interpreter + the correct warning flags to see deprecation warnings emitted by Pyramid + when porting your application from an older version of Pyramid. Use the + ``PYTHONWARNINGS`` environment variable with the value ``all`` in the + shell you use to invoke ``paster serve`` to see these warnings, e.g. on + UNIX, ``PYTHONWARNINGS=all bin/paster serve development.ini``. Python 2.5 + and 2.6 show deprecation warnings by default, so this is unecessary there. + All deprecation warnings are emitted to the console. + - The ``paster pshell``, ``paster proutes``, and ``paster pviews`` commands now take a single argument in the form ``/path/to/config.ini#sectionname`` rather than the previous 2-argument spelling ``/path/to/config.ini |
