On Sat, 27 Aug 2011 15:14:15 -0700
Dan Stromberg <drsali...@gmail.com> wrote:

> On Sat, Aug 27, 2011 at 2:38 PM, Nadeem Vawda <nadeem.va...@gmail.com>wrote:
> 
> > On Sat, Aug 27, 2011 at 10:41 PM, Dan Stromberg <drsali...@gmail.com>
> > wrote:
> > > It seems like there should be some way of coming up with an xml file
> > > describing the types of the various bits of data and formal arguments -
> > > perhaps using gccxml or something like it.
> >
> > The problem is that you would need to do this check at runtime, every time
> > you load up the library - otherwise, what happens if the user upgrades
> > their installed copy of liblzma? And we can't expect users to have the
> > liblzma headers installed, so we'd have to try and figure out whether the
> > library was ABI-compatible from the shared object alone; I doubt that this
> > is even possible.
> >
> 
> I was thinking about this as I was getting groceries a bit ago.
> 
> Why -can't- we expect the user to have liblzma headers installed?  Couldn't
> it just be a dependency in the package management system?

Package managers, under Linux, often split development files (headers,
etc.) from runtime binaries.
Also, under Windows, most users don't have development stuff installed
at all.

Regards

Antoine.
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to