Error with adding interpreter of Python 3.x

Bug #817515 reported by (BBk)Blade
This bug report is a duplicate of:  Bug #716377: Can't launch python 3.2. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DreamPie
New
Undecided
Unassigned

Bug Description

In DreamPie in path <DreamPie_dir>\share\dreampie there are file subp_main.py. In it there are an instruction
 sys.setdefaultencoding('utf-8')
But in Python3 setdefaulencoding() was removed, that's why interpreter of Python3 couldn't be add.
The decision:
instead of
 sys.setdefaultencoding('utf-8')

we may use

try:
 sys.setdefaultencoding('utf-8')
except:
 pass

That's all.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.