in python it returns float while in python2 it returns int, may break some assumption when dealing with pids multiplied by 1000.
rm@montag:~$ python
Python 2.7.3rc2 (default, Apr 22 2012, 22:35:38)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
1000 / 1
1000
1000 / 1
KeyboardInterrupt
rm@montag:~$ python3.2
Python 3.2.3rc2 (default, Mar 21 2012, 06:59:51)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
1000 / 1
1000.0
in python it returns float while in python2 it returns int, may break some assumption when dealing with pids multiplied by 1000.
rm@montag:~$ python Python 2.7.3rc2 (default, Apr 22 2012, 22:35:38) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information.