Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#7346 closed defect (fixed)

Python bindings do not properly handle locale specific floats from backend socket

Reported by: Raymond Wagner <raymond@…> Owned by: Anduin Withers
Priority: minor Milestone: 0.22
Component: Bindings - Python Version: 0.22rc1
Severity: high Keywords:
Cc: Ticket locked: no

Description

What the summary says. References:
https://bugs.edge.launchpad.net/ubuntu/+source/mythplugins/+bug/452790

getLoad(), and the entire Program class, will not function in any locale that uses ',' and the divider in floats.

Attachments (1)

pyth.locale.patch (1.5 KB) - added by Raymond Wagner <raymond@…> 15 years ago.

Download all attachments as: .zip

Change History (3)

Changed 15 years ago by Raymond Wagner <raymond@…>

Attachment: pyth.locale.patch added

comment:1 Changed 15 years ago by robertm

Resolution: fixed
Status: newclosed

(In [22510]) Fix #7346. Fix python binding issues (seen in Jamu) when locale floating point numbers were returned with comma seperators.

comment:2 Changed 15 years ago by robertm

(In [22511]) Refs #7346. Backport fix for python binding issues (seen in Jamu) when locale floating point numbers were returned with comma seperators. Patch by Raymond Wagner, who has my thanks.

Note: See TracTickets for help on using tickets.