[GRASS-dev] [GRASS GIS] #2288: Python3 compatibility: exception needs "as" keyword

GRASS GIS trac at osgeo.org
Sun May 11 08:47:56 PDT 2014


#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>



More information about the grass-dev mailing list