Re: [Python-Dev] Mercurial?

2009-04-07 Thread Dirkjan Ochtman
On Tue, Apr 7, 2009 at 00:05, Martin v. Löwis mar...@v.loewis.de wrote: I think the identification in the SSH keys is useless. It contains strings like loe...@mira or ncogh...@uberwald, or even multiple of them (ba...@wooz, ba...@resist, ...). Right, so we'll put up the author map somewhere

Re: [Python-Dev] Mercurial?

2009-04-07 Thread Alexandre Vassalotti
On Tue, Apr 7, 2009 at 2:03 AM, Stephen J. Turnbull step...@xemacs.org wrote: Alexandre Vassalotti writes:   This makes me remember that we will have to decide how we will   reorganize our workflow. For this, we can either be conservative and   keep the current CVS-style development

Re: [Python-Dev] Mercurial?

2009-04-07 Thread Dirkjan Ochtman
On Tue, Apr 7, 2009 at 04:25, Steve Holden st...@holdenweb.com wrote: I would remind you all that it's *very* necessary to make sure that whatever finds its way into released code is indeed covered by contributor agreements. The PSF (as the guardian of the IP) has to ensure this, and so we

Re: [Python-Dev] Mercurial?

2009-04-07 Thread Ben Finney
Dirkjan Ochtman dirk...@ochtman.nl writes: Right. It's basically Name Lastname email -- we can verify that in a hook. Remembering, of course, that full names don't follow any template (especially not first-name last-name). The person's full name must be treated as free-form text, since there's

Re: [Python-Dev] Mercurial?

2009-04-07 Thread Dirkjan Ochtman
On Tue, Apr 7, 2009 at 08:25, Ben Finney ben+pyt...@benfinney.id.au wrote: Remembering, of course, that full names don't follow any template (especially not first-name last-name). The person's full name must be treated as free-form text, since there's no format common to all. Of course, unless

Re: [Python-Dev] pyc files, constant folding and borderline portability issues

2009-04-07 Thread Cesare Di Mauro
On Apr 07, 2009 at 02:10AM, Steven D'Aprano st...@pearwood.info wrote: On the other hand, I'm with Guido when he wrote it is certainly not right to choose speed over correctness. This is especially a problem for floating point optimizations, and I urge Cesare to be conservative in any f.p.

Re: [Python-Dev] pyc files, constant folding and borderline portability issues

2009-04-07 Thread Andrew McNamara
On 07/04/2009, at 7:27 AM, Guido van Rossum wrote: On Mon, Apr 6, 2009 at 7:28 AM, Cesare Di Mauro cesare.dima...@a-tono.com wrote: The Language Reference says nothing about the effects of code optimizations. I think it's a very good thing, because we can do some work here with constant

Re: [Python-Dev] FWD: Library Reference is incomplete

2009-04-07 Thread Georg Brandl
Thomas Wouters schrieb: Anyone able to look into this and fix it? Having all of the normal entrypoints for documentation broken is rather inconvenient for users :-) A rebuild should do the trick, I'll fix this ASAP. Georg ___ Python-Dev mailing

Re: [Python-Dev] deprecating BaseException.message

2009-04-07 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nick Coghlan wrote: Tres Seaver wrote: I don't think either of these classes should be subject to a deprecation warning for a feature they never used or depended on. Agreed. Could you raise a tracker issue for the spurious warnings? (I believe

Re: [Python-Dev] Adding new features to Python 2.x (PEP 382: Namespace Packages)

2009-04-07 Thread M.-A. Lemburg
On 2009-04-06 15:21, Jesse Noller wrote: On Thu, Apr 2, 2009 at 4:33 PM, M.-A. Lemburg m...@egenix.com wrote: On 2009-04-02 17:32, Martin v. Löwis wrote: I propose the following PEP for inclusion to Python 3.1. Thanks for picking this up. I'd like to extend the proposal to Python 2.7 and

Re: [Python-Dev] Evaluated cmake as an autoconf replacement

2009-04-07 Thread skip
Ondrej ... while scons and other Python solutions imho encourage to Ondrej write full Python programs, which imho is a disadvantage for the Ondrej build system, as then every build system is nonstandard. Hmmm... Like distutils setup scripts? I don't know thing one about cmake, but

Re: [Python-Dev] PEP 382: Namespace Packages

2009-04-07 Thread M.-A. Lemburg
[Resent due to a python.org mail server problem] On 2009-04-03 22:07, Martin v. Löwis wrote: I'd like to extend the proposal to Python 2.7 and later. I don't object, but I also don't want to propose this, so I added it to the discussion. My (and perhaps other people's) concern is that 2.7

Re: [Python-Dev] Mercurial?

2009-04-07 Thread Dirkjan Ochtman
On Tue, Apr 7, 2009 at 13:42, Steven D'Aprano st...@pearwood.info wrote: Perhaps you should ask Aahz what he thinks about being forced to provide two names before being allowed to contribute. Huh? The contributor's agreement list would presumably include real names only (so Aahz is out of

Re: [Python-Dev] Mercurial?

2009-04-07 Thread Steven D'Aprano
On Tue, 7 Apr 2009 04:30:10 pm Dirkjan Ochtman wrote: On Tue, Apr 7, 2009 at 08:25, Ben Finney ben+pyt...@benfinney.id.au wrote: Remembering, of course, that full names don't follow any template (especially not first-name last-name). The person's full name must be treated as free-form

Re: [Python-Dev] pyc files, constant folding and borderline portability issues

2009-04-07 Thread Paul Moore
2009/4/7 Cesare Di Mauro cesare.dima...@a-tono.com: The principle that I followed on doing constant folding was: do what Python will do without constant folding enabled. So if Python will generate LOAD_CONST      1 LOAD_CONST      2 BINARY_ADD the constant folding code will simply

Re: [Python-Dev] PEP 382: Namespace Packages

2009-04-07 Thread M.-A. Lemburg
On 2009-04-03 02:44, P.J. Eby wrote: At 10:33 PM 4/2/2009 +0200, M.-A. Lemburg wrote: Alternative Approach: - Wouldn't it be better to stick with a simpler approach and look for __pkg__.py files to detect namespace packages using that O(1) check ? One of the namespace

Re: [Python-Dev] Evaluated cmake as an autoconf replacement

2009-04-07 Thread Antoine Pitrou
skip at pobox.com writes: I don't know thing one about cmake, but if it's good for the goose (building Python proper) would it be good for the gander (building extensions)? African or European? ___ Python-Dev mailing list Python-Dev@python.org

[Python-Dev] What's missing from easy_install

2009-04-07 Thread Neal Becker
1. easy_remove! 2. Various utilities to provide query package management. - easy_install --list (list files installed) ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe:

Re: [Python-Dev] What's missing from easy_install

2009-04-07 Thread KDr2
I need an CPyAN. -- Best Regards, -- KDr2, at x-macro.com. On Tue, Apr 7, 2009 at 9:02 PM, Neal Becker ndbeck...@gmail.com wrote: 1. easy_remove! 2. Various utilities to provide query package management. - easy_install --list (list files installed)

Re: [Python-Dev] What's missing from easy_install

2009-04-07 Thread Jesse Noller
On Tue, Apr 7, 2009 at 9:02 AM, Neal Becker ndbeck...@gmail.com wrote: 1. easy_remove! 2. Various utilities to provide query package management.   - easy_install --list (list files installed) This discussion should happen on the distutils-sig list; not python-dev

Re: [Python-Dev] What's missing from easy_install

2009-04-07 Thread Antoine Pitrou
Neal Becker ndbecker2 at gmail.com writes: 2. Various utilities to provide query package management. - easy_install --list (list files installed) yolk will tell you that. http://pypi.python.org/pypi/yolk Regards Antoine. ___ Python-Dev

Re: [Python-Dev] Evaluated cmake as an autoconf replacement

2009-04-07 Thread David Cournapeau
On Tue, Apr 7, 2009 at 9:14 PM, s...@pobox.com wrote:    Ondrej ... while scons and other Python solutions imho encourage to    Ondrej write full Python programs, which imho is a disadvantage for the    Ondrej build system, as then every build system is nonstandard. Hmmm...  Like distutils

Re: [Python-Dev] Evaluated cmake as an autoconf replacement

2009-04-07 Thread Alexander Neundorf
On Tue, Apr 7, 2009 at 2:14 PM, s...@pobox.com wrote: Ondrej ... while scons and other Python solutions imho encourage to Ondrej write full Python programs, which imho is a disadvantage for the Ondrej build system, as then every build system is nonstandard. I fully agree here.

Re: [Python-Dev] Evaluated cmake as an autoconf replacement

2009-04-07 Thread David Cournapeau
On Tue, Apr 7, 2009 at 10:08 PM, Alexander Neundorf alex.neund...@kitware.com wrote: What is involved in building python extensions ? Can you please explain ? Not much: at the core, a python extension is nothing more than a dynamically loaded library + a couple of options. One choice is

Re: [Python-Dev] PEP 382: Namespace Packages

2009-04-07 Thread P.J. Eby
At 02:30 PM 4/7/2009 +0200, M.-A. Lemburg wrote: Wouldn't it be better to stick with a simpler approach and look for __pkg__.py files to detect namespace packages using that O(1) check ? Again - this wouldn't be O(1). More importantly, it breaks system packages, which now again have to deal

Re: [Python-Dev] Mercurial?

2009-04-07 Thread Aahz
On Tue, Apr 07, 2009, Dirkjan Ochtman wrote: On Tue, Apr 7, 2009 at 13:42, Steven D'Aprano st...@pearwood.info wrote: Perhaps you should ask Aahz what he thinks about being forced to provide two names before being allowed to contribute. Thanks for speaking up! I'm not sure I would have

Re: [Python-Dev] Mercurial?

2009-04-07 Thread Dirkjan Ochtman
On Tue, Apr 7, 2009 at 16:29, Aahz a...@pythoncraft.com wrote: What you apparently are unaware of is that Aahz is in fact my full legal name.  (Which was clearly the point of Steven's post since he knows that Teller also has only one legal name -- it's not common, but we do exist.) Ah, sorry

Re: [Python-Dev] Mercurial?

2009-04-07 Thread Aahz
On Tue, Apr 07, 2009, Dirkjan Ochtman wrote: On Tue, Apr 7, 2009 at 16:29, Aahz a...@pythoncraft.com wrote: What you apparently are unaware of is that Aahz is in fact my full legal name. (Which was clearly the point of Steven's post since he knows that Teller also has only one legal name --

[Python-Dev] Shorter float repr in Python 3.1?

2009-04-07 Thread Mark Dickinson
Executive summary (details and discussion points below) = Some time ago, Noam Raphael pointed out that for a float x, repr(x) can often be much shorter than it currently is, without sacrificing the property that eval(repr(x)) == x, and proposed changing Python accordingly. See

Re: [Python-Dev] PEP 382: Namespace Packages

2009-04-07 Thread M.-A. Lemburg
On 2009-04-07 16:05, P.J. Eby wrote: At 02:30 PM 4/7/2009 +0200, M.-A. Lemburg wrote: Wouldn't it be better to stick with a simpler approach and look for __pkg__.py files to detect namespace packages using that O(1) check ? Again - this wouldn't be O(1). More importantly, it breaks

Re: [Python-Dev] Evaluated cmake as an autoconf replacement

2009-04-07 Thread Scott David Daniels
Greg Ewing wrote: Steve Holden wrote: Isn't it strange how nobody every complained about the significance of whitespace in makefiles: only the fact that leading tabs were required rather than just-any-old whitespace. Make doesn't care how *much* whitespace there is, though, only whether it's

Re: [Python-Dev] PyDict_SetItem hook

2009-04-07 Thread Ronald Oussoren
On 3 Apr, 2009, at 0:57, Guido van Rossum wrote: The primary use case is some kind of trap on assignment. While this cannot cover all cases, most non-local variables are stored in dicts. List mutations are not in the same league, as use case. I have a slightly different use-case than a

Re: [Python-Dev] os.defpath for Windows

2009-04-07 Thread anatoly techtonik
Hi, I've added the issue to tracker. http://bugs.python.org/issue5717 --anatoly t. On Sun, Dec 21, 2008 at 12:19 PM, Yinon Ehrlich yinon...@gmail.com wrote: Hi, just saw that os.defpath for Windows is defined as        Lib/ntpath.py:30:defpath = '.;C:\\bin' Most Windows machines I saw has

Re: [Python-Dev] pyc files, constant folding and borderline portability issues

2009-04-07 Thread skip
Cesare The only difference at this time is regards invalid operations, Cesare which will raise exceptions at compile time, not at running Cesare time. Cesare So if you write: Cesare a = 1 / 0 Cesare an exception will be raised at compile time. I think I have to call

Re: [Python-Dev] Evaluated cmake as an autoconf replacement

2009-04-07 Thread skip
I don't know thing one about cmake, but if it's good for the goose (building Python proper) would it be good for the gander (building extensions)? Antoine African or European? I was thinking Canadian... Skip ___ Python-Dev mailing

Re: [Python-Dev] pyc files, constant folding and borderline portability issues

2009-04-07 Thread Cesare Di Mauro
In data 07 aprile 2009 alle ore 17:19:25, s...@pobox.com ha scritto: Cesare The only difference at this time is regards invalid operations, Cesare which will raise exceptions at compile time, not at running Cesare time. Cesare So if you write: Cesare a = 1 / 0

Re: [Python-Dev] PEP 382: Namespace Packages

2009-04-07 Thread David Cournapeau
On Tue, Apr 7, 2009 at 11:58 PM, M.-A. Lemburg m...@egenix.com wrote: This means your proposal actually doesn't add any benefit over the status quo, where you can have an __init__.py that does nothing but declare the package a namespace.  We already have that now, and it doesn't need a new

Re: [Python-Dev] What's missing from easy_install

2009-04-07 Thread Lennart Regebro
On Tue, Apr 7, 2009 at 15:05, KDr2 k...@x-macro.com wrote: I need an CPyAN. On the lighter side of things: That would be pronounced spy-ann, which mean the vomit is swedish. Do you still want it? :-D -- Lennart Regebro: Pythonista, Barista, Notsotrista. http://regebro.wordpress.com/ +33 661

Re: [Python-Dev] Shorter float repr in Python 3.1?

2009-04-07 Thread Michael Foord
Mark Dickinson wrote: [snip...] Discussion points = (1) Any objections to including this into py3k? If there's controversy, then I guess we'll need a PEP. Big +1 (2) Should other Python implementations (Jython, IronPython, etc.) be expected to use short float repr, or

Re: [Python-Dev] Shorter float repr in Python 3.1?

2009-04-07 Thread Paul Moore
It would have helped if I'd copied the list... Sorry, Paul. 2009/4/7 Paul Moore p.f.mo...@gmail.com: 2009/4/7 Michael Foord fuzzy...@voidspace.org.uk: Mark Dickinson wrote: [snip...]  Discussion points = (1) Any objections to including this into py3k?  If there's

Re: [Python-Dev] Shorter float repr in Python 3.1?

2009-04-07 Thread Eric Smith
Mark Dickinson wrote: One PyCon 2009 sprint later, Eric Smith and I have produced the py3k-short-float-repr branch, which implements short repr of floats and also does some major cleaning up of the current float formatting functions. We've gone for the {fast, correct} pairing. We'd like to get

Re: [Python-Dev] Shorter float repr in Python 3.1?

2009-04-07 Thread Aahz
On Tue, Apr 07, 2009, Mark Dickinson wrote: Executive summary (details and discussion points below) = Some time ago, Noam Raphael pointed out that for a float x, repr(x) can often be much shorter than it currently is, without sacrificing the property that eval(repr(x)) ==

Re: [Python-Dev] Adding new features to Python 2.x (PEP 382: Namespace Packages)

2009-04-07 Thread Guido van Rossum
On Tue, Apr 7, 2009 at 5:25 AM, M.-A. Lemburg m...@egenix.com wrote: On 2009-04-06 15:21, Jesse Noller wrote: On Thu, Apr 2, 2009 at 4:33 PM, M.-A. Lemburg m...@egenix.com wrote: On 2009-04-02 17:32, Martin v. Löwis wrote: I propose the following PEP for inclusion to Python 3.1. Thanks for

Re: [Python-Dev] pyc files, constant folding and borderline portability issues

2009-04-07 Thread Guido van Rossum
Well I'm sorry Cesare but this is unacceptable. As Skip points out there is plenty of code that relies on this. Also, consider what problem you are trying to solve here. What is the benefit to the user of moving this error to compile time? I cannot see any. --Guido On Tue, Apr 7, 2009 at 8:19

Re: [Python-Dev] calling dictresize outside dictobject.c

2009-04-07 Thread Aahz
On Mon, Apr 06, 2009, Dan Schult wrote: I'm trying to write a C extension which is a subclass of dict. I want to do something like a setdefault() but with a single lookup. python-dev is for core development, not for questions about using Python. Please use comp.lang.python or the capi-sig

Re: [Python-Dev] pyc files, constant folding and borderline portability issues

2009-04-07 Thread Cesare Di Mauro
On Tue, Apr 7, 2009 06:25PM, Guido van Rossum wrote: Well I'm sorry Cesare but this is unacceptable. As Skip points out there is plenty of code that relies on this. Guido, as I already said, in the final code the normal Python behaviour will be kept, and the stricter one will be enabled solely

Re: [Python-Dev] pyc files, constant folding and borderline portability issues

2009-04-07 Thread Guido van Rossum
On Tue, Apr 7, 2009 at 9:46 AM, Cesare Di Mauro cesare.dima...@a-tono.com wrote: On Tue, Apr 7, 2009 06:25PM, Guido van Rossum wrote: Well I'm sorry Cesare but this is unacceptable. As Skip points out there is plenty of code that relies on this. Guido, as I already said, in the final code the

Re: [Python-Dev] Evaluated cmake as an autoconf replacement

2009-04-07 Thread David Cournapeau
On Wed, Apr 8, 2009 at 2:24 AM, Heikki Toivonen htoivo...@spikesource.com wrote: David Cournapeau wrote: The hard (or rather time consuming) work is to do everything else that distutils does related to the packaging. That's where scons/waf are more interesting than cmake IMO, because you can

Re: [Python-Dev] PEP 382: Namespace Packages

2009-04-07 Thread P.J. Eby
At 04:58 PM 4/7/2009 +0200, M.-A. Lemburg wrote: On 2009-04-07 16:05, P.J. Eby wrote: At 02:30 PM 4/7/2009 +0200, M.-A. Lemburg wrote: Wouldn't it be better to stick with a simpler approach and look for __pkg__.py files to detect namespace packages using that O(1) check ? Again - this

Re: [Python-Dev] pyc files, constant folding and borderline portability issues

2009-04-07 Thread Cesare Di Mauro
On Tue, Apr 7, 2009 07:22PM, Guido van Rossum wrote: In my experience it's better to discover a bug at compile time rather than at running time. That's my point though, which you seem to be ignoring: if the user explicitly writes 1/0 it is not likely to be a bug. That's very different than

Re: [Python-Dev] Generator methods - what's next ?

2009-04-07 Thread Firephoenix
Greg Ewing a écrit : Firephoenix wrote: I basically agreed with renaming the next() method to __next__(), so as to follow the naming of other similar methods (__iter__() etc.). But I noticed then that all the other methods of the generator had stayed the same (send, throw, close...) Keep

Re: [Python-Dev] Mercurial?

2009-04-07 Thread Martin v. Löwis
Ben is correct: you can't assume that contributors will have both a first name and a last name, or that a first name and last name is sufficient to legally identify them. Those from Spanish and Portuguese cultures usually have two family names as well as a personal name; people from

Re: [Python-Dev] pyc files, constant folding and borderline portability issues

2009-04-07 Thread Jared Grubb
On 7 Apr 2009, at 11:59, Alexandru Moșoi wrote: Not necessarily. For example C/C++ doesn't define the order of the operations inside an expression (and AFAIK neither Python) and therefore folding 2 * 3 is OK whether b is an integer or an arbitrary object with mul operator overloaded. Moreover

Re: [Python-Dev] pyc files, constant folding and borderline portability issues

2009-04-07 Thread Fredrik Johansson
On Tue, Apr 7, 2009 at 8:59 PM, Alexandru Moșoi brtz...@gmail.com wrote: Not necessarily. For example C/C++ doesn't define the order of the operations inside an expression (and AFAIK neither Python) and therefore folding 2 * 3 is OK whether b is an integer or an arbitrary object with mul

Re: [Python-Dev] $Id$ and sys.subversion (Was: Mercurial?)

2009-04-07 Thread Martin v. Löwis
One issue that the PEP needs to address is what to do with the files that use svn (really, CVS) keywords, and what should happen to sys.subversion. Along with it goes the question what sys.version should say. It probably would be good if somebody could produce a patch that can be applied to a

Re: [Python-Dev] Adding new features to Python 2.x (PEP 382: Namespace Packages)

2009-04-07 Thread Martin v. Löwis
Such a policy would then translate to a dead end for Python 2.x based applications. 2.x based applications *are* in a dead end, with the only exit being portage to 3.x. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org

Re: [Python-Dev] Mercurial?

2009-04-07 Thread Daniel (ajax) Diniz
Dirkjan Ochtman wrote: One of the nicer features of Mercurial/DVCSs, in my experience, is that non-committers get to keep the credit on their patches. That means that it's impossible to enforce a policy more extensive than some basic checks (such as the format above). Unless we keep a list of

Re: [Python-Dev] Mercurial?

2009-04-07 Thread Dirkjan Ochtman
On Tue, Apr 7, 2009 at 20:25, Daniel (ajax) Diniz aja...@gmail.com wrote: BTW, keep in mind some people will prefer to submit diff-generated, non-hg patches. IMO,  this use case should be supported before the rich-patch one. Sure, that will be in the PEP as well (and it's quite simple).

[Python-Dev] pyc files, constant folding and borderline portability issues

2009-04-07 Thread Alexandru Moșoi
From: Cesare Di Mauro cesare.dima...@a-tono.com So if Python will generate LOAD_CONST      1 LOAD_CONST      2 BINARY_ADD the constant folding code will simply replace them with a single LOAD_CONST      3 When working with such kind of optimizations, the temptation is to apply them at

Re: [Python-Dev] decorator module in stdlib?

2009-04-07 Thread Terry Reedy
Daniel Fetchinson wrote: The decorator module [1] written by Michele Simionato is a very useful tool for maintaining function signatures while applying a decorator. Many different projects implement their own versions of the same functionality, for example turbogears has its own utility for

Re: [Python-Dev] pyc files, constant folding and borderline portability issues

2009-04-07 Thread Terry Reedy
Cesare Di Mauro wrote: On Tue, Apr 7, 2009 07:22PM, Guido van Rossum wrote: In my experience it's better to discover a bug at compile time rather than at running time. That's my point though, which you seem to be ignoring: if the user explicitly writes 1/0 it is not likely to be a bug. That's

Re: [Python-Dev] pyc files, constant folding and borderline portability issues

2009-04-07 Thread Terry Reedy
Alexandru Moșoi wrote: From: Cesare Di Mauro cesare.dima...@a-tono.com So if Python will generate LOAD_CONST 1 LOAD_CONST 2 BINARY_ADD the constant folding code will simply replace them with a single LOAD_CONST 3 When working with such kind of optimizations, the temptation is

Re: [Python-Dev] Evaluated cmake as an autoconf replacement

2009-04-07 Thread Alexander Neundorf
On Tue, Apr 7, 2009 at 3:23 PM, David Cournapeau courn...@gmail.com wrote: On Tue, Apr 7, 2009 at 10:08 PM, Alexander Neundorf alex.neund...@kitware.com wrote: What is involved in building python extensions ? Can you please explain ? Not much: at the core, a python extension is nothing more

[Python-Dev] ANN: deps extension (fwd)

2009-04-07 Thread skip
I know the subject of external dependencies came up here in the discussion about Mercurial. I just saw this on the Mercurial mailing list. Perhaps it will be of interest to our hg mavens. Skip ---BeginMessage--- Hi, I've recently cloned the deps extension, originally developed by Aleix

Re: [Python-Dev] Evaluated cmake as an autoconf replacement

2009-04-07 Thread Greg Ewing
David Cournapeau wrote: Having a full fledged language for complex builds is nice, I think most familiar with complex makefiles would agree with this. Yes, people will still need general computation in their build process from time to time whether the build tool they're using supports it or

Re: [Python-Dev] Evaluated cmake as an autoconf replacement

2009-04-07 Thread Alexander Neundorf
On Wed, Apr 8, 2009 at 12:43 AM, Greg Ewing greg.ew...@canterbury.ac.nz wrote: David Cournapeau wrote: Having a full fledged language for complex builds is nice, I think most familiar with complex makefiles would agree with this. Yes, people will still need general computation in their

[Python-Dev] Is there an issue with bugs.python.org currently

2009-04-07 Thread Tennessee Leeuwenburg
Sadly, my work firewall/proxy often handles things badly, so I can't actually tell. Is bugs.python.org accepting changes at the moment (I'm trying to update the Stage of an issue)? Cheers, -T -- -- Tennessee Leeuwenburg

Re: [Python-Dev] Evaluated cmake as an autoconf replacement

2009-04-07 Thread Greg Ewing
Alexander Neundorf wrote: My experience is that people don't need general computation in their build process. ... CMake supports now more general purpose programming features than it did 2 years ago, e.g. it has now functions with local variables, it can do simple math, regexps and other

Re: [Python-Dev] Evaluated cmake as an autoconf replacement

2009-04-07 Thread David Cournapeau
On Wed, Apr 8, 2009 at 6:42 AM, Alexander Neundorf alex.neund...@kitware.com wrote: What options ? Compilation options. If you build an extension with distutils, the extension is built with the same flags as the ones used by python, the options are taken from distutils.sysconfig (except for MS

Re: [Python-Dev] Evaluated cmake as an autoconf replacement

2009-04-07 Thread David Cournapeau
On Wed, Apr 8, 2009 at 7:54 AM, Alexander Neundorf alex.neund...@kitware.com wrote: On Wed, Apr 8, 2009 at 12:43 AM, Greg Ewing greg.ew...@canterbury.ac.nz wrote: David Cournapeau wrote: Having a full fledged language for complex builds is nice, I think most familiar with complex makefiles

[Python-Dev] http://bugs.python.org/issue2240

2009-04-07 Thread Tennessee Leeuwenburg
This issue has been largely resolved, but there is an outstanding bug where the (reviewed and committed) solution does not work on certain versions of FreeBSD (broken in 6.3, working in 7+). Do we have a list of 'supported platforms', and is FreeBSD 6.3 in it? What's the policy with regards to

Re: [Python-Dev] calling dictresize outside dictobject.c

2009-04-07 Thread Lisandro Dalcin
Did you read the post until the end? The OP is asking a question related to a very low level detail of dict implementation and making an offer to write a patch that could speed-up dict.setdefault() in core CPython... IMHO, a poll on python-dev do makes sense... On Tue, Apr 7, 2009 at 1:34 PM,

Re: [Python-Dev] http://bugs.python.org/issue2240

2009-04-07 Thread Guilherme Polo
On Tue, Apr 7, 2009 at 11:54 PM, Tennessee Leeuwenburg tleeuwenb...@gmail.com wrote: This issue has been largely resolved, but there is an outstanding bug where the (reviewed and committed) solution does not work on certain versions of FreeBSD (broken in 6.3, working in 7+). Do we have a list

Re: [Python-Dev] http://bugs.python.org/issue2240

2009-04-07 Thread Tennessee Leeuwenburg
On Wed, Apr 8, 2009 at 1:14 PM, Guilherme Polo ggp...@gmail.com wrote: On Tue, Apr 7, 2009 at 11:54 PM, Tennessee Leeuwenburg tleeuwenb...@gmail.com wrote: This issue has been largely resolved, but there is an outstanding bug where the (reviewed and committed) solution does not work on

[Python-Dev] RELEASED Python 2.6.2 candidate 1

2009-04-07 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm happy to announce the release of Python 2.6.2 candidate 1. This release contains dozens of bug fixes since Python 2.6.1. Please see the NEWS file for a detailed list of changes. Barring unforeseen problems, Python 2.6.2 final will be

Re: [Python-Dev] decorator module in stdlib?

2009-04-07 Thread Michele Simionato
On Tue, Apr 7, 2009 at 11:04 PM, Terry Reedy tjre...@udel.edu wrote: This probably should have gone to the python-ideas list.  In any case, I think it needs to start with a clear offer from Michele (directly or relayed by you) to contribute it to the PSF with the usual conditions. I have no

Re: [Python-Dev] http://bugs.python.org/issue2240

2009-04-07 Thread Stephen J. Turnbull
Tennessee Leeuwenburg writes: I'd agree with that. I just wonder whether it's necessary to create another issue, or whether the issue can be marked as 'fixed' without opening the new issue. Opening a new issue has the effect of running a poll of those who watch such issues on the tracker

[Python-Dev] slightly inconsistent set/list pop behaviour

2009-04-07 Thread Tennessee Leeuwenburg
Now, I know that sets aren't ordered, but... foo = set([1,2,3,4,5]) bar = [1,2,3,4,5] foo.pop() will reliably return 1 while bar.pop() will return 5 discuss :) Cheers, -T ___ Python-Dev mailing list Python-Dev@python.org

Re: [Python-Dev] slightly inconsistent set/list pop behaviour

2009-04-07 Thread Raymond Hettinger
[Tennessee Leeuwenburg ] Now, I know that sets aren't ordered, but... foo = set([1,2,3,4,5]) bar = [1,2,3,4,5] foo.pop() will reliably return 1 while bar.pop() will return 5 discuss :) If that's what you need: http://code.activestate.com/recipes/576694/ Raymond

Re: [Python-Dev] http://bugs.python.org/issue2240

2009-04-07 Thread Jeroen Ruigrok van der Werven
-On [20090408 05:24], Tennessee Leeuwenburg (tleeuwenb...@gmail.com) wrote: It seems like the bug relates only to an older version of a 'weird' operating system ducks and could perhaps be left unfixed without causing anyone any problems. Being one of the FreeBSD guys I'll throw peanuts at you. :P