Message11673
When you print a Java map to the console the representation of strings looses the quotes e.g:
>>> str = 'hello world'
>>> str
'hello world' <<<<<<<<<<<<<<<< Has quotes
>>> from java.lang import String
>>> jstr = String('hello world')
>>> jstr
hello world <<<<<<<<<<<<<<<<<< Missing quotes?
>>> from java.util import HashMap
>>> hm = HashMap({'a': 1, 'b': 2, 'c': 3})
>>> hm
{a: 1, b: 2, c: 3} <<<<<<<<<<<<<<<<<< Missing quotes?
>>> m = {'a': 1, 'b': 2, 'c': 3}
>>> m
{'a': 1, 'b': 2, 'c': 3} <<<<<<<<<<<<<<<< Has quotes
I noticed this playing with maps but is this intended? |
|
Date |
User |
Action |
Args |
2017-11-22 18:51:10 | jamesmudd | set | recipients:
+ jamesmudd |
2017-11-22 18:51:09 | jamesmudd | set | messageid: <1511376669.83.0.213398074469.issue2644@psf.upfronthosting.co.za> |
2017-11-22 18:51:09 | jamesmudd | link | issue2644 messages |
2017-11-22 18:51:08 | jamesmudd | create | |
|