"John Hunter" <[EMAIL PROTECTED]> writes: > Michael: if you let me know better what this key is supposed to be > doing (can we not simply use the filename for windows?) then I can > attempt or test some fixes.
I seem to recall that there was some problem with case-insensitive file systems. On OS X os.path.realpath doesn't normalize case (some OS X file systems are case sensitive but the usual one is not): >>> os.path.realpath <function realpath at 0x474b0> >>> r=_ >>> r('/system/library/fonts/LucidaGrande.dfont') '/system/library/fonts/LucidaGrande.dfont' >>> r('/System/Library/Fonts/LucidaGrande.dfont') '/System/Library/Fonts/LucidaGrande.dfont' >>> s=os.stat >>> s('/system/library/fonts/LucidaGrande.dfont') (33188, 10369L, 234881026L, 1, 0, 0, 2295501L, 1206468480, 1191377895, 1194639447) >>> s('/System/Library/Fonts/LucidaGrande.dfont') (33188, 10369L, 234881026L, 1, 0, 0, 2295501L, 1206468480, 1191377895, 1194639447) Stat is a clever way of finding the "real identity" of the file on Unix-like systems. On Windows we clearly need something else... -- Jouni K. Seppänen http://www.iki.fi/jks ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users