EV added the comment:
I have an issue with the assumption that if all parameters are forced to be
prepended by -- instead of only one dash, that you would then convert the -- to
a single dash and have issues with single-dashed strings, when all other
parameters are dual-dashed
New submission from Ev Kontsevoy eugu...@gmail.com:
When calling connection.iterdump() on a database with non-ASCII string values,
the following exception is raised:
File /python-2.7.3/lib/python2.7/sqlite3/dump.py, line 56, in _iterdump
Changes by Ev Kontsevoy eugu...@gmail.com:
--
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15109
___
___
Python-bugs-list
Ev Kontsevoy eugu...@gmail.com added the comment:
Proposed fix:
maybe
yield(u%s; % row[0])
or simply
row[0] + ;?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15109
Ev Kontsevoy eugu...@gmail.com added the comment:
If the behavior of string.format() can be fixed to act identically to u%s %
that would be simply wonderful!
Currently at work we have a rule in place: to never use string.format() since
it cannot be used for anything but constants due
Ev Kontsevoy eugu...@gmail.com added the comment:
I am attaching death.py file which dies on string.format()
The stack trace above is at the full depth. Python doesn't print anything from
inside of format().
--
Added file: http://bugs.python.org/file26057/death.py
New submission from ev e...@ubuntu.com:
Ran coverage.py and noticed that writelines had no coverage in tempfile, so I
added it in.
--
components: Tests
files: test_tempfile_writelines.patch
keywords: patch
messages: 130778
nosy: brian.curtin, ev, georg.brandl
priority: normal
severity