[Python-3000] Release Countdown
"Martin v. Löwis"
martin at v.loewis.de
Sat Sep 1 00:34:10 CEST 2007
>> Yuck, yuck about the source file encoding part. Also, there is no way
>> to tell that a particular argument was passed a literal.
>
> There is when compiling to bytecode; it goes in co_consts.
>
>> The very
>> definition of "this was a literal" is iffy -- is x a literal when
>> passed to f below?
>
>> x = "abc"
>> f(x)
>
> No, it isn't.
By that definition, bytes never receives a constant.
Regards,
Martin
More information about the Python-3000
mailing list