[Python-Dev] status of development documentation

Neal Norwitz nnorwitz at gmail.com
Sat Dec 24 17:40:10 CET 2005


On 12/24/05, Tim Peters <tim.peters at gmail.com> wrote:
> You're asking a Windows guy about make: bad career move ;-)

:-)

> -uall is helpful in finding bugs. One thing in particular here is
> that test_compiler runs only a tiny subset of its full test unless an
> appropriate -u flag is given.

Not to mention networking tests.
> >> The code up to the first failure is short:
> >>
> >> bom = '\xef\xbb\xbf'
> >> compile(bom + 'print 1\n', '', 'exec')

> That sets `a` to point at the start of the string, `b` to point at the
> second character, and returns type==51. Then `len` is set to 1,
> `str` is malloc'ed to hold 2 bytes, and `str` is filled in with
> "\xef\x00" (the first byte of the input, as a NUL-terminated C
> string).

This gives me an idea (ie, wild ass guess). r39680 checked in on
2005年10月06日 to speed up unicode charmap decoding. Dunno if it's likely
or not. Gotta run, I'm headed east. Good luck.
Merry Christmas and Happy New Year everyone!
n


More information about the Python-Dev mailing list

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