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

2009-04-06 Thread Ondrej Certik
Hi, On Sun, Mar 29, 2009 at 10:21 AM, Jeffrey Yasskin wrote: > I've heard some good things about cmake — LLVM, googletest, and Boost > are all looking at switching to it — so I wanted to see if we could > simplify our autoconf+makefile system by using it. The biggest wins I > see from going to cm

[Python-Dev] str(container) should call str(item), not repr(item)

2008-07-28 Thread Ondrej Certik
Hi, as discussed before here: http://mail.python.org/pipermail/python-3000/2008-May/013876.html if you do: >>> from decimal import Decimal >>> a = Decimal(40) >>> print a, a**2, a**3 40 1600 64000 >>> print [a, a**2, a**3] [Decimal("40"), Decimal("1600"), Decimal("64000")] >>> print {a: 3} {Dec

Re: [Python-Dev] Documentation Error for __hash__

2008-08-30 Thread Ondrej Certik
> I strongly advise people interested in this topic to take a closer look > at the functionality that was added to address issue 2235. The "don't > inherit __hash__" behaviour has been backported from 3.0 and broke a > bunch of code, but the naive fix of reverting to the 2.5 behaviour > proceeded t

Re: [Python-Dev] Documentation Error for __hash__

2008-08-30 Thread Ondrej Certik
>> Ondrej > > Ondrej, a patch that improves the official docs would be welcome and still > potentially make 2.6/3.0 That'd be awesome. I need to finish my thesis in the next couple days, so I'd welcome if anyone could just take it and put usefult things in. I could get to do it the next week the e

Re: [Python-Dev] Documentation Error for __hash__

2008-08-30 Thread Ondrej Certik
Hi Georg! On Sat, Aug 30, 2008 at 11:09 PM, Georg Brandl <[EMAIL PROTECTED]> wrote: > Ondrej Certik schrieb: >>>> Ondrej >>> >>> Ondrej, a patch that improves the official docs would be welcome and still >>> potentially make 2.6/3.0 >> >&g

Re: [Python-Dev] effect of "exec" on local scope

2008-10-08 Thread Ondrej Certik
Hi Terry, On Wed, Oct 8, 2008 at 9:17 PM, Terry Reedy <[EMAIL PROTECTED]> wrote: > Willem Broekema wrote: >> >> The issue came up while trying to get some Sympy code running on CLPython. >> >> class C: >> exec "a = 3" >> print locals() >> >> 1. Is it guaranteed that class C gets an attribute "a"

Re: [Python-Dev] Using Cython for standard library?

2008-11-05 Thread Ondrej Certik
On Tue, Nov 4, 2008 at 9:06 PM, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: >> The project has made inclusion into Python's stdlib a goal right from the >> beginning. > > Ah, that changes my view of it significantly. If the authors want to > contribute it to Python some day, I'm looking forward to

Re: [Python-Dev] Optimize Python long integers

2008-11-13 Thread Ondrej Certik
On Tue, Nov 11, 2008 at 11:40 PM, Thomas Wouters <[EMAIL PROTECTED]> wrote: > > > On Tue, Nov 11, 2008 at 14:25, Victor Stinner <[EMAIL PROTECTED]> > wrote: >> >> There are some very interesting propositions (with patches!) to optimize >> Python int and long types (especially the long integers). >

Re: [Python-Dev] RELEASED Python 3.0 final

2008-12-04 Thread Ondrej Certik
On Thu, Dec 4, 2008 at 3:24 AM, Barry Warsaw <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Dec 3, 2008, at 9:13 PM, Dotan Cohen wrote: > >> On this page: >> http://www.python.org/download/releases/3.0/ >> >> The text "This is a proeuction release" should probab

Re: [Python-Dev] I would like an svn account

2009-01-03 Thread Ondrej Certik
> And I hope everyone realizes that they can speak up (publicly or > privately) about *anyone* in regards to whether they think they need > to lose their commit privileges for personal or coding reasons. I know > it's tough to speak out publicly about someone and their coding > abilities which is w

Re: [Python-Dev] I would like an svn account

2009-01-03 Thread Ondrej Certik
On Sat, Jan 3, 2009 at 8:46 AM, "Martin v. Löwis" wrote: > [I don't want to get into another DVCS flamewar, but I just > can't let this go uncommented :-] >> (took me ~ 1 hour to get around >> without any previous encounter with git and I am no genius) > > I'm no genius, either, and I think that

Re: [Python-Dev] I would like an svn account

2009-01-09 Thread Ondrej Certik
On Fri, Jan 9, 2009 at 1:48 AM, Giovanni Bajo wrote: > On Sun, 04 Jan 2009 18:50:09 +0900, Stephen J. Turnbull wrote: > >> "Martin v. Löwis" writes: >> >> > If "switching to a modern DVCS" means that users now need to start >> > compiling their VCS before they can check out Python, >> >> It does