module case bug in 1.6a2 Win9x

Robin Becker robin at jessikat.demon.co.uk
Thu Apr 27 20:33:08 CEST 2000


In article <390873A2.BD0EF60F at endea.demon.nl>, Niels Diepeveen
<niels at endea.demon.nl> writes
>
>
>Robin Becker schreef:
>> 
>> I believe there's a module case bug with long named modules under win98
>> at least. I believe the bug relates to the length of the filename
>> somehow.
>> 
>
>Yes, that looks like a bug in import.c:allcaps8x3(). It seems to return
>true instead of false for long filenames. As far as I can tell, this
>probably happens on all Win32 platforms at least since 1.5.2.
>
It seems a bit odd that allcaps83 returns 1 if the first chunk is longer
than 8 or the extension is longer than 3 or there are more than one '.'
in the name doesn't it. I guess all of these return 1's should be return
0's except the last.
-- 
Robin Becker



More information about the Python-list mailing list