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

2015-08-04 Thread umedoblock
On 2015年08月04日 00:05, Oscar Benjamin wrote: On Mon, 3 Aug 2015 at 15:58 umedoblock mailto:umedobl...@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

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

2015-08-04 Thread umedoblock
On 2015年08月04日 03:11, Terry Reedy wrote: Posting three times under two different names is not polite. Please to not repeat. sorry... You should not care. If you think there is an undocumented difference in behavior, ask here if it is a bug. I don't think a bug in this question. I expe

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

2015-08-03 Thread umedoblock
__ return different results. they are '_bisect' and 'bisect'. I know that c extension document recomended us to use _ for c extension name prefix. I use "bisect.bisect.__module__" sentence to determine for using c extension or not. thanks. On 2015年08月03日 23:11,

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

2015-08-03 Thread umedoblock
, 3 Aug 2015 03:47 pm, umedoblock wrote: Hello everyone. I use bisect module. You asked the same question FOUR times. Have patience. Your question goes all over the world, people may be asleep, or working, or just not know the answer. If you ask a question, and get no answers, you should wait a

how to determine for using c extension or not ?

2015-08-03 Thread umedoblock
Hello everyone. I use bisect module. bisect module developer give us c extension as _bisect. If Python3.3 use _bisect, _bisect override his functions in bisect.py. now, I use id() function to determine for using c extension or not. >>> import bisect >>> id(bisect.bisect) 139679893708880 >>> imp

how to determine for using c extension or not ?

2015-08-03 Thread umedoblock
Hello everyone. I use bisect module. bisect module developer give us c extension as _bisect. If Python3.3 use _bisect, _bisect override his functions in bisect.py. now, I use id() function to determine for using c extension or not. >>> >>> import bisect >>> >>> id(bisect.bisect) 139679893708880

how to determine for using c extension or not ?

2015-08-02 Thread umedoblock
Hello everyone. I use bisect module. bisect module developer give us c extension as _bisect. If Python3.3 use _bisect, _bisect override his functions in bisect.py. now, I use id() function to determine for using c extension or not. >>> import bisect >>> id(bisect.bisect) 139679893708880 >>> imp

How do I call super() in c extention ?

2012-01-26 Thread umedoblock
Hi, nice to meet you, everyone. I'm umedoblock. I'd like to call super() in c extension. I'd like to rewrite class Baa as c extension. Please see below code. Now, I can make super object. But I cannot understand how to use super_init(), super_descr_get() and super_getattro(). Ple