[Bugs] #2537 UNSP: Calculate doesn't accept ", " as a decimal separator when set to Spanish locale
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Sat Jan 1 16:50:52 EST 2011
#2537: Calculate doesn't accept "," as a decimal separator when set to Spanish
locale
------------------------------------------+---------------------------------
Reporter: garycmartin | Owner: rwh
Type: defect | Status: new
Priority: Unspecified by Maintainer | Milestone: Unspecified by Release Team
Component: Calculate | Version: Unspecified
Severity: Unspecified | Keywords:
Status_field: Unconfirmed | Distribution: Unspecified
Seeta_dev: |
------------------------------------------+---------------------------------
Comment(by walter):
Python 2.7 seems to behave differently than Python 2.6. My previous patch
with one slight change will fix most of the problems, but I will add glue
to detect which version Python is being used.
The change to the early patch is to change \d* to \d+, thus requiring a
digit after the fraction-separator character in order to invoke the
substitution.
Patch forthcoming.
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/2537#comment:10>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list