gmr / pamqp

Low level AMQP frame encoding and decoding library
https://pamqp.readthedocs.io
BSD 3-Clause "New" or "Revised" License
50 stars 20 forks source link

Use warning.warn() instead of raising DeprecationWarning #12

Closed dzen closed 5 years ago

dzen commented 5 years ago

Hi,

Is it possible to warns for deprecation instead of raising an exception ? The method RecoverAsync is depreciated but should imho warns with warnings.warn() instead of raising a DeprecationWarning shouldn't it ?

dzen commented 5 years ago

Closed since https://github.com/gmr/pamqp/pull/13 is merged.