← Back to team overview

desktop-packages team mailing list archive

[Bug 104772] Re: Bug in the python console in gedit

 

that's fixed with python3 and the current version

** Changed in: gedit (Ubuntu)
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gedit in Ubuntu.
https://bugs.launchpad.net/bugs/104772

Title:
  Bug in the python console in gedit

Status in gedit:
  Fix Released
Status in gedit package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: gedit

  this is an interesting bug, it may be common to all gedit, I don't
  know.

  so if you type 1/2 in the console you get the return of:

  >>> 0

  now, if you then type from __future__ import division

  and then type 1/2 you still get:

  >>> 0

  this should not be happening. Try doing the same thing in command line
  python console or IDLE, or what have you.

  you should be getting 0.5, because you're changing the division type.

To manage notifications about this bug go to:
https://bugs.launchpad.net/gedit/+bug/104772/+subscriptions