[issue9334] argparse does not accept options taking arguments beginning with dash (regression from optparse)

2018-07-30 Thread EV
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

[issue15109] sqlite3.Connection.iterdump() dies with encoding exception

2012-06-19 Thread Ev Kontsevoy
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

[issue15109] sqlite3.Connection.iterdump() dies with encoding exception

2012-06-19 Thread Ev Kontsevoy
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

[issue15109] sqlite3.Connection.iterdump() dies with encoding exception

2012-06-19 Thread Ev Kontsevoy
Ev Kontsevoy added the comment: Proposed fix: maybe yield(u"%s;" % row[0]) or simply row[0] + ";"? -- ___ Python tracker <http://bug

[issue15109] sqlite3.Connection.iterdump() dies with encoding exception

2012-06-19 Thread Ev Kontsevoy
Changes by Ev Kontsevoy : -- type: -> behavior ___ Python tracker <http://bugs.python.org/issue15109> ___ ___ Python-bugs-list mailing list Unsubscri

[issue15109] sqlite3.Connection.iterdump() dies with encoding exception

2012-06-19 Thread Ev Kontsevoy
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

[issue11488] Add writelines test coverage in tempfile

2011-03-13 Thread ev
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