segmentation fault while using ctypes

2009-04-14 Thread sanket
if __name__ == __main__: main() == END OF PYTHON CODE == Thank you in advance, sanket -- http://mail.python.org/mailman/listinfo/python-list

Re: segmentation fault while using ctypes

2009-04-14 Thread sanket
On Apr 14, 4:00 pm, MRAB goo...@mrabarnett.plus.com wrote: sanket wrote: Hello All, I am dealing with this weird bug. I have a function in C and I have written python bindings for it using ctypes. I can call this function for couple of times and then suddenly it gives me seg fault

Re: segmentation fault while using ctypes

2009-04-14 Thread sanket
On Apr 14, 3:56 pm, Diez B. Roggisch de...@nospam.web.de wrote: sanket schrieb: Hello All, I am dealing with this weird bug. I have a function in C and I have written python bindings for it using ctypes. I can call this function for couple of times and then suddenly it gives me seg

Re: segmentation fault while using ctypes

2009-04-15 Thread sanket
On Apr 14, 9:00 pm, bieff...@gmail.com wrote: On Apr 15, 12:39 am, sanket sanket.s.pa...@gmail.com wrote: Hello All, I am dealing with this weird bug. I have a function in C and I have written python bindings for it using ctypes. I can call this function for couple of times

SimpleJson is slow .... is there any C Compiled version ?

2008-07-25 Thread sanket
database results in to json. So I was just wondering is there any C compiled version of simplejson is available? or any help regarding this issue would be appreciated. Thank you, Sanket -- http://mail.python.org/mailman/listinfo/python-list

Re: SimpleJson is slow .... is there any C Compiled version ?

2008-07-25 Thread sanket
On Jul 25, 5:52 pm, Matt Nordhoff [EMAIL PROTECTED] wrote: sanket wrote: Hello All, I have created an API which fetches some data from the database. I am using simplejson to encode it and return it back. Now the problem is that, this API is being called for millions of times

how to convert pymedia.audio.acodec ACString to ctypes.c_char_p

2008-12-19 Thread sanket
# TypeError: string or integer address expected instead of ACString instance # */ I am getting error while converting r.data (which is ACstring object) in to ctypes.c_char_p. can you help me solving this problem? any help would be appericiated, Thank you, sanket -- http://mail.python.org

how to spawn a process under different user

2009-07-02 Thread sanket
, sanket -- http://mail.python.org/mailman/listinfo/python-list

Re: how to spawn a process under different user

2009-07-02 Thread sanket
On Jul 2, 1:58 pm, Tim Golden m...@timgolden.me.uk wrote: sanket wrote: Hello All, I am trying to use python's subprocess module to launch a process. but in order to do that I have to change the user. I am not getting any clue how to do that? so can anyone please tell me How can I

[issue30922] Process in not get killed using subprocess.call() in python thread

2017-07-13 Thread Sanket
Sanket added the comment: Can i get solution here -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30922> ___ ___ Python-bugs-list

[issue30921] Process in not get killed using subprocess.call() in python thread

2017-07-13 Thread Sanket
Changes by Sanket <sanky8...@gmail.com>: -- nosy: +lars.gustaebel, lemburg, pedronis ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue30921] Process in not get killed using subprocess.call() in python thread

2017-07-13 Thread Sanket
Changes by Sanket <sanky8...@gmail.com>: -- nosy: +djc, gvanrossum -sanky8793 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue30921] Process in not get killed using subprocess.call() in python thread

2017-07-13 Thread Sanket
New submission from Sanket: import threading import subprocess def B(): while True: break cmd="ps -ef | grep 'shell' | awk '{print $2}' | xargs kill -9" subprocess.call(cmd, shell=True) def A(): th = threading.Thread(target=B) th.start() In above code

[issue30921] Process in not get killed using subprocess.call() in python thread

2017-07-13 Thread Sanket
Changes by Sanket <sanky8...@gmail.com>: -- nosy: +terry.reedy ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30921> ___ __

[issue30922] Process in not get killed using subprocess.call() in python thread

2017-07-13 Thread Sanket
New submission from Sanket: import threading import subprocess def B(): while True: break cmd="ps -ef | grep 'shell' | awk '{print $2}' | xargs kill -9" subprocess.call(cmd, shell=True) def A(): th = threading.Thread(target=B) th.start() In above code

[issue39365] Support (SEEK_END/SEEK_CUR) relative seeking in StringIO

2020-01-19 Thread sanket
sanket added the comment: can you provide more details? Python version and code/steps to reproduce. That'd be more helpful as it seems the methods are already implemented in latest version https://docs.python.org/3/library/io.html#io.TextIOBase.seek -- nosy: +sanketplus

[issue21056] csv documentation is incorrect

2017-02-13 Thread Sanket Dasgupta
Sanket Dasgupta added the comment: Hi, I am looking to fix this bug. So as per the discussion, should I remove the documentation of __next__() ? -- nosy: +sanketdg ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue30085] Discourage operator.__dunder__ functions

2017-04-21 Thread Sanket Dasgupta
Sanket Dasgupta added the comment: @terry, I have updated the same, thanks! -- nosy: +sanketdg ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue30085] Discourage operator.__dunder__ functions

2017-04-18 Thread Sanket Dasgupta
Changes by Sanket Dasgupta <sanketdasgu...@gmail.com>: -- pull_requests: +1301 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue41540] Test test_maxcontext_exact_arith (_decimal) consumes all memory on AIX

2020-08-13 Thread Sanket Rathi
Change by Sanket Rathi : -- nosy: +sanket ___ Python tracker <https://bugs.python.org/issue41540> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38628] Issue with ctypes in AIX

2020-08-04 Thread Sanket Rathi
Change by Sanket Rathi : -- nosy: +sanket ___ Python tracker <https://bugs.python.org/issue38628> ___ ___ Python-bugs-list mailing list Unsubscribe: