[Python-ideas] win32 extensions

Michael Foord fuzzyman at gmail.com
Sat Sep 17 13:26:10 CEST 2011


On 17 September 2011 07:30, Cesare Di Mauro <cesare.di.mauro at gmail.com>wrote:

> 2011/9/16 Matt Joiner <anacrolix at gmail.com>
>
>> Well technically not. KDE mostly supplements Qt, A few objects here and
>> there make use of some Qt features. The gobject, glib combination are bound
>> up in numerous low level system services and supplementary libraries that
>> have nothing to do do with GUIs, even I think on a KDE system.
>>
>> That said, if system GUI capable APIs are to be exposed on the standard
>> library, those should be Win32, Cocoa, and GTK+
>>
> And .NET too, since it's a Windows technology which you'll find on any
> Windows >= Vista (but also installable on XP).
>
> It doesn't mean that we necessarily need to wrap every single win32 and/or
> .NET API into a Python package on the stdlib.
>
> ctypes is useful to access whatever you want (win32 and any DLL, OS X
> dynamic libraries, Linux .so).
>
> Python for .NET can do the same for .NET, and is small enough to be made
> available on the stdlib. I think that something similar can be provided for
> OS X and Linux through Mono.
>
>

Python.NET is basically unmaintained, and requires very specialised
knowledge to develop. I don't think it's in a position to move it into the
standard library. For accessing .NET from Python IronPython is a much better
alternative (with caveats about the use of C extensions that apply to any of
the alternative implementations).

All the best,

Michael



> Regards,
> Cesare
>
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> http://mail.python.org/mailman/listinfo/python-ideas
>
>


-- 

http://www.voidspace.org.uk/

May you do good and not evil
May you find forgiveness for yourself and forgive others
May you share freely, never taking more than you give.
-- the sqlite blessing http://www.sqlite.org/different.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20110917/3ab909af/attachment.html>


More information about the Python-ideas mailing list