Changes between Version 1 and Version 2 of Ticket #2873, comment 7
- Timestamp:
- 01/25/16 03:14:34 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2873, comment 7
v1 v2 1 1 I think that the scope of this proposal is very wide. IMHO importing dynamic libraries in a cross platform way and providing an official API are different issues. 2 2 3 WRT to providing an official API for working with GRASS Locations / Mapsets I believe that the proper python idiom is to use a [https://pymotw.com/2/contextlib/index.html#module-contextlib| context manager]. In other words, the user should not have to do anything E.g.:3 WRT to providing an official API for working with GRASS Locations / Mapsets I believe that the proper python idiom is to use a [https://pymotw.com/2/contextlib/index.html#module-contextlib| context manager]. In other words, the user should not have to do anything when exiting E.g.: 4 4 5 5 {{{#!python