[issue17128] OS X system openssl deprecated - installer should build local libssl

2013-02-10 Thread Senthil Kumaran
Senthil Kumaran added the comment: It should be noted that latest OSX Mountain Lion has caused problems for other language libraries too (specifically ruby, which I use at work). Ease the support of correct openssl in OSX may help a long way in all versions of python. -- nosy

[issue17158] help() module searcher text improvement

2013-02-10 Thread Senthil Kumaran
Senthil Kumaran added the comment: The patch looks good to me. This change is helpful and definitely an improvement over the existing text. Please go ahead with committing it, Terry. Thanks. -- ___ Python tracker <http://bugs.python.org/issue17

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

2013-09-12 Thread Senthil Kumaran
Senthil Kumaran added the comment: I have a slight fear that this patch could be considered as a feature addition in 2.7 urllib.py, I would like to quell that and ensure that behaviour expectation is consistent when using urllib or urllib2 and latest urllib/request.py modules. Also, tests

[issue17324] SimpleHTTPServer serves files even if the URL has a trailing slash

2013-09-13 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for the patches, Vajrasky and Karl. Fixed in currently active (3.4,3.3 and 2.7) versions of python. -- assignee: -> orsenthil resolution: -> fixed stage: test needed -> committed/rejected status: open -> closed versions:

[issue18553] os.isatty() is not Unix only

2013-09-13 Thread Senthil Kumaran
Senthil Kumaran added the comment: I had removed them in all. Something must have gone wrong if still present or I did a mistake. changeset: 85594:678e3c0d2d99 parent: 85591:c116b658aede parent: 85593:14ba90816930 user:Senthil Kumaran date:Sat Sep 07 11:30:04 2013

[issue18206] The license url in site.py should always use X.Y.Z form of version number

2013-09-14 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for making these changes (and correcting some of my mistakes), RDM. They are much better now. On Sat, Sep 14, 2013 at 10:38 AM, R. David Murray wrote: > > R. David Murray added the comment: > > You are right, there was a further typo in

[issue17764] Support http.server passing bind address via commend line argument

2013-09-15 Thread Senthil Kumaran
Senthil Kumaran added the comment: Found the patch suitable and had addressed Berker Pesag's review comments too. Thanks for contributing, Malte Swart and thanks for submitting the contributor agreement too. -- nosy: +orsenthil resolution: -> fixed stage: patch review ->

[issue18857] urlencode of a None value uses the string 'None'

2013-09-15 Thread Senthil Kumaran
Senthil Kumaran added the comment: The patch looks good, but I have doubt in the claim that, this new behavior is actually a right thing to do. RDM wrote: Now, that said, it seems to me that while it is not (apparently) RFC compliant, query strings do have a natural way to support null

[issue14927] add "Do not supply 'int' argument" to random.shuffle docstring

2013-09-15 Thread Senthil Kumaran
Senthil Kumaran added the comment: > Georg Brandl added the comment: > > I would propose a leading underscore for these methods; they should make it > clear to the user that the parameter is meant to be "private". +1 to this proposal. This style is present with randrange,

[issue14927] add "Do not supply 'int' argument" to random.shuffle docstring

2013-09-15 Thread Senthil Kumaran
Senthil Kumaran added the comment: Tim Peters added the comment: > ..., _fast=slow, ... > > in an argument list means we endure the slow lookup (of `slow`) only > once, when the function is first defined. When the function is > _called_, that binding is available via

[issue14927] add "Do not supply 'int' argument" to random.shuffle docstring

2013-09-15 Thread Senthil Kumaran
Senthil Kumaran added the comment: Attaching a patch after changing int=int to _int = int and improving the docstring. Please review the changes to the docstring and see if it will be helpful. -- status: closed -> pending Added file: http://bugs.python.org/file31788/14927.d

[issue14927] add "Do not supply 'int' argument" to random.shuffle docstring

2013-09-15 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for catching the mistake at _randbelow. Updated patch to fix that and removed the explanation in the docstring. Not sure if _randbelow should changed (fully) or not at all. Leaving the change only with _int. Will wait for Raymond's r

[issue18553] os.isatty() is not Unix only

2013-09-18 Thread Senthil Kumaran
Senthil Kumaran added the comment: Georg: Thanks for spotting. I feel bad for the mistake. I shall correct it. -- ___ Python tracker <http://bugs.python.org/issue18

[issue18553] os.isatty() is not Unix only

2013-09-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed now. Ascertained myself by doing hg diff -r tip^ -U 10 on local commits before pushing. :-) -- status: open -> closed ___ Python tracker <http://bugs.python.org/issu

[issue18553] os.isatty() is not Unix only

2013-09-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: Hello Dmi, > I having a snippet to fix that, should I open a new issue for patch? Please open a new issue. Thanks! -- ___ Python tracker <http://bugs.python.org/issu

[issue18978] Allow urllib.request.Request subclasses to override method

2013-09-28 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for the this change, Jason. Docs could be updated to reflect this change (using ..versionchanged: directive). Thank you! -- ___ Python tracker <http://bugs.python.org/issue18

[issue18857] urlencode of a None value uses the string 'None'

2013-09-28 Thread Senthil Kumaran
Senthil Kumaran added the comment: Hi Joshua, I did not setup a php server to test the html form that you uploaded. We cannot test this in browsers because HTML does not have None as values, it is simple empty strings and that is correct. I think that the cost of making this change is higher

[issue19094] urljoin should raise a TypeError if URL is not a string

2013-09-30 Thread Senthil Kumaran
Senthil Kumaran added the comment: I have provided my comments in the review tool. Please check them out. -- ___ Python tracker <http://bugs.python.org/issue19

[issue19097] bool(cgi.FieldStorage(...)) may be False unexpectedly

2013-10-01 Thread Senthil Kumaran
Senthil Kumaran added the comment: FieldStorage("foo", "bar") is invalid because the first argument is supposed to be file-like object and second one headers. Here we are sending invalid headers. By default, if the headers is none, the content-type is urlencoded. Th

[issue14927] add "Do not supply 'int' argument" to random.shuffle docstring

2013-10-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: Hi Raymond, Ezio provided some comments on improvements to the patch. Do you mind if Ezio or I take over task of improvement. Not cause problems != no need to improve. TIA. -- ___ Python tracker <h

[issue19097] bool(cgi.FieldStorage(...)) may be False unexpectedly

2013-10-06 Thread Senthil Kumaran
Senthil Kumaran added the comment: Hi Guido, Agree with both your points. Attaching a patch that fixes this issue. 1. Raises TypeError exception when header is not a Mapping or email.message.Message type. 2. Asserts for fp.read and fp.readline() to assert that fp, the first argument to

[issue19097] bool(cgi.FieldStorage(...)) may be False unexpectedly

2013-10-09 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- versions: +Python 3.3, Python 3.4 -Python 2.6 ___ Python tracker <http://bugs.python.org/issue19097> ___ ___ Python-bugs-list m

[issue19097] bool(cgi.FieldStorage(...)) may be False unexpectedly

2013-10-09 Thread Senthil Kumaran
Senthil Kumaran added the comment: Addressing storchaka's review comments. Here is the updated patch. -- Added file: http://bugs.python.org/file32021/19092-v2.diff ___ Python tracker <http://bugs.python.org/is

[issue19082] Lib/xmlrpc/client.py demo code points to the dead server

2013-10-13 Thread Senthil Kumaran
Senthil Kumaran added the comment: The patch is good. I think, it is better to include this information in documentation too. Please let me know if this suitable, I shall go ahead committing this. (With credits to Vajrasky Kok) -- assignee: -> orsenthil nosy: +orsenthil versi

[issue19082] Lib/xmlrpc/client.py demo code points to the dead server

2013-10-14 Thread Senthil Kumaran
Senthil Kumaran added the comment: Sounds good.I shall update patch (.rstify the security warning). Thank you! -- ___ Python tracker <http://bugs.python.org/issue19

[issue19350] macurl2path coverage

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

[issue19350] macurl2path coverage

2013-10-23 Thread Senthil Kumaran
Senthil Kumaran added the comment: Patch committed in these versions. Thank you! 2.7 -5fda64d39540 3.3 - 06b9a9e75a6c 3.4 - 060d9b2e4d5e -- assignee: -> orsenthil resolution: -> fixed stage: -> committed/rejected status: open -> closed type:

[issue19350] macurl2path coverage

2013-10-23 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- versions: +Python 2.7, Python 3.3, Python 3.4 ___ Python tracker <http://bugs.python.org/issue19350> ___ ___ Python-bugs-list m

[issue19383] nturl2path test coverage

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

[issue20091] An index entry for __main__ in "30.5 runpy" is missing

2014-06-20 Thread Senthil Kumaran
Senthil Kumaran added the comment: Attached patch adds the index entry. -- keywords: +patch nosy: +orsenthil Added file: http://bugs.python.org/file35703/20091.patch ___ Python tracker <http://bugs.python.org/issue20

[issue20091] An index entry for __main__ in "30.5 runpy" is missing

2014-06-20 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed in all active branches. -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed versions: +Python 2.7 ___ Python tracker <http://bugs.python.or

[issue15588] quopri: encodestring and decodestring handle bytes, not strings

2014-06-25 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for the review, Mark. Addressed that and committed the changes in changeset 606a18938476 (3.4) changeset b4130b2f7748 (3.5) -- nosy: +orsenthil resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +P

[issue21869] Clean up quopri, correct method names encodestring and decodestring

2014-06-25 Thread Senthil Kumaran
New submission from Senthil Kumaran: issue15588 brought the topic that quopri has ancient methods like encodestring, decodestring, which a user might expect that will send a string, but instead has to send bytes. This needs to be cleaned up. a) function name should be accurate and represent

[issue20753] disable test_robotparser test that uses an invalid URL

2014-06-25 Thread Senthil Kumaran
Senthil Kumaran added the comment: The patch was good and captured what was required. I made some minor modifications and committed it in 3.4 and 3.5 Thanks for the patch, Vajrasky Kok. -- assignee: -> orsenthil nosy: +orsenthil resolution: -> fixed stage: needs patch ->

[issue21970] Broken code for handling file://host in urllib.request.FileHandler.file_open

2014-07-15 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for the report. Point 2 is definitely a bug (and an overlook by me), I will fix it. I think, the url[:2] == '//' check was present for ftp case which supported file:// protocol. I can't see a clear requirement to change here. Th

[issue21970] Broken code for handling file://host in urllib.request.FileHandler.file_open

2014-07-22 Thread Senthil Kumaran
Senthil Kumaran added the comment: I have addressed the mistake where req.host is self.get_names() was done instead of req.host in self.get_names() in the first commit as it was an obvious problem. I will come up with patch/solution addressing the other behavior mentioned in this report

[issue8797] urllib2 basicauth broken in 2.6.5: RuntimeError: maximum recursion depth exceeded in cmp

2014-08-15 Thread Senthil Kumaran
Senthil Kumaran added the comment: This bug has been open for a while and I had lost sight of it. Upon prompted recently, I dug bit into history and could think of a good solution. A brief history. 1. The bug "maximum recursion depth exceeded" when doing Basic Authentication was

[issue8797] urllib2 basicauth broken in 2.6.5: RuntimeError: maximum recursion depth exceeded in cmp

2014-08-16 Thread Senthil Kumaran
Senthil Kumaran added the comment: I have backed out my changes. The buildbot failures were new as I could not reproduce them in my local test on Mac. I will run the buildbot suite on branch and fix it before committing. -- ___ Python tracker

[issue8797] urllib2 basicauth broken in 2.6.5: RuntimeError: maximum recursion depth exceeded in cmp

2014-08-16 Thread Senthil Kumaran
Senthil Kumaran added the comment: @Serhiy, yeah, I think the patch attached to issue22165 will fix one of the buildbot failures. For this issue. there was another one with Broken PIPE which may need a different fix. -- ___ Python tracker <h

[issue22165] Empty response from http.server when directory listing contains invalid unicode

2014-08-16 Thread Senthil Kumaran
Senthil Kumaran added the comment: Attached patch looks good to me. If an unittest can be provided for this situation in test_httpservers.py it will be comprehensive and will be good to go. -- nosy: +orsenthil ___ Python tracker <h

[issue22165] Empty response from http.server when directory listing contains invalid unicode

2014-08-17 Thread Senthil Kumaran
Senthil Kumaran added the comment: Looks like we hit with an encoding issue, which is due to way os.fsdecode() and os.listdir() decode the filenames. >>> support.TESTFN_UNDECODABLE b'@test_99678_tmp\xe7w\xf0' >>> dir_list = os.listdir(self.tempdir) >>>

[issue22165] Empty response from http.server when directory listing contains invalid unicode

2014-08-17 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- status: closed -> open ___ Python tracker <http://bugs.python.org/issue22165> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue22165] Empty response from http.server when directory listing contains invalid unicode

2014-08-18 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- resolution: -> fixed stage: -> resolved ___ Python tracker <http://bugs.python.org/issue22165> ___ ___ Python-bugs-list

[issue22165] Empty response from http.server when directory listing contains invalid unicode

2014-08-18 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue22165> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue8797] urllib2 basicauth broken in 2.6.5: RuntimeError: maximum recursion depth exceeded in cmp

2014-08-20 Thread Senthil Kumaran
Senthil Kumaran added the comment: This is fixed in all active versions (2.7.8+, 3.4.2? and 3.5). Thanks all! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <http://bugs.python.o

[issue22245] test_urllib2_localnet prints out error messages

2014-08-22 Thread Senthil Kumaran
Senthil Kumaran added the comment: Interesting. I had not noticed these with my run on Mac and neither did Buildbots report. Looks like explicit closing of wfile do_GET method can be cause of tis problem. -- ___ Python tracker <h

[issue22245] test_urllib2_localnet prints out error messages

2014-08-22 Thread Senthil Kumaran
Senthil Kumaran added the comment: It was reproducible on my local machine too. Those errors were present and somehow escaped me. Thanks for raising this. Fixed these and tested in my local machine and test_urllib2_localnet was successful. -- assignee: -> orsenthil resolut

[issue22366] urllib.request.urlopen shoudl take a "context" (SSLContext) argument

2014-09-09 Thread Senthil Kumaran
Senthil Kumaran added the comment: With the final review comment addressed, this could go in. Since you have commit rights, please feel free to commit it. (else, please assign this to me and I will commit and follow up with the buildbots

[issue22366] urllib.request.urlopen shoudl take a "context" (SSLContext) argument

2014-09-09 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: -> alex ___ Python tracker <http://bugs.python.org/issue22366> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue22421] securing pydoc server

2014-09-16 Thread Senthil Kumaran
Senthil Kumaran added the comment: The localhost breaking on your linux system might be due to improper /etc/hosts or is localhost pointing to an ipv6 address? That said, I think it is okay to rely on 127.0.0.1 as host for running pydoc server. I am unsure why the initial check was done only

[issue22421] securing pydoc server

2014-09-16 Thread Senthil Kumaran
Senthil Kumaran added the comment: sys.platform is darwin since OS X 10.5. I am not sure when it's value was 'mac', So effectively the host was localhost on mac systems. Directly setting the host value to localhost on all platforms may be right thing to do. Here is a p

[issue22421] securing pydoc server

2014-09-16 Thread Senthil Kumaran
Senthil Kumaran added the comment: 2.7 was not affected and it was binding to localhost properly. Since it is security related issue, I have fixed it in 3.3 as well. Fix is now present in 3.4 and 3.5 -- resolution: -> fixed stage: patch review -> resolved status: open -&g

[issue22420] Use print(file=sys.stderr) instead of sys.stderr.write() in IDLE

2014-09-17 Thread Senthil Kumaran
Senthil Kumaran added the comment: Reviewed the patch. Looks good to go. -- nosy: +orsenthil ___ Python tracker <http://bugs.python.org/issue22420> ___ ___ Pytho

[issue22419] wsgiref request length

2014-09-17 Thread Senthil Kumaran
Senthil Kumaran added the comment: The patch looks good. Yeah, wsgiref server will see the benefiting of rejecting long url with 414. -- nosy: +orsenthil ___ Python tracker <http://bugs.python.org/issue22

[issue22419] wsgiref request length

2014-09-17 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks, fixed in all versions applicable for security release. -- assignee: -> orsenthil resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker <http://bugs.python

[issue22419] wsgiref request length

2014-09-17 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- versions: +Python 2.7, Python 3.3, Python 3.4, Python 3.5 ___ Python tracker <http://bugs.python.org/issue22419> ___ ___ Python-bug

[issue22417] PEP 476: verify HTTPS certificates by default

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

[issue16827] Remove the relatively advanced content from section 2 in tutorial

2014-09-18 Thread Senthil Kumaran
Senthil Kumaran added the comment: I addressed Berker Peksag's review comments on Jame's patch, tested the local building of docs, verified the content and looks. Committed this in 2.7, 3.4 and 3.5. Thank you all! -- assignee: docs@python -> orsenthil resolution: -

[issue22366] urllib.request.urlopen shoudl take a "context" (SSLContext) argument

2014-09-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: Committed this in 3.5. (Since this is adding an new argument, it should not be backported to 3.4). Thank you! -- resolution: -> fixed stage: -> resolved status: open -> closed versions: -Python 3.4 _

[issue22440] Setting SSLContext object's check_hostname manually might accidentally skip hostname verification

2014-09-19 Thread Senthil Kumaran
New submission from Senthil Kumaran: While working on issue22366, I found a tricky bit of code in: https://hg.python.org/cpython/file/ca0aa0d89273/Lib/http/client.py#l1295 https://hg.python.org/cpython/rev/1a945fb875bf/ The statement is if not self._context.check_hostname and self

[issue22278] urljoin duplicate slashes

2014-09-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: Except for the minor comments made by Antoine in the review, the patch looks good to go. -- ___ Python tracker <http://bugs.python.org/issue22

[issue22366] urllib.request.urlopen shoudl take a "context" (SSLContext) argument

2014-09-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: My worry is not about the timing. I can add it immediately, but are we convinced on having a new argument (API Change) for 3.4.2 ? -- ___ Python tracker <http://bugs.python.org/issue22

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

2014-09-20 Thread Senthil Kumaran
Senthil Kumaran added the comment: Patch looks good. Will need similar addition in urllib2 and inclusion of tests. -- nosy: +orsenthil versions: +Python 3.4, Python 3.5 ___ Python tracker <http://bugs.python.org/issue22

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

2014-09-20 Thread Senthil Kumaran
Senthil Kumaran added the comment: Well, the result with loading using json will be same. but without sending Accept */*. The content-type returned is text/javascript; charset=UTF-8 and with sending of Accept */* the content-type is set to application/json; charset=UTF-8 (which is more

[issue22278] urljoin duplicate slashes

2014-09-22 Thread Senthil Kumaran
Senthil Kumaran added the comment: I addressed Antoine's comments with the patch and committed it. Thank you! -- assignee: -> orsenthil resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.pyth

[issue22467] Lib/http/server.py, inconsistent header casing

2014-09-22 Thread Senthil Kumaran
Senthil Kumaran added the comment: First thing (and the easiest is), if you find inconsistent casing in http/server.py itself, then make it consistent in your patch against cpython default branch (from hg.python.org). Make it Content-Length and Content-Type in your patch. Next part is while

[issue22478] tests for urllib2net are in bad shapes

2014-09-24 Thread Senthil Kumaran
Senthil Kumaran added the comment: I suspect that you have your interpreters confused. (For e.g, I see 3.4 run against the trunk and the error messages are leading me to believe that 2.7 version in run on 3 code). Or your local copy is not in right shape. I tested it on 3.4 and cpython

[issue22478] tests for urllib2net are in bad shapes

2014-09-24 Thread Senthil Kumaran
Senthil Kumaran added the comment: The buildbots are not showing this error too. I suggest you reset your local copy with the pristine one from remote, do a make distclean; ./configure; make and then run the tests. -- assignee: -> orsenthil resolution: -> works for me

[issue22488] 3.4 rc2 docs download link broken

2014-09-24 Thread Senthil Kumaran
New submission from Senthil Kumaran: Reported by John Jeffers on docs mailing list. https://docs.python.org/3.4/download.html (3.4.2rc1) Return Error 404 (Your other pages are fine)! -- messages: 227493 nosy: larry, orsenthil priority: normal severity: normal status: open title: 3.4

[issue22496] urllib2 fails against IIS (urllib2 can't parse 401 reply www-authenticate headers)

2014-09-25 Thread Senthil Kumaran
Senthil Kumaran added the comment: Yes, urllib2 does not have any support for NTML based authentication. And it is a long pending feature request too. For 2.7, the best way to handle this might be, instead of crashing on WWW-Authenticate: Negotiate, which is a valid response from IIS (1). It

[issue15799] httplib client and statusline

2014-09-26 Thread Senthil Kumaran
Senthil Kumaran added the comment: Sorry that I did not get involved earlier. It is difficult to prove any problem with the current behavior and it is rightly closed. The issue which was originally raised seems to me a cosmetic one, which won't get exhibited as well. Here is simple

[issue12692] test_urllib2net is triggering a ResourceWarning

2013-12-28 Thread Senthil Kumaran
Senthil Kumaran added the comment: @Martin. Agree that this should have been backported. I have done that. Thank you! -- ___ Python tracker <http://bugs.python.org/issue12

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

2014-01-03 Thread Senthil Kumaran
Senthil Kumaran added the comment: If you could point to RFC which states the list of characters which can be used as valid query string separators, we can include that list. (Of course in 3.5) -- nosy: +orsenthil ___ Python tracker <h

[issue20138] wsgiref on Python 3.x incorrectly implements URL handling causing mangled Unicode

2014-01-11 Thread Senthil Kumaran
Senthil Kumaran added the comment: And those examples were only in test. Use of latin-1 to have a literal text for round trip is ok. The patch looks good to me. -- ___ Python tracker <http://bugs.python.org/issue20

[issue19097] bool(cgi.FieldStorage(...)) may be False unexpectedly

2014-01-11 Thread Senthil Kumaran
Senthil Kumaran added the comment: This is fixed in all active branches (2.7,3,3 and 3.4). I have addressed all review comments. Thanks. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue19092] ExitStack.__exit__ incorrectly suppresses exceptions in __exit__ callbacks of inner context managers

2014-01-12 Thread Senthil Kumaran
Senthil Kumaran added the comment: The last tracker message msg207926 is applicable to issue #19097 and not here. Sorry for the confusion. -- nosy: +orsenthil ___ Python tracker <http://bugs.python.org/issue19

[issue19097] bool(cgi.FieldStorage(...)) may be False unexpectedly

2014-01-12 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed in: New changeset a3e49868cfd0 by Senthil Kumaran in branch '3.3': Issue #19092 - Raise a correct exception when cgi.FieldStorage is given an http://hg.python.org/cpython/rev/a3e49868cfd0 New changeset 1638360eea41 by Senthil Kumaran in branc

[issue19082] Lib/xmlrpc/client.py demo code points to the dead server

2014-01-12 Thread Senthil Kumaran
Senthil Kumaran added the comment: Addressed this in all active branches (2.7, 3.3 and 3.4). Thanks! -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue20529] Unittest displays ResourceWarning warnings when running tests, it probably should not

2014-02-08 Thread Senthil Kumaran
Senthil Kumaran added the comment: I think, it is simply okay to mention about ResourceWarning being displayed. I spent something thinking and going into mechanics of how it is displayed may be an overkill for that line in unittest.rst. I'll make the change and if you see any fu

[issue20529] Unittest displays ResourceWarning warnings when running tests, it probably should not

2014-02-08 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: -> orsenthil resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python

[issue6272] Upgrading xml.etree to ElementTree 1.3

2009-09-23 Thread Senthil Kumaran
Senthil Kumaran added the comment: This is duplicate of Issue1143 -- resolution: -> duplicate status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue7009] random.randint docs

2009-09-27 Thread Senthil Kumaran
Senthil Kumaran added the comment: Not actually a bug. The documentation is correct. Do, random.randint(0,1) a couple of times and you see 1 appearing. If still not convinced, look into the random.py see that randint(a, b) actually does a return self.randrange(a, b+1) -- nosy

[issue7024] webbrowser : Could not open ftp server using webbrowser.open()

2009-09-30 Thread Senthil Kumaran
Senthil Kumaran added the comment: It is very difficult to debug with the information you have provided. The webbrowser.py has indeed undergone some changes, but they are positive changes and should not break any working behaviour. For your problem, you might want to mention. 1) Your OS. 2

[issue7026] test_urllib: unsetting missing 'env' variable

2009-09-30 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed that in revision 75166. Even in release26-maint got to chnage it from env.unset(k) to self.env.unset(k). -- assignee: -> orsenthil nosy: +orsenthil resolution: -> fixed ___ Python tracker

[issue7026] test_urllib: unsetting missing 'env' variable

2009-10-01 Thread Senthil Kumaran
Senthil Kumaran added the comment: This needs to be changed in python2.6 branch as well. I was hesitant as barry was making the build. After the branch opens, I shall make the changes in that and close the issue. -- nosy: +barry ___ Python tracker

[issue7043] test_urllib: constructLocalFileUrl returns invalid URLs on Windows

2009-10-02 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: -> orsenthil nosy: +orsenthil ___ Python tracker <http://bugs.python.org/issue7043> ___ ___ Python-bugs-list mai

[issue7043] test_urllib: constructLocalFileUrl returns invalid URLs on Windows

2009-10-04 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed and Committed revision 75253. Will just wait for windows buildbot to test it before closing. -- resolution: -> fixed ___ Python tracker <http://bugs.python.org/iss

[issue7026] test_urllib: unsetting missing 'env' variable

2009-10-04 Thread Senthil Kumaran
Senthil Kumaran added the comment: Committed revision 75254 for release26-maint. -- status: open -> closed ___ Python tracker <http://bugs.python.org/iss

[issue7024] webbrowser : Could not open ftp server using webbrowser.open()

2009-10-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: This bug is bit a tricky case. Harshad: You might try the "work-around" suggested by Antoine. But that is just a work-around. not a fix. Add an entry to gconf-editor like any other. ( google). The actual bug seems to be with gnome-open which is

[issue918368] urllib doesn't correct server returned urls

2009-10-06 Thread Senthil Kumaran
Senthil Kumaran added the comment: AdamN, did you specifically come across a scenario which broke due to this change? I can understand your concern, in general. The 'non-breaking' existing tests is the one of confidence factor we have in introducing t

[issue6894] urllib2 doesn't respect "no_proxy" environment (python2.6.2)

2009-10-07 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: -> orsenthil ___ Python tracker <http://bugs.python.org/issue6894> ___ ___ Python-bugs-list mailing list Unsubscri

[issue7078] struct help in the interpreter does not explain about the fmt option

2009-10-07 Thread Senthil Kumaran
New submission from Senthil Kumaran : >>> help(struct) mentions the functions which use fmt characters. The builtin help does not mention the fmt characters and their meaning. One should go online if he has to refer them. -- keywords: easy messages: 93709 nosy: orsenthil prio

[issue7078] struct help in the interpreter does not explain about the fmt option

2009-10-07 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: -> georg.brandl components: +Documentation nosy: +georg.brandl ___ Python tracker <http://bugs.python.org/iss

[issue6894] urllib2 doesn't respect "no_proxy" environment (python2.6.2)

2009-10-10 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed in trunk and Committed revision 75333. -- resolution: -> fixed ___ Python tracker <http://bugs.python.org/iss

[issue6894] urllib2 doesn't respect "no_proxy" environment (python2.6.2)

2009-10-10 Thread Senthil Kumaran
Senthil Kumaran added the comment: merged into py3k revision 75334 merged into release-26maint revision 75335. -- ___ Python tracker <http://bugs.python.org/issue6

[issue6894] urllib2 doesn't respect "no_proxy" environment (python2.6.2)

2009-10-10 Thread Senthil Kumaran
Senthil Kumaran added the comment: merged in release31-maint in revision 75336 Closing the issue. -- status: open -> closed versions: +Python 2.7, Python 3.1, Python 3.2 ___ Python tracker <http://bugs.python.org/iss

[issue7109] broken link on news page

2009-10-12 Thread Senthil Kumaran
Senthil Kumaran added the comment: > Hope this is the right place to report website issues. Not actually, http://wiki.python.org/moin/PythonWebsiteCreatingNewTickets to report a bug or to suggest an enhancement for the python.org website, please send an e-mail message to . If you

[issue7109] broken link on news page

2009-10-12 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue7109> ___ ___ Python-bugs-list mailing list Unsubscri

[issue7118] urllib2.urlopen() timeout argument ignored after redirect

2009-10-13 Thread Senthil Kumaran
Senthil Kumaran added the comment: Can you mention the python --version in which you encountered this issue? And piece of code which loops indefinitely? The propagation of timeout to redirects has been fixed with Issue5102. -- assignee: -> orsenthil nosy: +orsent

[issue7043] test_urllib: constructLocalFileUrl returns invalid URLs on Windows

2009-10-13 Thread Senthil Kumaran
Senthil Kumaran added the comment: Windows buildbots pass for this test. Closing the issue. -- status: open -> closed ___ Python tracker <http://bugs.python.org/iss

<    11   12   13   14   15   16   17   18   19   20   >