[issue4535] Build / Test Py3K failed on Ubuntu 8.10

2009-03-31 Thread Senthil
Senthil added the comment: Ubuntu 8.10; On Python 3.0.1 (r301:69556, Mar 31 2009, 22:18:10) [GCC 4.3.2] on linux2 297 tests OK. 26 tests skipped: test_bz2 test_codecmaps_cn test_codecmaps_hk test_codecmaps_jp test_codecmaps_kr test_codecmaps_tw test_curses test_dbm_gnu

[issue5628] TextIOWrapper fails with SystemError when reading HTTPResponse

2009-03-31 Thread Senthil
Senthil added the comment: Jeremy Hylton wrote: >  That doesn't mean it is the right thing to pass to TextIOWrapper.  It's an > instance of RawIOBase. I guess, you meant " That doesn't mean it is *not* the right thin

[issue5628] TextIOWrapper fails with SystemError when reading HTTPResponse

2009-03-31 Thread Senthil
Senthil added the comment: With the changes r70935, this works. -- ___ Python tracker <http://bugs.python.org/issue5628> ___ ___ Python-bugs-list mailin

[issue3763] Python 3.0 beta 2 : json and urllib not working together?

2009-03-31 Thread Senthil
Senthil added the comment: This is superseded by issue4136. -- resolution: -> wont fix superseder: -> merge json library with latest simplejson 2.0.x ___ Python tracker <http://bugs.python.org/

[issue3763] Python 3.0 beta 2 : json and urllib not working together?

2009-03-31 Thread Senthil
Senthil added the comment: This is superseded by issue4136. -- nosy: +bob.ippolito status: open -> closed ___ Python tracker <http://bugs.python.org/iss

[issue5040] Bug of CGIXMLRPCRequestHandler

2009-04-01 Thread Senthil
Senthil added the comment: CGIXMLRPCRequestHandler was fixed with changes 70954. Modified the patches for Python trunk. Added the Content-Length tests to handle_request -- assignee: -> orsenthil nosy: +orsenthil resolution: -> fixed Added file: http://bugs.python.org/fil

[issue5040] Bug of CGIXMLRPCRequestHandler

2009-04-01 Thread Senthil
Changes by Senthil : Added file: http://bugs.python.org/file13556/issue5040-py27.diff ___ Python tracker <http://bugs.python.org/issue5040> ___ ___ Python-bugs-list mailin

[issue5040] Bug of CGIXMLRPCRequestHandler

2009-04-01 Thread Senthil
Senthil added the comment: Applied: issue5040-py27.diff (rev patch 1) and issue5040-py3k.diff (original). -- status: open -> closed ___ Python tracker <http://bugs.python.org/iss

[issue4860] js_output wrong for cookies with " characters

2009-04-01 Thread Senthil
Senthil added the comment: Cookie.Cookie is deprecated in Py2k. In Py3k, it is http.cookies.SimpleCookie. The bug was present in Py3k, the attached patch fixes it. -- assignee: -> orsenthil nosy: +orsenthil resolution: -> accepted Added file: http://bugs.python.org/fil

[issue4860] js_output wrong for cookies with " characters

2009-04-01 Thread Senthil
Senthil added the comment: Because SimpleCookie class is still usable (that is not deprecated), it makes sense to back port to Py2.7. Applied the patches in revision 71030 and r71029. Thanks. -- status: open -> closed versions: +Python

[issue5664] 2to3 wont convert Cookie.Cookie properly

2009-04-01 Thread Senthil
New submission from Senthil : In 2.7 code have: import Cookie c = Cookie.Cookie('abc') 2to3 would do: c = http.cookies.Cookie('abc') This is wrong as there is no class as Cookie in http.cookies. It should translated to be http.cookies.SimpleCookie. -- assigne

[issue1634770] Please provide rsync-method in the urllib[2] module

2009-04-02 Thread Senthil
Senthil added the comment: Rsync is a tool, which can be written using urllib2. urllib2 is a library adhering to certain SPECs (Internet RFCs). Do not see a reason to include tools in urllib2. Closing it as wont-fix. Thanks. -- resolution: -> wont fix status: open ->

[issue3609] does parse_header really belong in CGI module?

2009-04-02 Thread Senthil
Senthil added the comment: The attached patch takes care of relocating the parse_header function from cgi module to email.header module in Python2.7. Few comments: 1)parse_multipart need not be moved from cgi, because it is discouraged to use parse_multipart and it is advised to use

[issue754016] urlparse goes wrong with IP:port without scheme

2009-04-11 Thread Senthil
Senthil added the comment: Facundo, I re-looked at this issue (after a long time; sorry for that) and I think that the patch is good to be applied as it is for this issue. The Web-SIG discussion, which you pointed to in the comment (http://mail.python.org/pipermail/web-sig/2008-June/003458

[issue918368] urllib doesn't correct server returned urls

2009-04-19 Thread Senthil
Senthil added the comment: The attached patch fixes this issue and adds the test too. Followed John J Lee's suggestion for the patch.Can someone review this? For the other referenced issue1153027, bug is not reproducible in the trunk and I see that fix has been made in revision 4313

[issue918368] urllib doesn't correct server returned urls

2009-04-20 Thread Senthil
Senthil added the comment: Fixed this in the revision 71780 for Python 2.7. -- versions: -Python 2.6 ___ Python tracker <http://bugs.python.org/issue918

[issue1500504] Alternate RFC 3986 compliant URI parsing module

2009-04-22 Thread Senthil
Changes by Senthil : -- nosy: +orsenthil ___ Python tracker <http://bugs.python.org/issue1500504> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1648102] proxy_bypass in urllib handling of macro

2009-04-22 Thread Senthil
Changes by Senthil : -- assignee: -> orsenthil ___ Python tracker <http://bugs.python.org/issue1648102> ___ ___ Python-bugs-list mailing list Unsubscri

[issue1500504] Alternate RFC 3986 compliant URI parsing module

2009-04-22 Thread Senthil
Senthil added the comment: I am willing to review this/work on it. But I wonder if this can be categorized as easy task. 1) Integration to Standard Library will involve compatibility with existing parsing, which will invariably involve certain tweaks (with discussions/buy-in from others). 2

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

2009-04-23 Thread Senthil
Senthil added the comment: This issue is already fixed by jeremy at Revision 70815, wherein "The response from an HTTP request is now an HTTPResponse instance instead of an addinfourl() wrapper instance." So the issue won't be present in the py3k code ( confirmed). However, th

[issue1648102] proxy_bypass in urllib handling of macro

2009-04-30 Thread Senthil
Senthil added the comment: I have fix this issue, in the revision 72155 for py2.7 and revision 72156 for py3k. Unfortunately, we have no tests for any proxy handling condition for Windows and Darwin. This is a very specific case in the proxy handling; thought let the fix be in (as per the MSDN

[issue5714] CGIHTTPServer._url_collapse_path_split should live elsewhere

2009-05-01 Thread Senthil
Senthil added the comment: Yes, the parsing best be done in urlparse. As this function claims to do step 6 of RFC2396, I am surprised why it cannot be done by using existing urlparse functions itself.(Because, the tests for RFC2396 compliance covers those cases too). -- nosy

[issue5650] Obsolete RFC's should be removed from doc of urllib.urlparse

2009-05-01 Thread Senthil
Senthil added the comment: Georg, shall I take up this one? -- nosy: +orsenthil ___ Python tracker <http://bugs.python.org/issue5650> ___ ___ Python-bugs-list m

[issue5861] test_urllib fails on windows

2009-05-01 Thread Senthil
Senthil added the comment: I had made that change. tested only linux, where it was all pass. Shall address this one soon. -- assignee: -> orsenthil nosy: +orsenthil ___ Python tracker <http://bugs.python.org/iss

[issue1591035] update urlparse to RFC 3986

2009-05-01 Thread Senthil
Changes by Senthil : -- nosy: +orsenthil ___ Python tracker <http://bugs.python.org/issue1591035> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1643370] recursive urlparse

2009-05-01 Thread Senthil
Changes by Senthil : -- nosy: +orsenthil ___ Python tracker <http://bugs.python.org/issue1643370> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5861] test_urllib fails on windows

2009-05-05 Thread Senthil
Senthil added the comment: Fixed this in the revision: 72343. Agree to the comment on replacing '|' to ':' in pathname2url as windows recognizes it. test_urllib passes. -- resolution: -> fixed ___ Python tracker <http:/

[issue918368] urllib doesn't correct server returned urls

2009-05-05 Thread Senthil
Changes by Senthil : -- resolution: -> fixed ___ Python tracker <http://bugs.python.org/issue918368> ___ ___ Python-bugs-list mailing list Unsubscri

[issue1153027] http_error_302() crashes with 'HTTP/1.1 400 Bad Request

2009-05-05 Thread Senthil
Senthil added the comment: Fixed in the Revision 43132. -- assignee: -> orsenthil nosy: +orsenthil resolution: -> fixed stage: test needed -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.o

[issue1153027] http_error_302() crashes with 'HTTP/1.1 400 Bad Request

2009-05-05 Thread Senthil
Senthil added the comment: fixed in revision 43132 ( smaller 'r' for the roundup to auto-hyperlink). :) -- ___ Python tracker <http://bugs.python.org

[issue1153027] http_error_302() crashes with 'HTTP/1.1 400 Bad Request

2009-05-05 Thread Senthil
Changes by Senthil : -- ___ Python tracker <http://bugs.python.org/issue1153027> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/m

[issue1153027] http_error_302() crashes with 'HTTP/1.1 400 Bad Request

2009-05-05 Thread Senthil
Senthil added the comment: Sorry, I meant fixed in revision 72351. -- ___ Python tracker <http://bugs.python.org/issue1153027> ___ ___ Python-bugs-list mailin

[issue918368] urllib doesn't correct server returned urls

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

[issue5861] test_urllib fails on windows

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

[issue1368312] fix for scheme identification in urllib2?

2009-05-05 Thread Senthil
Changes by Senthil : -- assignee: -> orsenthil ___ Python tracker <http://bugs.python.org/issue1368312> ___ ___ Python-bugs-list mailing list Unsubscri

[issue5966] unnecessary hardlink

2009-05-08 Thread Senthil
Senthil added the comment: python3.1 or python2.6 has always been a "hardlink" to the python in the same directory. You will see that $(LN) python$(VERSION)$(EXE) $(PYTHON) The one you find as 'softlink' for python2.5 is perhaps ubuntu way of doing it. Python installa

[issue5966] unnecessary hardlink

2009-05-08 Thread Senthil
Changes by Senthil : -- resolution: -> invalid ___ Python tracker <http://bugs.python.org/issue5966> ___ ___ Python-bugs-list mailing list Unsubscri

[issue5966] unnecessary hardlink

2009-05-08 Thread Senthil
Changes by Senthil : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue5966> ___ ___ Python-bugs-list mailing list Unsubscri

[issue5966] unnecessary hardlink

2009-05-08 Thread Senthil
Changes by Senthil : -- resolution: invalid -> wont fix ___ Python tracker <http://bugs.python.org/issue5966> ___ ___ Python-bugs-list mailing list Unsubscri

[issue5994] help(marshal) just gives an outline; no help text provided.

2009-05-11 Thread Senthil
New submission from Senthil : Help on built-in module marshal: NAME marshal FILE (built-in) MODULE DOCS http://docs.python.org/library/marshal FUNCTIONS dump(...) dumps(...) load(...) loads(...) DATA version = 2 -- assignee

[issue5994] help(marshal) just gives an outline; no help text provided.

2009-05-11 Thread Senthil
Senthil added the comment: David, should the marshal.version be explained as it is present in the docs? marshal.version Indicates the format that the module uses. Version 0 is the historical format, version 1 (added in Python 2.4) shares interned strings and version 2 (added in Python 2.5

[issue1738179] help() can't find right source file

2009-05-16 Thread Senthil
Senthil added the comment: This is an invalid bug. python -m 'compileall' -d pdir actdir all the files in the actdir will be compiled and it will appear as though the files are getting compiled from pdir. That is the intended purpose of the -d switch, as I can see from the sourcecod

[issue1738179] help() can't find right source file

2009-05-16 Thread Senthil
Changes by Senthil : -- stage: test needed -> committed/rejected ___ Python tracker <http://bugs.python.org/issue1738179> ___ ___ Python-bugs-list mai

[issue6002] test_urllib2_localnet DigestAuthHandler leaks nonces

2009-05-17 Thread Senthil
Changes by Senthil : -- nosy: +orsenthil ___ Python tracker <http://bugs.python.org/issue6002> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

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

2009-05-20 Thread Senthil
Senthil added the comment: Sorry for the delay. I know that patches work and I had tested them as well. I shall push those patches to trunk/p3k within this week. -- ___ Python tracker <http://bugs.python.org/issue1424

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

2009-05-20 Thread Senthil
Senthil added the comment: > Facundo Batista added the comment: > > Hans, please take a look to my comment 79573 in this same bug. If you > could do that, it'd be amazing... Oops, had missed that one.. Shall update t

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

2009-05-24 Thread Senthil
Senthil added the comment: Fixed for Py2x in the revision 72880. Tested it on a Squid Proxy setup and found it working fine. Should this be backported? For Py3k, the Request class has undergone changes since the patch was developed, I am modifying the patch for Py3k to accommodate those

[issue6247] should we include argparse

2009-06-09 Thread Senthil
Senthil added the comment: I hope you read this thread which discusses the same issue. * http://mail.python.org/pipermail/python-list/2007-January/592646.html MvL,effbot and jjlee had shared their views to the original author of argparse module. It did not go anywhere from there. I see that

[issue6272] Upgrading xml.etree to ElementTree 1.3

2009-06-12 Thread Senthil
New submission from Senthil : The current ElementTree package shipped with Python is ElementTree 1.2.6. ElementTree 1.3 has certain good features in handing XPaths which would be a nice addition to the default xml.etree. I don't know why ElementTree 1.2.6 was chosen initially. I don'

[issue6272] Upgrading xml.etree to ElementTree 1.3

2009-06-12 Thread Senthil
Senthil added the comment: Oh wait. I read at effbot.org that ElementTree 1.3 is Alpha Release. Is this the reason for not including it? If it's still unstable, then please ignore this. -- ___ Python tracker <http://bugs.python.org/i

[issue5102] urllib2.py timeouts do not propagate across redirects for 2.6.1 (and 3.x?)

2009-06-12 Thread Senthil
Senthil added the comment: Looks reasonable to me. I shall test it and commit the patch. Shall try for tests too. -- assignee: -> orsenthil ___ Python tracker <http://bugs.python.org/iss

[issue3407] test_urllib2_localnet fails on MacOS X 10.4.11 (Intel)

2009-06-15 Thread Senthil
Senthil added the comment: Closing it based on the (test pass) comments. Fix was applied in r67779, r6. -- status: open -> closed ___ Python tracker <http://bugs.python.org/iss

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

2009-06-22 Thread Senthil
Senthil added the comment: AndrewTrick: I am assuming your last comment is more relevant to mercurial's use of the set_tunnel, the facility provided by the patch, that is solving the issue for you. You had earlier pointed out mercurial's dependency upon this issue too. The fix as s

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

2009-06-24 Thread Senthil
Senthil added the comment: > Craig McQueen comment: > > Speaking as a Mercurial user who can't use Mercurial at work through a > proxy firewall... I beg you to consider that fixing this is not really We might have to take this up at python-dev. I shall do that to get other d

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

2009-06-28 Thread Senthil
Senthil added the comment: > > Senthil, are you still working on the 3.x version of the patch? Sorry for the delay. I got to work on it. Shall start and shall try to get it in soon. -- ___ Python tracker <http://bugs.python.org/iss

[issue2977] truncation of text in tables in Library Reference PDF

2009-07-03 Thread Senthil
Senthil added the comment: I verified the library reference pdf files from the trunk and I don't see this problem. Should we close the issue then? -- nosy: +orsenthil ___ Python tracker <http://bugs.python.org/i

[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()

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