1. Miks Kalniņš
  2. moin-2.0
  3. Issues
Issue #2 open

problematic usage of str.format()

Thomas Waldmann
created an issue

if you do "...".format(x), it will run into trouble when x is unicode (not str) and does not encode using the ascii encoder.

if this can happen, then one MUST use u"...".format(x).

(you are not alone with this, we had / have(?) a lot of such trouble in main repo also.)

Comments (4)

  1. Log in to comment