[Qgis-developer] OpenLayers plugin release and Python API breaks

Jürgen E. Fischer jef at norbit.de
Thu Jan 24 04:54:53 PST 2013


Hi Pirmin,

On Thu, 24. Jan 2013 at 13:26:36 +0100, Pirmin Kalberer wrote:
> Where exactly is it marked as deprecated? At least not in the API docs [1]. 

Well, without an explicit comment that might not be too obvious in doxygen as
it only leaves the Q_DECL_DEPRECATED tag in front of the methods (eg.
addMapLayer in "Public Member Functions").

Now there's at least a warning in the message log, if you use something
deprecated.  Not sure that was also visible on stderr with Python <2.7.


> And the current PyQGIS cookbook shows it as an example [2].

That's probably out of sync at many other places too.


Jürgen

-- 
Jürgen E. Fischer         norBIT GmbH               Tel. +49-4931-918175-31
Dipl.-Inf. (FH)           Rheinstraße 13            Fax. +49-4931-918175-50
Software Engineer         D-26506 Norden               http://www.norbit.de
committ(ed|ing) to Quantum GIS                         IRC: jef on FreeNode                         

-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502



More information about the Qgis-developer mailing list