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. This is
Ev Kontsevoy 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/dea
Ev Kontsevoy 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 const
Ev Kontsevoy added the comment:
Proposed fix:
maybe
yield(u"%s;" % row[0])
or simply
row[0] + ";"?
--
___
Python tracker
<http://bug
Changes by Ev Kontsevoy :
--
type: -> behavior
___
Python tracker
<http://bugs.python.org/issue15109>
___
___
Python-bugs-list mailing list
Unsubscri
New submission from Ev Kontsevoy :
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
New submission from ev :
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: normal
status