Re: httplib incredibly slow :-(

2009-08-12 Thread Shailesh Kumar
Yes it includes libcurl. I didn't have to install it separately. I still continue to use Python 2.4. So cannot say about Python 2.6. - Shailesh On Wed, Aug 12, 2009 at 10:23 PM, Chris Withers wrote: > shaileshkumar wrote: > >> We use PyCURL on Windows. http://pycurl.sourcefo

Re: Wrapping methods of built-in dict

2009-06-02 Thread shailesh
On May 21, 10:13 pm, George Sakkis wrote: > On May 21, 5:55 pm, shailesh wrote: > > > There doesn't seem to be a predicate returning method wrappers. Is > > there an alternate way to query an object for attributes that are of > > method wrappers? > > Sure:&

Re: Wrapping methods of built-in dict

2009-05-21 Thread shailesh
On May 20, 7:31 pm, Steven D'Aprano wrote: > On Wed, 20 May 2009 18:42:38 -0700, shailesh wrote: > > The reason as far as I understand is that the methods on the built-in > > dict are not of MethodType or FunctionType > > That seems to be true: > > >>

Wrapping methods of built-in dict

2009-05-20 Thread shailesh
Hello, I'm trying to write a class decorator which takes a function as an argument and wraps instancemethods of the class with the function. After reading a few examples on ActiveState and this blog post , my first attempt goes something like this: def tracing_wrapper(fn): import functools

problem with gethostbyaddr with intranet addresses on MAC

2008-01-25 Thread shailesh
27;64.233.167.99']) >>> e = '192.168.4.123' >>> gethostbyaddr(e) Traceback (most recent call last): File "", line 1, in ? socket.herror: (1, 'Unknown host') >>> With regards, - Shailesh -- http://mail.python.org/mailman/listinfo/python-list

Re: Creating a custom python python distribution

2007-10-12 Thread shailesh
Thanx a lot for all the pointers. I will certainly check into them. I actually wanted to know how do people create their own Python distribution like ASPN's Python or Enthought's Python. With regards, - Shailesh On Oct 2, 12:33 pm, azrael <[EMAIL PROTECTED]> wrote: > Maybe y

Creating a custom python python distribution

2007-09-30 Thread shailesh
purpose. Could some one give an overview of what needs to be done for this purpose? With regards, -Shailesh -- http://mail.python.org/mailman/listinfo/python-list

how to check whether a drive is a network drive or drive from attached hard-disk

2007-03-28 Thread shailesh
Hi, Few very simple questions. Is there a way to detect whether a drive is a mapped network drive or not in Windows? Also, how can I get a list of drive letters currently in use in the system? Your help is highly appreciated. Thanks in advance. With regards, -Shailesh -- http