Message7980
Ah, the use case -- I tried to run IPython (master) using the latest Jython. IPython seems to use this method somehow to parse/create its
fancy prompts for its REPL. They contain colour escapes and are
unicode strings. I hacked around this issue by force-coercing to
string -- this is surely not the correct way, tho.
--- string.py.orig 2013-03-25 08:59:17.000000000 +0100
+++ string.py 2013-03-25 08:59:29.000000000 +0100
@@ -618,7 +618,7 @@
# if field_name is not None, it is looked up, formatted
# with format_spec and conversion and then used
def parse(self, format_string):
- return format_string._formatter_parser()
+ return str(format_string)._formatter_parser()
# given a field_name, find the object it references. |
|
Date |
User |
Action |
Args |
2013-03-25 08:01:06 | seletz | set | messageid: <1364198466.64.0.0164467394744.issue2028@psf.upfronthosting.co.za> |
2013-03-25 08:01:06 | seletz | set | recipients:
+ seletz, fwierzbicki |
2013-03-25 08:01:06 | seletz | link | issue2028 messages |
2013-03-25 08:01:06 | seletz | create | |
|