How to get only valid python package index

2019-09-23 Thread Vijay Kumar Kamannavar
Hellom As per https://pypi.org/simple/ we have ~2,00,000 packages. i feel there are lot of packages found to be dummy/Experimental. Where can we get the properly maintained package list for python? If not, atleast please let me know what kind of strategy i shoud use to decide whether package is v

Python Byte Code Hacking

2016-07-13 Thread Vijay Kumar
Hi Everyone, I wrote an article on Python byte code hacking. The article is available from http://www.bravegnu.org/blog/python-byte-code-hacks.html The article uses an incremental approach for explaining Python's code objects and how to modify them. Unfortunately, I am stuck with Python 2, beca

Re: best GUI library for vector drawing program

2007-08-20 Thread vijay . kumar . 75in
Hi All, Today I have downloaded a SWT Software which is great to its features. You can learn many GUI details out of it. The basic functionality is it lists IP Addresses of the remote PC's your system is accessing. You may find the project under sourceforge.net http://sourceforge.net/projects/ne

f->f_locals is NULL for a method call

2005-05-27 Thread Vijay Kumar
hi, I have written a trace function in C using the Python/C API. I want to find whether the call occured is a function call or method call and if a method call, its self object. int tracer(PyObject *obj, PyObject *f, int what, PyObject *args){ PyObject *item,*SelfItem; switch(what){ case PyTrace_

From the call hook, how do I know more precisely what is called?

2005-05-20 Thread Vijay Kumar
Hi, I wrote a trace function using the profiling and tracing hooks provided by the python interpreter. The Python interpreter reports the calls occuring in the source program to my trace function. How can I know whether the call happened is a function call or method call and if it is a method ca

how to get a function object from a frame object

2005-05-17 Thread Vijay Kumar
I have written a trace function and it recieves the current frame object from the interpreter. I want to know whether the event pertains to a class or method or function. I can only get a code object from this frame object but not a function object or class object. Please post if any body have