← Back to team overview

openerp-india team mailing list archive

[Bug 1052392] Re: [trunk] [wishlist] use DeprecationWarnings to tag deprecated classes / methods / parameters

 

I just linked 3 branches to this wishlist bug report:

* https://code.launchpad.net/~c2c/openobject-server/trunk-deprecate-osv_osv : this branch implements the change described in the report
* https://code.launchpad.net/~c2c/openobject-addons/trunk-proposed-cleanups
* https://code.launchpad.net/~c2c/openobject-server/trunk-proposed-cleanups : these two branches remove  the deprecation warnings caused by creating models by subclassing osv.osv and such.

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1052392

Title:
  [trunk] [wishlist] use DeprecationWarnings to tag deprecated classes /
  methods / parameters

Status in OpenERP Server:
  In Progress

Bug description:
  The Python standard library provides the ability to warn the
  developpers of deprecated features through the use of the warnings
  module and the DeprecationWarning and PendingDeprecationWarning
  classes.

  The openerp framework should use these to flag deprecated classes,
  methods and method parameters.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1052392/+subscriptions


References