matplotlib's experiences porting to Python 3.

* Drop support for < 2.6 (master currently supports 2.4)

* Easy things (that 2to3 handles pretty well):

* 2to3 is slooooow

* Unicode

* Exceptions

  exceptions_found = []
  try:
      do_something()
  except Exception as e:
      exceptions_found.append(e)

Since e now has a traceback member, this creates a cycle e -> traceback -> current stack frame -> e. This cycle will keep alive all local variables in all frames beneath the source of the exception.

* C/C++ issues

PortingToPython3 (last edited 2011-03-23 01:50:02 by MichaelDroettboom)