Y
Hacker News
new
|
ask
|
show
|
jobs
by
jwilk
2978 days ago
In Python 2, bytes can be coerced to unicode:
>>> b'egg' + u'spam' u'eggspam'
Unlike the example with bool+int, this can't be justified by LSP.