[issue16247] Report failing url in URLError?

2021-12-12 Thread Senthil Kumaran
Senthil Kumaran added the comment: It is going to take a few weeks for me to get to my alerts, I will address this as soon as I get to it . Thanks for the triage, Irit. On Mon, Dec 13, 2021, 12:31 AM Irit Katriel wrote: > > Change by Irit Katriel : > > > --

[issue46756] Incorrect authorization check in urllib.request

2022-03-03 Thread Senthil Kumaran
Senthil Kumaran added the comment: Pablo, we are good. The PRs were merged in open branches a while ago, and this was tracking security releases backports. -- ___ Python tracker <https://bugs.python.org/issue46

[issue12924] Missing call to quote_plus() in test_urllib.test_default_quoting()

2011-09-12 Thread Senthil Kumaran
Senthil Kumaran added the comment: jon, thanks for the bug report. Fixed and closed in all the branches. -- ___ Python tracker <http://bugs.python.org/issue12

[issue12938] html.escape docstring does not mention single quotes (')

2011-09-12 Thread Senthil Kumaran
Senthil Kumaran added the comment: Yes, single quotes should not escaped in the CGI escape. We should remove that from the table. -- nosy: +orsenthil ___ Python tracker <http://bugs.python.org/issue12

[issue12938] html.escape docstring does not mention single quotes (')

2011-09-12 Thread Senthil Kumaran
Senthil Kumaran added the comment: The single quote escape was added due to Issue9061 and Issue2830. Since it was included deliberately due to above raised issues, it is best to document it, instead of removing it. -- ___ Python tracker <h

[issue12955] urllib2.build_opener().open() is not friendly to "with ... as:"

2011-09-16 Thread Senthil Kumaran
Senthil Kumaran added the comment: Just as a quick guideline. If you are talking about context manager support for urlopen, it is available and present in 3.x but not on 2.7. And I fear, it is late to make it available on 2.7, because it is a feature. In any case, as Terry requested, a simple

[issue12955] urllib.request example should use "with ... as:"

2011-09-16 Thread Senthil Kumaran
Senthil Kumaran added the comment: Valery, yes. I shall update 2.7 documentation with this known limitation and 3.x documentation with the example usage scenarios. Thanks! -- assignee: docs@python -> orsenthil ___ Python tracker &l

[issue12938] html.escape docstring does not mention single quotes (')

2011-09-18 Thread Senthil Kumaran
Senthil Kumaran added the comment: This is fixed in all revisions. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue12991] Python 64-bit build on HP Itanium - Executable built successfully but modules failed with HP Compiler

2011-09-21 Thread Senthil Kumaran
Senthil Kumaran added the comment: Wah Meng and I were discussing about this in a separate thread as well. I think, it is a good idea to improve the Readme for this issue. Wah Meng, since you already went at length to contact HP and clarify linker issue with 64 bit and found a solution to it

[issue12991] Python 64-bit build on HP Itanium - Executable built successfully but modules failed with HP Compiler

2011-09-21 Thread Senthil Kumaran
Senthil Kumaran added the comment: Wah meng - Instructions to get the _tkinter compile would be a good idea too. Also, can you verify the same instructions would work for 3.2 version of Python? -- keywords: +patch Added file: http://bugs.python.org/file23221/README.patch

[issue7133] test_ssl failure

2011-09-26 Thread Senthil Kumaran
Senthil Kumaran added the comment: Keith, was your python compiled with ssl? Any extra information to reproduce this can help. (Download 2.7.2 from python.org, do a ./configure;make and verify if this can bug can be reproduced). -- nosy: +orsenthil

[issue13024] cgitb uses stdout encoding

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

[issue12966] cookielib.LWPCookieJar breaks on cookie values with a newline

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

[issue13073] message_body argument of HTTPConnection.endheaders is undocumented

2011-09-30 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: docs@python -> orsenthil nosy: +orsenthil ___ Python tracker <http://bugs.python.org/issue13073> ___ ___ Python-

[issue13073] message_body argument of HTTPConnection.endheaders is undocumented

2011-10-02 Thread Senthil Kumaran
Senthil Kumaran added the comment: This is fixed the following changesets. changeset a3f2dba93743 changeset 1ed413b52af3 changeset 277688052c5a Thanks for the patch, Ben Hayden. -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -&g

[issue13073] message_body argument of HTTPConnection.endheaders is undocumented

2011-10-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: I believe, I have addressed all the comments. Closing this report. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue13104] urllib.request.thishost() returns a garbage value

2011-10-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for the report. This is fixed now. I hope in 3.3 I remove this old utility functions. (real soon). -- assignee: -> orsenthil resolution: -> fixed status: open -> closed ___ Python track

[issue13104] urllib.request.thishost() returns a garbage value

2011-10-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: hmm. interesting case in FreeBSD. Looks like socket.gethostname() did not return the hostname in freebsd buildbot. -- ___ Python tracker <http://bugs.python.org/issue13

[issue13073] message_body argument of HTTPConnection.endheaders is undocumented

2011-10-06 Thread Senthil Kumaran
Senthil Kumaran added the comment: Yes, I agree. I think, it can be clarified at that point too. Because. in 2.7 the string is being checked and in 3.3 the message_body is checked if it's instance of bytes. But, I think, it should be carefully worded (aligned with how other socket message

[issue1673007] urllib2 requests history + HEAD support

2011-10-10 Thread Senthil Kumaran
Senthil Kumaran added the comment: Hi Ezio, I had probably overlooked this one. But It's a very interesting one for me. Do you mind if I commit it ? On Oct 10, 2011 7:20 PM, "Ezio Melotti" wrote: > > Ezio Melotti added the comment: > > Attached an updated patch

[issue1673007] urllib2 requests history + HEAD support

2011-10-10 Thread Senthil Kumaran
Senthil Kumaran added the comment: Our discussion stemmed from this point. If you look at the change proposed, Request class is taking a new parameter by name 'method' and it is initialized to None: class Request: def __init__(self, url, data=Non

[issue1673007] urllib2 requests history + HEAD support

2011-10-11 Thread Senthil Kumaran
Senthil Kumaran added the comment: Patrick, Lots of valid points. I had not looked at the RFC spec when I mentioned about data over request (GET) method, but was trying to derive the current functionality of module (so that users can have a seamless experience) with additional method=&quo

[issue13154] pep-0000.txt doesn't build anymore

2011-10-12 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed in 25ff1adf5f30 -- nosy: +orsenthil resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue1673007] urllib2 requests history + HEAD support

2011-10-16 Thread Senthil Kumaran
Senthil Kumaran added the comment: I have committed the patch accomodating the doc review comments which Ezio had mentioned. At the moment, the current way seems to be most backwards compatible one and did not want to delay it. Let's hope we get some feedback on this method arg. T

[issue1673007] urllib2 requests history + HEAD support

2011-10-17 Thread Senthil Kumaran
Senthil Kumaran added the comment: Hi Eric, The changes suggested in the patch are good for readability, I shall include them all. Thanks! -- ___ Python tracker <http://bugs.python.org/issue1673

[issue12529] cgi.parse_header fails on double quotes and semicolons

2011-10-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for the patch, Petri and Ben.Darnell. -- nosy: +orsenthil ___ Python tracker <http://bugs.python.org/issue12

[issue6090] zipfile: Bad error message when zipping a file with timestamp before 1980

2011-10-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed in all active branches. Thanks for the patch, Petri. Mark, for this issue, raising ValueError from zipfile was seemingly a right thing to do, the previous error from struct for a side effect of sending a value lower than 1980. -- nosy

[issue4733] Add a "decode to declared encoding" version of urlopen to urllib

2011-10-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: - page.encoding is a good idea. - page.decode_content sounds definitely better than page.decode which can be confusing as page is not a bytes object, but a file-like object. I am thinking if an attribute to urlopen would be better? Not exactly the mode

[issue13244] WebSocket schemes in urllib.parse

2011-10-27 Thread Senthil Kumaran
Senthil Kumaran added the comment: This kind of suggestion has come up before and easy fix is to add individual schemes as the patch does. There is a number of limitations if want to make the parser generic for any scheme. The difficult thing being the parsing behavior and requirements as

[issue13033] Add shutil.chowntree

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

[issue13244] WebSocket schemes in urllib.parse

2011-10-27 Thread Senthil Kumaran
Senthil Kumaran added the comment: Similar issue Issue7904 and 7da7f9bfdaac wherein the accepted way to parse x-newscheme://foo.com/stuff was added. Does the new ws:// scheme not fall under that? -- ___ Python tracker <http://bugs.python.

[issue13277] tzinfo subclasses information

2011-10-27 Thread Senthil Kumaran
New submission from Senthil Kumaran : This was in the docs mailing list, not translated to bug report Paul Koning wrote: Section 8.1.6 of the library manual talks about utcoffset(dt)-dst(dt) as the "standard offset" and says that this should not depend on the date or +time but o

[issue13211] urllib2.HTTPError does not have 'reason' attribute.

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

Re: [issue13208] Problems with urllib on windows

2011-10-27 Thread Senthil Kumaran
The code is pretty straight forward and works on Linux. Is the problem with the download? If you open the json file, is it a valid one? ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-

[issue13287] urllib.request exposes too many names

2011-10-28 Thread Senthil Kumaran
Senthil Kumaran added the comment: Let's deprecate some of these (or add deprecation warnings) for upcoming release. But, doing from xxx import * is not a recommended way for any module, as we know that it stands to pollute the namespace with unneccesary functions/methods. I would be ca

[issue13281] robotparser.RobotFileParser ignores rules preceeded by a blank line

2011-10-30 Thread Senthil Kumaran
Senthil Kumaran added the comment: I agree with your interpretation of the RFC. The parsing rules do not specify any provision for inclusion of blank lines "within" the records. However, I find that inclusion is no harm either. I checked that with a robots.txt parser (Google webma

[issue10817] urllib.request.urlretrieve never raises ContentTooShortError if no reporthook

2011-10-31 Thread Senthil Kumaran
Senthil Kumaran added the comment: This is fixed in all codelines. Thanks for your contribution, Jyrki Pulliainen. -- resolution: -> fixed status: open -> closed versions: +Python 3.2, Python 3.3 ___ Python tracker <http://bugs.p

[issue13287] urllib.request exposes too many names

2011-11-01 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks flox for the patch. Just the News item is added. I don't think, this requires any Docs update. One change I had to make in the patch is to remote HTTPSHandler from __all__ because that is only conditionally available when http.client sup

[issue13323] urllib2 does not correctly handle multiple www-authenticate headers in an HTTP response

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

[issue13147] Multiprocessing Pool.map_async() does not have an error_callback parameter

2011-11-02 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for the report, Jakub and for the patch, Jyrki -- nosy: +orsenthil resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue13211] urllib2.HTTPError does not have 'reason' attribute.

2011-11-08 Thread Senthil Kumaran
Senthil Kumaran added the comment: Hi Jason & Petri, urllib2.HTTPError never had a reason attribute. In the docs, it is mentioned that only URLError has the reason attribute. The HTTPError sublasses URLError and addinforurl class, but the further initialization happens only in

[issue11082] ValueError: Content-Length should be specified

2011-11-08 Thread Senthil Kumaran
Senthil Kumaran added the comment: Here is the docs patch which will help us close the issue. Addressing Eric's last comment - I believe the what's new and News for this issue was added with the feature, this one was Exception msg change. -- Added file: http://bugs.

[issue13425] http.client.HTTPMessage.getallmatchingheaders() always returns []

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

[issue13425] http.client.HTTPMessage.getallmatchingheaders() always returns

2011-11-23 Thread Senthil Kumaran
Senthil Kumaran added the comment: Let's make it useful, that's much better instead of removing it. I am +1 with Ezio's suggestion on this to return a list of tuples with matching headers. -- title: http.client.HTTPMessage.getallmatchingheaders()

[issue13620] Support Chrome in webbrowser.py

2011-12-21 Thread Senthil Kumaran
Senthil Kumaran added the comment: This is in 3.3. Thanks for the patches. -- nosy: +orsenthil resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue11012] Add log1p(), exp1m(), gamma(), and lgamma() to cmath

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

[issue13443] wrong links and examples in the functional HOWTO

2011-12-22 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed this in 2.7. -- nosy: +orsenthil resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue12798] Update mimetypes documentation

2011-12-22 Thread Senthil Kumaran
Senthil Kumaran added the comment: Updated the doc with Sandro Tosi's suggested changes in all the codelines. -- nosy: +orsenthil resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.

[issue13294] http.server: minor code style changes.

2011-12-23 Thread Senthil Kumaran
Senthil Kumaran added the comment: The original issue was invalid. Incorporated Michele Orrù's code style changes into the trunk and other codelines. -- resolution: -> fixed status: open -> closed title: http.server: HEAD request should not return a body -> http.serve

[issue13294] http.server: minor code style changes.

2011-12-24 Thread Senthil Kumaran
Senthil Kumaran added the comment: The concern here is if the request line had something like this. Method SP Request-URI SP HTTP-Version \r\n The previous behavior would have resulted in Method SP Request-URI SP HTTP-Version That is removing only the final \r\n, whereas the

[issue13696] [urllib.request.HTTPRedirectHandler.http_error_302] Relative Redirect issue

2012-01-03 Thread Senthil Kumaran
Senthil Kumaran added the comment: Here is the patch against 3.2. Something is wrong with the mercurial at the moment where 3.2 is shown as inactive. Once that is corrected, I shall commit and push this to 3.2 and cpython codelines. This bug is not present in 2.7 as different logic is

[issue13696] [urllib.request.HTTPRedirectHandler.http_error_302] Relative Redirect issue

2012-01-03 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- resolution: -> fixed stage: test needed -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue13642] urllib incorrectly quotes username and password in https basic auth

2012-01-06 Thread Senthil Kumaran
Senthil Kumaran added the comment: Some review comments. Instead of doing the inline unquote like this - -auth = base64.b64encode(user_passwd).strip() +auth = base64.b64encode(unquote(user_passwd)).strip() It is better to do the explicitly above the b64 encoding step

[issue9637] docs do not say that urllib uses HTTP_PROXY

2012-01-09 Thread Senthil Kumaran
Senthil Kumaran added the comment: Sorry, this escaped for so long. First thing is, having different values for HTTP_PROXY and HTTP_proxy and http_proxy is plain wrong at the user side. They all should be same and in that case the possible problem which Kirikaza and Neil Muller state is

[issue13642] urllib incorrectly quotes username and password in https basic auth

2012-01-10 Thread Senthil Kumaran
Senthil Kumaran added the comment: Joonas and Michele - The fix along with the tests is in for 2.7 line. W.r.t to tests having it in the class level buf seems to be only easy way, for other it seemed to be that FakeSocket and FakeConnection stuff need some major change (and resulted in

[issue9637] docs do not say that urllib uses HTTP_PROXY

2012-01-10 Thread Senthil Kumaran
Senthil Kumaran added the comment: This is fixed. Thanks for your contribution. -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.o

[issue11109] socketserver.ForkingMixIn leaves zombies, also fails to reap all zombies in one pass

2011-05-24 Thread Senthil Kumaran
Senthil Kumaran added the comment: Justin, The patch and logic is okay. We can have this is 3.3. - I find that loop_actions as not appropriate name for the new method. It fails to give a intuitive meaning of what is supposed to do. request_action, request_action_continued or anything else

[issue11109] socketserver.ForkingMixIn leaves zombies, also fails to reap all zombies in one pass

2011-05-25 Thread Senthil Kumaran
Senthil Kumaran added the comment: The feature is in 3.3. I did not remove the handle_timeout method from the Mixin class, because it might be used in the production by the existing servers. It is not appropriate to remove methods all of sudden without deprecation warnings and also it is not

[issue11109] socketserver.ForkingMixIn leaves zombies, also fails to reap all zombies in one pass

2011-05-25 Thread Senthil Kumaran
Senthil Kumaran added the comment: This is fixed in 3.3 now. Keeping it open for test_socketserver update. After a ForkingServer service call, it should be asserted the collect_children routine is run. -- resolution: -> fixed stage: patch review -> committed/rejected ve

[issue11109] socketserver.ForkingMixIn leaves zombies, also fails to reap all zombies in one pass

2011-05-25 Thread Senthil Kumaran
Senthil Kumaran added the comment: Victor - Sure, I understand Issue #xxx: desc must be useful while generation reST docs. -- ___ Python tracker <http://bugs.python.org/issue11

[issue12184] socketserver.ForkingMixin collect_children routine needs to collect only it's children

2011-05-25 Thread Senthil Kumaran
New submission from Senthil Kumaran : socketserver.ForkingMixin class has a collect_children method, that waits for the children to exit. But, that waits for any child process and not just the ones spawned the socketserver alone. try: pid, status = os.waitpid(0, 0

[issue12184] socketserver.ForkingMixin collect_children routine needs to collect only it's children

2011-05-25 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- nosy: +charles-francois.natali ___ Python tracker <http://bugs.python.org/issue12184> ___ ___ Python-bugs-list mailing list Unsub

[issue10449] “os.environ was modified by test_httpservers”

2011-05-28 Thread Senthil Kumaran
Senthil Kumaran added the comment: I think, if you speak to RM, you can just have this change in. Don't we get "no commits please" email request from RM with hg or is the branch already cut? -- ___ Python tracker <http://bugs.pyt

[issue11197] information leakage with SimpleHTTPServer

2011-06-18 Thread Senthil Kumaran
Senthil Kumaran added the comment: Ori, which platform did you try to reproduce this issue. I tried in all active codelines (cpython to all through 2.5) from hg and can't able to reproduce this bug on Linux. If someone can reproduce, can you provide exact instruc

[issue12255] A few changes to .*ignore

2011-06-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: +libpython*.so* is fine, but please don't remove the rej and orig. By convention and practice, those files are meant to be in .ignore files to prevent accidental checkins. Usually when the conflict occurs you are notified immediately and you fix

[issue12255] A few changes to .*ignore

2011-06-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: I strictly have not faced any problem with those rej and orig files being present in the .hgignore. I also thought keeping the .hgignore in the repo was for distribution and never knew that it can affect local views (If you remove .rej and .orig your local

[issue12255] A few changes to .*ignore

2011-06-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: By "for distribution", I meant that everyone who checks out ( clones) from hg.cpython.org repository share the same .hgignore file, instead of each person having to create their own file. I got an impression from the earlier message that hg

[issue12255] A few changes to .*ignore

2011-06-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: I tried to a line .hgignore inside .hgignore file, so that it can ignore itself (weird concept, but wanted to try if it works) and users can make local customization of it without any problem. This has been suggest at many places in the Internet. I tried

[issue12365] URLopener should support context manager protocol

2011-06-20 Thread Senthil Kumaran
Senthil Kumaran added the comment: well, urlopen does return an file like object for socket connection which closes itself when it goes out of scope, as you raised this bug, I think a more explicit context manager like behavior can be tried. But I am afraid that it would complex to implement

[issue12319] [http.client] HTTPConnection.putrequest not support "chunked" Transfer-Encodings to send data

2011-06-20 Thread Senthil Kumaran
Senthil Kumaran added the comment: We had support for chunked transfer encoding for POST method recently, which is exposed via urllib2 wrapper function. PUT is not exposed via urllib2 and users should use httplib. This feature of chunked transfer can be added to PUT by taking the body of the

[issue12327] in HTTPConnection the are len(body) and TypeError catch exception to detect if body is file like object, this hack do work with StringIO object

2011-06-20 Thread Senthil Kumaran
Senthil Kumaran added the comment: Hello Stephane, > I use HTTPConnection to simulate Apple Finder WebDAV client. When > this WebDAV client do PUT request, it transmit data in chunked > encoding mode and not set Content-Length HTTP field. > > Do you understand my context ? I

[issue12289] http.server.CGIHTTPRequestHandler doesn't check if a Python script is executable

2011-06-20 Thread Senthil Kumaran
Senthil Kumaran added the comment: Both the changes suggested in the patch are fine. I think, it is okay to remove the executable function. It is undocumented as it is, and have not seen any standalone use of it. A note in NEWS can help. -- nosy: +orsenthil

[issue12365] URLopener should support context manager protocol

2011-06-21 Thread Senthil Kumaran
Senthil Kumaran added the comment: I forgot completely, but in Python3, Issue5418 had already added support to addinfourl. It is now possible to write code like import urllib.request with urllib.request.urlopen('http://www.python.org') as req: res = req.read() But yeah, unl

[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2011-06-22 Thread Senthil Kumaran
Senthil Kumaran added the comment: Yes, it is a feature. Sorry that I have not paid attention to this. The Windows (IIS) part led me to delay as I did not have any to test. Let me take this up and see through it in 3.3. -- ___ Python tracker

[issue12390] urllib.parse.urlencode encoding lists as strings

2011-06-22 Thread Senthil Kumaran
Senthil Kumaran added the comment: I see you missed the doseq parameter which is applicable in this case. print(urllib.parse.urlencode(dictQuery, encoding='iso8859-1',doseq=True)) a=b&c=d&c=e&b=c -- nosy: +orsenthil resolution: -> inval

[issue12390] urllib.parse.urlencode encoding lists as strings

2011-06-23 Thread Senthil Kumaran
Senthil Kumaran added the comment: Joseph, resolution applies for the bug not the process. tc. :) -- resolution: accepted -> invalid ___ Python tracker <http://bugs.python.org/issu

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

2011-06-24 Thread Senthil Kumaran
Senthil Kumaran added the comment: Sorin, can you please open another report with more details and how some condition in httplib breaks PyAMF. We will see through that it is fixed. Commenting on an invalid closed issue is confusing. -- ___ Python

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

2011-06-25 Thread Senthil Kumaran
Senthil Kumaran added the comment: Hi Sorin, On Sat, Jun 25, 2011 at 07:54:24PM +, sorin wrote: > type(message_body) is str ... even if I tried to manually force > Python for use bytes. It seams that in 2.7 bytes are alias to str. > Due to this the code will fail to run only on 2.

[issue12255] A few changes to .*ignore

2011-06-25 Thread Senthil Kumaran
Senthil Kumaran added the comment: Eric, sure go ahead. As I am not affected by remains of .rej and .orig (neither have I found their usefulness (yet)), so my concerns can be stepped over. Plus, I have found a way to ignore files via patterns in .hgrc. I already see you and RDM proposing the

[issue10020] docs for sqlite3 describe functions not available without recompiling

2011-06-25 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed in branch 2.7. Thanks Kristan. Eric, the documentation patch does not apply to 3.1 because those functions are not present in 3.1. -- nosy: +orsenthil status: open -> closed ___ Python tracker &l

[issue12255] A few changes to .*ignore

2011-06-26 Thread Senthil Kumaran
Senthil Kumaran added the comment: On Sat, Jun 25, 2011 at 08:38:04PM +, Senthil Kumaran wrote: > As I am not affected by remains of .rej and .orig (neither have I > found their usefulness (yet)), so my concerns can be stepped over. Just a side-note. I wondered why is my case so,

[issue11197] information leakage with SimpleHTTPServer

2011-06-26 Thread Senthil Kumaran
Senthil Kumaran added the comment: The module documentation for the SimpleHTTPServer class says that. """ This class serves files from the current directory and below, directly mapping the directory structure to HTTP requests. """ As it is already docume

[issue11253] autodocument first appearance of ctypes.wintypes constants

2011-06-26 Thread Senthil Kumaran
Senthil Kumaran added the comment: On Sun, Jun 26, 2011 at 10:44:59AM +, Mark Mc Mahon wrote: > So we need a doc patch? Should we update the older 'What's new in > Python 2.x' for added attribs? The Documentation patch may be applied only 2.7 and 3.2/3.3 releases now.

[issue11568] docstring of select.epoll.register() is wrong

2011-06-26 Thread Senthil Kumaran
Senthil Kumaran added the comment: On Sun, Jun 26, 2011 at 03:12:30PM +, Sandro Tosi wrote: > The patch is fine: but would you be interested in trying to write a > unittest for select.epoll.register ? it would be really nice to This is covered in test_epoll.py -- nosy: +ors

[issue10020] docs for sqlite3 describe functions not available without recompiling

2011-06-27 Thread Senthil Kumaran
Senthil Kumaran added the comment: Eric, you mean for the whole of sqlite3 docmentation or the part in the footnote? -- ___ Python tracker <http://bugs.python.org/issue10

[issue10403] Use "member" consistently

2011-06-28 Thread Senthil Kumaran
Senthil Kumaran added the comment: Yes, I agree with you. Good Suggestion. Thanks! -- ___ Python tracker <http://bugs.python.org/issue10403> ___ ___ Python-bug

[issue12431] urllib2.Request.get_full_url() broken in newer versions of Python

2011-06-29 Thread Senthil Kumaran
Senthil Kumaran added the comment: As Santosa said, this was discovered and fixed in 2.7 itself, surprised that you discovered it in any release Jon. If it was from a checkout, please update. -- resolution: -> invalid stage: -> committed/rejected status: open -&g

[issue12455] urllib2 forces title() on header names, breaking some requests

2011-06-30 Thread Senthil Kumaran
Senthil Kumaran added the comment: AFAIR, that capitalize part is somewhere a requirement in RFC, if the server did not behave in proper manner, it may not be a good idea for the client to change (or be permissive the flag). -- nosy: +orsenthil

[issue12455] urllib2 forces title() on header names, breaking some requests

2011-06-30 Thread Senthil Kumaran
Senthil Kumaran added the comment: Sorry, not "Capitalize", but the "Title" part. One can some bugs which lead to this change in the urllib2. -- ___ Python tracker <http://bug

[issue10020] docs for sqlite3 describe functions not available without recompiling

2011-07-03 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed the indentation issues. We could not use automatic reST footnotes because two links refer to same footnote, so left it as such. -- ___ Python tracker <http://bugs.python.org/issue10

[issue1067702] urllib fails with multiple ftp transfers

2011-07-03 Thread Senthil Kumaran
Senthil Kumaran added the comment: Hello Stefen, Yes, I was able to reproduce the issue without the patch and at the same time, noticed that the problem was not observed in other branches (py3k), then saw the differences where the possible socket close delays can happen and fixed it. As it

[issue11253] autodocument first appearance of ctypes.wintypes constants

2011-07-03 Thread Senthil Kumaran
Senthil Kumaran added the comment: What's new docs are usually for what is coming up new in the upcoming releases. It is not updated once the release is done. Bug fixes and related docs are updated in documentation. -- ___ Python tracker

Re: [issue12436] Provide reference to detailed installation instructions

2011-07-03 Thread Senthil Kumaran
I am not sure that is comprehensive enough. It is just organized into OS specific sections and gives little details further on. So, -1 to this, but +1 to the general idea of having detailed install and get started documentation. ___ Python-bugs-list maili

Re: [issue12438] IDLE problem displaying warning message

2011-07-03 Thread Senthil Kumaran
Have fixed this. Even looking at the code, your suggestion was correct. But even before the fix, I was not able to reproduce the bug in Ubuntu and perhaps it was getting masked. May I ask, how did you invoke idle that this bug surfaced and what was the platform?

[issue12470] Fix cut&paste typo in test_shutil

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

[issue12484] The Py_InitModule functions no longer exist, but remain in the docs

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

[issue12487] urllib2.urlopen() returns object missing context manager

2011-07-04 Thread Senthil Kumaran
Senthil Kumaran added the comment: It should be documented that in 2.x series the file-like object does not support context management protocol. I have added the superseder issue number, please see the note as if you really want in 2.x, how you can have it using contextlib and in 3.x the

[issue12491] Update glossary documentation for the term 'attribute'

2011-07-04 Thread Senthil Kumaran
New submission from Senthil Kumaran : Update the term 'attribute' in the glossary http://docs.python.org/dev/glossary.html#term-attribute so that the reader can understand that the term attribute in Python can mean both 'data-attribute' and a 'callable' meth

[issue12149] Segfault in _PyObject_GenericGetAttrWithDict

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

[issue10883] urllib: socket is not closed explicitly

2011-07-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: With the patch applied, test_urllib2net fails at test_ftp test case when a valid and invalid url are presented in sequence. I think test needs a change or a further look is needed at the patch. -- ___ Python

  1   2   3   4   5   6   7   8   9   10   >