Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #94703

Re: Python Questions - July 25, 2015

Path csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Rob Gaddi <rgaddi@technologyhighland.invalid>
Newsgroups comp.lang.python
Subject Re: Python Questions - July 25, 2015
Date Tue, 28 Jul 2015 18:46:30 +0000 (UTC)
Organization A noiseless patient Spider
Lines 29
Message-ID <mp8im6$knj$3@dont-email.me> (permalink)
References <jf6dnQiMOZ_GxC7InZ2dnUU7-S2dnZ2d@earthlink.com> <2adac4ce-976f-4a8a-849d-c76e484eba77@googlegroups.com> <WH4tx.31911$zk7.16739@fx26.am4> <mp6e1a$knj$1@dont-email.me> <mailman.1044.1438073468.3674.python-list@python.org> <ybItx.48040$vg2.2941@fx34.am4> <55b7a9f5$0$1668$c3e8da3$5496439d@news.astraweb.com> <jkOtx.42040$Ec3.13257@fx24.am4>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
Injection-Date Tue, 28 Jul 2015 18:46:30 +0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="04547d38cef46905d62dbfd151cc4bea"; logging-data="21235"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18G0J6MyajguCn4j9KmvPjh"
User-Agent Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2)
Cancel-Lock sha1:b4YbaiSMIf1YO/PT5YicGXVJ3uU=
Xref csiph.com comp.lang.python:94703

Show key headers only | View raw


On Tue, 28 Jul 2015 17:45:00 +0100, BartC wrote:

> On 28/07/2015 17:12, Steven D'Aprano wrote:
>> On Tue, 28 Jul 2015 07:46 pm, BartC wrote:
>>
>>> (I'm still reeling from the size of that Anaconda download. Apparently
>>> it contains a whole bunch of stuff, nothing to do with numpy, that I
>>> don't need. But one of the listed packages was 'libffi', which is
>>> puzzling. This library lets a C-like language call functions with
>>> runtime-determined argument types. How would that be used in Python?)
>>
>> https://en.wikipedia.org/wiki/Libffi
> 
> Yes, I know (I was looking at it myself a few days ago for another
> project). But while it might be used for implementing some of Python's
> internals, I was wondering what it was doing in a user-level set of
> libraries, given that it's mostly a bunch of C code.
> 
> Perhaps they were just padding the list to make it look more impressive.

It underpins the ctypes implementation, which is neither here nor there.

If I remember right, numpy does dynamic loading of one of a couple 
different (FORTRAN?) algebra libraries depending on which ones it can 
find installed.  That would be a pretty clear use case for libffi.

-- 
Rob Gaddi, Highland Technology -- www.highlandtechnology.com
Email address domain is currently out of order.  See above to fix.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Python Questions - July 25, 2015 "E.D.G." <edgrsprj@ix.netcom.com> - 2015-07-25 04:39 -0500
  Python Questions - July 25, 2015 tandrewjohnson@outlook.com - 2015-07-25 04:36 -0700
    Python Questions - July 25, 2015 tandrewjohnson@outlook.com - 2015-07-25 04:39 -0700
    Re: Python Questions - July 25, 2015 "E.D.G." <edgrsprj@ix.netcom.com> - 2015-07-25 08:16 -0500
      Re: Python Questions - July 25, 2015 Laura Creighton <lac@openend.se> - 2015-07-25 15:59 +0200
        Re: Python Questions - July 25, 2015 "E.D.G." <edgrsprj@ix.netcom.com> - 2015-07-26 12:49 -0500
          Re: Python Questions - July 25, 2015 Laura Creighton <lac@openend.se> - 2015-07-26 20:38 +0200
            Re: Python Questions - July 25, 2015 "E.D.G." <edgrsprj@ix.netcom.com> - 2015-07-26 13:48 -0500
    Re: Python Questions - July 25, 2015 BartC <bc@freeuk.com> - 2015-07-26 13:49 +0100
      Re: Python Questions - July 25, 2015 Chris Angelico <rosuav@gmail.com> - 2015-07-26 23:07 +1000
        Re: Python Questions - July 25, 2015 BartC <bc@freeuk.com> - 2015-07-26 15:30 +0100
      Re: Python Questions - July 25, 2015 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-07-26 14:19 +0100
      Re: Python Questions - July 25, 2015 Steven D'Aprano <steve@pearwood.info> - 2015-07-27 00:22 +1000
        Re: Python Questions - July 25, 2015 BartC <bc@freeuk.com> - 2015-07-26 15:58 +0100
      Re: Python Questions - July 25, 2015 Rob Gaddi <rgaddi@technologyhighland.invalid> - 2015-07-27 23:14 +0000
        Re: Python Questions - July 25, 2015 Terry Reedy <tjreedy@udel.edu> - 2015-07-28 04:50 -0400
          Re: Python Questions - July 25, 2015 BartC <bc@freeuk.com> - 2015-07-28 10:46 +0100
            Re: Python Questions - July 25, 2015 Chris Angelico <rosuav@gmail.com> - 2015-07-28 20:17 +1000
              Re: Python Questions - July 25, 2015 BartC <bc@freeuk.com> - 2015-07-28 11:44 +0100
                Re: Python Questions - July 25, 2015 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-07-28 13:47 +0100
                Re: Python Questions - July 25, 2015 Steven D'Aprano <steve@pearwood.info> - 2015-07-29 02:02 +1000
            Re: Python Questions - July 25, 2015 Steven D'Aprano <steve@pearwood.info> - 2015-07-29 02:12 +1000
              Re: Python Questions - July 25, 2015 BartC <bc@freeuk.com> - 2015-07-28 17:45 +0100
                Re: Python Questions - July 25, 2015 Rob Gaddi <rgaddi@technologyhighland.invalid> - 2015-07-28 18:46 +0000
                Re: Python Questions - July 25, 2015 Laura Creighton <lac@openend.se> - 2015-07-29 18:13 +0200
                Re: Python Questions - July 25, 2015 BartC <bc@freeuk.com> - 2015-07-29 17:50 +0100
          Re: Python Questions - July 25, 2015 wxjmfauth@gmail.com - 2015-07-28 07:09 -0700
        Re: Python Questions - July 25, 2015 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-07-28 13:58 +0100
  Re: Python Questions - July 25, 2015 Laura Creighton <lac@openend.se> - 2015-07-25 15:30 +0200
    Re: Python Questions - July 25, 2015 "E.D.G." <edgrsprj@ix.netcom.com> - 2015-07-25 08:45 -0500
  Re: Python Questions - July 25, 2015 tjohnson <tandrewjohnson@outlook.com> - 2015-07-25 15:16 -0700
  Re: Python Questions - July 25, 2015 "E.D.G." <edgrsprj@ix.netcom.com> - 2015-07-26 14:17 -0500
    Re: Python Questions - July 25, 2015 mm0fmf <none@mailinator.com> - 2015-07-26 22:15 +0100
      Re: Python Questions - July 25, 2015 "E.D.G." <edgrsprj@ix.netcom.com> - 2015-07-26 17:08 -0500
        Re: Python Questions - July 25, 2015 "E.D.G." <edgrsprj@ix.netcom.com> - 2015-07-26 17:32 -0500
      Re: Python Questions - July 25, 2015 Ned Batchelder <ned@nedbatchelder.com> - 2015-07-26 16:12 -0700
        Re: Python Questions - July 25, 2015 "E.D.G." <edgrsprj@ix.netcom.com> - 2015-07-26 18:58 -0500
          Re: Python Questions - July 25, 2015 Laura Creighton <lac@openend.se> - 2015-07-27 11:15 +0200
        Re: Python Questions - July 25, 2015 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-07-27 01:18 +0100
          Re: Python Questions - July 25, 2015 mm0fmf <none@mailinator.com> - 2015-07-27 17:46 +0100
    Re: Python Questions - July 25, 2015 tjohnson <tandrewjohnson@outlook.com> - 2015-07-27 03:24 -0700
      Re: Python Questions - July 25, 2015 wxjmfauth@gmail.com - 2015-07-29 00:43 -0700

csiph-web