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


Groups > comp.lang.python > #94965

Re: how to determine for using c extension or not ?

Date 2015-08-04 22:59 +0900
From umedoblock <umedoblock@gmail.com>
Subject Re: how to determine for using c extension or not ?
References (1 earlier) <55bf6e6f$0$1650$c3e8da3$5496439d@news.astraweb.com> <55BF7457.8030704@gmail.com> <CAPM-O+wFC3jQzs6hzoK+PrypbYsubTwToVg43zjk_qPhR4T6fQ@mail.gmail.com> <55BF8154.2030705@gmail.com> <CAHVvXxQWKh59hcrF-yV4t2HTtVMvmF6Zzw=7j0wSNigOArKGvQ@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1214.1438696775.3674.python-list@python.org> (permalink)

Show all headers | View raw


On 2015年08月04日 00:05, Oscar Benjamin wrote:
> On Mon, 3 Aug 2015 at 15:58 umedoblock <umedoblock@gmail.com
> <mailto:umedoblock@gmail.com>> wrote:
>
>
>     I use "bisect.bisect.__module__" sentence to determine for using c
>     extension or not.
>
>
> Why do you want to know if it uses the C extension? It shouldn't really
> matter.

I wrote some C accelerator.
I sometimes want to know that python3.x in another machine use C 
accelerator or not.

Because if python3.x doesn't use C acc, I shuold make C acc for another 
machine.
Therefore I'd like to determine for using C acc or not.
And I want to know that another machine use C acc or not to use a simple 
script.

But I had felt not good idea about my way to use id().
So I ask this mailing list.

>
> --
> Oscar

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


Thread

how to determine for using c extension or not ? umedoblock <umedoblock@gmail.com> - 2015-08-03 14:47 +0900
  Re: how to determine for using c extension or not ? Steven D'Aprano <steve@pearwood.info> - 2015-08-03 23:36 +1000
    Re: how to determine for using c extension or not ? umedoblock <umedoblock@gmail.com> - 2015-08-03 23:01 +0900
    Re: how to determine for using c extension or not ? Joel Goldstick <joel.goldstick@gmail.com> - 2015-08-03 10:11 -0400
    Re: how to determine for using c extension or not ? umedoblock <umedoblock@gmail.com> - 2015-08-03 23:57 +0900
    Re: how to determine for using c extension or not ? Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2015-08-03 15:05 +0000
    Re: how to determine for using c extension or not ? umedoblock <umedoblock@gmail.com> - 2015-08-04 22:59 +0900

csiph-web