Changeset 3446:79cfc39e3bd9 in livinglogic.python.xist

Show
Ignore:
Timestamp:
07/04/08 14:28:33 (11 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Add a FIXME comment.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/ll/ul4c.py

    r3445 r3446  
    21232123    if isinstance(obj, datetime.datetime): 
    21242124        if "%f" in format: 
    2125             format = format.replace("%f", "%06d" % obj.microsecond) # FIXME: This would replace "%%f", which is wrong (wait for Python 2.6?) 
    2126         return obj.strftime(format.encode("utf-8")) 
     2125            format = format.replace("%f", "%06d" % obj.microsecond) # FIXME: This would replace "%%f", which is wrong (wait for Python 2.6) 
     2126        return obj.strftime(format.encode("utf-8")) # FIXME: We shouldn't have to encode the format string (wait for Python 3.0) 
    21272127    elif obj is None or isinstance(obj, (int, long, float, str, unicode)): 
    21282128        from ll import stringformat