Announcement: AsyncSocket module

2005-04-14 Thread Josh Close
I wrote an asynchronous socket module because asyncore and asynchat
didn't quite fit my needs. AsyncSocket has support for connection and
read/write timeouts. It is currently only supported in linux.

It's been stable for me in all my uses so far. I'd like people to give
it a try and let me know what they think, and any bugs that are found.

https://sourceforge.net/projects/asyncsocket/

Thanks.

-Josh
--
http://mail.python.org/mailman/listinfo/python-list


re behaving strangely

2005-06-09 Thread Josh Close
This is not returning a match

re.compile( r'b' ).search( 'back', re.I )

Anyone know why this is?

-- 
-Josh
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: re behaving strangely

2005-06-09 Thread Josh Close
Thanks for pointing out my utter stupidity :)

It's been a long day.

-Josh

On 6/9/05, Peter Hansen <[EMAIL PROTECTED]> wrote:
> Josh Close wrote:
> > This is not returning a match
> >
> > re.compile( r'b' ).search( 'back', re.I )
> >
> > Anyone know why this is?
> 
> Yes:
>  >>> import re
>  >>> re.compile(r'b').search('back', re.I)
>  >>> re.compile(r'b').search('back')
> <_sre.SRE_Match object at 0x00AF3D78>
>  >>> re.compile(r'b', re.I).search('back')
> <_sre.SRE_Match object at 0x00AF3CD0>
>  >>> re.compile(r'b', re.I).search('KCAB')
> <_sre.SRE_Match object at 0x00AF3DB0>
> 
> :-)
> 
> -Peter
> --
> http://mail.python.org/mailman/listinfo/python-list
> 


-- 
-Josh
-- 
http://mail.python.org/mailman/listinfo/python-list