summaryrefslogtreecommitdiff
path: root/sqlparse/engine
diff options
context:
space:
mode:
authorOleg Broytman <phd@phdru.name>2016-08-31 16:10:35 +0300
committerOleg Broytman <phd@phdru.name>2016-08-31 16:11:22 +0300
commit843499915e91e0ee324a0407c78ac6f570806370 (patch)
treecda75d04543a02e20bf04ab01c8dfc5e670a269d /sqlparse/engine
parentb05bc5ab586cb06d89c38e2eee7f77e1d3fc03c5 (diff)
downloadsqlparse-843499915e91e0ee324a0407c78ac6f570806370.tar.gz
Decode bytes to unicode in Lexer.get_tokens().
Raise TypeError if the input is neither bytes in a known encoding nor unicode nor a file-like object (file, StringIO). Remove function u(). Add bytes_type to compat. Add tests for non-ascii.
Diffstat (limited to 'sqlparse/engine')
0 files changed, 0 insertions, 0 deletions