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

GRASS GIS trac at osgeo.org
Mon May 12 22:23:18 PDT 2014


#2288: Python3 compatibility changes
-------------------------+--------------------------------------------------
 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  |  
-------------------------+--------------------------------------------------

Comment(by neteler):

 Replying to [comment:1 glynn]:
 > Replying to [ticket:2288 neteler]:
 > > In Python 3 exception objects are only available via the "as" keyword,
 which was introduced in 2.6.
 >
 > We don't support anything earlier than 2.6, right?

 Right (as documented in REQUIREMENTS.html)

 > In that case, the changes appear to be fine.

 Submitted for relbr7 (r60217) and trunk (r60218).

 Since further changes (as mentioned in #comment1) are needed I generalize
 the ticket summary.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2288#comment:2>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list