Guido van Rossum wrote:
> I don't think any of that is necessary. I would rather
have the
> following two in the language by default (see my
response to Terry and
> Raymond):
>
> bytes is an alias for str (not even a subclass)
> b"" is an alias for ""
Ah, you like to keep it simple. The aliases are easily to
implement.
Give me twenty minutes to implement it and write some unit
tests.
> There is only one thing I'd like -3 to warn about
regarding except
> clauses: if the 'err' variable is used past the end of
the except
> clause. That is a true semantic change that 2to3 cannot
easily fix or
> flag. Consider this an example of how 2to3 and -3
should augment each
> other.
Several warnings have to be removed: ``, callable and maybe
more.
Christian
_______________________________________________
Python-Dev mailing list
Python-Dev python.org
ht
tp://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/p
ython-dev/nessto%40sharedlog.com
|