[issue1589] New SSL module doesn't seem to verify hostname against commonName in certificate

2010-09-29 Thread Senthil Kumaran
Senthil Kumaran added the comment: Removed this message by mistake. Author ahasenack Date2007-12-11.21:11:53 Ups, typo in the script: cert = "verisign-inc-class-3-public-primary.pem" -- nosy: +orsenthil ___ Python trac

[issue1491] BaseHTTPServer incorrectly implements response code 100

2010-09-29 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed and committed in revision 85125. Actually, this changes the behavior of BaseHTTPServer a little and adds two new methods to the code, so I don't think, this should be back-ported to 2.7 and 3.1. If older code were to encounter the new 100 Con

[issue9873] Allow bytes in some APIs that use string literals internally

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

[issue10012] httplib shadows builtin, assumes strings

2010-10-01 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: -> orsenthil nosy: +orsenthil ___ Python tracker <http://bugs.python.org/issue10012> ___ ___ Python-bugs-list mai

[issue10010] ".. index::" position

2010-10-01 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed in py3k(r85156), release31-maint(r85157) and release27-maint(r85158). -- nosy: +orsenthil resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> behavior ___ Py

[issue10012] httplib shadows builtin, assumes strings

2010-10-02 Thread Senthil Kumaran
Senthil Kumaran added the comment: Here are patches with tests for py3k and release27-maint, for explicit conversion of header values to bytes/str. If someone likes to review the patch, please provide your comments. -- keywords: +patch resolution: -> accepted stage: -> patch

[issue10012] httplib shadows builtin, assumes strings

2010-10-02 Thread Senthil Kumaran
Changes by Senthil Kumaran : Added file: http://bugs.python.org/file19117/issue10012-py3k.patch ___ Python tracker <http://bugs.python.org/issue10012> ___ ___ Python-bug

[issue9272] CGIHTTPServer poisons os.environ

2010-10-03 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fix committed in revision 85202 (py3k), r85203 (release31-maint), r85204(release27-maint). I had change the patch to use copy.deepcopy instead of os.environ.copy() because for the purposes of test os.environ was masked with EnvironmentGuard which does not

[issue10012] httplib shadows builtin, assumes strings

2010-10-03 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed in r85205 (py3k), r85206 (release31-maint) and r85207 (release27-maint). -- resolution: accepted -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python track

[issue9725] urllib.request.FancyURLopener won't connect to pages requiring username and password

2010-10-04 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: -> orsenthil nosy: +orsenthil ___ Python tracker <http://bugs.python.org/issue9725> ___ ___ Python-bugs-list mai

[issue9873] urllib.parse: Allow bytes in some APIs that use string literals internally

2010-10-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: I wonder if Option2 (ascii+surrogateescape vs latin1) is only about performance. How about escapes that might occur if the Option2 is adopted. That might take higher priority than performance. Do we know 'how tight' that a

Re: [issue10029] "Equivalent to" code for zip is wrong in Python 3

2010-10-09 Thread Senthil Kumaran
On Fri, Oct 08, 2010 at 06:25:26PM +, Alexander Belopolsky wrote: > In this case, I wonder if "equivalent to" code should be added to the > section for enumerate() and map(). Also since any() and all() have > "equivalent to" code, I think min(), max() and sum() deserve it as > well. I think,

[issue7285] multiprocessing module, example code error

2010-10-09 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed in r85347 and r85348. -- nosy: +orsenthil resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.o

[issue10061] ** operator yielding wrong result for negative numbers

2010-10-09 Thread Senthil Kumaran
Senthil Kumaran added the comment: It's to do with operator precedence. ** takes higher precedence than negative. http://docs.python.org/reference/expressions.html#Summary (-5) ** 4 will give what you are looking for. -- nosy: +orsenthil resolution: -> invalid stage: ->

[issue10063] file:// scheme will stop accessing via ftp protocol

2010-10-10 Thread Senthil Kumaran
New submission from Senthil Kumaran : file:// scheme should not be allowed to access a file on remote machines. RFC 1738, says that host, if present should be the FQDN of the machine, but relaxing on that I thinking that localhost and its variants should okay as long as it is the local

[issue10063] file:// scheme will stop accessing via ftp protocol

2010-10-10 Thread Senthil Kumaran
Senthil Kumaran added the comment: On Sun, Oct 10, 2010 at 03:49:42PM +, R. David Murray wrote: > Does it also need a deprecation cycle? I think, adding a deprecation cycle might just delay this change. So, I would prefer if we make it in the 3.2 itself. - This is not a user-facing

[issue9003] urllib.request and http.client should allow certificate checking

2010-10-11 Thread Senthil Kumaran
Senthil Kumaran added the comment: Yes, it does solve the problem of httplib and urllib2_localnet tests which were hanging with the earlier patch on certain machines.. -- Added file: http://bugs.python.org/file19189/unnamed ___ Python tracker <h

[issue10096] Question regarding python migration

2010-10-13 Thread Senthil Kumaran
Senthil Kumaran added the comment: Please ask python-l...@python.org Bug tracker is for raising bugs on python. -- nosy: +orsenthil resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python track

[issue10063] file:// scheme will stop accessing via ftp protocol

2010-10-14 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for the comments and feedback. Fixed this in revision 85475. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue10065] future_builtins' docstring lacks some functions

2010-10-14 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed in revision 85479. -- nosy: +orsenthil resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> behavior ___ Python tracker <http://bugs.python

[issue10094] test_urllib.py fails in py3k r85440 with RuntimeError

2010-10-14 Thread Senthil Kumaran
Senthil Kumaran added the comment: I have seen this in very inconsistent manner. -- nosy: +orsenthil ___ Python tracker <http://bugs.python.org/issue10

[issue10094] test_urllib.py fails in py3k r85440 with RuntimeError

2010-10-14 Thread Senthil Kumaran
Senthil Kumaran added the comment: I had seen with test_urllib, but it was inconsistent for me. Sometimes make distclean and run had worked fine. This was on Ubuntu 10.04, Intel 64 bit. It is surprising, if it is seen consistently on Ubuntu 10.10 ( I have not upgraded to this yet, so have not

[issue10076] Regex objects became uncopyable in 2.5

2010-10-14 Thread Senthil Kumaran
Senthil Kumaran 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 technical obje

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 perceive

[issue10099] socket.fromfd() documentation problem

2010-10-15 Thread Senthil Kumaran
Senthil Kumaran 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 added the comment: Docs changed committed in revision 85514. -- nosy: +orsenthil resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue10106] missing packages

2010-10-15 Thread Senthil Kumaran
Senthil Kumaran 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: +orsenthil resol

[issue10099] socket.fromfd() documentation problem

2010-10-15 Thread Senthil Kumaran
Senthil Kumaran 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

[issue10119] test_urllibnet failure when using support.transient_internet

2010-10-15 Thread Senthil Kumaran
New submission from Senthil Kumaran : I am attaching the script which exhibits the problem. wrapping the urllib.request.urlopen, with the support.transient_internet contextmanager exhibits an Unexpected Behavior. Without the context manager, reading the file using the filedescriptor succeeds

[issue10119] test_urllibnet failure when using support.transient_internet

2010-10-15 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- nosy: +michael.foord ___ Python tracker <http://bugs.python.org/issue10119> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10116] Sporadic failures in test_urllibnet

2010-10-15 Thread Senthil Kumaran
Senthil Kumaran added the comment: Issue10119 is related too and both I guess, is boiling down to httplib either not properly using an open socket or closing it prematurely. -- ___ Python tracker <http://bugs.python.org/issue10

[issue10119] test_urllibnet failure when using support.transient_internet

2010-10-16 Thread Senthil Kumaran
Senthil Kumaran 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 <http://bugs.python.org/issue10

[issue10119] test_urllibnet failure when using support.transient_internet

2010-10-17 Thread Senthil Kumaran
Senthil Kumaran 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. -- assignee: -> orsent

[issue10116] Sporadic failures in test_urllibnet

2010-10-17 Thread Senthil Kumaran
Senthil Kumaran 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: -&

[issue10048] urllib.request documentation confusing

2010-10-18 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: d...@python -> orsenthil ___ Python tracker <http://bugs.python.org/issue10048> ___ ___ Python-bugs-list mai

[issue1531775] HTTPSConnection request hangs

2010-10-18 Thread Senthil Kumaran
Senthil Kumaran 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 of date stage: u

[issue1520831] urrlib2 max_redirections=0 disables redirects

2010-10-18 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: -> orsenthil ___ Python tracker <http://bugs.python.org/issue1520831> ___ ___ Python-bugs-list mailing list Unsubscri

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

2010-10-18 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: -> orsenthil ___ Python tracker <http://bugs.python.org/issue4733> ___ ___ Python-bugs-list mailing list Unsubscri

[issue9730] base64 docs refers to strings instead of bytes

2010-10-18 Thread Senthil Kumaran
Senthil Kumaran 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 i

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

2010-10-18 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: -> orsenthil nosy: +orsenthil ___ Python tracker <http://bugs.python.org/issue5111> ___ ___ Python-bugs-list mai

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

2010-10-18 Thread Senthil Kumaran
Senthil Kumaran 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/reject

[issue10141] SocketCan support

2010-10-18 Thread Senthil Kumaran
Senthil Kumaran 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 may help further

[issue10155] Add fixups for encoding problems to wsgiref

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

[issue9022] TypeError in wsgiref.handlers when using CGIHandler

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

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

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

[issue10226] urlparse example is wrong

2010-10-29 Thread Senthil Kumaran
Senthil Kumaran 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 with '//', the mod

[issue8555] tkinter doesn't see _tkinter

2010-10-31 Thread Senthil Kumaran
Senthil Kumaran 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 <http://bugs.pyth

[issue10307] compile error in readline.c

2010-11-03 Thread Senthil Kumaran
New submission from Senthil Kumaran : /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: normal status: open

[issue10307] compile error in readline.c

2010-11-03 Thread Senthil Kumaran
Senthil Kumaran 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 _

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

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

[issue6269] threading documentation makes no mention of the GIL

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

[issue10226] urlparse example is wrong

2010-11-07 Thread Senthil Kumaran
Senthil Kumaran 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, the port valu

[issue10303] small inconsistency in tutorial

2010-11-07 Thread Senthil Kumaran
Senthil Kumaran 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 -> com

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

2010-11-08 Thread Senthil Kumaran
Senthil Kumaran 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. This is not a desirable scenario and

[issue10318] "make altinstall" installs many files with incorrect shebangs

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

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

2010-11-08 Thread Senthil Kumaran
Senthil Kumaran 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 still require the

[issue10359] ISO C cleanup

2010-11-09 Thread Senthil Kumaran
Senthil Kumaran 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 <http://bugs.python.org/issue10

[issue10245] Fix resource warnings in test_telnetlib

2010-11-09 Thread Senthil Kumaran
Senthil Kumaran 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, orsenthil resolution

[issue10324] Modules/binascii.c: simplify expressions

2010-11-09 Thread Senthil Kumaran
Senthil Kumaran 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 s

[issue10377] cProfile incorrectly labels its output

2010-11-12 Thread Senthil Kumaran
Senthil Kumaran 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 CP

[issue10387] ConfigParser's getboolean method is broken

2010-11-12 Thread Senthil Kumaran
Senthil Kumaran 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 th

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

2010-11-13 Thread Senthil Kumaran
Senthil Kumaran 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 here if

[issue10387] ConfigParser's getboolean method is broken

2010-11-13 Thread Senthil Kumaran
Senthil Kumaran 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 those behaviors.

[issue1520831] urrlib2 max_redirections=0 disables redirects

2010-11-13 Thread Senthil Kumaran
Senthil Kumaran 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: -BreamoreBoy

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

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

[issue10116] Sporadic failures in test_urllibnet

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

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

2010-11-13 Thread Senthil Kumaran
Senthil Kumaran added the comment: r86461 (release31-maint) r86462 (release27-maint) -- status: open -> closed ___ Python tracker <http://bugs.python.org/iss

[issue9991] xmlrpc client ssl check faulty

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

[issue1520831] urrlib2 max_redirections=0 disables redirects

2010-11-15 Thread Senthil Kumaran
Senthil Kumaran 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 ma

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

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

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

2010-11-16 Thread Senthil Kumaran
Senthil Kumaran 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 the behavior

[issue10394] subprocess Popen deadlock

2010-11-16 Thread Senthil Kumaran
Senthil Kumaran 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 : -- nosy: +orsenthil ___ Python tracker <http://bugs.python.org/issue10399> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10403] Use "member" consistently

2010-11-16 Thread Senthil Kumaran
Senthil Kumaran 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

[issue10403] Use "member" consistently

2010-11-16 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- stage: -> needs patch type: -> behavior versions: +Python 2.7, Python 3.1, Python 3.2 ___ Python tracker <http://bugs.python.org/i

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

2010-11-16 Thread Senthil Kumaran
Senthil Kumaran 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 of issue8

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

2010-11-16 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: -> bquinlan nosy: +bquinlan stage: -> patch review versions: -Python 3.3 ___ Python tracker <http://bugs.python.org/i

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

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

[issue10228] Refleak run of test_dbm fails when several dbm modules are available

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

[issue10784] os.getpriority() and os.setpriority()

2011-02-25 Thread Senthil Kumaran
Senthil Kumaran added the comment: On Sat, Feb 26, 2011 at 12:11:10AM +, Antoine Pitrou wrote: > if err.errno != errno.EACCESS: > AttributeError: 'module' object has no attribute 'EACCESS' That was one 'S' too many. Should be errno.EACCES Looks

[issue10228] Refleak run of test_dbm fails when several dbm modules are available

2011-02-25 Thread Senthil Kumaran
Senthil Kumaran added the comment: Done in r88634. -- ___ Python tracker <http://bugs.python.org/issue10228> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2011-02-26 Thread Senthil Kumaran
Senthil Kumaran added the comment: I fail to see the bug here. Python's getpass.py is mimicing the behavior of getp

Re: [issue11283] incorrect pattern in the re module docs for conditional regex

2011-02-27 Thread Senthil Kumaran
On Tue, Feb 22, 2011 at 08:48:20AM +, wesley chun wrote: > > The fix is to add the end char '$' to the regex to get all 4 working: Better would be a regex for white-space '\s' which would achieve the same purpose plus it would satisfy the other requirement for using it with search and can do

[issue11283] incorrect pattern in the re module docs for conditional regex

2011-02-28 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thinking about the regex pattern again. The example given is not really wrong. It does what it claims to match, that is '' and 'u...@example.com' and reject ' kind of string. Also, this is not an example of validating an email ad

[issue5542] Socket is closed prematurely in httplib, if server sends response before request body has been sent

2011-02-28 Thread Senthil Kumaran
Senthil Kumaran added the comment: Guy, if the issue you describe in relevant to py3.x or 2.7, can you open a new issue? -- nosy: +orsenthil ___ Python tracker <http://bugs.python.org/issue5

[issue11301] cookielib.LWPCookieJar.save() doesn't save cookies

2011-02-28 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- resolution: -> invalid stage: -> committed/rejected ___ Python tracker <http://bugs.python.org/issue11301> ___ ___ Pyth

Re: [issue11306] mailbox should test for errno.EROFS

2011-02-28 Thread Senthil Kumaran
On Thu, Feb 24, 2011 at 03:07:10PM +, R. David Murray wrote: > Creating a test for this may not be practical :( Then should we just go ahead with this change as it seems reasonable one. -elif e.errno == errno.EACCES:

[issue11375] urllib2 over SOCKS doesn't use proxy for DNS

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

[issue11448] docs for HTTPConnection.set_tunnel are ambiguous

2011-03-08 Thread Senthil Kumaran
Senthil Kumaran added the comment: I am not able to understand what you mean by 'endpoint'. Actually, when using tunnels people understand that they often 'tunnel through' the proxy server and here is an example code from the tests which is going to use the se

[issue11009] urllib.splituser is not documented

2011-03-11 Thread Senthil Kumaran
Senthil Kumaran added the comment: splituser is an internal API. It has never been exposed through Docs anytime and there are good reasons for that too. We never want internal helper functions (even tough they don't startwith _) be exposed through docs as it may clutter the API Document

Re: [issue11465] Set documentation: Link to wikipedia

2011-03-11 Thread Senthil Kumaran
Only for relatively uncommon concepts like "Moving Average" and some other cases used in collections module hyperlink to a general article helps. Set theory is a commonly understood concept and link to wikipedia article may not be required. It can be left to the user to find out more, if they want

[issue11009] urllib.splituser is not documented

2011-03-11 Thread Senthil Kumaran
Senthil Kumaran added the comment: Sandro, I don't think is a required. Those functions serve the purpose of making the module code modular. They are helper functions for the module and are not really useful outside of it, when used standalone. Think about , splituser, splitpath, splitpor

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

2011-03-11 Thread Senthil Kumaran
Senthil Kumaran added the comment: What kind of url is 'javascript:123' and how do you (/ we) say that python2.6 behavior was correct? -- assignee: -> orsenthil keywords: +patch ___ Python tracker <http://bugs.pytho

[issue11283] incorrect pattern in the re module docs for conditional regex

2011-03-11 Thread Senthil Kumaran
Senthil Kumaran added the comment: Okay, fixed in all relevant branches. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue11463] IncompleteRead: IncompleteRead(168 bytes read)

2011-03-11 Thread Senthil Kumaran
Senthil Kumaran added the comment: Yes, please ensure that server is returning a proper HTTP response. Test it against browser or curl and see if they work. If they work, then it needs to be investigated as why 'http.client' is not working. -- assignee: -> orsenthil nos

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

2011-03-14 Thread Senthil Kumaran
Senthil Kumaran added the comment: Santoso, Quick review comments: 1. The patch looks good. 2. I would use a temporary 'throw-away' variable instead of _, but don't bother to change it, before committing I shall take care. 3. Important - Did you find any regression with the

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

2011-03-16 Thread Senthil Kumaran
New submission from Senthil Kumaran : Here is the make log and a patch to ignore looking for subversion keyword and assume some defaults (same is done in 2.6 + higher). -- components: Installation files: make-error.log messages: 131216 nosy: loewis, orsenthil priority: normal severity

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

2011-03-16 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- keywords: +patch Added file: http://bugs.python.org/file21260/ignore_subversion_keywords.diff ___ Python tracker <http://bugs.python.org/issue11

[issue11567] http.server error message format

2011-03-16 Thread Senthil Kumaran
Senthil Kumaran added the comment: go ahead. please submit a patch. -- assignee: -> orsenthil nosy: +orsenthil type: performance -> behavior versions: +Python 3.3 ___ Python tracker <http://bugs.python.org/i

[issue11563] test_urllibnet is triggering a ResourceWarning

2011-03-16 Thread Senthil Kumaran
Senthil Kumaran added the comment: Yes, go ahead with the patch. -- nosy: +orsenthil ___ Python tracker <http://bugs.python.org/issue11563> ___ ___ Python-bug

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