Re: Recommended way to handle deprecation?
James Henstridge <[email protected]>
| Newsgroups | gmane.comp.gnome.language-bindings |
|---|---|
| Message-ID | <[email protected]> |
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: [email protected] WWW: http://www.daa.com.au/~james/ _______________________________________________ language-bindings mailing list [email protected] http://mail.gnome.org/mailman/listinfo/language-bindings