[issue12697] timeit documention still refers to the timeit.py script

2011-08-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for the report, Boris Feld and Alexis. -- assignee: alexis -> docs@python nosy: +docs@python, orsenthil ___ Python tracker <http://bugs.python.org/issu

[issue12661] Add a new shutil.cleartree function to shutil module

2011-08-06 Thread Senthil Kumaran
Senthil Kumaran added the comment: Hello Leonid, I think the best way forward would be post it as a recipe in active state cookbook if you have not already and see the adoption. If there is enough, then it can be added to shutil module. AFAIK, a couple of shutil features have gained entry in

[issue10087] HTML calendar is broken

2011-08-06 Thread Senthil Kumaran
Senthil Kumaran added the comment: FWIW, I think removing the encoding facility (more so because it can interfere with the terminal encoding) and just dealing with strings to output the html version of calendar seems a neater way than definiing write = sys.stdout.buffer.write and writing the

[issue12677] Turtle, fix right/left rotation orientation

2011-08-06 Thread Senthil Kumaran
Senthil Kumaran added the comment: Sandro - You could go ahead and commit this. -- ___ Python tracker <http://bugs.python.org/issue12677> ___ ___ Python-bug

[issue10087] HTML calendar is broken

2011-08-06 Thread Senthil Kumaran
Senthil Kumaran added the comment: Chris, as you already suggested in msg124410, I would prefer the removal of encoding specification from command line. Providing the encoding argument via API with deprecating warning is a good idea. The output should be string and it should be just be

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

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

[issue12541] Accepting Badly formed headers in urllib HTTPBasicAuth

2011-08-07 Thread Senthil Kumaran
Senthil Kumaran added the comment: Here is a patch with the test for accepting the badly formed headers. I would like to ensure that change in the regex is fool-proof in order to accomodate this bad behavior, so that we don't break the existing stuff. It is problem at the server end,I

[issue12706] timeout sentinel in ftplib and poplib

2011-08-07 Thread Senthil Kumaran
New submission from Senthil Kumaran : - ftplib and poplib, has them as timeout=None, while they default to socket._GLOBAL_DEFAULT_TIMEOUT object

[issue12706] timeout sentinel in ftplib and poplib documentation

2011-08-07 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- title: timeout sentinel in ftplib and poplib -> timeout sentinel in ftplib and poplib documentation ___ Python tracker <http://bugs.python.org/issu

[issue10087] HTML calendar is broken

2011-08-08 Thread Senthil Kumaran
Senthil Kumaran added the comment: I agree with Chris's point that people using html format in console are probably redirecting to a file and encoding parameter should be helpful. What do we settle upon? Leave the encoding argument as such? Antoine - I was specifically interested to kn

[issue12541] Accepting Badly formed headers in urllib HTTPBasicAuth

2011-08-08 Thread Senthil Kumaran
Senthil Kumaran added the comment: I don't think so. We are just making our regex bit lenient. I am not sure how we can raise a warning with more lenient regex. As with any parsing changes, I would like to be careful and that we don't introduce any

[issue12682] Meaning of 'accepted' resolution as documented in devguide

2011-08-08 Thread Senthil Kumaran
Senthil Kumaran added the comment: R. David Murray wrote: > If someone wants to re-engineer the interface, that would be fine with me :) Does that mean, that if vote for removing the 'accepted' keyword it becomes an issue for the

[issue12682] Meaning of 'accepted' resolution as documented in devguide

2011-08-08 Thread Senthil Kumaran
Senthil Kumaran added the comment: RDM, yes, unfortunately the direction of the discussion changed from documentation issue to a process one. Instead of diverting further into catch all discussion about process/tracker, it would be good idea to settle this one. Your points definitely counts as

[issue12722] Link to heapq source from docs.python.org not working

2011-08-10 Thread Senthil Kumaran
New submission from Senthil Kumaran : http://mail.python.org/pipermail/docs/2011-August/005336.html I see that it is a problem with viewvc software which is not handling unicode text in HTML markup properly. Probably we can reference the text version of that module till the viewvc bug is fixed

Re: [issue10087] HTML calendar is broken

2011-08-12 Thread Senthil Kumaran
t on style changes can be done (if they are worth it). And yeah, it is bad to ignore substantiative comments. I hope, I did not overlook any. Ezio's main point was he was worried about using sys.stdout.buffer (as I was too) and we got that clarified.

[issue11155] multiprocessing.Queue's put() signature differs from docs

2011-09-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: anikom15's first patch seems correct. In the multiprocessing.py, the the arg 'obj' can be safely replaced with 'item' to be consistent with the docs. As this is not a keyword arg, it does not stand any chance of breaking any ba

[issue11155] multiprocessing.Queue's put() signature differs from docs

2011-09-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: Well, I should take back my previous comment. I realized that the positional arg in this case can be called as keyword arg. It would be wrong to change multiprocessing.py and it is correct to change the docs

[issue12910] urrlib.quote quotes too many chars, e.g., '()'

2011-09-06 Thread Senthil Kumaran
Senthil Kumaran added the comment: It can aggressively put these chars !~*\'() in the safe list. I will look at the history to see if they originally present and were removed for some reason or they did not make it the list in the first place. If we do add, then it should be onl

[issue12921] http.server.BaseHTTPRequestHandler.send_error and trailing newline

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

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

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

[issue9446] urllib2 tests fail when offline

2010-08-10 Thread Senthil Kumaran
Senthil Kumaran added the comment: Yes, confirmed it in release27 branch. Gaierror is returned when tests are run offline. -- assignee: -> orsenthil resolution: -> accepted ___ Python tracker <http://bugs.python.org/

[issue9446] urllib2 tests fail when offline

2010-08-11 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed in r83950 by adding a wrapper function for catching gaierror. It was already present in py3k. Thanks for the bug report. -- resolution: accepted -> fixed stage: -> committed/rejected status: open -&g

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

2010-08-11 Thread Senthil Kumaran
Senthil Kumaran added the comment: I am fine with your proposal, Raymond. When I went about the change the docstrings, I did notice that it is not an intentional feature to provide negative values in the replace argument. The negative value (-1 as count) was being used somewhat as a sentinel

[issue9545] Adding _collections to static build

2010-08-14 Thread Senthil Kumaran
Senthil Kumaran added the comment: The reverted patch was reapplied in r83980 by Antoine. The issue9546 resolves the part of always running the cleanup code on compile error. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue9631] Python 2.7 installation issue for Linux Red Hat 4.1

2010-08-18 Thread Senthil Kumaran
Senthil Kumaran added the comment: spprakash, do the following, in your python2.7 checkout (or download): do make distclean ./configure make make install If there is any failure in make/make install of the above steps, please paste that error message and also provide the file system type

[issue592703] HTTPS does not handle pipelined requests

2010-08-18 Thread Senthil Kumaran
Senthil Kumaran added the comment: This needs investigation. Don't close. -- nosy: +orsenthil ___ Python tracker <http://bugs.python.org/issue592703> ___ ___

[issue672656] securing pydoc server

2010-08-18 Thread Senthil Kumaran
Senthil Kumaran added the comment: As the pydoc server "advertises" that it is running from localhost in both CLI and GUI, it is best to bind the socket to 'localhost' instead of '' (which would bind it to all the interfaces). So, a simple fix for this issue,

[issue894936] Have a split corresponding with os.path.join

2010-08-18 Thread Senthil Kumaran
Senthil Kumaran added the comment: Mark, +1 objection against closing this. -- nosy: +orsenthil status: pending -> open ___ Python tracker <http://bugs.python.org/issue

[issue9638] remove dead code from py3k imaplib

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

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

2010-08-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: The patch is fine. -- assignee: -> orsenthil nosy: +orsenthil resolution: -> accepted ___ Python tracker <http://bugs.python.org/

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

2010-08-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed in r84207(release27-maint). -- ___ Python tracker <http://bugs.python.org/issue9639> ___ ___ Python-bugs-list mailin

[issue9643] urllib2 - Basic, Digest Auth Handlers Retry will give 401 code instead of 407

2010-08-19 Thread Senthil Kumaran
New submission from Senthil Kumaran : The retry logic and code used by ProxyBasicAuthHandler and ProxyDigestAuthHandler are same as normal authentication handlers. While this reuse is good, there is a problem that, on authentication failure, the HTTPError code is hardcoded to 401, whereas for

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

2010-08-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed in py3k (r84210) and release31-maint(r84211). I discovered a new problem while fixing this. It will be taken care in issue9643. -- resolution: accepted -> fixed stage: -> committed/rejected status: open -&g

[issue9643] urllib2 - Basic, Digest Proxy Auth Handlers failure will give 401 code instead of 407

2010-08-19 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- title: urllib2 - Basic,Digest Auth Handlers Retry will give 401 code instead of 407 -> urllib2 - Basic,Digest Proxy Auth Handlers failure will give 401 code instead of 407 ___ Python tracker <http://bugs.pyth

[issue1067702] urllib fails with multiple ftps

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

[issue9655] urllib2 fails to retrieve a url which is handled correctly by urllib

2010-08-21 Thread Senthil Kumaran
Senthil Kumaran added the comment: Its funny, confirmed the problem in the trunk. -- assignee: -> orsenthil nosy: +orsenthil resolution: -> accepted stage: -> needs patch ___ Python tracker <http://bugs.python.o

[issue9655] urllib2 fails to retrieve a url which is handled correctly by urllib

2010-08-21 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks Amaury, that was nice debugging. The problem is with Apache tomcat server at the remote end, which is misbehaving on Connection:close header being sent by urllib2. We can't do anything about it, the bug reporter can take it up with server. Ho

[issue1508475] transparent gzip compression in liburl2

2010-08-23 Thread Senthil Kumaran
Senthil Kumaran added the comment: Its okay, Jacab, we will take it forward. -- assignee: -> orsenthil ___ Python tracker <http://bugs.python.org/issue1

[issue1327971] HTTPResponse instance has no attribute 'fileno'

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

[issue1490929] urllib.retrieve's reporthook called with non-helpful value

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

[issue8797] urllib2 basicauth broken in 2.6.5: RuntimeError: maximum recursion depth exceeded in cmp

2010-08-25 Thread Senthil Kumaran
Senthil Kumaran added the comment: I checked in a modified version of reset the retry count for respnse code !=401 in the following checkins: r84323 (py3k) r84324 (release21-maint) r84325 (release31-maint) Unfortunately, we wont be able to patch the 2.6.x release. You might want to use patch

[issue8797] urllib2 basicauth broken in 2.6.5: RuntimeError: maximum recursion depth exceeded in cmp

2010-08-25 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed Added file: http://bugs.python.org/file18648/basic_auth.patch ___ Python tracker <http://bugs.python.o

Re: [issue8797] urllib2 basicauth broken in 2.6.5: RuntimeError: maximum recursion depth exceeded in cmp

2010-08-26 Thread Senthil Kumaran
> r84324 (release21-maint) That should be release27-maint. :) ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

[issue8797] urllib2 basicauth broken in 2.6.5: RuntimeError: maximum recursion depth exceeded in cmp

2010-08-26 Thread Senthil Kumaran
Senthil Kumaran added the comment: On Thu, Aug 26, 2010 at 3:24 PM, Mads Kiilerich wrote: > Mads Kiilerich added the comment: > > Senthil, can you tell us why this fix is correct - and convince us that it is > the Final Fix for this issue? Hello Mads, this may not be be final

[issue9721] urlparse.urljoin() cuts off last base character with semicolon at url start

2010-09-06 Thread Senthil Kumaran
Senthil Kumaran added the comment: Simply applying the patch would break the testsuite of urlparse ( test_RFC3986 case of urljoin for ';' starting joinurls). The expected behavior should be trim off all receding chars until a '/' and then join the semi-colon starting

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

2010-09-08 Thread Senthil Kumaran
Senthil Kumaran added the comment: Reverted the changes in r84626 (release27-maint), r84629(py3k), r84630 (release31-maint). - Minor doc clarification included wherein maxreplace is the argument instead of maxsplit in py27. - Also, did not bother to remove -1 in maxreplace. It is used as

[issue2236] Distutils' mkpath implementation ignoring the "mode" parameter

2010-09-17 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed for py3k in r84861, release31-maint in r84863 and release27-maint in r84862. Thanks for patch, Carlos Henrique Romano. -- nosy: +orsenthil resolution: -> fixed stage: unit test needed -> committed/rejected status: open -&g

[issue2236] Distutils' mkpath implementation ignoring the "mode" parameter

2010-09-17 Thread Senthil Kumaran
Senthil Kumaran added the comment: I have skipped the mode tests on windows platforms, as they are not really applicable. Lets see the buildbots status and close the bug. -- ___ Python tracker <http://bugs.python.org/issue2

[issue2236] Distutils' mkpath implementation ignoring the "mode" parameter

2010-09-18 Thread Senthil Kumaran
Senthil Kumaran added the comment: Buildbots are green now after fixing the mode issue in the tests in r84889,r84890,r84891 -- status: open -> closed ___ Python tracker <http://bugs.python.org/iss

[issue1327971] HTTPResponse instance has no attribute 'fileno'

2010-09-20 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fix committed in revision 84932. A property based fileno was not required, because it is hardly set, it is always often a read-only attribute. Also, py3k behavior is same as the current fix. -- ___ Python

[issue1327971] HTTPResponse instance has no attribute 'fileno'

2010-09-20 Thread Senthil Kumaran
Senthil Kumaran added the comment: Documented it in r84933, r84934 and r84935 -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue1172011] BaseCookie should call value_decode from __getitem__

2010-09-21 Thread Senthil Kumaran
Senthil Kumaran added the comment: Moreover, BaseCookie should be used only for subclassing. Proper way is to always use SimpleCookie, this was an Invalid bug report. -- stage: unit test needed -> committed/rejected ___ Python tracker &l

[issue1491] BaseHTTPServer incorrectly implements response code 100

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

[issue1595365] Urllib2 user-agent header added by an opener is "frozen"

2010-09-21 Thread Senthil Kumaran
Senthil Kumaran added the comment: This is still a valid bug. -- assignee: -> orsenthil resolution: -> accepted stage: unit test needed -> needs patch ___ Python tracker <http://bugs.python.org/

[issue1595365] Urllib2 user-agent header added by an opener is "frozen"

2010-09-26 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed in r85025 (py3k), r85026 (release31-maint) and r85027 (release27-maint). -- resolution: accepted -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python track

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

2010-09-29 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- Removed message: http://bugs.python.org/msg58435 ___ Python tracker <http://bugs.python.org/issue1589> ___ ___ Python-bugs-list m

[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:

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