[issue8194] Incompatible API change in xmlrpclib.Transport.parse_response() of Python 2.7 and 3.2

2010-12-06 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Instead of tossing around the GzipDecoding code from one method to another (which would in turn change the return value from those methods), I thought is appropriate to do a change in parse_response itself, so that it verifies

[issue8194] Incompatible API change in xmlrpclib.Transport.parse_response() of Python 2.7 and 3.2

2010-12-06 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: This issue is not applicable to release31-maint. -- resolution: - fixed versions: -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8194

[issue7904] urlparse.urlsplit mishandles novel schemes

2010-12-04 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: On Fri, Dec 03, 2010 at 10:33:50PM +, Fred L. Drake, Jr. wrote: Though msg104261 suggests this change be documented in NEWS.txt, it doesn't appear to have made it. Better late than never. I just added the NEWS in r87014 (py3k) ,r87015

[issue10577] (Fancy) URL opener stuck when trying to open redirected url

2010-12-02 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: On Mon, Nov 29, 2010 at 05:51:35PM +, Antoine Pitrou wrote: However, urllib.request.urlopen() works fine in this case, so perhaps this advocates for deprecating the old stuff? Senthil? Yes. It should be deprecated.. I created

[issue3243] Support iterable bodies in httplib

2010-12-01 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Give a try to this minor variation of the patch with tests added and let me know your review comments. -- Added file: http://bugs.python.org/file19890/Issue3243-4.patch ___ Python tracker rep

[issue3243] Support iterable bodies in httplib

2010-12-01 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: On Wed, Dec 01, 2010 at 10:06:25AM +, Antoine Pitrou wrote: +try: + self.sock.sendall(data) Indentation problem here. I could notice it now. Shall fix it. +if isinstance(data,str

[issue3243] Support iterable bodies in httplib

2010-12-01 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: On Wed, Dec 01, 2010 at 02:56:56PM +, Xuanji Li wrote: orsenthil: Hi, i don't quite understand why iter() needs to be called explicitly on data? As I understand it, if data is an iterable then you can use a for loop on it directly

Re: [issue3243] Support iterable bodies in httplib

2010-12-01 Thread Senthil Kumaran
On Wed, Dec 01, 2010 at 05:08:26PM +, Antoine Pitrou wrote: Antoine Pitrou pit...@free.fr added the comment: if not request.has_header('Content-length'): if (not hasattr(data, '__read__') and What is __read__ supposed to be? I don't think is required. The previous 2.x version

[issue3243] Support iterable bodies in httplib

2010-12-01 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: On Thu, Dec 02, 2010 at 02:19:10AM +, Senthil Kumaran wrote: On Wed, Dec 01, 2010 at 10:06:25AM +, Antoine Pitrou wrote: +try: + self.sock.sendall(data) Indentation problem here. I could notice it now

[issue3243] Support iterable bodies in httplib

2010-12-01 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Updated patch after correcting the mistake (bytes vs str) in the previous one. -- Added file: http://bugs.python.org/file19900/Issue3243-6.patch ___ Python tracker rep...@bugs.python.org http

Re: [issue3243] Support iterable bodies in httplib

2010-12-01 Thread Senthil Kumaran
On Thu, Dec 02, 2010 at 03:08:55AM +, Xuanji Li wrote: req = Request(http://example.com/;, ) That should be: req = Request(http://example.com/;, b) I updated some of those in the latest updated patch. ___ Python-bugs-list mailing list

[issue3243] Support iterable bodies in httplib

2010-12-01 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: On Thu, Dec 02, 2010 at 03:16:53AM +, Xuanji Li wrote: And my version too... +if hasattr(data, '__len__') and not len(data): +request.add_unredirected_header('Content-length', '0') This is very

[issue3243] Support iterable bodies in httplib

2010-12-01 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: On Thu, Dec 02, 2010 at 03:20:05AM +, Xuanji Li wrote: Actually I don't think you can go around changing test_urllib2.py, they are after all regression tests... and surely some users will send as data. Think about it this way

[issue3243] Support iterable bodies in httplib

2010-12-01 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Glaring at my mistakes. There was wrong examples in the test_urllib2 which I just corrected. There were.. Expect for the difference in (it = iter(data) - Which I am seeking Except

[issue9639] urllib2's AbstractBasicAuthHandler is limited to 6 requests

2010-11-30 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Ouch. My mistake. Had not realize then, that code that actually broke things was merged in 2.6.x and it had to be fixed too. :( -- ___ Python tracker rep...@bugs.python.org http

[issue3243] Support iterable bodies in httplib

2010-11-30 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Xuanji, a wording which does convey the approximate meaning is fine. I think, the Exception error messages will help the people based on the Context. - Lets have the ValueError raised from the urllib/request.py. Changing it to isinstance

[issue10559] NameError in tutorial/interpreter

2010-11-29 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: On Sun, Nov 28, 2010 at 05:48:20AM +, Éric Araujo wrote: I’m not committing directly because I’d like feedback: Is the wording okay for the beginning of the tutorial? It seems fine and useful. Please go ahead. -- nosy

[issue3243] Support iterable bodies in httplib

2010-11-29 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: xuanji, the issue you stumbled upon was just fixed by Raymond for the report Issue10565. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3243

[issue10561] The pdb command 'clear bpnumber' may delete more than one breakpoint

2010-11-29 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Fixed in r86861. Xavier, I noticed that pdb.py itself was not calling the proper method. Added the tests to the patch. Thanks. BTW, please provide patches against py3k as that is development version. -- assignee: - orsenthil nosy

[issue10561] The pdb command 'clear bpnumber' may delete more than one breakpoint

2010-11-29 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: r86862 - release31-maint and r86863 - release27-maint. -- status: open - closed versions: +Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10561

[issue10500] Palevo.DZ worm msix86 installer 3.x installer

2010-11-28 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: No problems when I downloaded and installed on Windows XP. I scanned using the Symantec EndPoint protection and no threats found. -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org

[issue3243] Support iterable bodies in httplib

2010-11-27 Thread Senthil Kumaran
Changes by Senthil Kumaran orsent...@gmail.com: -- assignee: jhylton - orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3243 ___ ___ Python

[issue1508475] transparent gzip compression in urllib

2010-11-25 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: The transparent gzip Content-Encoding support should be done at the http.client level code. Before adding this feature, a question needs to be sorted out. If we support the transparent gzip and wrap the file pointer to a GzipFile

[issue1508475] transparent gzip compression in urllib

2010-11-25 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Patch for py3k. -- stage: unit test needed - patch review Added file: http://bugs.python.org/file19811/issue1508475.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue10122] Documentation typo fix and a side question

2010-11-25 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Boštjan, it is fixed. The change will reflect when the docs get served from the updated version. Also, Georg will take care of merging it to other branches. -- nosy: +orsenthil ___ Python

[issue10362] AttributeError: addinfourl instance has no attribute 'tell'

2010-11-25 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: If you want to quickly solve this, do like this: import urllib import tarfile tarfile.open(urllib.urlretrieve('http://plugins.supybot-fr.tk/GoodFrench.tar')[0], mode='r:') # Works The problem is tarfile is expecting a file-object

[issue10525] Added mouse and colour support to Game of Life curses demo

2010-11-25 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Committed in r86750. Thank you! -- resolution: - fixed stage: - committed/rejected status: open - closed versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue10441] some stdlib modules need to be updated to handle SSL certificate validation

2010-11-25 Thread Senthil Kumaran
Changes by Senthil Kumaran orsent...@gmail.com: -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10441 ___ ___ Python-bugs-list

[issue10442] Please by default enforce ssl certificate checking in modules that can have user's which *depend* on the security of the ssl connection.

2010-11-25 Thread Senthil Kumaran
Changes by Senthil Kumaran orsent...@gmail.com: -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10442 ___ ___ Python-bugs-list

[issue10525] Added mouse and colour support to Game of Life curses demo

2010-11-24 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: On Thu, Nov 25, 2010 at 05:44:21AM +, Dafydd Crosby wrote: I created a patch that adds those two wishlist items. Given that mouse support and the use of curses.flash() are missing from the demo programs, I think it's a bit

[issue10510] distutils.command.upload/register HTTP message headers: bad line termination

2010-11-23 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: I think, it is better that distutils.command.register and distutils.command.upload use CRLF as the line terminator for header values. It just helps in many cases, we can safely side by this case, but not relying LR or CR only may

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

2010-11-22 Thread Senthil Kumaran
Changes by Senthil Kumaran orsent...@gmail.com: -- assignee: facundobatista - orsenthil nosy: -BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1675455

[issue10483] http.server - what is executable on Windows

2010-11-22 Thread Senthil Kumaran
Changes by Senthil Kumaran orsent...@gmail.com: -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10483 ___ ___ Python-bugs-list

[issue10231] SimpleHTTPRequestHandler directory bugs

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

[issue3709] BaseHTTPRequestHandler innefficient when sending HTTP header

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

[issue10231] SimpleHTTPRequestHandler directory bugs

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

[issue3709] BaseHTTPRequestHandler innefficient when sending HTTP header

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

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

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

[issue2244] urllib and urllib2 decode userinfo multiple times

2010-11-20 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: back-ported to release27-maint in r86554. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2244

[issue10231] SimpleHTTPRequestHandler directory bugs

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

[issue10377] cProfile incorrectly labels its output

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

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

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

[issue1520831] urrlib2 max_redirections=0 disables redirects

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

[issue9991] xmlrpc client ssl check faulty

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

[issue9991] xmlrpc client ssl check faulty

2010-11-18 Thread Senthil Kumaran
Changes by Senthil Kumaran orsent...@gmail.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9991 ___ ___ Python-bugs

[issue2244] urllib and urllib2 decode userinfo multiple times

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

[issue9991] xmlrpc client ssl check faulty

2010-11-18 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: r86523(py3k) and r86524(release31-maint) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9991

[issue1028088] Cookies without values are silently ignored (by design?)

2010-11-16 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Revisiting this issue. - Cookie: should contain name=value pairs - Set-Cookie: header can contain a single word like 'secure' The current design is along the same lines only. In the original comment, the request had asked to document

[issue10394] subprocess Popen deadlock

2010-11-16 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Did you attach the correct files? You mention about two programs in the description, but you have attached only one file 'deadlock.py'. Also, it does not fail on Python 2.7.1. Please try it on the latest codeline from release27-maint too

[issue10399] AST Optimization: inlining of function calls

2010-11-16 Thread Senthil Kumaran
Changes by Senthil Kumaran orsent...@gmail.com: -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10399 ___ ___ Python-bugs-list

[issue10403] Use member consistently

2010-11-16 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: It is 'attributes' instead of term 'members'. The term 'method' when it denotes methods can be left as such. -- assignee: d...@python - orsenthil nosy: +orsenthil ___ Python tracker rep

[issue10403] Use member consistently

2010-11-16 Thread Senthil Kumaran
Changes by Senthil Kumaran orsent...@gmail.com: -- stage: - needs patch type: - behavior versions: +Python 2.7, Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10403

[issue10425] xmlrpclib support for None isn't compliant with XMLRPC

2010-11-16 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: On Tue, Nov 16, 2010 at 11:32:03AM +, Adam Bielański wrote: just accept ex:nil as well as nil and not try to analyze namespaces at all. But even that seems specific to Java/ Apache Extension. If it is, then it might go in as part

[issue10432] concurrent.futures.as_completed() spins waiting for futures to complete

2010-11-16 Thread Senthil Kumaran
Changes by Senthil Kumaran orsent...@gmail.com: -- assignee: - bquinlan nosy: +bquinlan stage: - patch review versions: -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10432

[issue10425] xmlrpclib support for None isn't compliant with XMLRPC

2010-11-16 Thread Senthil Kumaran
Changes by Senthil Kumaran orsent...@gmail.com: -- resolution: - duplicate stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10425

[issue1520831] urrlib2 max_redirections=0 disables redirects

2010-11-15 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: John, I was trying to find out what does rfc say on Client Ignoring the 30X REDIRECT headers. There is no point made on Client's trying to ignore it, instead it said that it should follow the Redirect and must not endlessly loop. Setting

[issue10425] xmlrpclib support for None isn't compliant with XMLRPC

2010-11-15 Thread Senthil Kumaran
Changes by Senthil Kumaran orsent...@gmail.com: -- assignee: - orsenthil nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10425

[issue9991] xmlrpc client ssl check faulty

2010-11-14 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: That's sad. The fix is very simple. We shall have it before 3.2 alpha4 or beta1. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9991

[issue10205] Can't have two tags with the same QName

2010-11-13 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Thanks for the explanation, Éric. That helps. - Backported QName tests in r86447 to release31-maint. As for the logic of the fix, it follows like this: If True and False: #Doesn't go here elif True: # Goes here vs if True: # Goes

[issue10387] ConfigParser's getboolean method is broken

2010-11-13 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: On Sat, Nov 13, 2010 at 01:20:45AM +, Łukasz Langa wrote: You think wrong. Try it. Okay, I get it. Coercing would be a bad idea in RawConfigParser because there are cases where get method can have raw=True and coercing would break

[issue1520831] urrlib2 max_redirections=0 disables redirects

2010-11-13 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: This is an invalid bug report at the moment. In fact, aged. The redirection depends upon max_redirections and max_repeats together. Setting it to 0 explicitly (inside the code) is not a good use case under any condition. -- nosy

[issue5111] httplib: wrong Host header when connecting to IPv6 litteral URL

2010-11-13 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Fixed in r86450 (py3k). Will be back porting shortly. -- resolution: - fixed stage: - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5111

[issue10116] Sporadic failures in test_urllibnet

2010-11-13 Thread Senthil Kumaran
Changes by Senthil Kumaran orsent...@gmail.com: -- status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10116 ___ ___ Python

[issue5111] httplib: wrong Host header when connecting to IPv6 litteral URL

2010-11-13 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: r86461 (release31-maint) r86462 (release27-maint) -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5111

[issue10377] cProfile incorrectly labels its output

2010-11-12 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: On Tue, Nov 09, 2010 at 07:15:57PM +, Jean-Paul Calderone wrote: cProfile.run(import time; time.sleep(1)) 4 function calls in 1.012 CPU seconds It is not the case that the profiled code uses 1 CPU seconds. It spends

[issue10387] ConfigParser's getboolean method is broken

2010-11-12 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: On Fri, Nov 12, 2010 at 12:35:49AM +, Łukasz Langa wrote: This is unfortunately a backwards compatibility concern. Originally it wasn't made so that set() converts to string or accepts only strings and when the developers realized

[issue10359] ISO C cleanup

2010-11-09 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Hallvard, if it going be a rather huge diff, you may make it available at http://bugs.python.org/review, so that it is easy for review. -- nosy: +orsenthil ___ Python tracker rep

[issue10245] Fix resource warnings in test_telnetlib

2010-11-09 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: conn.close() was done in the finally method in r86228 by brian.curtin. The other change in your patch in very minor space addition after comma. We can leave it to place along with some other code change. -- nosy: +brian.curtin

[issue10324] Modules/binascii.c: simplify expressions

2010-11-09 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: At first, I was worried if this simplification would cause any harm to readability of the algorithm. Fortunately, it didn't. Committed in r86357. -- nosy: +orsenthil resolution: - fixed stage: commit review - committed/rejected

[issue10205] Can't have two tags with the same QName

2010-11-08 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Fixed in r86348 for py3k and r86349 for release27-maint. In release31-maint, I see that there are missing features, like support for xml_declaration and default_namespace, which are however available in release27-maint

[issue10318] make altinstall installs many files with incorrect shebangs

2010-11-08 Thread Senthil Kumaran
Changes by Senthil Kumaran orsent...@gmail.com: -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10318 ___ ___ Python-bugs-list

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

2010-11-08 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: jrodman2, in the socketserver TCPServer code you will find that shutdown_request does a socket.SHUT_WR before calling close_request. If the application or code in your description used shutdown_request, instead of close_request would you

[issue10226] urlparse example is wrong

2010-11-07 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Fixed the wordings in r86296(py3k), r86297(release31-maint) and r86298(release27-maint). David, for the examples you mentioned, the first one's parsing logic follows the explanation that is written. It is correct. For the second example

[issue10303] small inconsistency in tutorial

2010-11-07 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Fixed in r86310. print was used in some examples following its mention, so a simple introduction to it was okay. It is introduced properly further down in the tutorial. -- nosy: +orsenthil resolution: - fixed stage: needs patch

[issue10205] Can't have two tags with the same QName

2010-11-06 Thread Senthil Kumaran
Changes by Senthil Kumaran orsent...@gmail.com: -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10205 ___ ___ Python-bugs-list

[issue6269] threading documentation makes no mention of the GIL

2010-11-06 Thread Senthil Kumaran
Changes by Senthil Kumaran orsent...@gmail.com: -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6269 ___ ___ Python-bugs-list

[issue10307] compile error in readline.c

2010-11-03 Thread Senthil Kumaran
New submission from Senthil Kumaran orsent...@gmail.com: /py3k/Modules/readline.c: In function flex_complete: /py3k/Modules/readline.c:877: error: on_completion undeclared (first use in this function) -- assignee: orsenthil messages: 120376 nosy: orsenthil priority: normal severity

[issue10307] compile error in readline.c

2010-11-03 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: The problem was in py3k, due to a minor overlook in r85680. Fixed in r86153. -- components: +Build resolution: - fixed stage: - committed/rejected status: open - closed versions: +Python 3.2

[issue8555] tkinter doesn't see _tkinter

2010-10-31 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Not sure, why changed the resolution. It is an invalid bug report. You could have resolved it by a little research or by asking around. -- resolution: fixed - invalid ___ Python tracker rep

[issue10226] urlparse example is wrong

2010-10-29 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: - Otherwise, it is not possible to distinguish between netloc and path - components, and would the indistinguishable component would be classified - as the path as in a relative URL. + If the netloc does not start

[issue10192] 'from urllib.parse import *' does not import urlencode function

2010-10-25 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Fixed in revision 85837. -- assignee: - orsenthil nosy: +orsenthil resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http

[issue10155] Add fixups for encoding problems to wsgiref

2010-10-20 Thread Senthil Kumaran
Changes by Senthil Kumaran orsent...@gmail.com: -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10155 ___ ___ Python-bugs-list

[issue9022] TypeError in wsgiref.handlers when using CGIHandler

2010-10-20 Thread Senthil Kumaran
Changes by Senthil Kumaran orsent...@gmail.com: -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9022 ___ ___ Python-bugs-list

[issue10048] urllib.request documentation confusing

2010-10-18 Thread Senthil Kumaran
Changes by Senthil Kumaran orsent...@gmail.com: -- assignee: d...@python - orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10048

[issue1531775] HTTPSConnection request hangs

2010-10-18 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Not an issue anymore as socket timeout at client is supposed to happen with the connection is hung due to unresponsive host. The original bug was raised py2.3. Closing it as out of date. -- nosy: +orsenthil resolution: - out

[issue1520831] urrlib2 max_redirections=0 disables redirects

2010-10-18 Thread Senthil Kumaran
Changes by Senthil Kumaran orsent...@gmail.com: -- assignee: - orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1520831 ___ ___ Python

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

2010-10-18 Thread Senthil Kumaran
Changes by Senthil Kumaran orsent...@gmail.com: -- assignee: - orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4733 ___ ___ Python-bugs

[issue9730] base64 docs refers to strings instead of bytes

2010-10-18 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: On Fri, Sep 03, 2010 at 10:57:17PM +, Georg Brandl wrote: That's why I said to use testsetup directives -- they are not visible in the HTML/PDF/... output, but used when running the tests. Do you already have such a directive

[issue5111] httplib: wrong Host header when connecting to IPv6 litteral URL

2010-10-18 Thread Senthil Kumaran
Changes by Senthil Kumaran orsent...@gmail.com: -- assignee: - orsenthil nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5111

[issue10140] Tools/scripts/pathfix.py: add option to preserve timestamps

2010-10-18 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: The patch was fine and yes agree that preserving timestamp as an option is useful in many situations. Committed in r85720. Thanks. -- assignee: - orsenthil nosy: +orsenthil resolution: - accepted stage: patch review - committed

[issue10141] SocketCan support

2010-10-18 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Looks like an interesting feature request. What are the packages or external libraries which may rely on this and how do they deal with SocketCan support at moment for their requirements? (That thread mentions several, but some details

[issue10119] test_urllibnet failure when using support.transient_internet

2010-10-17 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Fixed in revision 85630. When using fileno attribute of the file-descriptor, the socket had to be in blocking mode. Now the results are consistent. This may resolve the other spurious test failures that were observed too

[issue10116] Sporadic failures in test_urllibnet

2010-10-17 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: ixokai, A change made as part of issue10119 should have resolved this issue too. Please let me know if this can be closed. -- assignee: - orsenthil resolution: - fixed stage: - committed/rejected type: - behavior

[issue10119] test_urllibnet failure when using support.transient_internet

2010-10-16 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Actually, this is not related to transient_internet call. Just that file handle not behaving as expected due to some delays. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue10076] Regex objects became uncopyable in 2.5

2010-10-15 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: The patch looks reasonable to me. I was trying to find out why they got disabled after 2.5, but I don't see any reason. (There was an issue open and it was closed for no reason). So, I think, this should move forward, unless there is any

Re: [issue10089] Add support for arbitrary -X options

2010-10-15 Thread Senthil Kumaran
On Wed, Oct 13, 2010 at 07:01:40PM +, Antoine Pitrou wrote: $ ./python -Xa,b=c,d -Xe,f=g=h -c import sys; print(sys.xoptions) {'a': True, 'b': 'c', 'e': True, 'd': True, 'f': 'g=h'} Docs should be updated too. I see that the values could either be True or a string? Would this be perceived

[issue10099] socket.fromfd() documentation problem

2010-10-15 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: I think, the original docs *is* pretty intuitive. It says Duplicate the file descriptor fd and build a socket object. No one will think that the this method will close the original fd. Person using this method might of course, explicitly

[issue10100] fromfd is now available on all platforms

2010-10-15 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Docs changed committed in revision 85514. -- nosy: +orsenthil resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http

[issue10106] missing packages

2010-10-15 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: I would suggest to OP, to take it with python-help for the problem to be fixed. It's raised on python26 as well. Highly unlikely that anything is wrong with Python installation here. Marking it invalid and closing it. -- nosy

[issue10099] socket.fromfd() documentation problem

2010-10-15 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: So, I assume that we just leave it as such and close the issue. I was thinking if anything needs to be updated for function __doc__ but even there 'the duplicate' word is explained. -- resolution: - invalid stage: - committed

<    9   10   11   12   13   14   15   16   17   18   >