Re: [Python-Dev] Thank yous

2010-07-05 Thread Senthil Kumaran
On Mon, Jul 05, 2010 at 08:46:57AM +0100, Mark Dickinson wrote: > >>> On 4 July 2010 17:02, Benjamin Peterson wrote: > Now that Python 2.7 is out, I'd like to thank a few of the people who > made it possible: > >>> > >>> And not forgetting Benjamin himself for managing the whole thing! >

Re: [Python-Dev] query: docstring formatting in python distutils code

2010-07-07 Thread Senthil Kumaran
On Wed, Jul 7, 2010 at 11:00 PM, Georg Brandl wrote: > Agreed.  However, reST doesn't need to be less readable if the specific > inline markup is not used.  For example, using `identifier` to refer to a > function or *var* to refer to a variable (which is already done at quite a > few places) is v

[Python-Dev] Can ftp url start with file:// ?

2010-07-08 Thread Senthil Kumaran
Strictly not a Python question, but I wanted to know from the experience of others in this list. Is this is valid ftp url? # file://ftp.example.com/blah.txt (an ftp URL) My answer is no. When we have the scheme specifically mentioned as file:// it is no point in considering it as ftp url (which

Re: [Python-Dev] Can ftp url start with file:// ?

2010-07-08 Thread Senthil Kumaran
On Fri, Jul 09, 2010 at 02:23:40PM +1000, Steven D'Aprano wrote: > > Is this is valid ftp url? > > > > # file://ftp.example.com/blah.txt (an ftp URL) > > > > My answer is no. When we have the scheme specifically mentioned as > > file:// it is no point in considering it as ftp url (which should > >

Re: [Python-Dev] Can ftp url start with file:// ?

2010-07-10 Thread Senthil Kumaran
On Fri, Jul 09, 2010 at 02:32:04PM -0400, Fred Drake wrote: > FTP access also more often reflected the actual file hierarchy of the > machine, so trying that path as a system path is more likely to work > that I'd expect to see for HTTP. I see the reason. But I doubt if this is a reliable approach

Re: [Python-Dev] question

2010-08-04 Thread Senthil Kumaran
Hello, Please ask the support questions at: http://groups.google.com/group/comp.lang.python This group is for developing python. On Wed, Aug 4, 2010 at 12:13 PM, Sarah Hasanlo Nikfar wrote: > hi > i face with problem when i run one sample on cygwin: > please help me > > Exception happened dur

Re: [Python-Dev] [Python-checkins] r83885 - in python/branches/py3k: Lib/re.py Lib/test/test_re.py Misc/NEWS

2010-08-09 Thread Senthil Kumaran
On Mon, Aug 09, 2010 at 10:16:24PM +1000, Nick Coghlan wrote: > On Mon, Aug 9, 2010 at 8:47 PM, antoine.pitrou > > Log: > > Revert r83877 in order to fix compilation > > Is this still a problem even after the later checkins to fix the > circular build dependency by adding _collections to the stati

Re: [Python-Dev] Dev FAQ update request for svnmerge

2010-08-16 Thread Senthil Kumaran
On Tue, Aug 17, 2010 at 03:08:31PM +1000, Nick Coghlan wrote: > Could someone who knows how it is currently set up suggest a > correction to the dev FAQ for svnmerge usage? 2.26 How do I merge between branches? All development occurs under the py3k branch and bug fixes are expected to be merge

Re: [Python-Dev] Rework nntlib?

2010-09-14 Thread Senthil Kumaran
On Tue, Sep 14, 2010 at 12:44:30PM +0200, Baptiste Carvello wrote: > >Antoine> Like the email package, nntplib in py3k is broken (because of > >Antoine> various bytes/str mismatches; I suppose the lack of a test > >Antoine> suite didn't help when porting). > > > >How heavily used is nnt

Re: [Python-Dev] Rework nntlib?

2010-09-14 Thread Senthil Kumaran
On Tue, Sep 14, 2010 at 12:10:54PM +0100, Michael Foord wrote: > But as we already have it then making it *work* is a different matter... :-) Of course, I buy this argument. :) I am +1 on improving the nntplib in py3k, but if we have real world users raising bug reports and asking particular chan

Re: [Python-Dev] Rework nntlib?

2010-09-15 Thread Senthil Kumaran
On Wed, Sep 15, 2010 at 09:18:19PM +1000, Steven D'Aprano wrote: > I'm not trying to belittle the stats you have gathered, but without the > context of *what* the numbers represent, it's impossible to put any > meaning to them. I thought Geremy mentioned somewhere that he collected those metrics

Re: [Python-Dev] We should be using a tool for code reviews

2010-09-30 Thread Senthil Kumaran
On Thu, Sep 30, 2010 at 07:45:52AM +1000, Nick Coghlan wrote: > Somewhat amusing to get to this thread a few minutes after creating a > Reitveld issue for the first pass of my urllib.parse patch :) Hello Nick, could you please point me to that? Also, in general here are my points on Code Review u

Re: [Python-Dev] We should be using a tool for code reviews

2010-09-30 Thread Senthil Kumaran
> On Thu, Sep 30, 2010 at 9:52 AM, wrote: > > Of course, this is only true if the core developers *do* submit to the > same > rules.  Is anyone proposing that current core committers have all their > work reviewed before it is accepted? For large patches it is good idea. But enforci

Re: [Python-Dev] Rietveld integration into Roundup

2010-10-03 Thread Senthil Kumaran
Thanks Martin, this is really good. On Sun, Oct 3, 2010 at 1:33 AM, "Martin v. Löwis" wrote: >  Patches are skipped if: >  * they have been added to Rietveld already >  * they have no clear base version (i.e. they don't originate >    from svn diff) >  * they belong to no or a closed issue >  * t

Re: [Python-Dev] Adding Wing 4 project to

2010-10-05 Thread Senthil Kumaran
On Tue, Oct 05, 2010 at 12:39:00PM +0100, Michael Foord wrote: > Wing 4 is now in beta and I have switched to using it. Wing 4 uses > an updated, backwards incompatible, project file format. I would > like to add a Wing 4 project file to Misc, called 'python-wing4.wpr' > to all the branches I work

Re: [Python-Dev] Adding Wing 4 project to

2010-10-05 Thread Senthil Kumaran
On Tue, Oct 5, 2010 at 5:25 PM, Michael Foord wrote: len(open('Misc/python-wing.wpr').read()) > 555 len(open('Misc/python-wing4.wpr').read()) > 888 So, "size doesn't matter". :) -- Senthil ___ Python-Dev mailing list Python-Dev@python.org h

Re: [Python-Dev] Issue 10094

2010-10-14 Thread Senthil Kumaran
On Thu, Oct 14, 2010 at 10:29:12AM -0700, Guido van Rossum wrote: > Could it be IPv6? The error message says, File "Lib/test/test_urllib.py", line 121, in setUp for k in os.environ.keys(): File "/home/barry/projects/python/py3k/Lib/_abcoll.py", line 410, in __iter__ for key in self._m

Re: [Python-Dev] Issue 10094

2010-10-14 Thread Senthil Kumaran
On Thu, Oct 14, 2010 at 07:38:58PM +0200, Antoine Pitrou wrote: > An easy way to reproduce is to have an environment variable named > "PROXY": > > $ PROXY=toto ./python -m test.regrtest -F test_urllib > [ 1] test_urllib > Warning -- os.environ was modified by test_urllib > test test_urllib failed

Re: [Python-Dev] Issue 10094

2010-10-15 Thread Senthil Kumaran
On Fri, Oct 15, 2010 at 11:19:44AM +0200, Victor Stinner wrote: > Why does urllib test unset this variable? Is it related to an HTTP proxy? It does that *temporarily* using EnvironVarGuard to see if the PROXY related environment variables are correctly retrieved by a method. -- Senthil Drawin

Re: [Python-Dev] How to get commit access

2010-10-18 Thread Senthil Kumaran
Hello Chandrasekar, On Mon, Oct 18, 2010 at 10:05:56PM +0530, chandru wrote: > I am waiting for the bug Issue5111 (httplib: wrong Host header when connecting > to IPv6 litteral URL)  to be fixed for a very long. I just had a look at the bug. Looks like a minor change and tests are there too. I sh

Re: [Python-Dev] Goole Code-In Contest

2010-10-23 Thread Senthil Kumaran
On Sun, Oct 24, 2010 at 11:00 AM, Michele Orrù wrote: > I'm a student under 18 years, who really like programming in python. Few > days ago I've found Google Code-In contest, and I'm seriously considering it > as a good opportunity do get more confident with Python. Although I've fixed > a pair of

Re: [Python-Dev] [Python-checkins] r86348 - in python/branches/py3k/Lib: test/test_xml_etree.py xml/etree/ElementTree.py

2010-11-09 Thread Senthil Kumaran
Hello Éric, On Tue, Nov 09, 2010 at 08:46:41PM +0100, Éric Araujo wrote: > > Shouldn’t this include an entry in NEWS and maybe in ACKS? It was a very simple bug fix (caused due to an overlook initially), so did not add NEWS/ACKS. For features, larger fixes or complete patches, I the add NEWS and

Re: [Python-Dev] r86514 - in python/branches/py3k/Lib: test/test_xmlrpc.py xmlrpc/client.py

2010-11-18 Thread Senthil Kumaran
On Thu, Nov 18, 2010 at 11:18 PM, Antoine Pitrou wrote: >> Log: >> Fix Issue 9991: xmlrpc client ssl check faulty >> > [...] >> >> +    def test_ssl_presence(self): >> +        #Check for ssl support >> +        have_ssl = False >> +        if hasattr(socket, 'ssl'): >> +            have_ssl = Tru

Re: [Python-Dev] [Python-checkins] r86703 - python/branches/release31-maint/Lib/idlelib/IOBinding.py

2010-11-22 Thread Senthil Kumaran
Hi Terry, On Tue, Nov 23, 2010 at 2:07 PM, terry.reedy wrote: > Author: terry.reedy > Date: Tue Nov 23 07:07:04 2010 > New Revision: 86703 > > Log: > Issue 9222 Fix filetypes for open dialog > > Modified: >   python/branches/release31-maint/Lib/idlelib/IOBinding.py You should be using svnmerge.

Re: [Python-Dev] [Python-checkins] r86750 - python/branches/py3k/Demo/curses/life.py

2010-11-25 Thread Senthil Kumaran
On Fri, Nov 26, 2010 at 02:32:43AM +0100, Éric Araujo wrote: > Shouldn’t his name rather be in Misc/ACKS too? Modules typically > (warning: non-scientific data) include the name of the author or first > contributors but not the name of every contributor. > > I think these cool features deserve a

[Python-Dev] Fwd: RFC - GoogleSOC proposal -cleanupurllib

2007-03-24 Thread Senthil Kumaran
Resending this; as i think my sf.net email alias got blocked by the python-dev. -- Forwarded message -- From: Senthil <[EMAIL PROTECTED]> Date: Mar 24, 2007 6:05 AM Subject: RFC - GoogleSOC proposal -cleanupurllib To: python-dev@python.org Hi All, I have written a proposal to c

[Python-Dev] Two urllib issues

2010-12-15 Thread Senthil Kumaran
I know it is late to add features in beta release, but still I thought I would ask for a little leeway for these issues, especially as they don't change any API signatures. http://bugs.python.org/issue3243 Has patch, tests and docs http://bugs.python.org/issue1508475 I have patch ready and shall

Re: [Python-Dev] Remove HTTP 0.9 support

2010-12-16 Thread Senthil Kumaran
On Wed, Dec 15, 2010 at 02:20:54PM -0800, Glenn Linderman wrote: > On 12/15/2010 10:39 AM, Antoine Pitrou wrote: > I would like to remove HTTP 0.9 support from http.client and > http.server. I've opened an issue at > http://bugs.python.org/issue10711 > f

Re: [Python-Dev] Remove HTTP 0.9 support

2010-12-16 Thread Senthil Kumaran
On Wed, Dec 15, 2010 at 11:29:27PM +0100, Antoine Pitrou wrote: > Well, I think the "most web servers" comment itself is outdated. > Try e.g. www.mozilla.org or www.google.com or www.msn.com. > (but www.python.org or www.apache.org still have the legacy behaviour) What legacy behavior did you obse

Re: [Python-Dev] Remove HTTP 0.9 support

2010-12-16 Thread Senthil Kumaran
On Thu, Dec 16, 2010 at 02:20:37PM +0100, Antoine Pitrou wrote: > > > Try e.g. www.mozilla.org or www.google.com or www.msn.com. > > > (but www.python.org or www.apache.org still have the legacy behaviour) > > > > What legacy behavior did you observe in these? > > -> Request: > xyzzy > > -> Resp

Re: [Python-Dev] Remove HTTP 0.9 support

2010-12-16 Thread Senthil Kumaran
On Thu, Dec 16, 2010 at 11:21:37AM -0500, James Y Knight wrote: > > Even HTTP 0.9 says that response SHOULD start with status line, but > > gives a suggestion that clients can "tolerate" bad server server > > behaviors when they don't send the status line and in that the case > > response is the bo

Re: [Python-Dev] Remove HTTP 0.9 support

2010-12-16 Thread Senthil Kumaran
On Thu, Dec 16, 2010 at 04:52:43PM +0100, André Malo wrote: > HTTP/0.9 doesn't *have* a version string. > > GET /foo > > is a HTTP/0.9 request. > > GET /foo HTTP/0.9 > > isn't actually (it's a paradoxon, alright ;). It simply isn't a valid HTTP > request, which would demand a 505 response. Ye

Re: [Python-Dev] [Python-checkins] r87270 - python/branches/py3k/Doc/library/urllib.request.rst

2010-12-23 Thread Senthil Kumaran
On Wed, Dec 15, 2010 at 08:07:26PM +0100, antoine.pitrou wrote: > Log: > Move the urllib-inherited API to a distinguished section Distinguished: Legacy. :) -- Senthil ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/list

Re: [Python-Dev] [Python-checkins] r87523 - python/branches/py3k/Doc/tutorial/interpreter.rst

2010-12-28 Thread Senthil Kumaran
On Wed, Dec 29, 2010 at 10:35 AM, Jim Jewett wrote: > It might still be worth saying something like: > > Note that this "python details are not included in this tutorial. No, it this in fact puzzling. I was fine with the previous paragraph and if someone found it confusing, removing it is okay.

Re: [Python-Dev] [Python-checkins] r87677 - python/branches/py3k/py3rsa.py

2011-01-03 Thread Senthil Kumaran
Sorry Folks. I commited to a wrong respository. I was testing it against the latest version py3k and I thought i moved it back to my original respository. Apologize for the trouble and I shall remove it immediately. -- Senthil On Mon, Jan 3, 2011 at 5:47 PM, senthil.kumaran wrote: > Author: se

Re: [Python-Dev] [python-committers] [RELEASED] Python 3.2 rc 1

2011-01-17 Thread Senthil Kumaran
On Mon, Jan 17, 2011 at 2:03 PM, Mark Summerfield wrote: > Hi Georg, > > I can't be sure it is a bug, but there is a definite difference of > behavior between 3.0/3.1 and 3.2rc1. > > I can do the relative import with Python 3.0 and 3.1 but not with > 3.2rc1: Are you sure that the package that you

Re: [Python-Dev] 3.2.0

2011-02-16 Thread Senthil Kumaran
On Thu, Feb 17, 2011 at 1:34 AM, Terry Reedy wrote: > 'x.y' is known to be ambiguous and confusing. Not really. x.y seems to be saying it is a milestone (major release) and we all have got used to that convention. > In most actual usages, I believe, it refers to the latest x.y.z release. On W

Re: [Python-Dev] Fwd: deep question re dict as formatting input

2011-02-22 Thread Senthil Kumaran
> On Tue, Feb 22, 2011 at 6:01 PM, Steve Holden wrote: >> ... It would appear from tests >> that "{0[X]}".format(...) first tries to convert the string "X" to in >> integer. If it succeeds then __getitem__() is called with the integer as an >> argument, otherwise it is called with the string itsel

Re: [Python-Dev] contributors survey?

2011-03-01 Thread Senthil Kumaran
On Tue, Mar 01, 2011 at 11:45:47PM +0100, Antoine Pitrou wrote: > hg log -k "contributor name" > > Also, memory helps although it's quite perfectible :) > > At worse, we'll have a couple of false positives and we'll have to > apologize to them... There are about 948 folks in the Misc/ACKS and ma

Re: [Python-Dev] Summer of Code: call for ideas and mentors

2011-03-04 Thread Senthil Kumaran
On Fri, Mar 04, 2011 at 06:31:09PM +0100, "Martin v. Löwis" wrote: > Likewise, if they want to contribute to some other project under the PSF > umbrella, they can start talking to the respective developers on the > respective channels. We could have a landing page listed in the topic of IRC pointi

Re: [Python-Dev] Finally switch urllib.parse to RFC3986 semantics?

2011-03-15 Thread Senthil Kumaran
On Wed, Mar 16, 2011 at 7:01 AM, Nick Coghlan wrote: > With RFC 3986 passing its 6th birthday, and with it being well past > its 7th by the time 3.3 comes out, can we finally switch to supporting > the current semantics rather than the obsolete behaviour? We do infact, support RFC 3986, expect fo

Re: [Python-Dev] public visibility of python-dev decisions "before it's too late"

2011-03-15 Thread Senthil Kumaran
On Tue, Mar 15, 2011 at 10:14:12PM -0400, Lennart Regebro wrote: > Up until the reactions from the core Python developers on these real > world problems, it was hard work, but also fun. It is still. The majority of the responses were informative on backwards compatibility and release process. And

Re: [Python-Dev] Finally switch urllib.parse to RFC3986 semantics?

2011-03-15 Thread Senthil Kumaran
Nick Coghlan wrote: > > Backwards compatible with *what* though? I meant the parsing 'behavior'. > For the decimal module, we treat deviations from spec as bug fixes and > update accordingly, even if this changes behaviour. > > For URL parsing, the spec has changed (6 years ago!), but we still

Re: [Python-Dev] [Python-checkins] cpython (2.7): #11565: Fix several typos. Patch by Piotr Kasprzyk.

2011-03-16 Thread Senthil Kumaran
On Wed, Mar 16, 2011 at 6:35 PM, ezio.melotti wrote: >  #11565: Fix several typos. Patch by Piotr Kasprzyk. Woo. cool. :) For a moment I got scared if Piotr was a spam bot or spellcheck bot. Yes, having correct spelling definitely helps. -- Senthil _

[Python-Dev] buildbot error when pushing to 2.5 branch?

2011-03-17 Thread Senthil Kumaran
When pushed a change to 2.5 branch, I got an error, which I think has to do with buildbot not available for 2.5 codeline. It asked me to notify the tracker and here it is. remote: state = method(*args, **kw) remote: File "/data/buildbot/master/master.cfg", line 87, in perspective_addChange r

Re: [Python-Dev] Finally switch urllib.parse to RFC3986 semantics?

2011-03-17 Thread Senthil Kumaran
Nick Coghlan wrote: > > The problem is that it is quite a lot of work to get fully general URI > > parsing to work correctly, but the overlap with legacy URL parsing is > > large enough that many (most?) use cases in practice work just fine > > with the older RFC semantics. Yes. We can have API wh

Re: [Python-Dev] Please retract my committer rights

2011-03-18 Thread Senthil Kumaran
Doug Hellmann wrote: > On Mar 18, 2011, at 9:59 AM, Jesse Noller wrote: > > > Terry Reedy wrote: > >> there are several open issues. There is certainly a opening for a new > >> person > >> with C experience. > > > > about on the PSF blog. Having another ctypes expert is pretty > > critical (eve

Re: [Python-Dev] Finally switch urllib.parse to RFC3986 semantics?

2011-03-18 Thread Senthil Kumaran
On Fri, Mar 18, 2011 at 08:57:42PM -0400, Glyph Lefkowitz wrote: > Well, by RFC 398*7* they're calling them IRIs instead. 'irilib', perhaps? ;-) Yes, and it involves huge lot of unicode character handling /parsing rules in Resource Indentifiers. 'irilib' sounds like a good plan. -- Senthil ___

Re: [Python-Dev] cpython (3.2): Issue 7391: Remove questionable and outdated HOWTO document with permission

2011-03-21 Thread Senthil Kumaran
This push caught me by surprise too. So, +1 on having a content of similar effect. On Sat, Mar 19, 2011 at 07:05:59PM +0100, Georg Brandl wrote: > +1. (Also I don't understand why we'd need permission from an author to > *remove* content.) And hypothetically, if the author refuses what do we do?

Re: [Python-Dev] Submitting changes through Mercurial

2011-03-21 Thread Senthil Kumaran
On Tue, Mar 22, 2011 at 9:02 AM, Guido van Rossum wrote: > On Mon, Mar 21, 2011 at 5:10 PM, Éric Araujo wrote: >> Le 13/03/2011 19:03, "Martin v. Löwis" a écrit : >>> I've added a feature in the bug tracker where submitters can post >>> Mercurial repository URLs, and then repeatedly create patche

Re: [Python-Dev] blogroll for the new blog

2011-03-21 Thread Senthil Kumaran
Doug Hellmann wrote: > We are nearly ready to launch the new blog for python-dev. Cool. But I always thought planet.python.org was a kind of blog for python-dev. How will python-dev blog be different? Will add additional redundancy to my RSS reader which gets planet posts as well as individual po

Re: [Python-Dev] Submitting changes through Mercurial

2011-03-22 Thread Senthil Kumaran
On Tue, Mar 22, 2011 at 07:26:25AM -0500, s...@pobox.com wrote: > > Senthil> The magical UI is the FORM textbox element "Remote hg repo:" > Senthil> where the user provided his bitbucket URL for the path he was > Senthil> working on. > > I still don't understand what that's supposed t

Re: [Python-Dev] Hg: inter-branch workflow

2011-03-22 Thread Senthil Kumaran
On Tue, Mar 22, 2011 at 03:42:27PM -0700, Glenn Linderman wrote: > and didn't figure I had time to learn both. I haven't read the new devguide > yet, but from the activity on the list, it would seem that either no one else I think, it is a good idea to read that. You might find that many discussio

[Python-Dev] Suggestion on back-porting - a getpass issue.

2011-03-24 Thread Senthil Kumaran
The issue is this: http://bugs.python.org/issue11236 getpass.getpass does not respond to ctrl-c or ctrl-z Python 2.5 had a behavior when a user pressed CTRL-C at the getpass prompt, it would raise a KeyBoardInterrupt and CTRL-Z would background it. Python 2.6 onwards this behavior got changed a

Re: [Python-Dev] Suggestion on back-porting - a getpass issue.

2011-03-24 Thread Senthil Kumaran
Greg Ewing wrote: > > >http://bugs.python.org/issue11236 > >getpass.getpass does not respond to ctrl-c or ctrl-z > > Could this have been deliberate so that people can > put control characters in their passwords? I don't think so. There are discussions in the internet which don't favor use of co

Re: [Python-Dev] cpython (3.1): Fix Issue11703 - urllib2.geturl() does not return correct url when the original

2011-04-13 Thread Senthil Kumaran
On Wed, Apr 13, 2011 at 01:43:39AM +0200, Antoine Pitrou wrote: > Can you add a Misc/NEWS entry? Added. Thanks for noticing this. -- Senthil ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscrib

Re: [Python-Dev] Mentor for Py3 benchmarking

2011-04-13 Thread Senthil Kumaran
Hi Arc, I think you should forward this to python-dev. (CCed) There was a discussion on this over there, so someone should be definitely interested. On Tue, Apr 12, 2011 at 11:33:55AM -0400, Arc Riley wrote: > We have a number of students who proposed to port PyPy's benchmarking suite to > Python

Re: [Python-Dev] cpython (merge default -> default): merge from push conflict.

2011-04-13 Thread Senthil Kumaran
On Wed, Apr 13, 2011 at 08:24:32PM +0200, Georg Brandl wrote: > > summary: > > merge from push conflict. > > this message is not quite correct -- there is no conflict involved. > You're just merging two heads on the same branch in order to have > only one head in the master repo. Okay, got it.

Re: [Python-Dev] cpython (merge 3.2 -> default): merge from 3.2.

2011-04-14 Thread Senthil Kumaran
On Thu, Apr 14, 2011 at 08:00:11PM -0400, Terry Reedy wrote: > On 4/14/2011 2:53 PM, Brett Cannon wrote: > >I think you have the wrong issue #; that one has to do with string > >exceptions. > > >Fix closes Issue1147. > > Right, wrong issue. Log should be corrected if it has not been. > > >

Re: [Python-Dev] Releases for recent security vulnerability

2011-04-15 Thread Senthil Kumaran
On Fri, Apr 15, 2011 at 09:35:06AM +0100, Gustavo Narea wrote: > > How come a description of how to exploit a security vulnerability > comes before a release for said vulnerability? I'm talking about this: > http://blog.python.org/2011/04/urllib-security-vulnerability-fixed.html > > My understand

Re: [Python-Dev] [Python-checkins] cpython (2.7): Fix closes issue10761: tarfile.extractall failure when symlinked files are

2011-04-28 Thread Senthil Kumaran
On Thu, Apr 28, 2011 at 04:20:06PM +0200, Éric Araujo wrote: > > if hasattr(os, "symlink") and hasattr(os, "link"): > > # For systems that support symbolic and hard links. > > if tarinfo.issym(): > > +if os.path.exists(targetpath): > > +

Re: [Python-Dev] Commit changelog: issue number and merges

2011-05-09 Thread Senthil Kumaran
On Mon, May 09, 2011 at 08:40:03AM -0400, R. David Murray wrote: > +1. What I do is, in the edit window for the commit message, I pull > in .hg/last-message.txt, and just type 'Merge' in front of my previous Thanks for this tip. I shall start following this one too. -- Senthil _

Re: [Python-Dev] [Python-checkins] cpython: Issue #12039: Add end_headers() call to avoid BadStatusLine.

2011-05-10 Thread Senthil Kumaran
On Tue, May 10, 2011 at 10:10:15AM +0200, vinay.sajip wrote: > diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py > --- a/Lib/test/test_logging.py > +++ b/Lib/test/test_logging.py > @@ -1489,6 +1489,7 @@ > except: > self.post_data = None > reques

Re: [Python-Dev] Python Support on OpenVMS

2011-05-15 Thread Senthil Kumaran
On Sat, May 14, 2011 at 05:00:30PM +1000, Nick Coghlan wrote: > For ongoing support, it would also be *really* helpful if HP could > provide an OpenVMS buildbot. Yes, that would be best first step in the on-going struggle to support OpenVMS platform. The problem in the first place is no one has th

Re: [Python-Dev] [RELEASED] Python 3.2.1 rc 1

2011-05-18 Thread Senthil Kumaran
On Wed, May 18, 2011 at 01:26:40PM +0200, Victor Stinner wrote: > > http://dev.pocoo.org/~gbrandl/news.html > > > Oh, I like it. But the output should be reST to be able to include it > directly in the Python documentation. Sphinx would generate a new table Interesting ideas! It would be really u

Re: [Python-Dev] The socket HOWTO

2011-05-21 Thread Senthil Kumaran
On Sat, May 21, 2011 at 05:37:05PM +0200, Georg Brandl wrote: > > > > I would like to suggest that we remove the socket HOWTO (currently at > > http://docs.python.org/dev/howto/sockets.html) > > +1, or a big rewrite. > I favor a rewrite over removal. I have read it once/twice and have never rev

Re: [Python-Dev] cpython: Fix closes issue #11109 - socketserver.ForkingMixIn leaves zombies, also fails

2011-05-25 Thread Senthil Kumaran
Antoine Pitrou wrote: > >> A new method called service_action is made available in BaseServer, called > >> by > >> serve_forever loop. This useful in cases where Mixins can use it for > >> cleanup > >> action. ForkingMixin class uses service_action to collect the zombie child > >> processes. Ini

Re: [Python-Dev] [Python-checkins] cpython (3.1): Fix closes issue12261 - Minor documention changes in the urllib.parse.rst

2011-06-19 Thread Senthil Kumaran
On Sun, Jun 19, 2011 at 10:59:26PM +0200, Éric Araujo wrote: > > Remember that 3.1 is in security mode, and as such will not get new > documentation releases. See the previous threads about 2.6 docs or > security releases for more info. Thanks for the information. I missed that somehow. Noted an

Re: [Python-Dev] cpython (3.2): Fix closes Issue12359 - Minor update to module import description.

2011-06-20 Thread Senthil Kumaran
On Mon, Jun 20, 2011 at 09:13:07AM +0200, Georg Brandl wrote: > On 20.06.2011 02:42, senthil.kumaran wrote: > > summary: > > Fix closes Issue12359 - Minor update to module import description. > > ... > > +When a module named :mod:`spam` is imported, the interpreter searches for a > > +file named

Re: [Python-Dev] cpython (3.2): Fix closes Issue12315 - Updates to http.client documentation.

2011-06-20 Thread Senthil Kumaran
On Mon, Jun 20, 2011 at 09:11:20AM +0200, Georg Brandl wrote: > Newlines are a valuable tool for structuring reST files (just like in Python > files). I tried to set up a convention to separate large blocks (such as > sections) by two newlines, to make it easier to scroll and find what you're > lo

[Python-Dev] Issue10403 - using 'attributes' instead of members in documentation

2011-06-26 Thread Senthil Kumaran
Hello! http://bugs.python.org/issue10403 is a documentation bug which talks about using the term 'attribute' instead of the term 'member' when it denotes the class attributes. Agreed. But the discussion goes on to mention that, "Members and methods" should just be "attributes". I find this bit

Re: [Python-Dev] Issue10403 - using 'attributes' instead of members in documentation

2011-07-04 Thread Senthil Kumaran
On Tue, Jun 28, 2011 at 10:30:14AM +1000, Nick Coghlan wrote: > Rather than fighting that convention, we should probably just confront > the ambiguity head on and update > http://docs.python.org/dev/glossary.html#term-attribute to describe > both uses of the term (and add a separate entry for "dat

Re: [Python-Dev] cpython (3.2): Fix closes Issue12576 - fix urlopen behavior on sites which do not send (or

2011-07-27 Thread Senthil Kumaran
On Wed, Jul 27, 2011 at 11:52:32AM +0200, Antoine Pitrou wrote: > > + > > +try: > > +with urllib.request.urlopen('http://www.imdb.com') as res: > > +pass > > Can you please at least use support.transient_internet() as in other > tests in this file? It was inten

Re: [Python-Dev] cpython (3.2): Fix closes Issue12576 - fix urlopen behavior on sites which do not send (or

2011-07-27 Thread Senthil Kumaran
On Wed, Jul 27, 2011 at 02:21:59PM +0200, Antoine Pitrou wrote: > transient_internet doesn't silence ValueError at all. Yes, that is correct. I missed recollecting it in the first place. I guess, I did not see using a content manager withing another context manager block as something nice.. (nothi

Re: [Python-Dev] cpython: Fix closes Issue11281 - smtplib.STMP gets source_address parameter, which adds

2011-07-30 Thread Senthil Kumaran
Hello Antoine, On Sat, Jul 30, 2011 at 08:46:00AM +0200, Antoine Pitrou wrote: > (I know PEP 8 is not always followed in old code, but there's no reason > not to follow it in code that we add to the stdlib) > Thanks for pointing out. I somehow overlooked it. I shall refactor that lib. > Unles

[Python-Dev] [RFC] urlparse - parse query facility

2007-06-12 Thread Senthil Kumaran
Hi all, This mail is a request for comments on changes to urlparse module. We understand that urlparse returns the 'complete query' value as the query component and does not provide the facilities to separate the query components. User will have to use the cgi module (cgi.parse_qs) to get the query

[Python-Dev] Requesting commit access to python sandbox. Cleanup urllib2 - Summer of Code 2007 Project

2007-06-12 Thread Senthil Kumaran
Hi, I am a student participant of Google Summer of Code 2007 and I am working on the cleanup task of urllib2, with Skip as my mentor. I would like to request for a commit access to the Python Sandbox for implementing the changes as part of the project. I have attached by SSH Public keys. preferred

Re: [Python-Dev] Support for the Haiku OS

2009-01-15 Thread Senthil Kumaran
Jeroen Ruigrok van der Werven wrote: > actively working on POSIX compliance. My only guess right now is that this > work is largely complete. In effect that would mean that Python would work > out of the box, more or less. So the cost of adding and maintaining it in This is very interesting to kno

Re: [Python-Dev] Examples in Py2 or Py3

2009-01-29 Thread Senthil Kumaran
> Facundo Batista wrote: > Hi! > > In the Python Argentina mail list there's already people passing > examples and asking help about Python 3. For complete snippets: #!/usr/bin/env python3.0 vs #!/usr/bin/env python2.6 And for blocks of code # this for python 3.0 # this is for python 2.6 I kn

Re: [Python-Dev] [Python-checkins] cpython: Fix closes Issue11281 - smtplib.STMP gets source_address parameter, which adds

2011-07-30 Thread Senthil Kumaran
On Sat, Jul 30, 2011 at 11:11:08PM +0300, Ezio Melotti wrote: > >-.. class:: SMTP(host='', port=0, local_hostname=None[, timeout]) > >+.. class:: SMTP(host='', port=0, local_hostname=None[, timeout], > >source_address=None) > > The "[, timeout]" now looks weird there, and it would be better to >

Re: [Python-Dev] cpython (3.2): Fix closes Issue12676 - Invalid identifier used in TypeError message in

2011-08-03 Thread Senthil Kumaran
On Tue, Aug 02, 2011 at 02:16:01PM +0200, Antoine Pitrou wrote: > There are still a lot of spaces in your message. You should use string Yes, did not realize that.. :( Georg fixed this in his commit. Thanks, Senthil ___ Python-Dev mailing list Python-De

Re: [Python-Dev] cpython (3.2): Fix closes issue12683 - urljoin to work with relative join of svn scheme.

2011-08-03 Thread Senthil Kumaran
On Wed, Aug 03, 2011 at 03:23:19PM +0200, Antoine Pitrou wrote: > This is the same test repeated. Perhaps you meant svn+ssh? oops, thanks for the catch. yes, I did mean svn+ssh. I shall change it. -- Senthil ___ Python-Dev mailing list Python-Dev@pytho

Re: [Python-Dev] [Python-checkins] cpython (2.7): Fix closes Issue12722 - link heapq source in the text format in the

2011-08-10 Thread Senthil Kumaran
On Wed, Aug 10, 2011 at 11:58:24PM +0300, Ezio Melotti wrote: > > hg.python.org/cpython/2.7/path/to/file.py should work just fine. The correct path seems to be: http://hg.python.org/cpython/file/2.7/Lib/ > > IIRC the reason why we don't do it on 2.x is because we don't have > the 'source' direc

Re: [Python-Dev] [Python-checkins] cpython (2.7): Fixes #10860: Handle empty port after port delimiter in httplib

2011-10-18 Thread Senthil Kumaran
On Tue, Oct 18, 2011 at 11:23 PM, Éric Araujo wrote: > > Looks like your entry went into the Interpreter Core section instead of > Library. That should be corrected. > > BTW, I don’t understand “3.x version will come as a separate patch” in I think, he meant in a separate commit. :) Senthil _

Re: [Python-Dev] [Python-checkins] cpython (2.7): Fix closes Issue12529 - cgi.parse_header failure on double quotes and

2011-10-20 Thread Senthil Kumaran
On Thu, Oct 20, 2011 at 07:17:10AM +1000, Nick Coghlan wrote: > NEWS entry? (same question for the later _sre fix) Added. Thanks for catching this. For some reason, I had slight doubt, if those issues were NEWS worthy items. IIRC, devguide recommends that a NEWS entry be added for all fixes made

Re: [Python-Dev] Is Python insider blog dead?

2011-11-16 Thread Senthil Kumaran
No. I think, you are welcome to write something about the recent changes you made to Python. -- Senthil On Wed, Nov 16, 2011 at 12:40:06PM +0100, Jesús Cea wrote: > Python insider blog was a great idea, trying to open and expose python-dev to > the world. A great and necessary idea. > > But th

Re: [Python-Dev] Python 3.4 Release Manager

2011-11-22 Thread Senthil Kumaran
On Wed, Nov 23, 2011 at 11:50 AM, Larry Hastings wrote: > I've volunteered to be the Release Manager for Python 3.4.  The FLUFL has That's cool. But just my thought, wouldn't it be better for someone who regularly commits, fixes bugs and feature requests be better for a RM role? Once a developer

Re: [Python-Dev] PEP 407: New release cycle and introducing long-term support versions

2012-01-18 Thread Senthil Kumaran
On Wed, Jan 18, 2012 at 09:26:19PM +1000, Nick Coghlan wrote: > My original suggestion to Antoine and Georg for 3.4 was that we simply > propose to Larry Hastings (the 3.4 RM) that we spread out the release > cycle, releasing the first alpha after ~6 months, the second after > about ~12, then rolli

Re: [Python-Dev] 2.7 now uses Sphinx 1.0

2012-01-20 Thread Senthil Kumaran
On Fri, Jan 20, 2012 at 07:05:41PM +, Chris Withers wrote: > > That's great news, does that now mean the objects inventory for > Python 2.7 and Python 3 on python.org now supports referring to > section headers from 3rd party packages? Nope. It does not seem to have any relation to that. Woul

Re: [Python-Dev] PEP czar for PEP 3144?

2012-02-20 Thread Senthil Kumaran
On Tue, Feb 21, 2012 at 12:07 AM, wrote: > "supreme ruler" sounds good to me. I could go for "inquisitor" instead > of "czar" as well... But that would be bad for developers from Spain as nobody would expect a spanish inquisition. :-) -- Senthil ___

Re: [Python-Dev] Docs of weak stdlib modules should encourage exploration of 3rd-party alternatives

2012-03-12 Thread Senthil Kumaran
On Mon, Mar 12, 2012 at 07:23:11PM -0700, Andrey Petrov wrote: > I've had the pleasure of speaking with Guido at PyCon and it became evident > that some of Python's included batteries are significantly lagging behind the > rapidly-evolving defacto standards of the community specifically in cases li

Re: [Python-Dev] Docs of weak stdlib modules should encourage exploration of 3rd-party alternatives

2012-03-12 Thread Senthil Kumaran
On Mon, Mar 12, 2012 at 10:48:04PM -0700, Andrey Petrov wrote: > @Senthil: I originally asked Guido for guidance on improving the > standard library and perhaps including some of my favourite projects, > but he pointed out that in a couple of years we might end up again in > the same position as be

Re: [Python-Dev] lzma

2012-03-16 Thread Senthil Kumaran
On Fri, Mar 16, 2012 at 07:30:31PM -0700, Andrew Svetlov wrote: > When I build python from sources I have no lzma support (module _lzma > cannot be built). > I have liblzma-dev, liblzma2 and lzma packages installed on ubuntu. I am able to build and import lzma module. Thanks, Senthil ___

Re: [Python-Dev] cpython: Issue #3033: Add displayof parameter to tkinter font.

2012-04-07 Thread Senthil Kumaran
Hi Andrew, On Thu, Apr 05, 2012 at 11:16:54PM +0300, Andrew Svetlov wrote: > I tried to: > andrew@tiktaalik2 ~/projects> hg clone ssh://h...@hg.python.org/cpython > ssh://h...@hg.python.org/sandbox/tkdocs > repo created, public URL is http://hg.python.org/sandbox/tkdocs > abort: clone from remote

Re: [Python-Dev] cpython: use assertWarns instead of check_warnings - Issue14341

2012-04-12 Thread Senthil Kumaran
On Wed, Apr 11, 2012 at 09:33:30PM +0200, Georg Brandl wrote: > >+ > >+with self.assertWarns(DeprecationWarning) as cm: > > req.add_data("data") > > There's no need for adding the "as cm" if you don't need the cm object. I overlooked. Thanks for spotting. I have corrected it.

Re: [Python-Dev] [Python-checkins] cpython: issue2193 - Update docs about the legal characters allowed in Cookie name

2012-04-23 Thread Senthil Kumaran
On Sun, Apr 22, 2012 at 3:17 PM, Nick Coghlan wrote: >>  issue2193 - Update docs about the legal characters allowed in Cookie name > > You missed the dummy merge from 3.2 to indicate that this change had > been applied to both branches independently. Yes. Sorry for that. I was being little cautio

Re: [Python-Dev] [Python-checkins] cpython (3.2): #14236: fix docs for \S.

2012-04-30 Thread Senthil Kumaran
On Sun, Apr 29, 2012 at 12:37:25PM +0200, ezio.melotti wrote: > range of Unicode whitespace characters. > -\S Matches any non-whitespace character; equiv. to [^ \t\n\r\f\v]. > +\S Matches any non-whitespace character; equivalent to [^\s]. Is this correct? While I

Re: [Python-Dev] The step command of pdb is broken

2012-04-30 Thread Senthil Kumaran
On Mon, Apr 30, 2012 at 12:09:02PM -0400, Barry Warsaw wrote: > Maybe we should take this opportunity (Python 3.3) to consider adopting one of > the pdb add-ons or borging the best of their bits into the stdlib? Irrespective of this - Issue13183 seems to be an easy to verify bug in 3.2 and 3.3. I

[Python-Dev] Another buildslave - Ubuntu again

2012-05-01 Thread Senthil Kumaran
Hello, I just got a Ubuntu Server running at my disposal, which could be connected 24/7 for at least next 3 months. I am not sure how helpful it would be to have another buildbot on Ubuntu, but i wanted to play with it for a while (as I have more comfort with Ubuntu than any other Unix flavor) be

Re: [Python-Dev] Another buildslave - Ubuntu again

2012-05-01 Thread Senthil Kumaran
On Wed, May 2, 2012 at 1:55 PM, "Martin v. Löwis" wrote: > I'm not sure how useful it is to have a build slave which you can't > commit to having for more than 3 months. So I'm -0 on adding this > slave, but it is up to Antoine to decide. I am likely switch to places within 3 months, but I am hop

<    1   2   3   >