[issue11581] buildbot error when pushing to 2.5 branch?

2011-03-17 Thread Senthil Kumaran
New submission from Senthil Kumaran : When pushed a change to 2.5 branch, I got an error, which I think has to do with buildbot not available for 2.5 codeline. It asked me to notify the tracker and here it is. remote: state = method(*args, **kw) remote: File "/data/buildbot/m

[issue11442] list_directory() in SimpleHTTPServer.py should add charset=... to Content-type header

2011-03-17 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed in all the relevant code lines. -- assignee: -> orsenthil priority: release blocker -> resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python

[issue11567] http.server error message format

2011-03-17 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed in 3.3 and 3.2. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue11581] buildbot error when pushing to 2.5 branch?

2011-03-17 Thread Senthil Kumaran
Senthil Kumaran added the comment: On Thu, Mar 17, 2011 at 05:15:09PM +, Skip Montanaro wrote: > Should you be pushing anything to 2.5? I think, there is a security release planned in 2011. Also, see issue11442 which was the specific case for pushing to

[issue11579] python 2.5 does not build from hg - looks for subversion keywords

2011-03-17 Thread Senthil Kumaran
Senthil Kumaran added the comment: On Thu, Mar 17, 2011 at 05:16:43PM +, Skip Montanaro wrote: > See Issue 11439. Yes, that is relevant and applies probably to code in default and other branches. Just in case, this corner case in 2.5 does not overlooked (because it does not happen in ot

[issue11581] buildbot error when pushing to 2.5 branch?

2011-03-17 Thread Senthil Kumaran
Senthil Kumaran added the comment: issue11442 is a security issue and I pushed to 2.5 for fixing that and encountered this problem with buildbot. I think, we may/may not fix this (buildbot issue) depending upon when the 2.5 release may be planned

[issue11581] buildbot error when pushing to 2.5 branch?

2011-03-17 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- nosy: +loewis ___ Python tracker <http://bugs.python.org/issue11581> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10486] http.server doesn't set all CGI environment variables

2011-03-17 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: -> orsenthil ___ Python tracker <http://bugs.python.org/issue10486> ___ ___ Python-bugs-list mailing list Unsubscri

[issue8450] httplib: false BadStatusLine() raised

2011-03-17 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: -> orsenthil ___ Python tracker <http://bugs.python.org/issue8450> ___ ___ Python-bugs-list mailing list Unsubscri

[issue10860] Handle empty port after port delimiter in httplib

2011-03-17 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: -> orsenthil ___ Python tracker <http://bugs.python.org/issue10860> ___ ___ Python-bugs-list mailing list Unsubscri

[issue8704] cgitb sends a bogus HTTP header if the app crashes before finishing headers

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

[issue11563] test_urllibnet is triggering a ResourceWarning

2011-03-17 Thread Senthil Kumaran
Senthil Kumaran added the comment: On Thu, Mar 17, 2011 at 06:30:51PM +, Jeff McNeil wrote: > I went down the same path as AbstractHTTPHandler and added a Connection: > close header. This is fine for the moment, tough I wish that the TODO pending in urllib.request with H

[issue11575] addresses.txt file leaks into search engines

2011-03-18 Thread Senthil Kumaran
Senthil Kumaran added the comment: Why should we have this file served on the web itself? Cannot it be on server outside of www ( or any directory which is getting served). I would vote for this. -- nosy: +orsenthil ___ Python tracker <h

[issue11581] buildbot error when pushing to 2.5 branch?

2011-03-18 Thread Senthil Kumaran
Senthil Kumaran added the comment: David, from you message I understand that Martin is planning to release 2.5 via svn. If that is the case, whatever was pushed for security fix to hg can remain as such and so that those can be exported to svn. The bugs related to buildbot and svn keyword

[issue10050] urllib.request still has old 2.x urllib primitives

2011-03-18 Thread Senthil Kumaran
Senthil Kumaran added the comment: Significant patch. Thanks. I looked at the review too. For the Context Manager part, don't club it along with this one. We need to test this thoroughly, after this is in shape, that can be addressed. -- ___ P

[issue10050] urllib.request still has old 2.x urllib primitives

2011-03-18 Thread Senthil Kumaran
Senthil Kumaran added the comment: Changing the description is a minor update. The term 'URL access module' seems fine. -- ___ Python tracker <http://bugs.python.o

[issue11463] IncompleteRead: IncompleteRead(168 bytes read)

2011-03-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: Since the reporter did not get back with more details (testing against curl or a HEAD output to eliminate server issues), I am closing this issue. -- resolution: -> invalid status: pending -> closed ___

[issue11609] urllib-related buildbot failures

2011-03-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: Buildbots pass the tests again. -- priority: release blocker -> resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python

[issue9740] Support for HTTP 1.1 persistent connections throughout the standard library

2011-03-19 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: -> orsenthil ___ Python tracker <http://bugs.python.org/issue9740> ___ ___ Python-bugs-list mailing list Unsubscri

[issue3566] httplib persistent connections violate MUST in RFC2616 sec 8.1.4.

2011-03-19 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: -> orsenthil ___ Python tracker <http://bugs.python.org/issue3566> ___ ___ Python-bugs-list mailing list Unsubscri

[issue11563] test_urllibnet is triggering a ResourceWarning

2011-03-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: Victor - Issue9740 and Issue3566 talks about the need to have persistent connection. 3.3 would be a good target to have this feature in. Shall add the NEWS entry. Nadeen Wadwa - Thanks for your patch. I committed the fix as part of another bug (Issue3566

[issue11563] test_urllibnet is triggering a ResourceWarning

2011-03-19 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- Removed message: http://bugs.python.org/msg131456 ___ Python tracker <http://bugs.python.org/issue11563> ___ ___ Python-bugs-list m

[issue11563] test_urllibnet is triggering a ResourceWarning

2011-03-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: Victor - Issue9740 and Issue3566 talks about the need to have persistent connection. 3.3 would be a good target to have this feature in. Shall add the NEWS entry. Nadeem Vawda - Thanks for your patch. I committed the fix as part of another bug (Issue3566

[issue10883] urllib: socket is not closed explicitly

2011-03-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: I saw the partial fix suggested by the patch, but for some reason I did not see ResourceWarning being shutup. Let's look at this again. The warnings are all from the (old) ftp portion of the code.. -- ___ P

[issue11567] http.server error message format

2011-03-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: Ezio Melotti wrote: > This is just nitpicking, but serving XHTML as text/html is wrong. While, I thought this statement is correct and expected the Internet media-type should be something else (application/xhtml+xml), but as per w3c, it is not wrong

[issue10050] urllib.request still has old 2.x urllib primitives

2011-03-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks again. Agree to use of returning the block size to the returnhook callable. But this is going be a deviation from the existing behavior which was present to inform the user at regular intervals and did not bother to provide any 'progressive

[issue10050] urllib.request still has old 2.x urllib primitives

2011-03-20 Thread Senthil Kumaran
Senthil Kumaran added the comment: Antoine Pitrou wrote: > Can you clarify the issue? URLopener which is an old class from the merge of urllib and urllib2 and it can be slowly and safely removed. If we go this line, then I assume it has to have a DeprecationWarning before we remove it. Sho

[issue4492] httplib code thinks it closes connection, but does not

2011-03-20 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: -> orsenthil nosy: +orsenthil ___ Python tracker <http://bugs.python.org/issue4492> ___ ___ Python-bugs-list mai

[issue11421] Subversion keywords missing on 2.5 checkout

2011-03-21 Thread Senthil Kumaran
Senthil Kumaran added the comment: How about the patch attached in the issue11579 -- nosy: +orsenthil ___ Python tracker <http://bugs.python.org/issue11

[issue10050] urllib.request still has old 2.x urllib primitives

2011-03-21 Thread Senthil Kumaran
Senthil Kumaran added the comment: No, it is not waiting for you, in fact it is waiting for me to commit the portion which you have already contributed with some additional code (DeprecationWarning). But this bug does not end up here as there are other primitives which may need cleanup and

[issue11652] urlib{, 2} returns a pair of integers as the content-length value

2011-03-23 Thread Senthil Kumaran
Senthil Kumaran added the comment: Yes, interesting that Content-Length is returned as a comma separated value of ints. Normally, this behavior is observed for other headers which can have multiple values and urllib appends the subsequent values of the header for e.g. Content-Type header

[issue11652] urlib{, 2} returns a pair of integers as the content-length value

2011-03-23 Thread Senthil Kumaran
Senthil Kumaran added the comment: Yes, this is good enough for a non-standard behavior. However, I would be curious to know what curl did. Did it do something on based on the value or sequence in which it was obtained or just over-wrote it. -- title: urlib{,2} returns a pair of

[issue11236] getpass.getpass does not respond to ctrl-c or ctrl-z

2011-03-24 Thread Senthil Kumaran
Senthil Kumaran added the comment: Agree to removing of termios.ISIG so that we get a KeyBoardInterrupt exception raised when CNTL-C is pressed. Looking at discussion more carefully, it does not present any security risk. Should this be fixed in 3.3 only with NEWS detailing the change in

[issue11466] getpass.getpass doesn't close tty file

2011-03-24 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: -> orsenthil nosy: +orsenthil ___ Python tracker <http://bugs.python.org/issue11466> ___ ___ Python-bugs-list mai

[issue11662] Redirect vulnerability in urllib/urllib2

2011-03-24 Thread Senthil Kumaran
Senthil Kumaran added the comment: >> HTTPRedirectHandler behaviour can be changed >> to only allow redirects to HTTP, HTTPS and FTP by checking the scheme >> of the location URL (this seems to be a common practise in browsers) This would be the way to go. -

[issue11662] Redirect vulnerability in urllib/urllib2

2011-03-24 Thread Senthil Kumaran
Senthil Kumaran added the comment: >> why doesn't it have a "review" link? Perhaps, as it is not against the 'default'? Let's try my hg sandbox link which has a fix committed. Let's see if it gives the review link. -- hgrepos: +7 _

[issue11662] Redirect vulnerability in urllib/urllib2

2011-03-24 Thread Senthil Kumaran
Changes by Senthil Kumaran : Added file: http://bugs.python.org/file21374/c6a4d267fe88.diff ___ Python tracker <http://bugs.python.org/issue11662> ___ ___ Python-bug

[issue11662] Redirect vulnerability in urllib/urllib2

2011-03-24 Thread Senthil Kumaran
Changes by Senthil Kumaran : Added file: http://bugs.python.org/file21376/3c07ea6a176a.diff ___ Python tracker <http://bugs.python.org/issue11662> ___ ___ Python-bug

[issue11662] Redirect vulnerability in urllib/urllib2

2011-03-24 Thread Senthil Kumaran
Senthil Kumaran added the comment: Here is a more complete patch with tests. Please review this. Yes, it is against the default branch (3.x codeline). We can backport this behavior to 2.x codeline. I have raised an URLError exception when the direct to invalid_schemes is detected. Also

[issue11662] Redirect vulnerability in urllib/urllib2

2011-03-24 Thread Senthil Kumaran
Senthil Kumaran added the comment: On Thu, Mar 24, 2011 at 05:32:42PM +, Guido van Rossum wrote: > I still don't think we should raise URLError on the bad redirect; we > should treat it the same as a missing URI/Location header, and it > will raise HTTPError. Agreed.

[issue11662] Redirect vulnerability in urllib/urllib2

2011-03-24 Thread Senthil Kumaran
Changes by Senthil Kumaran : Added file: http://bugs.python.org/file21388/ff71c4416cde.diff ___ Python tracker <http://bugs.python.org/issue11662> ___ ___ Python-bug

[issue10645] Remove egg-info files in stdlib

2011-03-30 Thread Senthil Kumaran
Senthil Kumaran added the comment: +1 to removing of the spurious egg-info files. For the folks who are not aware of the multitude 'packaging terms', egg-info files are the first step towards the path leading to more confusion. So cleaning up would be definitely better in th

Re: [issue10966] eliminate use of ImportError implicitly representing SkipTest

2011-03-30 Thread Senthil Kumaran
+1 to the counter argument that "Unexpected Skips should not be marked as failures". Also, I like the following proposal of giving better messages on skips useful. On Sat, Mar 26, 2011 at 07:53:34AM +, Ezio Melotti wrote: > It's also possible to provide better skip messages, e.g.: > -test_wi

[issue10632] multiprocessing generates a fatal error

2011-03-30 Thread Senthil Kumaran
Senthil Kumaran added the comment: I wonder if this is CentOS and RHEL specific. Unable to reproduce this on Ubuntu. -- nosy: +dmalcolm, orsenthil ___ Python tracker <http://bugs.python.org/issue10

[issue11736] windows installers ssl module / openssl broken for some sites

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

[issue10762] strftime('%f') segfault

2011-04-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed it in relevant branches. I had to add condition around the test to verify that platform was win because this is unique to windows only. Thanks. -- nosy: +orsenthil ___ Python tracker <http://bugs.python.

[issue10762] strftime('%f') segfault

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

[issue11280] urllib2 http_error_302 calls undefined "getheaders" method

2011-04-06 Thread Senthil Kumaran
Senthil Kumaran added the comment: Just for the explaination (as the report already closed), getheaders of HTTPMessage object is available by subclassing all the way from rfc822.py module. If you trace it through the debugger, you will come to know

[issue7311] Bug on regexp of HTMLParser

2011-04-06 Thread Senthil Kumaran
Senthil Kumaran added the comment: We need not base changes to html/parser.py on html5 spec, but rather make changes based on the requirements on parsers which may rely on this library. Like the tolerant mode was brought in issue1486713 for some practical reasons and it was seen useful tor

[issue7311] Bug on regexp of HTMLParser

2011-04-06 Thread Senthil Kumaran
Senthil Kumaran added the comment: > So is the issue7311-3.diff patch fine? Just that it allows unquoted attrs for unicode too. My previous suggestion was not to allow unquoted attribute values, but as the change is already made in 2.7 and discussion pointed out a portion in 4.1 spec wh

[issue11799] urllib HTTP authentication behavior with unrecognized auth method

2011-04-07 Thread Senthil Kumaran
Senthil Kumaran added the comment: With the patch there is a new exception with specific msg being raised in certain cases, so this may only pertain to 3.3 -- assignee: -> orsenthil nosy: +orsenthil versions: -Python 3.2 ___ Python tracker &l

[issue11703] Bug in python >= 2.7 with urllib2 fragment

2011-04-12 Thread Senthil Kumaran
Senthil Kumaran added the comment: It should be noted that the bug surfaced in 2.7 and above due to changes made as part of Issue8280. -- assignee: -> orsenthil resolution: -> fixed ___ Python tracker <http://bugs.python.org/i

[issue11703] Bug in python >= 2.7 with urllib2 fragment

2011-04-12 Thread Senthil Kumaran
Senthil Kumaran added the comment: This is fixed in all the codelines. Thanks for the patch, Santoso. -- status: open -> closed ___ Python tracker <http://bugs.python.org/issu

[issue11474] url2pathname() handling of '/C|/' on Windows

2011-04-13 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed in all the codelines. Thanks for the patch, Santoso. -- assignee: -> orsenthil resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.or

[issue11710] Landing pages in docs for standard library packages

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

[issue11652] urlib{, 2} returns a pair of integers as the content-length value

2011-04-15 Thread Senthil Kumaran
Senthil Kumaran added the comment: It is better to close this issue as it was a Server Error. Standard just says that when there two headers with different values, combine them comma separated as urllib2 does. Making special case exception for 'Content-Length' header when the se

[issue11467] urlparse.urlsplit() regression for paths consisting of digits

2011-04-15 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed this in all codelines. Thanks Santoso. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue11862] urlparse.ParseResult to have meaningful __str__

2011-04-17 Thread Senthil Kumaran
Senthil Kumaran added the comment: What would be a 'meaning' __str__ or __unicode__ of urlparse.urlparse and how would it be useful to you? I would think that people would except a tuple, list or a ParsedResult for such a call. I cannot understand the rational behind the expect

[issue11862] urlparse.ParseResult to have meaningful __str__

2011-04-18 Thread Senthil Kumaran
Senthil Kumaran added the comment: Tomasz, I think, you misunderstood the purpose of urlparse library. urlparse is for parsing the URL and into its components. The url could be a mailto:, svn+ssh or http,https. The requirement for parsing comes when you are designing systems which take up

[issue4608] urllib.request.urlopen does not return an iterable object

2011-04-20 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- status: closed -> open ___ Python tracker <http://bugs.python.org/issue4608> ___ ___ Python-bugs-list mailing list Unsubscri

[issue11236] getpass.getpass does not respond to ctrl-c or ctrl-z

2011-04-26 Thread Senthil Kumaran
Senthil Kumaran added the comment: I have made the changes in 3.3,3.2,3.1 and 2.7 codeline. The behavior is aligned with the 2.5 (and earlier) behaviors. I cannot change this 2.6 because this is not a security issue to be back-ported. (rather it was misinterpreted problem and resulted in

[issue11236] getpass.getpass does not respond to ctrl-c or ctrl-z

2011-04-26 Thread Senthil Kumaran
Senthil Kumaran added the comment: Updated the NEWS entry. -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue11236> ___ ___ Python-

[issue10761] tarfile.extractall fails to overwrite symlinks

2011-04-26 Thread Senthil Kumaran
Senthil Kumaran added the comment: Scott- which platform did you observe this? I can't reproduce this on the 2.7 code on Linux. -- nosy: +orsenthil ___ Python tracker <http://bugs.python.org/is

[issue10761] tarfile.extractall fails to overwrite symlinks

2011-04-28 Thread Senthil Kumaran
Senthil Kumaran added the comment: I had tried/tested against 3.x branch and did not find the problem. Later realized that it was only again 2.7. Pushed in the changes and the tests. I shall the tests only in 3.x codeline. -- ___ Python tracker

[issue11862] urlparse.ParseResult to have meaningful __str__

2011-04-28 Thread Senthil Kumaran
Senthil Kumaran added the comment: Éric, ParseResult is a class which provides tuple for urlparse/unparse. People should hardly (/never) use ParseResult directly. The original poster's concern was to get something like geturl() from this class which was not suitable and it shou

[issue9035] os.path.ismount on windows doesn't support windows mount points

2011-04-28 Thread Senthil Kumaran
Senthil Kumaran added the comment: Sijin, please go ahead and submit a patch. No one is working on this at the moment. -- nosy: +markm ___ Python tracker <http://bugs.python.org/issue9

[issue11943] Add TLS-SRP (RFC 5054) support to ssl, _ssl, http, and urllib

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

[issue10761] tarfile.extractall fails to overwrite symlinks

2011-04-29 Thread Senthil Kumaran
Senthil Kumaran added the comment: I had wrapped skipUnless decorator for the wrong test (test_extractall instead of test_extractall_symlinks) in the 3.x code. Corrected it and waiting for next bb reports. Thank you. -- ___ Python tracker <h

[issue10761] tarfile.extractall fails to overwrite symlinks

2011-04-29 Thread Senthil Kumaran
Senthil Kumaran added the comment: buildbots are green again. -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue10761> ___ ___ Python-

[issue10946] bdist doesn’t pass --skip-build on to subcommands

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

[issue11898] Sending binary data with a POST request in httplib can cause Unicode exceptions

2011-05-06 Thread Senthil Kumaran
Senthil Kumaran added the comment: Hello Bernhard, I tried to a POST of JPEG file, through urllib2 (which internally uses httplib) and goes through the code that you pointed out and I don't face any problem. I am able to POST binaries using httplib. I am also surpris

[issue3709] BaseHTTPRequestHandler innefficient when sending HTTP header

2011-05-09 Thread Senthil Kumaran
Senthil Kumaran added the comment: Added the flush_headers method and the test function. this issue can be closed now. Thanks, Andrew Schaaf. -- status: open -> closed ___ Python tracker <http://bugs.python.org/iss

[issue12039] test_logging: bad file descriptor on FreeBSD bot

2011-05-09 Thread Senthil Kumaran
Senthil Kumaran added the comment: I could reproduce the BadStatusLine exception using Vinay's server_test.py. I see that the exception is triggered by logging package when it is trying to http.client's getresponse() before it is ready. The previous commit 25298224cb25 was on h

[issue12039] test_logging: bad file descriptor on FreeBSD bot

2011-05-10 Thread Senthil Kumaran
Senthil Kumaran added the comment: On Tue, May 10, 2011 at 09:12:58AM +, Vinay Sajip wrote: > Either omitting the end_headers() call was always an error but > previously undetected, or the requirement to always call > end_headers() is new and this should be documented. I'm no

[issue12039] test_logging: bad file descriptor on FreeBSD bot

2011-05-10 Thread Senthil Kumaran
Senthil Kumaran added the comment: On Tue, May 10, 2011 at 02:06:48PM +, Vinay Sajip wrote: > @Senthil - are you planning to make the documentation change, or should I? I shall do it, Vinay. Thanks! -- ___ Python tracker &l

[issue12039] test_logging: bad file descriptor on FreeBSD bot

2011-05-11 Thread Senthil Kumaran
Senthil Kumaran added the comment: Hi Vinay, Normally, when one uses send_response() call, it is most often followed with (multiple) send_header() calls and I updated the documentation keeping that in mind. Just calling of send_response() without any send_header and end_headers was an

[issue11799] urllib HTTP authentication behavior with unrecognized auth method

2011-05-11 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue11968] wsgiref's wsgi application sample code does not work

2011-05-11 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue11898] Sending binary data with a POST request in httplib can cause Unicode exceptions

2011-05-15 Thread Senthil Kumaran
Senthil Kumaran added the comment: The bug was about sending Binary "data" via httplib. In the example you wrote, you are sending a unicode "url" and experiencing a failure for certain examples. In the 2.7, the urls should be str type, we don't have function to deal wi

[issue12088] tarfile.extractall fails to overwrite unresolved symlinks and hard links

2011-05-16 Thread Senthil Kumaran
Senthil Kumaran added the comment: I looked at your message and the patch, seems okay for the case of testing if the symlink is broken and performing the next steps. I shall commit it soon. -- assignee: -> orsenthil nosy: +orsenthil ___ Pyt

[issue12088] tarfile.extractall fails to overwrite unresolved symlinks and hard links

2011-05-16 Thread Senthil Kumaran
Senthil Kumaran added the comment: Committed the fix. Thank you, Scott. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue11197] information leakage with SimpleHTTPServer

2011-05-16 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: -> orsenthil nosy: +orsenthil ___ Python tracker <http://bugs.python.org/issue11197> ___ ___ Python-bugs-list mai

[issue6059] ctypes/uuid-related segmentation fault

2011-05-17 Thread Senthil Kumaran
Senthil Kumaran added the comment: neologix, that is right. Importing uuid before importing the other modules does not result in Seg Fault. Till the libc fix is available in Operating systems and as a result in CPython, this is probably the only way to go for. -- nosy: +orsenthil

[issue1006238] cross compile patch

2011-05-20 Thread Senthil Kumaran
Senthil Kumaran added the comment: hello wrobell , I see that issue3754 has patches for more recent line of code and issue 1597850 is related too. Would you like to test the patches in there? If successful, this feature can be pushed further (and considered) for inclusion. -- nosy

[issue1006238] cross compile patch

2011-05-20 Thread Senthil Kumaran
Senthil Kumaran added the comment: Code compatibility wise there is not much difference between Python3.2 and Python3.3. So you can do it for Python3.2 (in a bitbucket cpython branch) and it is found stable, there are good chances that it will be can be made in Python3.3 and future. I don&#

[issue12133] ResourceWarning in urllib.request

2011-05-21 Thread Senthil Kumaran
Senthil Kumaran added the comment: Hi Ezio, the connection can be closed via the finally call as you do in the patch. There are times when request object is re-used, but before the connection is made. It may also help to understand how the code in the packaging was invoking it. If you run

[issue9991] xmlrpc client ssl check faulty

2010-11-18 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed in r86514 (py3k) and r86515 (release31-maint). -- assignee: -> orsenthil resolution: -> fixed stage: -> committed/rejected ___ Python tracker <http://bugs.python.o

[issue9991] xmlrpc client ssl check faulty

2010-11-18 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue9991> ___ ___ Python-bugs-list mailing list Unsubscri

[issue2244] urllib and urllib2 decode userinfo multiple times

2010-11-18 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed in r86520 (py3k) and r86522 (release31-maint). unquote happens at the first level inside Request class, _parse method. Shall port to py2.7. -- nosy: -BreamoreBoy resolution: -> fixed stage: patch review -> committed/re

[issue9991] xmlrpc client ssl check faulty

2010-11-18 Thread Senthil Kumaran
Senthil Kumaran added the comment: r86523(py3k) and r86524(release31-maint) -- ___ Python tracker <http://bugs.python.org/issue9991> ___ ___ Python-bugs-list m

[issue2244] urllib and urllib2 decode userinfo multiple times

2010-11-20 Thread Senthil Kumaran
Senthil Kumaran added the comment: back-ported to release27-maint in r86554. -- status: open -> closed ___ Python tracker <http://bugs.python.org/iss

[issue10231] SimpleHTTPRequestHandler directory bugs

2010-11-20 Thread Senthil Kumaran
Senthil Kumaran added the comment: I have doubts on the validity of this bug itself. - First is, query and fragment are usually for the file being served from the webserver, not on the directories. If there are characters such as '?' and '#' in the directory names, which

[issue10377] cProfile incorrectly labels its output

2010-11-20 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed in r86580 (py3k), r86581 and r86582. -- components: +Library (Lib) resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue10319] SocketServer.TCPServer truncates responses on close (in some situations)

2010-11-20 Thread Senthil Kumaran
Senthil Kumaran added the comment: BaseHTTPServer documentation explains that "Usually, this module isn’t used directly, but is used as a basis for building functioning Web servers". Methods are usually subclassed with desirable behaviors customized. If you are using SocketServ

[issue1520831] urrlib2 max_redirections=0 disables redirects

2010-11-20 Thread Senthil Kumaran
Senthil Kumaran added the comment: What should it do? OP expected that it print the redirected url. I don't think that's helpful by setting max_redirections to 0, when it can be achieved in other ways. Also, max_redirections is not exposed (as a parameter or arg) or a documented,

[issue10231] SimpleHTTPRequestHandler directory bugs

2010-11-21 Thread Senthil Kumaran
Senthil Kumaran added the comment: On Sat, Nov 20, 2010 at 07:09:58PM +, Jeremy Thurgood wrote: > There are two separate things here: the URL and the filesystem path. > The bug is that the fragment and query parameters are stripped in > translate_path(), but are *not* stri

[issue3709] BaseHTTPRequestHandler innefficient when sending HTTP header

2010-11-21 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed this revision 86640. - Even though this is an internal optimization,I don't think back-porting is a good idea, because it changes the behavior of certain methods like send_header and end_headers - Added the Documentation and other test scenario

[issue10231] SimpleHTTPRequestHandler directory bugs

2010-11-21 Thread Senthil Kumaran
Senthil Kumaran added the comment: On Sun, Nov 21, 2010 at 12:12:08PM +, Jeremy Thurgood wrote: > I see your point now, but I don't agree with it completely. It seems > reasonable to allow query parameters to specify things like sort > order for a directory listing or have

[issue3709] BaseHTTPRequestHandler innefficient when sending HTTP header

2010-11-21 Thread Senthil Kumaran
Senthil Kumaran added the comment: On Sun, Nov 21, 2010 at 03:15:06PM +, R. David Murray wrote: > Senthil, I didn't clearly express my concern about > send_response_only. It doesn't look to me like, with buffering in > place, that it *should* write directly, it looks to

[issue4493] urllib2 doesn't always supply / where URI path component is empty

2010-11-21 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed it in r86676 (py3k), r86677 ( release31-maint) and r86678(release27-maint). Wes: I fixed it at the much higher level in the urlparse itself, so that the fixed url is sent to the httplib. In issue2464, John had pointed out that according to STD 66

<    1   2   3   4   5   6   7   8   9   10   >