Re: [Python-Dev] SoC proposal: multimedia library

2007-03-25 Thread Josiah Carlson
"Lino Mastrodomenico" <[EMAIL PROTECTED]> wrote: > Is there any interest in a library of this kind (inside or outside of > the stdlib)? For decoding, not many packages can currently match VLC. It has wrappers for most major GUI toolkits, and seems to be easily accessable via ctypes. There are al

Re: [Python-Dev] SoC proposal: multimedia library

2007-03-25 Thread Lino Mastrodomenico
2007/3/25, Terry Reedy <[EMAIL PROTECTED]>: > There is a Python wrapping of the cross-platform Simple Directmedia Library > (C) that is a major part of PyGame. Are you familiar with both and how > does your proposal improve on the current situation. Yes I know both Pygame and SMPEG (the SDL MPEG

[Python-Dev] HTTP responses and errors

2007-03-25 Thread Facundo Batista
urllib2.py, after receiving an HTTP response, decides if it was an error and raises an Exception, or it just returns the info. For example, you make ``urllib2.urlopen("http://www.google.com";)``. If you receive 200, it's ok; if you receive 500, you get an exception raised. How it decides? Functio