Re: [GENERAL] Pl/Python error when import "from __future__"

2011-03-31 Thread Marco Colombo
On 03/31/2011 09:58 PM, Davi Duarte wrote: Hello, I'm using PL/Python in PostegreSQL 9.0.3 and Python 2.6.5, I want to use a feature of Python 3, Python have an option to import a module from future version of Python. In my case, I want to use the Python 3 division module, because it returns a

[GENERAL] Pl/Python error when import "from __future__"

2011-03-31 Thread Davi Duarte
Hello, I'm using PL/Python in PostegreSQL 9.0.3 and Python 2.6.5, I want to use a feature of Python 3, Python have an option to import a module from future version of Python. In my case, I want to use the Python 3 division module, because it returns a float division of integers by defaut, whi