#3493: Compilation error with python 2.6 --------------------------+------------------------- Reporter: vesnikos | Owner: grass-dev@… Type: defect | Status: closed Priority: normal | Milestone: 7.4.1 Component: Compiling | Version: svn-trunk Resolution: fixed | Keywords: python CPU: Unspecified | Platform: Linux --------------------------+-------------------------
Comment (by wenzeslaus): Note that `sys.version_info.major` is at more places. `sys.version_info[0]` works all right in 3, but in general I'm not sure if we can maintain 2.6 compatibility while using 3 (https://docs.python.org/3/howto/pyporting.html#drop-support-for- python-2-6-and-older). -- Ticket URL: <https://trac.osgeo.org/grass/ticket/3493#comment:4> GRASS GIS <https://grass.osgeo.org>
_______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-dev