[issue3765] [patch] allow mmap take file offset as argument

2008-09-03 Thread Christopher Li
New submission from Christopher Li <[EMAIL PROTECTED]>: The os.mmap function does not take file offset as requirement. As a result, if python want to mmap a piece of the file data at the very end of the file, it needs to mmap the every thing before that. Without offset argument, it is h

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2008-07-10 Thread Christopher Li
Christopher Li <[EMAIL PROTECTED]> added the comment: Hi, After a closer look of your testing program. I believe that your testing program is not correct. It might be the urllib way of doing things. But that is not the urllib2 way of doing it. You should add a proxy_handler rather than di

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2008-06-27 Thread Christopher Li
Christopher Li <[EMAIL PROTECTED]> added the comment: Hi NL, Can you please try this patch on top of the original patch? Thanks Chris --- .pc/fix-up/urllib2.py 2008-02-06 01:13:10.0 -0800 +++ urllib2.py 2008-06-27 15:45:34.0 -0700 @@ -253,7 +253,7 @@ class R

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2008-03-20 Thread Christopher Li
Christopher Li <[EMAIL PROTECTED]> added the comment: In cast it is not obvious. I already attached the purpose patch "http-tunnel-urllib" in the bug. _ Tracker <[EMAIL PROTECTED]> <http://bug

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2008-03-18 Thread Christopher Li
Christopher Li <[EMAIL PROTECTED]> added the comment: Hi, I am working on a patch to implement the https proxy support for urllib2. It works fine for me, but feel free to change the patch. Can any one take a look please? Thanks -- nosy: +chrisl Added file: http://bugs.pyth