On 23/10/2025 14:09, Even Rouault wrote:
Ok, if whether its me const_casting or GDAL, this does not change the
basic problem:
Is incrementing the reference counter of a const object an
allowed operation?
I'd say, if we were purely pedantic, no, but we might decide to
derogate from that, with warnings in the documentation. I'm still
undecided about the best course of action. I guess I'll talk about
that in the maintainer meeting in a few miutes.
What do the Python bindings do when retrieving the SRS of a Dataset? Can
the user keep this object beyond the lifetime of the Dataset?
--
Momtchil Momtchev <[email protected]>
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev