[issue4079] new urllib2.Request 'timeout' attribute needs to have a default

2013-07-22 Thread Indra Talip
Indra Talip added the comment: patch adds regressions tests to ensure timeout value from OpenerDirector is honoured and a failing test for a default value for Request.timeout that passes when the patch that initialises Request.timeout is applied. -- Added file: http://bugs.python.org

[issue4079] new urllib2.Request 'timeout' attribute needs to have a default

2013-07-26 Thread Indra Talip
Indra Talip added the comment: Ah sorry you are right the tests didn't test the specific case of someone overriding the OpenerDirector. The intent was to demonstrate that adding a default timeout to Request didn't break things. I think you are right about how much of an issue this is. I agree

[issue15494] Move test/support.py into a test.support subpackage

2013-07-07 Thread Indra Talip
Indra Talip added the comment: as per Nick's direction the attached patch moves test/support.py to test/support/__init__.py and includes small fixes for some of the tests that break as a consequence. -- keywords: +patch nosy: +italip Added file: http://bugs.python.org/file30850

[issue15415] Add temp_dir() and change_cwd() to test.support

2013-07-08 Thread Indra Talip
Indra Talip added the comment: cleaning up patch so that it will apply cleanly after applying patch from issue15494 -- nosy: +italip Added file: http://bugs.python.org/file30858/issue-15415-4.patch ___ Python tracker rep...@bugs.python.org http

[issue15403] Refactor package creation support code into a common location

2013-07-08 Thread Indra Talip
Indra Talip added the comment: updated patch to apply on top of patch from issue15494 -- nosy: +italip Added file: http://bugs.python.org/file30870/issue-15403-3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15403

[issue4079] new urllib2.Request 'timeout' attribute needs to have a default

2013-07-08 Thread Indra Talip
Indra Talip added the comment: patch initializes the 'timeout' attribute on urllib2.Request.__init__() -- keywords: +patch nosy: +italip versions: +Python 3.4 -Python 2.6 Added file: http://bugs.python.org/file30873/issue-4079-1.patch ___ Python

[issue4079] new urllib2.Request 'timeout' attribute needs to have a default

2013-07-10 Thread Indra Talip
Changes by Indra Talip indra.ta...@gmail.com: -- nosy: +ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4079 ___ ___ Python-bugs-list

[issue28009] core logic of uuid.getnode() is broken for netstat

2019-02-14 Thread Indra Talip
Indra Talip added the comment: The current code and proposed changes use 'netstat -ia' to find the node however if netstat needs to perform a reverse DNS query to resolve some interfaces this makes using uuid1 *really* slow especially when reverse DNS queries aren't set up correctly