[issue5125] Strange locale problem with Python 3

2010-02-20 Thread Reto Schüttel
Reto Schüttel added the comment: Hey Mark, Stefan I've got the example working again with 3.1 and it appears like the behaviour has been reverted to the pre-3.0 days. So the problem is fixed for me :)! with 3.1 (and 2.6) atof only accepts a '.' as a decimal delimiter, reg

[issue5125] Strange locale problem with Python 3

2009-02-01 Thread Reto Schüttel
New submission from Reto Schüttel : Hi While helping Brandon Rhodes to port PyEphem[1] to Python 3 we struggled over a strange locale-related problem on OS X. PyEphem is a library which can do astronomical computations like tracking the position of stars, planets and earth satellites relative

[issue2734] 2to3 converts long(itude) argument to int

2008-12-10 Thread Reto Schüttel
Reto Schüttel <[EMAIL PROTECTED]> added the comment: This is even worse in case of attributes (like in pyephem for the observer object): class Foo(object): def __init__(self): self.long = 1 x = Foo() print x.long 2to3 produces: --- attr.py (or