[python] odlisne chovani v ruznych verzich - zpetna kompatibilita?
    Jan Fuchs 
    fuky na sunstel.asu.cas.cz
       
    Středa Únor  3 14:07:05 CET 2010
    
    
  
Zdravím,
python2.5 už hlásí:
     Warning: 'with' will become a reserved keyword in Python 2.6
http://docs.python.org/reference/compound_stmts.html#with
Note: In Python 2.5, the with statement is only allowed when the
with_statement feature has been enabled. It is always enabled in Python
2.6.
         S pozdravem Jan Fuchs
> line 1404
>    def with(object, **args):
>           ^
> SyntaxError: invalid syntax
--
/**************************************************************
*   _    Žádný program není bezchybný, dokonalý ani nejlepší, *
*  °v°   to samé platí i o lidech a nejen o nich.             *
* /(_)\                                      -- Jan Fuchs --  *
*  ^ ^                                                        *
*        http://www.fuky.org   Jabber: jan.fuchs.cz na gmail.com *
**************************************************************/
    
    
Další informace o konferenci Python