[issue17483] Can not tell urlopen not to check the hostname for https connections.

2013-04-01 Thread Senthil Kumaran
Senthil Kumaran added the comment: Antoine - I approached it from idea that check_hostname "as a setting" is allowed from HTTPSConnection (http/client.py) but it not controllable from urllib. Is there a case where it is useful in HTTPSConnection, but it should not be from urllib?

[issue17483] Can not tell urlopen not to check the hostname for https connections.

2013-04-01 Thread Senthil Kumaran
Senthil Kumaran added the comment: > HTTPSConnection is lower-level, so it makes sense to allow more > deviations there. That's why HTTPSConnection also takes the context > directly. That's okay of an explanation. HTTPSHandler in urllib module provides an option to send

[issue14679] Define an __all__ for html.parser

2013-04-01 Thread Senthil Kumaran
Senthil Kumaran added the comment: I think, HTMLParseError should also be defined __all__ (all also servers as what public classes/methods to look for sometimes and sets some expectation while reading the code.) There is no deprecation warning added in the class here. -- nosy

[issue17614] IDLE - quickly closing a large file triggers a traceback

2013-04-01 Thread Senthil Kumaran
Senthil Kumaran added the comment: Is there a better way to reproduce the error in the first place. On 2.7 tip, ./python -m idelib.idle Opened and closed bigfile.py and decimal.py - and could not reproduce the error. If I could, I could have tested the patch. -- nosy: +orsenthil

[issue17613] IDLE "AttributeError: 'NoneType' object has no attribute 'index'" from Delegator.py

2013-04-01 Thread Senthil Kumaran
Senthil Kumaran added the comment: I dont have ActiveState TCL, but I could use IDLE with the default libs with my Macbook Pro (OS X10.7), followed the steps given to reproduce the error and unfortunately could not. -- nosy: +orsenthil ___ Python

[issue5609] Create Unit Tests for nturl2path module

2013-04-03 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for the patch and test coverage. LGTM. I shall verify further and commit it. -- assignee: -> orsenthil nosy: +orsenthil ___ Python tracker <http://bugs.python.org/iss

[issue17483] Can not tell urlopen not to check the hostname for https connections.

2013-04-03 Thread Senthil Kumaran
Senthil Kumaran added the comment: I shall do it. Just for keeping it clean and it may help when future patches can be merged across branches cleanly. There is no loss IMO. -- ___ Python tracker <http://bugs.python.org/issue17

[issue17648] test_urllib2 convert doctests to unittest

2013-04-06 Thread Senthil Kumaran
New submission from Senthil Kumaran: Sometime back during an IRC conversation we realized that converting test_urllib2 doctests to proper unittest may help in various ways. a) Improve coverage report (?) Know what is covered and not. b) Helps expand it further when new features are added

[issue17648] test_urllib2 convert doctests to unittest

2013-04-08 Thread Senthil Kumaran
Senthil Kumaran added the comment: I have pushed the changes since they are restricted to test files. If there are review comments, I shall do make the changes. I shall consider to to make 3.3 tests close to default branch ones so that fixes can be backported. (Leaving the bug open for that

[issue6640] urlparse should parse mailto: URL headers as query parameters

2013-04-08 Thread Senthil Kumaran
Senthil Kumaran added the comment: RFC3986 bears the weightage since urlparse aims to satisfy that. As per that, mailto should return the url as path, and current urlparse behaves properly. $ ./python.exe Python 3.4.0a0 (default:50164abbfc98+, Apr 8 2013, 22:19:34) [GCC 4.2.1 (Apple Inc

[issue6640] urlparse should parse mailto: URL headers as query parameters

2013-04-08 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- resolution: fixed -> invalid ___ Python tracker <http://bugs.python.org/issue6640> ___ ___ Python-bugs-list mailing list Un

[issue17648] test_urllib2 convert doctests to unittest

2013-04-09 Thread Senthil Kumaran
Senthil Kumaran added the comment: Changed in active branches (3.3 and default). -- status: open -> closed ___ Python tracker <http://bugs.python.org/issu

[issue17648] test_urllib2 convert doctests to unittest

2013-04-09 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- versions: +Python 3.3 ___ Python tracker <http://bugs.python.org/issue17648> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17678] DeprecationWarning fix on cookiejar module since Python 3.3

2013-04-09 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for the patch. Realized that is_third_party method does not have test coverage. Hence this was not detected by our test runs. Increasing the coverage may be a TODO. -- assignee: -> orsenthil nosy: +orsenthil resolution: -> fixed

[issue17536] update browser list with additional browser names

2013-04-09 Thread Senthil Kumaran
Senthil Kumaran added the comment: Doko: I am not strongly against the 2.7 patch. Given the last point you made providing the context from BDFL and also some of Eric's points, going ahead with your 2.7 patch seems OK to me. So +1 -- ___ P

[issue5609] Create Unit Tests for nturl2path module

2013-04-10 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed type: -> behavior ___ Python tracker <http://bugs.pytho

[issue900112] cgi.fieldStorage doesn't grok standards env. variables

2013-04-11 Thread Senthil Kumaran
Senthil Kumaran added the comment: Incidentally I was looking at this bug in the morning and it looks like this one is on the edge. Looks like we may not need the functionality as provided by the patch. The existing headers are set in "FieldStorage" for use within the FieldStorage

[issue16658] Missing "return" in HTTPConnection.send()

2013-04-12 Thread Senthil Kumaran
Senthil Kumaran added the comment: Andrew - Please go ahead with commit. I reviewed the patch and it looks good to me as well. It is a bug so it should be backported. Thanks for the patch and a good test, Jeff Knupp. Agree with your reasoning / lack of documentation on send behavior w.r.t to

[issue900112] cgi.fieldStorage doesn't grok standards env. variables

2013-04-12 Thread Senthil Kumaran
Senthil Kumaran added the comment: I am closing this as an Invalid issue. Please bring to discussion at python-dev if someone disagrees. Thank you! -- resolution: -> invalid status: open -> closed ___ Python tracker <http://bugs.p

[issue17665] convert test_wsgiref to idiomatic unittest code

2013-04-12 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: -> orsenthil nosy: +orsenthil ___ Python tracker <http://bugs.python.org/issue17665> ___ ___ Python-bugs-list mai

[issue4140] urllib2: request with digest auth through proxy fail

2013-04-17 Thread Senthil Kumaran
Senthil Kumaran added the comment: Yes, RFC specifically states that "The absoluteURI form is REQUIRED when the request is being made to a proxy." Thanks Jessica for making a note of that. Closing this issue as Invalid. -- dependencies: -urllib2 fails against IIS 6.0 (No s

[issue16942] urllib still doesn't support persistent connections

2013-04-20 Thread Senthil Kumaran
Senthil Kumaran added the comment: Agree with Demian Brecht. This issue is being closed in when two issues cover the requirements discussed here. * issue# 16901 - For Enhancing FileCookieJar * issue# 9740 - For supporting persistant HTTP 1.1 connections. (:-( on me) -- nosy

[issue17403] Robotparser fails to parse some robots.txt

2013-04-22 Thread Senthil Kumaran
Senthil Kumaran added the comment: My suggestion for this issue is going ahead with patch2 of Mher. It does a simple normalization and does the right thing. The case in the question is an empty query string and behavior or Allow and Disallow for that and patch addresses that. (I don't

[issue17831] urllib.URLopener.open breaks ActiveDirectory user

2013-04-24 Thread Senthil Kumaran
Senthil Kumaran added the comment: Can you give the full snippet that you are trying. I assume you are using urllib2? Also If you give the same URL to your other clients like browser, does the resolution happen properly? -- nosy: +orsenthil

[issue17272] request.full_url: unexpected results on assignment

2013-04-25 Thread Senthil Kumaran
Senthil Kumaran added the comment: I have committed the first patch which makes Request.full_url a descriptor. As I was looking at the changes to be introduced by second patch, I noticed that we do not have comprehensive test coverage for .full_url public attribute. All the tests are testing

[issue1722] Undocumented urllib functions

2013-05-02 Thread Senthil Kumaran
Senthil Kumaran added the comment: I had added a note in the documentation c3656dca65e7 conveying that splittype, splithost should not be relied upon, and urlparse should be used for parsing. Also, Python3 does not include these in __all__ - It is in Python2 for backwards compatibility

[issue17977] urllib.request.urlopen() cadefault argument is documented with wrong default value

2013-05-14 Thread Senthil Kumaran
Senthil Kumaran added the comment: OMG. That's a glaring mistake. Thanks for fixing it. -- nosy: +orsenthil ___ Python tracker <http://bugs.python.org/is

[issue17967] urllib2.open failed to access a url when a perent directory of the url is permission denied

2013-05-21 Thread Senthil Kumaran
Senthil Kumaran added the comment: Hello zhaoqifa, Your suggestion for the solution looks good to me. Instead of cd-ing to each dir, you cd to target dir when ftp url is accessed. Two things to consider. 1) Will the above change have any security implications. It does not seem to me. But I

[issue18007] CookieJar expects request objects with origin_req_host attribute instead of method

2013-05-21 Thread Senthil Kumaran
Senthil Kumaran added the comment: Hello Simon, Thanks for bringing this to attention. Since get_origin_req_host has been under deprecation was a release, I thought it was safe to remove that. Agree that documentation of "cookiejar" methods, which had a dependency on the change s

[issue17272] request.full_url: unexpected results on assignment

2013-05-22 Thread Senthil Kumaran
Senthil Kumaran added the comment: Here is patch with tests and docs. I see no changes to opener is required and the selector which is sent to HTTP request is the correct one. I have added tests for redirect url with #fragment too (For testing scenario reported in Issue 8280). I shall close

[issue18007] CookieJar expects request objects with origin_req_host attribute instead of method

2013-05-23 Thread Senthil Kumaran
Senthil Kumaran added the comment: This change is documented. Thanks for the report. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue17272] request.full_url: unexpected results on assignment

2013-05-24 Thread Senthil Kumaran
Senthil Kumaran added the comment: This is fixed in 3.4. I dont think backporting is a good idea just to support assignment to .full_url. Thinking of this further, the idea of reusing request by assigning to .full_url may not be a good idea, because if you set .full_url to a completely

[issue22891] code removal from urllib.parse.urlsplit()

2014-11-17 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for filing this. Does test cases pass after removal of those lines? (I will be surprised) and if the tests fail, then after analyzing it, this could only be considered a new change (thus change to made in latest python) in order not to break

[issue23150] urllib parse incorrect handing of params

2015-01-02 Thread Senthil Kumaran
Senthil Kumaran added the comment: Hello Julian, Can you please provide a test case of this parsing misbehavior? It might be easier to identify with the testcase. Better yet, the patch changing the parsing logic will help identify if we are dealing with any regression. Thanks

[issue23150] urllib parse incorrect handing of params

2015-01-03 Thread Senthil Kumaran
Senthil Kumaran added the comment: On Saturday, January 3, 2015 at 12:46 AM, Julian Reschke wrote: > An example URI for this issue is: > > http://example.com/; > > The RFC 3986 path component for this URI is "/;". I think, a stronger argument might be desirable (so

[issue7665] test_urllib2 and test_ntpath fail if path contains "\"

2015-01-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: I reviewed the patch Serhiy. It looks good to me, You can go ahead and commit. Thanks! -- assignee: orsenthil -> serhiy.storchaka ___ Python tracker <http://bugs.python.org/iss

[issue23300] httplib is using a method that doesn't exist

2015-01-22 Thread Senthil Kumaran
Senthil Kumaran added the comment: Ouch. Will fix this today. Strange, I think, no coverage exists for that and it has escaped our testing. -- assignee: -> orsenthil ___ Python tracker <http://bugs.python.org/issu

[issue23300] httplib is using a method that doesn't exist

2015-01-22 Thread Senthil Kumaran
Senthil Kumaran added the comment: Demian, sure, will do. -- ___ Python tracker <http://bugs.python.org/issue23300> ___ ___ Python-bugs-list mailing list Unsub

[issue23300] httplib is using a method that doesn't exist

2015-01-22 Thread Senthil Kumaran
Senthil Kumaran added the comment: Nikolaus, nothing might be required from your end. Just a good protocol to keep the interested parties in CC. -- ___ Python tracker <http://bugs.python.org/issue23

[issue23300] httplib is using a method that doesn't exist

2015-01-23 Thread Senthil Kumaran
Senthil Kumaran added the comment: Here is the patch to fix this. I have added a test case covering this change. Please review this and if it is good to go, I will commit it. Thank you. -- keywords: +patch stage: needs patch -> patch review Added file: http://bugs.python.org/file37

[issue23300] httplib is using a method that doesn't exist

2015-01-23 Thread Senthil Kumaran
Senthil Kumaran added the comment: Addressed Berker's review comments. 1) Made the TestServer a Mixin. (Thanks, that's the correct to do). 2) Changed Post to Port. 3) I went with still using a testdomain and port in the constructor. My idea of the test is to demonstrate that the co

[issue23300] httplib is using a method that doesn't exist

2015-01-24 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed in 2.7. Other versions do not have this bug. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue23300] httplib is using a method that doesn't exist

2015-01-24 Thread Senthil Kumaran
Senthil Kumaran added the comment: > Would porting the tests be useful, though? Yes, it will be useful to port the tests to 3.4 and default branch. I will do that. -- status: closed -> open ___ Python tracker <http://bugs.python.org/i

[issue23300] httplib is using a method that doesn't exist

2015-01-24 Thread Senthil Kumaran
Senthil Kumaran added the comment: Actually, the same tests cannot be ported to 3.4 or default. httplib.HTTP class has been merged to HTTPConnection in 3.x and we don't allow a host, and port in connect(). There is good test coverage for verifying host, port in test_hort_port test in

[issue23300] httplib is using a method that doesn't exist

2015-01-24 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for the review comments. Updated the patch with the suggested changes. -- Added file: http://bugs.python.org/file37844/23300-3.3-v2.patch ___ Python tracker <http://bugs.python.org/issue23

[issue23300] httplib is using a method that doesn't exist

2015-01-24 Thread Senthil Kumaran
Senthil Kumaran added the comment: Committed the test changes in fcab9c106f2f (3.4) and a858cde113f2 (3.5) -- status: open -> closed ___ Python tracker <http://bugs.python.org/issu

[issue23328] urllib2 fails for proxy credentials that contain a '/' character

2015-01-27 Thread Senthil Kumaran
Senthil Kumaran added the comment: Yup, can confirm that this is problem. As Andy recognized, there is parsing error that fails on '/' character in the password. The environ based proxies are used by urllib rather than urllib2. (The test case if relies on environ proxy,

[issue23334] http.client refactor

2015-01-27 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- nosy: +orsenthil ___ Python tracker <http://bugs.python.org/issue23334> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23411] Update urllib.parse.__all__

2015-02-08 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for the tests. Reviewed the patch and looks good to me. -- nosy: +orsenthil stage: -> commit review ___ Python tracker <http://bugs.python.org/issu

[issue23328] urllib2 fails for proxy credentials that contain a '/' character

2015-02-09 Thread Senthil Kumaran
Senthil Kumaran added the comment: In the initial report, I thought, it was mentioned that curl reads the same http_proxy variable properly. It will be good to have a correct curl test case to ascertain that. But, at all the places, where @ character is allowed in urls (netrc, git configs

[issue24453] A typo of doubled "the" words in the doc (easy fix)

2015-06-14 Thread Senthil Kumaran
Senthil Kumaran added the comment: The default version was fixed in issue21528, changeset db302b88fdb6. perhaps it simply needs to be backported. -- nosy: +orsenthil ___ Python tracker <http://bugs.python.org/issue24

[issue25917] Fixing howto links in docs

2016-01-01 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for the helpful, patch. I modified it to include only the faq.rst and functions.rst and applied it. -- assignee: docs@python -> orsenthil nosy: +orsenthil stage: patch review -> resolved status: open -&g

[issue21221] Minor struct_time documentation bug

2016-01-03 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: docs@python -> orsenthil nosy: +orsenthil resolution: -> fixed status: open -> closed versions: +Python 3.6 ___ Python tracker <http://bugs.python.or

[issue24898] Documentation for str.find() is confusing

2016-01-03 Thread Senthil Kumaran
Senthil Kumaran added the comment: Updated the docs as per Georg's suggestion. Thank you Ted Lemon for bringing this up. -- assignee: docs@python -> orsenthil nosy: +orsenthil resolution: -> fixed stage: needs patch -> resolved status: open -> closed vers

[issue25641] urllib/request.py/getproxies_environment() throws "dictionary changed size during iteration" error occasionally

2016-01-03 Thread Senthil Kumaran
Senthil Kumaran added the comment: os.environ is never changed by getproxies_environment() Like Martin Panter, I will curious to know as how the user experienced this issue in the place. @Raymond Hettinger: If the dict is only read and never modified in the fuction, does it still make sense

[issue8728] 2.7 regression in httplib.py: AttributeError: 'NoneType' object has no attribute 'makefile'

2016-01-03 Thread Senthil Kumaran
Senthil Kumaran added the comment: Closing this since no further update was available from the original reporter. If this bug is still present, please open a new issue with test case to reproduce. -- nosy: +orsenthil resolution: -> not a bug stage: -> resolved status: p

[issue26005] Denial of Service in SimpleHTTPServer and BaseHTTPServer

2016-01-04 Thread Senthil Kumaran
Senthil Kumaran added the comment: SimpleHTTPServer is never meant to be used in production. I was of the understanding that we already inform users about it in the documentation, but I do not find any such note. Only in wsgiref's simple_server.py example, we state that in the module h

[issue24733] Logically Dead Code

2016-01-04 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for the report, Pankaj Sharma. Removed in 2.7.11+. -- assignee: -> orsenthil nosy: +orsenthil resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tr

[issue6500] urllib2 maximum recursion depth exceeded

2016-01-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: Hi @Berker, This patch breaks the unit tests. Could you confirm (or reject) this? Thanks -- ___ Python tracker <http://bugs.python.org/issue6

[issue18918] help('FILES') finds no documentation

2016-01-06 Thread Senthil Kumaran
Senthil Kumaran added the comment: The bltin-file-objects was not referenced in pyspecific.py from which this data was generated. Added it and fixed it. Verified that it is available in 2.7 now. -- nosy: +orsenthil resolution: -> fixed stage: patch review -> resolved status

[issue26022] string.replace(' ', ' ') has to be called 2 times before it works

2016-01-06 Thread Senthil Kumaran
Senthil Kumaran added the comment: Please use stackoverflow or python-tutor list to get help on this. https://mail.python.org/pipermail/tutor/ This is unlikely a problem as you are using replace the send time on new string object. -- nosy: +orsenthil resolution: -> rejected st

[issue16544] Add external link to ast docs

2016-01-06 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for patch and the work on Green Tree Snakes, Thomas. It is a great resource. I agree that a lot could be included directly in stdlib docs, but till then, as suggested/recommended by Andrew and Ezio, a see also link is a good addition

[issue25940] SSL tests failed due to expired svn.python.org SSL certificate

2016-01-06 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: -> martin.panter ___ Python tracker <http://bugs.python.org/issue25940> ___ ___ Python-bugs-list mailing list Un

[issue26017] Update https://docs.python.org/3/installing/index.html to always quote arguments

2016-01-07 Thread Senthil Kumaran
Senthil Kumaran added the comment: Here is the patch with the changes suggested by Brett. Having created this patch, I had second thoughts on this change. Folks who use pip often, usually use it without any quotes, like `pip install requests`, `pip install CherryPy`. Pinned down versions are

[issue23675] glossary entry for 'method resolution order' links to something with python 2.3 in the title

2016-01-08 Thread Senthil Kumaran
Senthil Kumaran added the comment: Here is the patch with the suggested wording. -- keywords: +patch nosy: +orsenthil Added file: http://bugs.python.org/file41530/Issue23675.patch ___ Python tracker <http://bugs.python.org/issue23

[issue23675] glossary entry for 'method resolution order' links to something with python 2.3 in the title

2016-01-08 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- stage: needs patch -> patch review ___ Python tracker <http://bugs.python.org/issue23675> ___ ___ Python-bugs-list mai

[issue20969] Author of EPUB version of Python docs is set to Unknown instead of PSF

2016-01-08 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed in all branches for which documentation will be published / updated. -- assignee: docs@python -> orsenthil nosy: +orsenthil resolution: -> fixed stage: patch review -> resolved status: open

[issue15430] Improve filecmp documentation

2016-01-08 Thread Senthil Kumaran
Senthil Kumaran added the comment: This bug report can be closed as the patch, written by me is no longer valid. The only useful addition it can bring is, exposing the BUFSIZE, but that is used transparently by the module and I think, it need not be exposed via documentation

[issue22138] patch.object doesn't restore function defaults

2016-01-08 Thread Senthil Kumaran
Senthil Kumaran added the comment: This was an interesting issue. Thanks for the patch, Sean to fix this bug. I have committed it in 3.5 and 3.6. -- assignee: -> orsenthil nosy: +orsenthil resolution: -> fixed stage: commit review -> resolved status: open -> closed versi

[issue26069] Remove the Deprecated API in trace module

2016-01-09 Thread Senthil Kumaran
New submission from Senthil Kumaran: A number of old methods in trace module were deprecated in issue10371. They should be removed in 3.6 release. -- components: Library (Lib) messages: 257877 nosy: belopolsky, orsenthil priority: normal severity: normal stage: needs patch status: open

[issue26069] Remove the Deprecated API in trace module

2016-01-09 Thread Senthil Kumaran
Senthil Kumaran added the comment: This patch removes the deprecated apis from 3.6. After getting a review from one another core dev, I will commit this. * No doc changes are required as the deprecated apis were not documented. * README will be added during commit. -- assignee

[issue26069] Remove the Deprecated API in trace module

2016-01-09 Thread Senthil Kumaran
Senthil Kumaran added the comment: Sorry for that. Here is the patch. -- keywords: +patch Added file: http://bugs.python.org/file41562/issue26069.patch ___ Python tracker <http://bugs.python.org/issue26

[issue23675] glossary entry for 'method resolution order' links to something with python 2.3 in the title

2016-01-09 Thread Senthil Kumaran
Senthil Kumaran added the comment: @Martin, thanks for the review comments. I've addressed this is version 2 of the patch. I am submitting this change. -- versions: +Python 2.7, Python 3.5, Python 3.6 Added file: http://bugs.python.org/file41563/Issue23675-v2.

[issue23675] glossary entry for 'method resolution order' links to something with python 2.3 in the title

2016-01-09 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed in the active documentation branches 2.7,3.5 and 3.6. -- assignee: docs@python -> orsenthil resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.or

[issue22642] trace module: unclear error message

2016-01-11 Thread Senthil Kumaran
Senthil Kumaran added the comment: I reviewed the patch. It looks like the problem is not just with list functions but with other options too. Like. $ ./python.exe -m trace -t $ ./python.exe -m trace -c $ ./python.exe -m trace -T Will throw the same error. So, any changes should address all

[issue24955] webbrowser broken on Mac OS X when using the BROWSER variable

2016-01-11 Thread Senthil Kumaran
Senthil Kumaran added the comment: The patch is correct and will fix the issue. It will require test coverage to be complete so that we don't land upon similar issues in future. -- nosy: +orsenthil stage: -> test needed versions: +Python 3.5, Python 3.6 -Py

[issue22642] trace module: unclear error message

2016-01-11 Thread Senthil Kumaran
Senthil Kumaran added the comment: @SilentGhost, I agree with you. I am making the change to use argparse as part of this issue24649. And this bug could be covered as part of the change to argparse. -- ___ Python tracker <http://bugs.python.

[issue26069] Remove the Deprecated API in trace module

2016-01-11 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for the review, matrixise. I've submitted this change. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <http://bugs.pyth

[issue26069] Remove the Deprecated API in trace module

2016-01-11 Thread Senthil Kumaran
Senthil Kumaran added the comment: Hi Berker, could you find the reference for it? It will be helpful to analyze. IMO, the non-removal of 2.x-> 3.x APIs could be done on a case to case basis. In this case, issue10371 made the change in (2010) of making the undocumented public methods

[issue25347] assert_has_calls output is formatted inconsistently

2016-01-12 Thread Senthil Kumaran
Senthil Kumaran added the comment: The patch looks good to me. The change is in the error message of the AssertionError and don't test the error messages of Exceptions in our unittest. This change is a good usability improvement and I will commit this patch. -- assignee: -> o

[issue25347] assert_has_calls output is formatted inconsistently

2016-01-12 Thread Senthil Kumaran
Senthil Kumaran added the comment: Verified the change and committed. The new output behavior will be like this. ``` >>> from unittest.mock import Mock >>> mock = Mock(return_value=None) >>> for i in range(1, 10): ... mock(i) ... >>> from unittest.mock

[issue22642] trace module: convert to argparse

2016-01-12 Thread Senthil Kumaran
Senthil Kumaran added the comment: @SilentGhost, Thanks a lot for the quick turn around of a patch. I have left some review comments in reitveld. Please address them. Since this is underlying implementation change in option processing/parsing, it should only in feature release (3.6). Thank

[issue24955] webbrowser broken on Mac OS X when using the BROWSER variable

2016-01-12 Thread Senthil Kumaran
Senthil Kumaran added the comment: Simon, sure. It is just for someone, either commiters or other interested folks to add the tests on top of your patch. Agree with you that more change is required to add the required tests. -- ___ Python tracker

[issue22642] trace module: convert to argparse

2016-01-13 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for the contribution. The option handling of trace module is modernized now. As berker suggested in one of the review comments, this module could see an increase in test coverage and we could deal with this as separate ticket. -- resolution

[issue25822] Add docstrings to fields of urllib.parse results

2016-01-13 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: -> orsenthil ___ Python tracker <http://bugs.python.org/issue25822> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue25822] Add docstrings to fields of urllib.parse results

2016-01-14 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thank you, Swati. I reviewed and committed your patch. I had to make some minor formatting changes while keeping an eye for the maintainability of the module and doc strings. * Moved all the doc strings up to a single place just below the namespaces are

[issue26097] 2.7 documentation about TextTestRunner do not specify all the arguments

2016-01-14 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for the report. Fixed. -- nosy: +orsenthil resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue26035] traceback.print_tb() takes `tb`, not `traceback` as a keyword argument

2016-01-15 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for the patch, Upendra Kumar. It's fixed now. Appreciate your taking care of other args and making the change meaningful. -- assignee: docs@python -> orsenthil nosy: +orsenthil resolution: -> fixed stage: needs patch -> resolve

[issue26135] Documentation Recommends Deprecated `imp` Module

2016-01-16 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thank you for the report. Fixed in the active versions of python (3.5 and 3.6). 3.4 was in security fix mode. Although, it can see important documentation bug-fixes, this isn't bug-fix as far as 3.4 version is concerned. So, I didn't make the cha

[issue26069] Remove the Deprecated API in trace module

2016-01-16 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for the pointers, Berker. That was very helpful and I will keep in mind when evaluating other deprecated apis. For the trace module, I will add this removal information in Doc/whatsnew/3.6.rst

[issue26142] Formatting bug on https://docs.python.org/2.7/c-api/intro.html

2016-01-17 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for reporting. Fixed. -- nosy: +orsenthil resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue26017] Update https://docs.python.org/3/installing/index.html to always quote arguments

2016-01-17 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for the review/comment Ezio. Agree with your suggestion and made the change accordingly. -- assignee: docs@python -> orsenthil resolution: -> fixed stage: needs patch -> resolved status: open -> closed versions: +Python 2.7, Python

[issue26134] HTTPPasswordMgrWithPriorAuth does not work with DigestAuthentication

2016-01-17 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- nosy: +orsenthil ___ Python tracker <http://bugs.python.org/issue26134> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6500] urllib2 maximum recursion depth exceeded

2016-01-17 Thread Senthil Kumaran
Senthil Kumaran added the comment: @Serhiy, the patch looks good to me. This change is an excellent idea. Please commit it. -- assignee: berker.peksag -> serhiy.storchaka stage: patch review -> commit review ___ Python tracker

[issue5626] misleading comment in socket.gethostname() documentation

2016-01-18 Thread Senthil Kumaran
Senthil Kumaran added the comment: Given that we have not received any more reports on users tripping up on this message, it seems to me that we could just ignore this report and close it. Thoughts? -- nosy: +orsenthil ___ Python tracker <h

[issue23962] Incorrect TimeoutError referenced in concurrent.futures documentation

2016-01-18 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for the report and the patch. I have fixed that in 3.5 and 3.6 docs. I found it reasonable to include the full module path for TimeoutError makeing it consist with asyncio and multiprocessing TimeoutError. Also, Error exception is not exposed via

[issue8519] doc: termios and ioctl reference links

2016-01-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: I followed the previous discussions and reviewed the patch. With respect to the patch, I see few drawbacks in providing links to references like this: `fcntl <http://pubs.opengroup.org/onlinepubs/009695399/basedefs/fcntl.h.html>`_ `ioctl

[issue26150] SequenceMatcher's algorithm is not correct

2016-01-20 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- nosy: +orsenthil ___ Python tracker <http://bugs.python.org/issue26150> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25982] multiprocessing docs for Namespace lacks class definition

2016-01-20 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for the report. Fixed. -- assignee: davin -> orsenthil nosy: +orsenthil resolution: -> fixed stage: needs patch -> resolved status: open -> closed type: enhancement -> behavior version

[issue25909] Incorrect documentation for PyMapping_Items and like

2016-01-21 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for the patch. I had to do some minor clarification like mention view types apply only to dict and also remove the sentence which mentioned those equivalent to list(o.values()) and list(o.items()) in the patch. With those fixed, I have commited the

<    15   16   17   18   19   20   21   >