Status of tests on Windows

Dominik Ruf dominikruf at gmail.com
Thu Mar 24 08:45:52 UTC 2016


> Yes, it relies on stdlib's mimetypes.guess_type(). On Windows it gives
> "text/plain" for .py.
> 
> My understanding is that this "text/plain" comes from Windows
> registry. This can be overridden
> by early call to mimetypes.init([]). Then we have "text/x-python" on
> Windows as well.
> It's hard for me to tell, though, whether it will fix or break things...
> 
Well, I think we could easily fix the test by calling .init and would not 
break anything.
But that would only fix the problem for .py files.
The question then is what types do we want to support here?
Do we want to maintain your own list of types?


> --
> Konstantin
> 
> >
> > /Mads
> _______________________________________________
> kallithea-general mailing list
> kallithea-general <at> sfconservancy.org
> http://lists.sfconservancy.org/mailman/listinfo/kallithea-general
> 






More information about the kallithea-general mailing list