Changes between Initial Version and Version 1 of Ticket #28414, comment 98
- Timestamp:
- 09/24/19 11:43:14 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #28414, comment 98
initial v1 22 22 }}} 23 23 Aha! For some silly reason, we have `str == unicode`!! 24 25 EDIT: The above was printed like this: 26 {{{ 27 #!python 28 if (2, 8) > sys.version_info and isinstance(root, unicode): 29 print("Critical bug in python.") 30 print("kwds.get('root', COHO.workspace) is %r"%type(kwds.get('root', COHO.workspace))) 31 print("COHO.workspace is %r"%type(COHO.workspace)) 32 print("str=%r, unicode=%r"%(str,unicode)) 33 raise RuntimeError("An explicit cast to <str> resulted in a unicode object") 34 }}}