Deprecation tweaks
authorPanu Matilainen <pmatilai@redhat.com>
Thu, 1 Oct 2009 12:12:06 +0000 (15:12 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Thu, 1 Oct 2009 12:12:06 +0000 (15:12 +0300)
commit9c88ea2c87b5d22026400fb19f064b7967aa4743
tree81f2870c718c744b12b149dd15befe13a144317f
parent8b704a6bf8ae2c5a922b54ff35c65525e93f0f1f
Deprecation tweaks
- use PyErr_WarnEx() for better control and leave the tracking up to python
- use PendingDeprecationWarning for now
- document the replacing functionality in the deprecation messages
- make hdr.sprintf() just an alias to hdr.format() without deprecating,
  at least for now it'd be only a gratuitous incompatible change on python side
python/header-py.c
python/header-py.h
python/rpmds-py.c
python/rpmmi-py.c
python/rpmts-py.c