User Tools

Site Tools


catalis_con_python_2.3

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
catalis_con_python_2.3 [20/05/2009 19:13]
fernando
catalis_con_python_2.3 [23/05/2009 00:00] (current)
Line 33: Line 33:
 **[[http://​docs.python.org/​whatsnew/​2.5.html|What'​s New in Python 2.5]]** **[[http://​docs.python.org/​whatsnew/​2.5.html|What'​s New in Python 2.5]]**
  
-    ​* Conditional Expressions:​ x = true_value if condition else false_value +  ​* Conditional Expressions:​ x = true_value if condition else false_value 
-    * Unified try/​except/​finally +  * Unified try/​except/​finally 
-    * Exceptions as New-Style Classes +  * Exceptions as New-Style Classes 
-    * sqlite3 package+  * sqlite3 package ​=> para versiones anteriores, hay que instalar ''​python-pysqlite2''​
     ​     ​
 Más detalles: http://​docs.python.org/​whatsnew/​2.5.html#​other-lang Más detalles: http://​docs.python.org/​whatsnew/​2.5.html#​other-lang
 +
 +  * The list of base classes in a class definition can now be empty. As an example, this is now legal:
 +
 +  class C():
 +      pass
 +
 +En versiones anteriores, debemos usar:
 +
 +  class C:
 +      pass
  
  
 {{tag>​catalis desarrollo python}} {{tag>​catalis desarrollo python}}
catalis_con_python_2.3.txt · Last modified: 23/05/2009 00:00 (external edit)