[issue8883] Proxy exception lookup fails on MacOS in urllib.

2010-06-27 Thread Ronald Oussoren
Ronald Oussoren added the comment: Committed the patch with some minor modifications in r82284 (2.7), r82285 (2.6), r82286 (3.2), r82287 (3.1) -- resolution: -> fixed stage: -> committed/rejected status: open -> closed type: crash -> behavior ___

[issue8883] Proxy exception lookup fails on MacOS in urllib.

2010-06-03 Thread Yuriy Taraday
Yuriy Taraday added the comment: I'm completely lost 2.7 tree in svn. My last post was about 3.1.2 release. As I understand, System Configuration framework is being used since 2.6.5 and 3.2. So, this bug is about all this versions. -- versions: +Python 2.7, Python 3.2

[issue8883] Proxy exception lookup fails on MacOS in urllib.

2010-06-03 Thread Ronald Oussoren
Ronald Oussoren added the comment: 2.7 and 3.x use the SystemConfiguration framework (through the _scproxy extension) -- ___ Python tracker ___ _

[issue8883] Proxy exception lookup fails on MacOS in urllib.

2010-06-03 Thread Yuriy Taraday
Yuriy Taraday added the comment: The strange thing is that in both 2.7 and 3.1 branches there is no such code at all. Inernet Config is used there without mentioning any exceptions despite the fact that ic module is marked as deprecated and proxy bypass is real. -- __

[issue8883] Proxy exception lookup fails on MacOS in urllib.

2010-06-03 Thread Ronald Oussoren
Ronald Oussoren added the comment: Patchs looks file, although the 'None' branch might be a bit too fancy. I haven't found a spec either, and therefore your code is probably the safest way to deduce a mask. -- assignee: -> ronaldoussoren nosy: +ronaldoussoren ___

[issue8883] Proxy exception lookup fails on MacOS in urllib.

2010-06-03 Thread Yuriy Taraday
New submission from Yuriy Taraday : I have straight IP in my proxy exception list like "192.168.0.2" without mask specification. The proxy_bypass_macosx_sysconf function verifies each item in this list by regexp r"(\d+(?:\.\d+)*)(/\d+)?" that produces two groups: IP and mask. The mask can be