[New-bugs-announce] [issue1303] adapt str8 constructor to bytes constructor

Georg Brandl report at bugs.python.org
Sat Oct 20 00:44:50 CEST 2007


New submission from Georg Brandl:

This makes the str8 constructor accept the same kinds of types as the
bytes constructor. I had to fix instances of str8("abc") to str8(b"abc")
to make tests pass again. The only remaining failure should be test_str
-- the string test suite must be thoroughly redesigned to fit all three
string-like types.

----------
assignee: gvanrossum
components: Interpreter Core
files: str_constructor.diff
keywords: py3k
messages: 56572
nosy: georg.brandl, gvanrossum
severity: normal
status: open
title: adapt str8 constructor to bytes constructor
versions: Python 3.0
Added file: http://bugs.python.org/file8570/str_constructor.diff

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1303>
__________________________________
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: str_constructor.diff
Url: http://mail.python.org/pipermail/new-bugs-announce/attachments/20071019/6836c4fe/attachment.txt 


More information about the New-bugs-announce mailing list