[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

[issue26699] locale.str docstring is incorrect: "Convert float to integer"

2016-04-12 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks. Fixed in https://hg.python.org/cpython/rev/2b35ef6a9853 https://hg.python.org/cpython/rev/ad5b079565ad https://hg.python.org/cpython/rev/125d27d9cf9b -- nosy: +orsenthil resolution: -> fixed stage: needs patch -> resolved status

[issue26779] pdb continue followed by an exception in the same frame shows incorrect frame linenumber

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

[issue26775] Improve test coverage on urllib.parse

2016-04-16 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for your contribution, Luiz. It's a useful improvement. Committed to all active branches. 2.7 changeset: 101012:e3ed950ad728 -- nosy: +orsenthil resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 2

[issue26804] Prioritize lowercase proxy variables in urllib.request

2016-04-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: Hi Hans-Peter, I agree with Martin's comments and suggestion. If I understand the suggestion correctly, the only change will be a documentation change. Isn't it? Because getproxies_environment() in it's current form already fetches the l

[issue20116] urlparse.parse_qs should take argument for query separator

2016-04-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: Luiz, The original question was about introducing a parameter to override query string separate ';'. If we do with enable or disable, then we should provide another option for query string separator. The OP provided one example of query string

[issue26780] Illustrate both binary operator conventions in PEP-8

2016-04-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: The patch is committed in changeset 9afe77ad549b. Thanks for update Brandon. Citing the original source and stating the rationale for this suggestion was a great addition. -- nosy: +orsenthil resolution: -> fixed stage: -> resolved status

[issue23806] documentation for no_proxy is missing from the python3 urllib documentation

2016-04-22 Thread Senthil Kumaran
Senthil Kumaran added the comment: no_proxy is applicable to ProxyHandler of the python 3. I've documented this in the corresponding section. -- nosy: +orsenthil resolution: -> fixed stage: needs patch -> resolved status: open -> closed

[issue26804] Prioritize lowercase proxy variables in urllib.request

2016-04-25 Thread Senthil Kumaran
Senthil Kumaran added the comment: This is fixed in all versions of Python. Thank you for your contribution, Hans-Peter Jansen. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python track

[issue22234] urllib.parse.urlparse accepts any falsy value as an url

2016-04-26 Thread Senthil Kumaran
Senthil Kumaran added the comment: Serhiy: I left review comments on the patch too. I agree to "tightening" of the input arg type in these urlparse functions. Before we for the next version, I think, it will be helpful to enumerate the behavior for wrong arg types for these func

[issue26892] debuglevel not honored in urllib

2016-04-30 Thread Senthil Kumaran
Senthil Kumaran added the comment: Hi Chi Hsuan, The patch looks good to me. Additional tests for the coverage of this will be helpful too. Thanks! -- nosy: +orsenthil ___ Python tracker <http://bugs.python.org/issue26

[issue26960] urllib hangs when closing connection

2016-05-10 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for raising this issue, Chris Beaumont. Fixed in 2.7.x -- nosy: +orsenthil type: -> behavior ___ Python tracker <http://bugs.python.org/issu

[issue26892] debuglevel not honored in urllib

2016-05-13 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thank you for the patch, Chi Hsuan Yen. -- assignee: -> orsenthil resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 3.5 ___ Python tracker <http://bugs.python

[issue27018] Incorrect documentation of select module

2016-05-14 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for the report, Salvo. And thank you for the patch, SilentGhost. This is fixed in the active versions of python. -- nosy: +orsenthil resolution: -> fixed stage: patch review -> resolved status: open -&g

[issue25910] Fixing links in documentation

2016-05-16 Thread Senthil Kumaran
Senthil Kumaran added the comment: zope should be http://www.zope.org/ The pythonlabs link could be removed. The logos at pythonlabs link does not exist. Reference for pythonlab exists in a humorous form here: http://www.pythonlabs.com/ -- nosy: +orsenthil

[issue27042] Incorrect grammar for function definitions

2016-05-16 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- nosy: +benjamin.peterson ___ Python tracker <http://bugs.python.org/issue27042> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25910] Fixing links in documentation

2016-05-17 Thread Senthil Kumaran
Senthil Kumaran added the comment: On Mon, May 16, 2016 at 08:40:51PM +, Serhiy Storchaka wrote: > > zope should be http://www.zope.org/ > > Isn't this is a different legal entity? Is it? I don't know. I can find no references to zope.com being different than zope.org

[issue27045] Forward slashes in Windows paths

2016-05-17 Thread Senthil Kumaran
Senthil Kumaran added the comment: This is fixed and online docs will reflect it when they get built in their next build cycle. Thanks for the report. -- nosy: +orsenthil resolution: -> fixed stage: needs patch -> resolved status: open -&g

[issue23539] Content-length not set for HTTP methods expecting body when body is None

2015-03-02 Thread Senthil Kumaran
Senthil Kumaran added the comment: One patch should be enough, @James. The committer will take care of porting. Thanks! ( I am yet to completely read the discussion/ review the patch and I will do that shortly.) -- ___ Python tracker <h

[issue20842] pkgutil docs should reference glossary terms not PEP 302

2016-09-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: I agree with the comment made by Oren. Not all instances of finder should be referenced as generic finder. Some classes and functions are are still PEP 302 specific finder. In the commit, 3987667bf98f Nick Coghlan modified the following functions to to use

[issue20842] pkgutil docs should reference glossary terms not PEP 302

2016-09-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: For 3.5 version of patch, we have bring in some additional changes from issue26896 which properly clarified finder from importer. These changes are not required in the default branch. -- ___ Python tracker <h

[issue20842] pkgutil docs should reference glossary terms not PEP 302

2016-09-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: This is 3.3 version of patch attached. -- Added file: http://bugs.python.org/file44383/issue20842-3.3-v5.patch ___ Python tracker <http://bugs.python.org/issue20

[issue20842] pkgutil docs should reference glossary terms not PEP 302

2016-09-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: Change committed. - 3.5 * 103098:ecbad01262c8 - default * 103099:ee58ece83391 -- resolution: -> fixed stage: patch review -> commit review status: open -> closed ___ Python tracker <http://bug

[issue26896] mix-up with the terms 'importer', 'finder', 'loader' in the import system and related code

2016-09-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: The documentation changes made as part of this issue were applicable to 3.5 branch too. I had to touch the docs in this area as part of issue20842, and ended up with two patches one for 3.5 and another 3.6. I think, it is a good idea to backport the change

[issue26896] mix-up with the terms 'importer', 'finder', 'loader' in the import system and related code

2016-09-07 Thread Senthil Kumaran
Senthil Kumaran added the comment: Hi Brett, I backported only portions of the patch some this issue that were applicable to the issue that I was fixing. I will backport remain portions so that everything will be consistent now. -- Added file: http://bugs.python.org/file44427

[issue11551] test_dummy_thread.py test coverage improvement

2016-09-07 Thread Senthil Kumaran
Senthil Kumaran added the comment: I've updated the patch to use unittest.mock, the removed the old style way of exercising it. -- nosy: +orsenthil Added file: http://bugs.python.org/file44429/issue11551.patch ___ Python tracker

[issue11551] test_dummy_thread.py test coverage improvement

2016-09-08 Thread Senthil Kumaran
Senthil Kumaran added the comment: Here is an updated patch that increases the coverage to 100% and has some pep8 style improvements. shannon-2:issue11551 senthil$ ./python.exe -m test.regrtest test_dummy_thread Run tests sequentially 0:00:00 [1/1] test_dummy_thread 1 test OK. Total duration

[issue11551] test_dummy_thread.py test coverage improvement

2016-09-08 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue28022] SSL releated deprecation for 3.6

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

[issue28010] http.client.HTTPConnection.putrequest incorrect arguments

2016-09-08 Thread Senthil Kumaran
Senthil Kumaran added the comment: This patch fixes this. It makes the documentation consistent with the code. -- keywords: +patch nosy: +orsenthil Added file: http://bugs.python.org/file44479/103351.patch ___ Python tracker <http://bugs.python.

[issue28010] http.client.HTTPConnection.putrequest incorrect arguments

2016-09-08 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed versions: +Python 3.6 ___ Python tracker <http://bugs.python.or

[issue28022] SSL releated deprecation for 3.6

2016-09-08 Thread Senthil Kumaran
Senthil Kumaran added the comment: Yes, urllib.request.urlopen needs an update too. It takes those certfile and keyfile and usage of those could be deprecated in favor of context. -- ___ Python tracker <http://bugs.python.org/issue28

[issue24363] httplib fails to handle semivalid HTTP headers

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

[issue22450] urllib doesn't put Accept: */* in the headers

2016-09-09 Thread Senthil Kumaran
Senthil Kumaran added the comment: @Martin, I weight in 'curl's behavior for de-facto things that differ slightly from standards. It's simply what folks have gotten used to, and sometimes expect. @Raymond, unit-tests will be a go

[issue27973] urllib.urlretrieve() fails on second ftp transfer

2016-09-16 Thread Senthil Kumaran
Senthil Kumaran added the comment: Hi Sohaib, I will get the proper fix for this issue. A comment on the patch. Changing the API to `def open(self, fullurl, data=None, ftp_retrieve=False):` just breaks the abstraction of the open method and may not be the way to go for this. Any changes

[issue28294] HTTPServer server.py assumes sys.stderr != None

2016-09-29 Thread Senthil Kumaran
Senthil Kumaran added the comment: Using logging, instead of sys.stderr would be a welcome change in this module. -- keywords: +easy, needs review nosy: +orsenthil ___ Python tracker <http://bugs.python.org/issue28

[issue24452] Make webbrowser support Chrome on Mac OS X

2016-10-07 Thread Senthil Kumaran
Senthil Kumaran added the comment: The patch looks good to me. (The test coverage for chrome browser can be improved. But that seems a like a different change than the current one). -- assignee: -> orsenthil nosy: +orsenthil versions: +Python 3.7 -Python 3.4, Python

[issue28425] Python3 ignores __init__.py that are links to /dev/null

2016-10-12 Thread Senthil Kumaran
Senthil Kumaran added the comment: Linking __init__.py to /dev/null is very odd. Do you know bazel does that? -- nosy: +orsenthil ___ Python tracker <http://bugs.python.org/issue28

[issue28425] Python3 ignores __init__.py that are links to /dev/null

2016-10-12 Thread Senthil Kumaran
Senthil Kumaran added the comment: I wanted to ask, Do you know why bazel does that? -- ___ Python tracker <http://bugs.python.org/issue28425> ___ ___ Python-bug

[issue24452] Make webbrowser support Chrome on Mac OS X

2016-10-13 Thread Senthil Kumaran
Senthil Kumaran added the comment: Applying on 2.7 seems alright. Bug fix. -- ___ Python tracker <http://bugs.python.org/issue24452> ___ ___ Python-bugs-list m

[issue28438] Wrong link in pkgutil.get_data doc

2016-10-13 Thread Senthil Kumaran
Senthil Kumaran added the comment: The patch looks good to me. Thank you, Xiang. I will apply it. -- nosy: +orsenthil ___ Python tracker <http://bugs.python.org/issue28

[issue28438] Wrong link in pkgutil.get_data doc

2016-10-13 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> behavior ___ Python tracker <http://bugs.python

[issue28432] Fix doc of PyUnicode_EncodeLocale

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

[issue27973] urllib.urlretrieve() fails on second ftp transfer

2016-11-04 Thread Senthil Kumaran
Senthil Kumaran added the comment: @Sohaib, Thanks for the ping. Yeah, I will act on it. Your analysis in msg276795 seems plausible, On the patch itself, I will try to reproduce this and see if I can avoid introducing this clear_buffer function. If no other go, then it should just be a

[issue27973] urllib.urlretrieve() fails on second ftp transfer

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

<    13   14   15   16   17   18