Re: [Python-Dev] Python C API: Problem sending tuple to a method of a python Class

2012-01-10 Thread Stefan Behnel
Hi, sorry for hooking into this off-topic thread. Amaury Forgeot d'Arc, 09.01.2012 19:09: > 2012/1/9 >> I am trying to send a tuple to a method of a python class and I got a Run >> failed from netbeans compiler >> when I want to send a tuple to a simple method in a module it works,when I >> want

Re: [Python-Dev] Python C API: Problem sending tuple to a method of a python Class

2012-01-10 Thread Matt Joiner
Perhaps the python-dev mailing list should be renamed to python-core. On Tue, Jan 10, 2012 at 7:35 PM, Stefan Behnel wrote: > Hi, > > sorry for hooking into this off-topic thread. > > Amaury Forgeot d'Arc, 09.01.2012 19:09: >> 2012/1/9 >>> I am trying to send a tuple to a method of a python clas

Re: [Python-Dev] [Python-checkins] cpython: Issue #12760: Add a create mode to open(). Patch by David Townshend.

2012-01-10 Thread Nick Coghlan
On Tue, Jan 10, 2012 at 7:40 AM, charles-francois.natali wrote: > http://hg.python.org/cpython/rev/bf609baff4d3 > changeset:   74315:bf609baff4d3 > user:        Charles-François Natali > date:        Mon Jan 09 22:40:02 2012 +0100 > summary: >  Issue #12760: Add a create mode to open(). Patch by

Re: [Python-Dev] devguide: Backporting is obsolete. Add details that I had to learn.

2012-01-10 Thread Rob Cliffe
But "minor version" and "major version" are readily understandable to the general reader, e.g. me, whereas "feature release" and "release series" I find are not. Couldn't the first two terms be defined once and then used throughout? Rob Cliffe On 10/01/2012 04:05, Terry Reedy wrote: On 1/9/2

Re: [Python-Dev] devguide: Backporting is obsolete. Add details that I had to learn.

2012-01-10 Thread Anthony Kong
I don't find 'major' and 'minor' confusing too. Maybe because it is the designation used in linux community for years. On Tue, Jan 10, 2012 at 7:49 PM, Rob Cliffe wrote: > But "minor version" and "major version" are readily understandable to the > general reader, e.g. me, whereas "feature relea

Re: [Python-Dev] devguide: Backporting is obsolete. Add details that I had to learn.

2012-01-10 Thread Barry Warsaw
On Jan 10, 2012, at 09:03 PM, Anthony Kong wrote: >I don't find 'major' and 'minor' confusing too. Maybe because it is the >designation used in linux community for years. Neither do I. I read them as aliases for "leftmost digit" and "middle digit" respectively, regardless of Python's interpretat

[Python-Dev] AUTO: Jon K Peck is out of the office (returning 01/12/2012)

2012-01-10 Thread Jon K Peck
I am out of the office until 01/12/2012. I will be out of the office Monda through Wednesday with limited access to email. Note: This is an automated response to your message "Python-Dev Digest, Vol 102, Issue 26" sent on 1/9/2012 21:05:32. This is the only notification you will receive while

Re: [Python-Dev] Python C API: Problem sending tuple to a method of a python Class

2012-01-10 Thread Stefan Behnel
Matt Joiner, 10.01.2012 09:40: > Perhaps the python-dev mailing list should be renamed to python-core. Well, there *is* a rather visible warning on the list subscription page that tells people that it's most likely not the list they actually want to use. If they manage to ignore that, I doubt that

Re: [Python-Dev] devguide: Backporting is obsolete. Add details that I had to learn.

2012-01-10 Thread Antoine Pitrou
On Tue, 10 Jan 2012 08:49:04 + Rob Cliffe wrote: > But "minor version" and "major version" are readily understandable to > the general reader, e.g. me, whereas "feature release" and "release > series" I find are not. Couldn't the first two terms be defined once > and then used throughout?

Re: [Python-Dev] [Python-checkins] cpython (2.7): Fix stock symbol for Microsoft

2012-01-10 Thread Victor Stinner
You may port the fix to 3.2 and 3.3. Victor 2012/1/10 raymond.hettinger : > http://hg.python.org/cpython/rev/068ce5d7f7e7 > changeset:   74320:068ce5d7f7e7 > branch:      2.7 > user:        Raymond Hettinger > date:        Tue Jan 10 09:51:51 2012 + > summary: >  Fix stock symbol for Microso

Re: [Python-Dev] Sphinx version for Python 2.x docs

2012-01-10 Thread Sandro Tosi
Hi all, On Sat, Aug 27, 2011 at 07:47, Georg Brandl wrote: > One of the main reasons for keeping Sphinx compatibility to 0.6.x was to > enable distributions (like Debian) to build the docs for the Python they ship > with the version of Sphinx that they ship. > > This should now be fine with 1.0.x

Re: [Python-Dev] devguide: Backporting is obsolete. Add details that I had to learn.

2012-01-10 Thread Glyph
On Jan 10, 2012, at 7:57 AM, Antoine Pitrou wrote: > On Tue, 10 Jan 2012 08:49:04 + > Rob Cliffe wrote: >> But "minor version" and "major version" are readily understandable to >> the general reader, e.g. me, whereas "feature release" and "release >> series" I find are not. Couldn't the f

Re: [Python-Dev] devguide: Backporting is obsolete. Add details that I had to learn.

2012-01-10 Thread Matt Joiner
http://semver.org/ This has made sense since Gentoo days. On Tue, Jan 10, 2012 at 11:57 PM, Antoine Pitrou wrote: > On Tue, 10 Jan 2012 08:49:04 + > Rob Cliffe wrote: >> But "minor version" and "major version" are readily understandable to >> the general reader, e.g. me, whereas "feature re

Re: [Python-Dev] Python C API: Problem sending tuple to a method of a python Class

2012-01-10 Thread Matt Joiner
I suspect it actually would fix the confusion. "dev" usually means development, not "core implementation development". People float past looking for dev help... python-dev. Python-list is a bit generic. On Tue, Jan 10, 2012 at 11:17 PM, Stefan Behnel wrote: > Matt Joiner, 10.01.2012 09:40: >> Per

Re: [Python-Dev] devguide: Backporting is obsolete. Add details that I had to learn.

2012-01-10 Thread Antoine Pitrou
On Tue, 10 Jan 2012 11:57:03 -0500 Glyph wrote: > > Whatever your personal feelings, there is a precedent established in the API: > > >>> sys.version_info.major > 2 > >>> sys.version_info.minor > 7 > >>> sys.version_info.micro > 1 > > This strikes me as the most authoritative definition of the

Re: [Python-Dev] svn.python.org certificate expired

2012-01-10 Thread Martin v. Löwis
> It seems that svn.python.org certificate expired today (09/01/2012). I have now replaced the certificate. The current one will expire on Chistmas 2013. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/li

Re: [Python-Dev] devguide: Backporting is obsolete. Add details that I had to learn.

2012-01-10 Thread Terry Reedy
On 1/10/2012 12:14 PM, Antoine Pitrou wrote: I changed the terminology in my latest changeset: http://hg.python.org/devguide/rev/f39d063ab3dd Important to notice is that the major / minor distinction isn't relevant in most contexts, while the feature / bugfix distinction is. Where "major" plays

Re: [Python-Dev] Python as a Metro-style App

2012-01-10 Thread Martin v. Löwis
Am 09.01.2012 07:13, schrieb Jeff Hardy: > On Sat, Jan 7, 2012 at 2:57 PM, Antoine Pitrou wrote: >> Depending on the extent of removed/disabled functionality, it might not >> be very interesting to have a Metro port at all. > > Win 8 is practically a new OS target - the nt module may need to be >

Re: [Python-Dev] Python as a Metro-style App

2012-01-10 Thread Martin v. Löwis
> I haven't been following this thread so maybe this was already > discussed, but on the whole "new OS target" thing - if people want to > write immersive apps in Python then there will need to be a new build > of Python. One thing that might make that easier is the fact that > the C runtime is st

Re: [Python-Dev] Python C API: Problem sending tuple to a method of a python Class

2012-01-10 Thread Oleg Broytman
Hello. We are sorry but we cannot help you. This mailing list is to work on developing Python (adding new features to Python itself and fixing bugs); if you're having problems learning, understanding or using Python, please find another forum. Probably python-list/comp.lang.python mailing list/

Re: [Python-Dev] Python C API: Problem sending tuple to a method of a python Class

2012-01-10 Thread Martin v. Löwis
Am 10.01.2012 18:15, schrieb Matt Joiner: > I suspect it actually would fix the confusion. "dev" usually means > development, not "core implementation development". People float past > looking for dev help... python-dev. Python-list is a bit generic. There is occasional confusion. More often, peop

[Python-Dev] os.walk() with followlinks=False

2012-01-10 Thread Nick Coghlan
When discussing http://bugs.python.org/issue13734, Charles-François noted that when os.walk() is called with "followlinks=False", symlinks to directories are still included in the "subdirs" list rather than the "files" list. This seems rather odd to me, so I'm asking here to see if there's a speci

Re: [Python-Dev] Python as a Metro-style App

2012-01-10 Thread Dino Viehland
Martin wrote: > Does that hold for all versions of the C runtime (i.e. is msvcr80.dll also > exempt from the ban, or just the version that comes with VS 11)? Just the VS 11 CRT is allowed. > > > So to the extent that Python is just a C program the "port" should be > > pretty easy and mostly invo

Re: [Python-Dev] Python C API: Problem sending tuple to a method of a python Class

2012-01-10 Thread Eric Snow
On Tue, Jan 10, 2012 at 6:09 PM, "Martin v. Löwis" wrote: > IOW, I think it is all fine the way it is. Typically, somebody answers > quickly. In this case, *two* people answered the same, which > a) really gets the message through, and > b) suggests that people are not too tired in actually typing