homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vajrasky
Recipients mark.dickinson, meador.inge, serhiy.storchaka, vajrasky
Date 2013年12月15日.14:43:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1387118590.97.0.63853039761.issue19985@psf.upfronthosting.co.za>
In-reply-to
Content
Here is the patch to address Serhiy's request.
Hmmm, if string means both string and unicode in Python 2.7, should we fix these behaviours?
>>> import _csv
>>> _csv.register_dialect(2)
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
TypeError: dialect name must be a string or unicode
>>> ' cute cat '.strip(3)
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
TypeError: strip arg must be None, str or unicode
>>> import sqlite3
>>> conn = sqlite3.connect(':memory:')
>>> c = conn.cursor()
>>> c.execute(3)
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
ValueError: operation parameter must be str or unicode
History
Date User Action Args
2013年12月15日 14:43:11vajraskysetrecipients: + vajrasky, mark.dickinson, meador.inge, serhiy.storchaka
2013年12月15日 14:43:10vajraskysetmessageid: <1387118590.97.0.63853039761.issue19985@psf.upfronthosting.co.za>
2013年12月15日 14:43:10vajraskylinkissue19985 messages
2013年12月15日 14:43:10vajraskycreate

AltStyle によって変換されたページ (->オリジナル) /