Thanks for pointing that out.  I made the changes for urlencode and also for urlparse.