Re: Recommended way to handle deprecation?
- From: James Henstridge <james daa com au>
- To: Andreas Rottmann <a rottmann gmx at>
- Cc: language-bindings gnome org
- Subject: Re: Recommended way to handle deprecation?
- Date: Thu, 01 Apr 2004 09:19:59 +0800
On 01/04/04 00:23, Andreas Rottmann wrote:
1) If you start a new binding of some lib, don't wrap deprectated stuff.
The rule isn't always that simple though. In GTK 2.0 and 2.2, GtkCombo
was non-deprecated but GtkList was deprecated. To use the GtkCombo, you
needed to manipulate the child GtkList. As a compromise, only the
GtkList constructor was set to raise a deprecation warning in PyGTK.
I don't think there are any cases like this in GTK 2.4, but they might
occur again.
James.
--
Email: james daa com au
WWW: http://www.daa.com.au/~james/
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]