[issue3609] does parse_header really belong in CGI module?

2008-09-19 Thread Senthil
Changes by Senthil <[EMAIL PROTECTED]>: -- nosy: +orsenthil ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3609> ___ ___ Python

[issue3942] Usability issue from not being able to use defined start and end code block markers

2008-09-22 Thread Senthil
Senthil <[EMAIL PROTECTED]> added the comment: Hello Mez, I don't think this will be implemented in the language. There have discussions on supporting braces (as accessibility mechanism) before, but it is not generally agreed upon. I would like to point to you the discussion betwee

[issue8695] Issue while installing Python 2.6.5 in IBM AIX 6.1

2010-05-12 Thread Senthil
New submission from Senthil : Hi, I am trying to install Python 2.6.5 in IBM AIX(6.1) machine. The make seems to failing with the following error. Fatal Python error: Interpreter not initialized (version mismatch?) make: *** [sharedmods] IOT/Abort trap (core dumped) -- components

[issue1698] urlparse and usernames containing @

2007-12-26 Thread Senthil
Senthil added the comment: Hi ocroquette, Even though I have seen ftp sites requesting email addresses as user names, I would rather put this issue for discussion as this not per any RFC. urlparse is based upon RFC1808 and it points to RFC1738 for the URL Syntax. RFC1738 specifically says

[issue1205] urllib fail to read URL contents, urllib2 crash Python

2007-12-26 Thread Senthil
Senthil added the comment: Irrespective of the patch, this issue is reproducable with the code in the trunk for Python 2.6. Should we close this then? n 2.6a0 (trunk:59600M, Dec 25 2007, 13:54:34) [GCC 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)] on linux2 Type "help", "copyright

[issue1205] urllib fail to read URL contents, urllib2 crash Python

2007-12-26 Thread Senthil
Senthil added the comment: > > Senthil added the comment: > > Irrespective of the patch, this issue is reproducable with the code in the > trunk for Python 2.6. Should we close this then? > __ Sorry, I meant to say

[issue1698] urlparse and usernames containing @

2007-12-26 Thread Senthil
Senthil added the comment: > Olivier Croquette added the comment: > > > The problem right now is that urlparse parses silently an URL which is > not compliant, but does the wrong thing with it (since usernames can > contain @, and hostname can not, it's a more logical th

[issue1698] urlparse and usernames containing @

2007-12-26 Thread Senthil
Senthil added the comment: > > Olivier Croquette added the comment: > > And about the decoding, sorry, it's clear from your snippets that > urlparse doesn't do it: > >>> print q.username > user%40xyz > > Maybe it should do it, I am not sure. W

[issue1702] Word "alias" used in confusing way to compare open() and file()

2007-12-27 Thread Senthil
Senthil added the comment: > I feel that "alias" is the wrong word to use here, though I don't know > a suitable replacement. Should we say, "The older built-in open() serves the same purpose as file." -- nosy: +orsenthil _

[issue1432] Strange behavior of urlparse.urljoin

2007-12-29 Thread Senthil
Senthil added the comment: If we observe carefully in the urlparse.py and test_urlparse.py, over the releases from Python 2.3 to Python 2.6, the changes required for supporting RFC2396 has been implemented. (RFC2396 replaced 1808 in URL Specification.) But the header of urlparse.py still says it

[issue1698] urlparse and usernames containing @

2008-01-03 Thread Senthil
Senthil added the comment: Hi Guido, I have added the unit tests, tested it on my system and created a new patch combining the previous one against the trunk. You can verify and check in this. Thank you, Senthil Added file: http://bugs.python.org/file9054/issue1698-withtests.patch

[issue1698] urlparse and usernames containing @

2008-01-07 Thread Senthil
Senthil added the comment: Thank you, Yes having it in the 2.5.2 would be a good idea. The bug report is also on 2.5 only. I have attached the patch for the release25-maint branch. Thanks, Senthil Added file: http://bugs.python.org/file9102/issue6898-r25-maint.patch

[issue1698] urlparse and usernames containing @

2008-01-07 Thread Senthil
Senthil added the comment: The patch against the trunk could also have been applied to 2.5. There is NO change in the trunk and 2.4-maint patch. Thanks, Senthil __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/

[issue1722] Undocumented urllib functions

2008-01-08 Thread Senthil
Senthil added the comment: > Georg Brandl added the comment: > > There are quite a lot more functions in __all__, more than 10 split* > functions... should they all be documented? > > Also, isn't urlparse meant to do such tasks? I agree. I too feel that not everyth

[issue2195] urlparse() does not handle URLs with port numbers properly

2008-02-27 Thread Senthil
Senthil added the comment: I don't think this is a valid issue. If you browse through the RFC 1808 you will find that. 1) For net_loc information it refers to a broad section 1738 and we wont specifically find any information on port number in that. 2) But, have a look at the BNF Represent

[issue2204] document ConfigParser behaviour when a file has same section multiple times

2008-02-28 Thread Senthil
Senthil added the comment: Should this 'undesirable' behavior be documented? My thoughts are a) All the key,value pairs in the named section be retrived from entire file. Just appending the dict. Otherwise, b) An Exception can be thrown if it encounters an invalid Configfile havin

[issue2275] urllib2 header capitalization

2008-03-29 Thread Senthil
Senthil <[EMAIL PROTECTED]> added the comment: I understand your implementation of _cap_header_key function. But should not this patch be handled in a way wherein. key.capitalize() is just replaced by key.upper()? Should not that suffice? What is the difference between _cap_header_k

[issue2275] urllib2 header capitalization

2008-03-30 Thread Senthil
Senthil <[EMAIL PROTECTED]> added the comment: Hi John, Greetings! I agree with both of your suggestions. Attached is the patch which aims to implement both in one go. Please provide your comments on that. If this method is okay, I shall go ahead with patches for tests and attach i

[issue2275] urllib2 header capitalization

2008-03-30 Thread Senthil
Changes by Senthil <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file9906/issue2275.patch __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2275> __ _

[issue2275] urllib2 header capitalization

2008-03-30 Thread Senthil
Changes by Senthil <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file9907/issue2275.patch __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2275> __ _

[issue3704] cookielib doesn't handle URLs with / in parameters

2008-10-15 Thread Senthil
Senthil <[EMAIL PROTECTED]> added the comment: John, issue3647 tries relative url parsing and joins to be RFC3986 compliance. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue4079] new urllib2.Request 'timeout' attribute needs to have a default

2008-11-11 Thread Senthil
Senthil <[EMAIL PROTECTED]> added the comment: http://bugs.python.org/issue4079 -- nosy: +orsenthil ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue4191] urlparse normalize URL path

2008-11-13 Thread Senthil
Senthil <[EMAIL PROTECTED]> added the comment: This report almost seems like a bug with urlparse, but it is not. We have to consider certain cases here. 1) First of all, we cannot equate urlparsing, urlsplit, urljoin with path normalization provided by posixpath.normalize. The reason is t

[issue1208304] urllib2's urlopen() method causes a memory leak

2008-12-01 Thread Senthil
Senthil <[EMAIL PROTECTED]> added the comment: > Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: > > Reopening: I reproduce the problem consistently with both 2.6 and trunk > versions (not with python 3.0), on Windows XP. > I think this bug is ONLY

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

2008-12-03 Thread Senthil
Senthil <[EMAIL PROTECTED]> added the comment: I agree, gregory. I had verified the fix and supplied patch for py2.6 and py3K. If those still apply to the trunk, I think we should go ahead, otherwise I shall come with the new patch for 2.7/3k. ___

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

2008-12-09 Thread Senthil
Senthil <[EMAIL PROTECTED]> added the comment: I verified this bug in the Py3.0 and Py3.1. Shall come out with a patch for it. -- nosy: +orsenthil ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue4217] Add file comparisons to the unittest library

2008-12-18 Thread Senthil
Changes by Senthil : -- nosy: +orsenthil ___ Python tracker <http://bugs.python.org/issue4217> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue4693] Idle for Python 3.0 is default even without doing make fullinstall

2008-12-18 Thread Senthil
New submission from Senthil : I am not sure, if this is intentional. But if you look at Python 3k and 3.1 installation. changing mode of /usr/local/bin/pydoc to 755 changing mode of /usr/local/bin/idle to 755 changing mode of /usr/local/bin/2to3 to 755 changing mode of /usr/local/bin/smtpd.py

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

2008-12-20 Thread Senthil
Senthil added the comment: Here is a patch to fix the issue. Jeremy, is it approach okay? Or do you have any other suggestion? -- keywords: +patch Added file: http://bugs.python.org/file12410/issue4608_py31.diff ___ Python tracker <h

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

2008-12-20 Thread Senthil
Changes by Senthil : -- versions: +Python 3.1 ___ Python tracker <http://bugs.python.org/issue4608> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1025540] urllib2 http auth

2008-12-22 Thread Senthil
Senthil added the comment: This issue makes a request to implement, plain-text inurl password authentication like "https://user:passw...@host:port/ for HTTP Basic Authentication. " for urllib2. As per rfc3986, this is strongly discouraged and is deprecated. See the section: 3.

[issue4729] Documentation under 'pass' statement talks about exception very early.

2008-12-22 Thread Senthil
New submission from Senthil : This is a new change in the documentation. Tutorial -> More Control Flow Tools -> pass Statements There is a new section which says: "However, as pass is silently ignored, a better choice may be to raise a NotImplementedError exception:""&quo

[issue1675455] Use getaddrinfo() in urllib2.py for IPv6 support

2009-01-01 Thread Senthil
Senthil added the comment: Derek, This patch was along the lines that when IPv6 address is present, return the first address,which I assumed to be active address and would make the urllib2 work. I am not sure, if returning all the addresses would help and how would we define which address to

[issue1675455] Use getaddrinfo() in urllib2.py for IPv6 support

2009-01-01 Thread Senthil
Senthil added the comment: > I am a little confused by this though. It looks like > FileHandler.file_open() checks if there is a hostname in the URL, and > if so, uses FTPHandler instead. So why does FileHandler.open_local_file > check the hostname value? You are right. Even I

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

2009-01-02 Thread Senthil
Senthil added the comment: Jakub, I have attached a revision to the patch. You are right, when __iter__ returns self.fp (as in previous patch), the __next__ is superflous. But, I was thinking of __iter__ returning an instance of addbase, instead of self.fp and in that case __next__ was

[issue4707] round() shows undocumented behaviour

2009-01-07 Thread Senthil
Senthil added the comment: I also think that documentation should be improved for round(number, [ndigits]). The doc/help says, ndigits can be negative, but does not really say what it means to be negative. It can be confusing to anyione. Take the following example: >>> round(26.

[issue4962] urlparse & nfs url (rfc 2224)

2009-01-16 Thread Senthil
Senthil added the comment: > I'd like to add the ability to parse nfs url (rfc2224). Which look like: > nfs://server/my/path > > To do this, we only need to add 'nfs' in uses_netloc to make it work Do you encounter any errors or weird behaviors while using nfs ur

[issue4965] Can doc index of html version be separately scrollable?

2009-01-23 Thread Senthil
Senthil added the comment: Terry, I think you mean the Sidebar content, right? Yes, I agree with you. It would be desirable to have the Sidebar Fixed, while we scroll the document (Like this: http://www.w3.org/Style/CSS/) This has to be worked out in the Sphnix CSS. -- nosy

[issue5142] pdb feature request: Ability to skip standard lib modules and other selected packages/modules

2009-02-03 Thread Senthil
New submission from Senthil : When using the python debugger, most often I step ('s') through the code base and I often Call the standard library modules, whichever are imported in the scripts. This is often not desirable as I know that errors are within my modules and not in standa

[issue5142] pdb feature request: Ability to skip standard lib modules and other selected packages/modules

2009-02-03 Thread Senthil
Changes by Senthil : -- components: +Library (Lib) ___ Python tracker <http://bugs.python.org/issue5142> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2047] shutil.destinsrc returns wrong result when source path matches beginning of destination path

2009-02-07 Thread Senthil
Senthil added the comment: Sorry to bring this fixed-closed issue back again. I see that this was committed in a hurry. Either, shutil.destinsrc should be Documented, there currently does not exists any documentation to explain what destinsrc is supposed to do, or the function should be made

[issue2047] shutil.destinsrc returns wrong result when source path matches beginning of destination path

2009-02-07 Thread Senthil
Senthil added the comment: Thanks for the quick action. Really nice. ___ Python tracker <http://bugs.python.org/issue2047> ___ ___ Python-bugs-list mailing list Unsub

[issue5208] urllib2.build_opener(

2009-02-13 Thread Senthil
Senthil added the comment: And that is how it is at all others places too. Optionals are placed inside []. -- nosy: +orsenthil title: urllib2.build_opener([handler, ...]) incorrect signature in docs -> urllib2.build_opener( ___ Python trac

[issue5278] optparse documentation example

2009-02-16 Thread Senthil
New submission from Senthil : In the Document, : Doc/library/optparse.rst, The first usage example is given with an '=' sign for the options. This is a mistake. ---file=outfile -q +--file outfile -q -- assignee: georg.brandl components: Documentation messages:

[issue5278] optparse documentation example

2009-02-16 Thread Senthil
Senthil added the comment: Georg, Ignore this bug. This is Invalid and sorry for the confusion. I was trying with single option with '=' sign. May be, I have forgotten the Unix standard that '=' symbol goes with '--' options only. If other people also ge

[issue1448934] urllib2+https+proxy not working

2009-07-08 Thread Senthil
Senthil added the comment: I noticed this one yesterday. There is a similar issue Issue1424152, the fix for which is available in Py2.7. Would you try to that patch? -- versions: +Python 3.1, Python 3.2 ___ Python tracker <http://bugs.python.

[issue1448934] urllib2+https+proxy not working

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

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

2009-07-16 Thread Senthil
Senthil added the comment: This is actually fixed in Py2.7 and I am trying to get it Py3.2 before marking this as fixed. Based on the comments, should this be backported to Py2.6? -- ___ Python tracker <http://bugs.python.org/issue1424

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

2009-07-18 Thread Senthil
Senthil added the comment: Fixed and committed in revision 74089 and revision 74090. Should this be backported? -- resolution: -> fixed versions: +Python 3.2 ___ Python tracker <http://bugs.python.org/iss

[issue6520] urllib.urlopen does not have timeout parameter where as urllib2.urlopen has

2009-07-18 Thread Senthil
New submission from Senthil : Just noticed this while fixing another bug issue5102. Need to figure out why urllib.urlopen does not have timeout in the first account and if it was due to some overlook, then: 1) add timeout parameter to urllib.urlopen 2) propage it across redirects. It may not

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

2009-07-18 Thread Senthil
Changes by Senthil : -- versions: +Python 2.7 -Python 2.6 ___ Python tracker <http://bugs.python.org/issue5102> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2009-07-18 Thread Senthil
Senthil added the comment: backported to release26-maint in the revision 74093 and release31-maint in the revision 74092 Closing this issue. -- status: open -> closed ___ Python tracker <http://bugs.python.org/iss

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

2009-07-18 Thread Senthil
Changes by Senthil : -- versions: +Python 2.6, Python 3.1 ___ Python tracker <http://bugs.python.org/issue5102> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2009-07-24 Thread Senthil
Senthil added the comment: Fixed for 3.2 in py3k branch revision 74198. Asked python-dev for objections on back porting changes 2.6. Shall back port changes to py2.6 and py3.1 -- ___ Python tracker <http://bugs.python.org/issue1424

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

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

[issue6557] urllib.urlopen creates bad requests when location header of 301 redirects contain spaces

2009-07-25 Thread Senthil
Changes by Senthil : -- assignee: -> orsenthil nosy: +orsenthil ___ Python tracker <http://bugs.python.org/issue6557> ___ ___ Python-bugs-list mailing list Un

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

2009-07-26 Thread Senthil
Senthil added the comment: Agreed to the suggestions made by Greg. The fix is now backported. For Py2.6 in the revision 74203. For Py3k in the revision 74204. Closing this issue. -- status: open -> closed ___ Python tracker <http://bugs.pyth

[issue1448934] urllib2+https+proxy not working

2009-07-26 Thread Senthil
Senthil added the comment: Well, the fix for this same as that for Issue1424152. Closing this issue as it is already handled. -- resolution: -> duplicate status: open -> closed ___ Python tracker <http://bugs.python.org/iss

[issue5808] Subprocess.getstatusoutput Fails Executing 'dir' Command on Windows

2009-07-28 Thread Senthil
Senthil added the comment: sorin: You meant the commands module, correct? It is well documented in the commands reference: http://docs.python.org/library/commands.html * It is applicable to unix only. * the getstatusoutput is moved to subprocess in 3x. -- nosy: +orsenthil

[issue6596] urllib2 bug on CentOS

2009-07-30 Thread Senthil
Senthil added the comment: I would also suggest run the following command: $python /usr/local/lib/python2.6/test/regrtest.py -v test_urllib2 test_urllib test_socket > output-of-tests.txt And attach output-of-tests.txt. It might help in getting to the root cause of the issue. -- n

[issue6596] urllib2 bug on CentOS

2009-08-03 Thread Senthil
Senthil added the comment: Thanks for the update. I am closing this as Invalid. -- resolution: -> invalid status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue6557] urllib.urlopen creates bad requests when location header of 301 redirects contain spaces

2009-08-08 Thread Senthil
Senthil added the comment: This bug is already fixed in trunk (Python2.7) and py3k branch - Issue918368. I see that the fix was not backported, I shall do that (once the svn is up). -- resolution: -> accepted versions: +Python 2.6 -Python

[issue1712522] urllib.quote throws exception on Unicode URL

2009-08-08 Thread Senthil
Changes by Senthil : -- assignee: -> orsenthil resolution: -> accepted type: -> behavior ___ Python tracker <http://bugs.python.org/issue1712522> ___

[issue2637] urllib.quote() escapes characters unnecessarily and contrary to docs

2009-08-08 Thread Senthil
Senthil added the comment: The way to handle this issue would be add these characters '%/:=&?~#+!$,;'@()*[]' to always_safe list. There has been a similar issue in the past Issue918368, tough in a different context. And if you see, urllib.urlopen function always passes t

[issue2637] urllib.quote() escapes characters unnecessarily and contrary to docs

2009-08-09 Thread Senthil
Senthil added the comment: On Sun, Aug 09, 2009 at 03:40:47PM +, Nir Soffer wrote: > for query string. This will break exiting code that assume the default > safe parameters. > > Other characters may be unsafe in other parts of the url - I did not I agree with your commen

[issue6557] urllib.urlopen creates bad requests when location header of 301 redirects contain spaces

2009-08-15 Thread Senthil
Senthil added the comment: Fixed and Committed revision 74462 -- resolution: accepted -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue6711] macurl2path has typos that raise AttributeError

2009-08-15 Thread Senthil
Senthil added the comment: Thanks for the patch. Fixed it and Committed revision 74469 - py3.2 Committed revision 74470 - py3.1 maint. I wonder how it got unnoticed so far. -- assignee: -> orsenthil nosy: +orsenthil resolution: ->

[issue1424148] urllib.FancyURLopener.redirect_internal looses data on POST!

2009-08-16 Thread Senthil
Senthil added the comment: I am assigning this to myself. I shall do some research on this issue + plus current standings by other clients/libraries and come out with a summary. -- assignee: -> orsenthil ___ Python tracker <http://bugs.pyth

[issue1424148] urllib.FancyURLopener.redirect_internal looses data on POST!

2009-08-20 Thread Senthil
Senthil added the comment: I agree with John on this ticket. At the outset, this is Not a bug. And reading through the referenced ticket indicates the design decision for the behavior. In summary: This suggests to me that *no* automatic repeat of POST requests should ever be done, and that in

[issue6711] macurl2path has typos that raise AttributeError

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

[issue2637] urllib.quote() escapes characters unnecessarily and contrary to docs

2009-08-20 Thread Senthil
Senthil added the comment: I see adding this information to the docs, might clarify a bit. "By default, this function is intended for quoting the path section of the URL." This is already present in the function docstring. If there is no objection, I shall commit the attached

[issue1755841] Patch for [ 735515 ] urllib2 should cache 301 redir

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

[issue735515] urllib / urllib2 should cache 301 redirections

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

[issue5007] urllib2 HTTPS connection failure (BadStatusLine Exception)

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

[issue2637] urllib.quote() escapes characters unnecessarily and contrary to docs

2009-08-31 Thread Senthil
Senthil added the comment: Fixed and Committed revision 74608 - trunk Committed revision 74609 - py3k -- resolution: -> fixed ___ Python tracker <http://bugs.python.org/iss

[issue1019715] distutils ignores configure's --includedir

2009-09-14 Thread Senthil
Senthil added the comment: Yes, this is a duplicate of issue858809 and tarek is assigned to that one too. -- nosy: +orsenthil resolution: -> duplicate status: open -> closed ___ Python tracker <http://bugs.python.org/iss

[issue1115886] os.path.splitext don't handle unix hidden file correctly

2009-09-14 Thread Senthil
Senthil added the comment: Alexandru: You commented on a closed issue. If you see any problem with mimetypes.guess_type() w.r.t to .ogg files, please open a new open stating your problem. -- nosy: +orsenthil ___ Python tracker <h

[issue6925] Doc for locals and vars

2009-09-17 Thread Senthil
Senthil added the comment: On Fri, Sep 18, 2009 at 04:35:37AM +, Terry J. Reedy wrote: > Was 2.x different? Even in 2.x it returns {} And I thought that was expected. Even I am confused by the free variable explaination as you pointed out. Perhaps, Georg could explain bet

[issue6767] Python as zip package

2009-09-17 Thread Senthil
Senthil added the comment: I think it is okay to close this, with Martin's Howto. -- nosy: +orsenthil resolution: -> invalid status: open -> closed ___ Python tracker <http://bugs.python

[issue4191] urlparse normalize URL path

2009-02-17 Thread Senthil
Senthil added the comment: Please close this, Daniel. ___ Python tracker <http://bugs.python.org/issue4191> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5072] urllib.open sends full URL after GET command instead of local path

2009-02-17 Thread Senthil
Senthil added the comment: Yup, This should be closed too. Thanks. ___ Python tracker <http://bugs.python.org/issue5072> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5364] documentation in epub format

2009-02-25 Thread Senthil
Senthil added the comment: I got into thinking if sphinx-dev or docutils be the best place for this ticket? Python Documentation is nothing but ReStructured text and it is required to create a rst2epub that would convert restructured text to epub format. If you are already aware of any such

[issue5364] documentation in epub format

2009-02-25 Thread Senthil
Senthil added the comment: On Wed, Feb 25, 2009 at 5:12 PM, wrobell wrote: > probably sphinx/docutils "deserve" their own tickets, I agree with your points and I would wait for Georg's call on this ticket. It would definitely help if you have already raised any tickets at

[issue5416] str.replace does strange things when given a negative count

2009-03-04 Thread Senthil
Senthil added the comment: And also look at the help on string.replace which sets -1 as the default value for maxsplit optional argument and which again defaults to replace-all. Clearly, maxsplit= -1 is not equal to maxsplit = 0. replace(s, old, new, maxsplit=-1) replace (str, old, new

[issue5237] Allow auto-numbered replacement fields in str.format() strings

2009-03-09 Thread Senthil
Senthil added the comment: Would someone like to point the python-ideas discussion which rationalizes this request? And what would be written in the documentation? As much as I understand this, emptry braces {} for replacement fields is kind of unseen and leaves much thinking if this can be

[issue5560] help() no longer reports module docstrings

2009-03-25 Thread Senthil
Senthil added the comment: Confirming this bug. It seems to be the case with the code in py3k trunk also. -- nosy: +orsenthil Added file: http://bugs.python.org/file13418/unnamed ___ Python tracker <http://bugs.python.org/issue5

[issue5560] help() no longer reports module docstrings

2009-03-26 Thread Senthil
Changes by Senthil : Removed file: http://bugs.python.org/file13418/unnamed ___ Python tracker <http://bugs.python.org/issue5560> ___ ___ Python-bugs-list mailin

[issue5560] help() no longer reports module docstrings

2009-03-26 Thread Senthil
Senthil added the comment: This is issue is FIXED in the trunk code. Please ignore my previous comment. The problem area is in between line 350-352 in the Python 3.0:pydoc.py module. 348 docloc = os.environ.get("PYTHONDOCS", 349 "http://

[issue4675] urllib's splitpasswd does not accept newline chars in passwords

2009-03-30 Thread Senthil
Senthil added the comment: Verified the patch. Added unittest. Can be applied against the trunk (py27) and py3k (3.1) -- Added file: http://bugs.python.org/file13479/issue4675-py27.patch ___ Python tracker <http://bugs.python.org/issue4

[issue4675] urllib's splitpasswd does not accept newline chars in passwords

2009-03-30 Thread Senthil
Changes by Senthil : Added file: http://bugs.python.org/file13481/issue4675-py3k.patch ___ Python tracker <http://bugs.python.org/issue4675> ___ ___ Python-bugs-list m

[issue5208] urllib2.build_opener(

2009-03-30 Thread Senthil
Senthil added the comment: Georg, I think this can be closed as invalid. Thanks. -- ___ Python tracker <http://bugs.python.org/issue5208> ___ ___ Python-bug

[issue4962] urlparse & nfs url (rfc 2224)

2009-03-30 Thread Senthil
Senthil added the comment: Patch to fix this. Looked into the RFCs and I do not find a reason why the nfs://server/path/to/file.txt should not be parsed as: >>> urlparse.urlsplit('nfs://server/path/to/file.txt') SplitResult(scheme='nfs', netloc='server

[issue4962] urlparse & nfs url (rfc 2224)

2009-03-30 Thread Senthil
Changes by Senthil : -- keywords: +patch Added file: http://bugs.python.org/file13490/issue4962-py27.diff ___ Python tracker <http://bugs.python.org/issue4

[issue4962] urlparse & nfs url (rfc 2224)

2009-03-30 Thread Senthil
Changes by Senthil : Added file: http://bugs.python.org/file13491/issue4962-py3k.diff ___ Python tracker <http://bugs.python.org/issue4962> ___ ___ Python-bugs-list mailin

[issue4675] urllib's splitpasswd does not accept newline chars in passwords

2009-03-30 Thread Senthil
Senthil added the comment: Fixed. -- assignee: -> orsenthil resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.o

[issue4962] urlparse & nfs url (rfc 2224)

2009-03-30 Thread Senthil
Senthil added the comment: fixed. -- assignee: -> orsenthil resolution: -> fixed ___ Python tracker <http://bugs.python.org/issue4962> ___ ___ Pyth

[issue4962] urlparse & nfs url (rfc 2224)

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

[issue4773] HTTPMessage not documented and has inconsistent API across 2.6/3.0

2009-03-31 Thread Senthil
Senthil added the comment: I spent sometime on the patch which replaces the self.msg usage with self.headers in http.client. Everything is fine. The next step is to provide an interface in the urllib.response and the equivalent changes to py2k. -- assignee: georg.brandl -> jhyl

[issue5628] TextIOWrapper fails with SystemError when reading HTTPResponse

2009-03-31 Thread Senthil
Senthil added the comment: Nope, this is not yet fixed. $ ./python Python 3.1a1+ (py3k:70929, Mar 31 2009, 19:18:12) [GCC 4.3.2] on linux2 ... ... >>> f_bytes = urllib.request.urlopen("http://www.python.org";) >>> f_string = io.TextIOWrapper(f_bytes,"iso

[issue5637] 2to3 does not convert urllib.urlopen to urllib.request.urlopen

2009-03-31 Thread Senthil
New submission from Senthil : In Py2x, have this code: import urllib s = urllib.urlopen('http://www.python.org') print s Run 2to3, on this, refactoring works only on import urllib and print statements. @@ -1,3 +1,3 @@ -import urllib +import urllib.request, urllib.parse, urlli

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