<br><div class="gmail_quote">On Sat, Aug 27, 2011 at 3:26 PM, Antoine Pitrou <span dir="ltr">&lt;<a href="mailto:solipsis@pitrou.net">solipsis@pitrou.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
On Sat, 27 Aug 2011 15:14:15 -0700<br>
<div class="im">Dan Stromberg &lt;<a href="mailto:drsalists@gmail.com">drsalists@gmail.com</a>&gt; wrote:<br>
<br>
&gt; On Sat, Aug 27, 2011 at 2:38 PM, Nadeem Vawda &lt;<a href="mailto:nadeem.vawda@gmail.com">nadeem.vawda@gmail.com</a>&gt;wrote:<br>
&gt;<br>
&gt; &gt; On Sat, Aug 27, 2011 at 10:41 PM, Dan Stromberg &lt;<a href="mailto:drsalists@gmail.com">drsalists@gmail.com</a>&gt;<br>
&gt; &gt; wrote:<br>
&gt; &gt; &gt; It seems like there should be some way of coming up with an xml file<br>
&gt; &gt; &gt; describing the types of the various bits of data and formal arguments -<br>
&gt; &gt; &gt; perhaps using gccxml or something like it.<br>
&gt; &gt;<br>
&gt; &gt; The problem is that you would need to do this check at runtime, every time<br>
&gt; &gt; you load up the library - otherwise, what happens if the user upgrades<br>
&gt; &gt; their installed copy of liblzma? And we can&#39;t expect users to have the<br>
&gt; &gt; liblzma headers installed, so we&#39;d have to try and figure out whether the<br>
&gt; &gt; library was ABI-compatible from the shared object alone; I doubt that this<br>
&gt; &gt; is even possible.<br>
&gt; &gt;<br>
&gt;<br>
&gt; I was thinking about this as I was getting groceries a bit ago.<br>
&gt;<br>
&gt; Why -can&#39;t- we expect the user to have liblzma headers installed?  Couldn&#39;t<br>
&gt; it just be a dependency in the package management system?<br>
<br>
</div>Package managers, under Linux, often split development files (headers,<br>
etc.) from runtime binaries.<br></blockquote><div><br>Well, uhhhhh, yeah.  Not sure what your point is.<br>1) We could easily work with the dev / nondev distinction by taking a dependency on the -dev version of whatever we need, instead of the nondev version.<br>
2) It&#39;s a rather arbitrary distinction that&#39;s being drawn between dev and nondev today.  There&#39;s no particular reason why the line couldn&#39;t be drawn somewhere else.<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

Also, under Windows, most users don&#39;t have development stuff installed<br>
at all.<br></blockquote><div>Yes...  But if the nature of &quot;what development stuff is&quot; were to change, they&#39;d have different stuff.<br><br>Also, we wouldn&#39;t have to parse the .h&#39;s every time a module is loaded - we could have a timestamp file (or database) indicating when we last parsed a given .h.<br>
<br>Also, we could query the package management system for the version of lzma that&#39;s currently installed on module init.<br><br>Also, we could include our own version of lzma.  Granted, this was a mess when zlib needed to be patched, but even this one might be worth it for the improved library unification across Python implementations.<br>
<br><br><br></div></div>