[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2010-01-21 Thread Manuel Muradás
Manuel Muradás mmura...@dieresys.com.ar added the comment: Here is a patch for supporting MD5-sess, following RFC2617 specification. Some comments/warnings: * I've only tested the patch against IIS 6.0. I don't know about other servers supporting MD5-sess. * IIS 6.0 expects the User Agent

[issue7752] Add support for Digest authentication session (reuse nonces)

2010-01-21 Thread Manuel Muradás
New submission from Manuel Muradás mmura...@dieresys.com.ar: Description: As described in issue [2202], for each request we make, we get a new [401|407] message with a new nonce (depending if we're talking about a proxy with digest authentication or a web server). Then we generate another

[issue7570] Error in urllib2 example

2009-12-23 Thread Manuel Muradás
New submission from Manuel Muradás mmura...@dieresys.com.ar: We've found an error in an urllib2 example with Proxy Basic authentication. This is the example with the error: {{{ This example replaces the default ProxyHandler with one that uses programmatically-supplied proxy URLs, and adds proxy

[issue7291] urllib2 cannot handle https with proxy requiring auth

2009-12-23 Thread Manuel Muradás
Manuel Muradás mmura...@dieresys.com.ar added the comment: Hi! 2.6 backport is missing an argument in _set_tunnel definition. It should be: def _set_tunnel(self, host, port=None, headers=None): -- nosy: +dieresys ___ Python tracker rep

[issue7291] urllib2 cannot handle https with proxy requiring auth

2009-12-23 Thread Manuel Muradás
Manuel Muradás mmura...@dieresys.com.ar added the comment: The patch fixes only when you pass the authentication info in the proxy handler's URL. Like: proxy_handler = urllib2.ProxyHandler({'https': 'http://user:p...@proxy-example.com:3128/'}) But setting the authentication using

[issue3396] rlcompleter can't autocomplete members of callable objects

2008-07-17 Thread Manuel Muradás
Manuel Muradás [EMAIL PROTECTED] added the comment: Oops, you are right. If that is the way we should handle this regression, I could upload a patch. I also thought we could use hasattr, but that means using getattr twice. Something like: if word[:n] == attr and word != __builtins__ and hasattr

[issue449227] rlcompleter add ( to callables feature

2008-06-24 Thread Manuel Muradás
Manuel Muradás [EMAIL PROTECTED] added the comment: Guilherme, Thanks a lot for taking some time to review my patch. Here is a new version. Please take another look and tell me what do you think about it. Thanks again Added file: http://bugs.python.org/file10721/rlcompleter2.6.diff

[issue449227] rlcompleter add ( to callables feature

2008-06-24 Thread Manuel Muradás
Changes by Manuel Muradás [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file10714/rlcompleterAndDoc2.6.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue449227

[issue449227] rlcompleter add ( to callables feature

2008-06-23 Thread Manuel Muradás
Manuel Muradás [EMAIL PROTECTED] added the comment: I have also updated the rlcompleter documentation. Here is the complete patch. rlcompleterAndDoc2.6.diff -- nosy: +facundobatista Added file: http://bugs.python.org/file10714/rlcompleterAndDoc2.6.diff

[issue449227] rlcompleter add ( to callables feature

2008-06-23 Thread Manuel Muradás
Changes by Manuel Muradás [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file10695/rlcompleter2.6.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue449227

[issue1044479] docs for Py_UNICODE are wrong

2008-06-21 Thread Manuel Muradás
Manuel Muradás [EMAIL PROTECTED] added the comment: This looks fixed to me. The current documentation is much more clear. Look: http://docs.python.org/api/unicodeObjects.html -- nosy: +dieresys ___ Python tracker [EMAIL PROTECTED] http

[issue1044479] docs for Py_UNICODE are wrong

2008-06-21 Thread Manuel Muradás
Manuel Muradás [EMAIL PROTECTED] added the comment: This is the link to the current py_unicode documentation: http://docs.python.org/dev/c-api/unicode.html ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1044479

[issue449227] rlcompleter add ( to callables feature

2008-06-21 Thread Manuel Muradás
Manuel Muradás [EMAIL PROTECTED] added the comment: Here is a new patch against 2.6. -- nosy: +dieresys Added file: http://bugs.python.org/file10695/rlcompleter2.6.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue449227