#2288: Python3 compatibility: exception needs "as" keyword
-------------------------+--------------------------------------------------
Reporter: neteler | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Python | Version: svn-releasebranch70
Keywords: python | Platform: Unspecified
Cpu: Unspecified |
-------------------------+--------------------------------------------------
In Python 3 exception objects are only available via the
"as" keyword, which was introduced in 2.6.
http://docs.pythonsprints.com/python3_porting/py-porting.html#exceptions
I have prepared two patches (relbr7 and trunk) which update all
existing Python files accordingly. Files attached for inspection.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2288>
GRASS GIS <http://grass.osgeo.org>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev