Me [Andrew Dalke] said:
> The relevant code in stringobject uses PySequence_Fast_GET_ITEM(seq,
> i),
> which likely doesn't know about my derived __getitem__.
Oops, I didn't know what the code was doing well enough. The
relevant problem is
seq = PySequence_Fast(orig, "");
That calls _
The Sourceforge tracker is kaputt so I'm sending it here, in part
because the effbot says it's interesting.
I can derive from list and override __getitem__
>>> class Spam(list):
... def __getitem__(self, i):
... print i
... return 2
...
>>> Spam()[1]
1
2
>>> Spam()[9]
9
2
>>>
Now c
Ok - we're going to skip the 3rd alpha, and the next release will be
beta1, currently scheduled for June 14th. With all the changes this
week from the needforspeed sprint, cutting a release seems like too
much of a risk.
___
Python-Dev mailing list
Py
[Guido]
> ...
> In 2.6, I'd be okay with standardizing int on 64 bits everywhere (I
> don't think bothering with 128 bits on 64-bit platforms is worth it).
> In 2.5, I think we should leave this alone.
Nobody panic. This wasn't on the table for 2.5, and as Martin points
out it needs more specific
Sean Reifschneider wrote:
> The big deal right now is on 32 bit platforms, giving the 64-bits for int.
> However, it will also be a win for 64-bit platforms for ints that fall
> between 64 and 128 bits.
As Guido suggests: long long isn't 128 bits on most 64-bit platforms
(AFAIK).
> My conclusion
Luke Dunstan wrote:
> Yes, I can do that. But what about the other 3 versions of pyconfig.h in
> platform subdirectories?
If you think you can fix them, go ahead and include changes; no need to
test these changes. If they are wrong, some user of the platform will
hopefully provide fixes.
Likewis
[Brett Cannon]
> Can someone install the attached SSH key (it's for my work machine)? The
> fingerprint is::
>
> cd:69:15:52:b2:e5:dc:2e:73:f1:62:1a:12:49:2b:a1
> [EMAIL PROTECTED]
I tried. Scream at someone else if it didn't work ;-)
> Also, how hard is it to have a specific key uninstalled?
Thomas Wouters wrote:
> The fact that much testing goes on between releases
> as well makes the alphas even less important.
I suspect the amount of MS Windows testing done between releases is
fairly small. And what little there is doesn't always use the same
compiler that will eventually be use
Can someone install the attached SSH key (it's for my work machine)? The fingerprint is:: cd:69:15:52:b2:e5:dc:2e:73:f1:62:1a:12:49:2b:a1 [EMAIL PROTECTED]Also, how hard is it to have a specific key uninstalled? The reason I ask is that my internship is only for three months so that after that th
On 5/23/06, Sean Reifschneider <[EMAIL PROTECTED]> wrote:
> We've been discussing the possibility of converting the Python int type to
> long long (from long). I played around with it some, and it's going to be
> a huge change that probably will break most C extensions until. However,
> as unclet
- Original Message -
From: ""Martin v. Löwis"" <[EMAIL PROTECTED]>
To: "Neal Norwitz" <[EMAIL PROTECTED]>
Cc: "Python Dev"
Sent: Tuesday, May 23, 2006 2:38 PM
Subject: Re: [Python-Dev] [Python-checkins] r46064 - in python/trunk:
Include/Python.h Include/pyport.h Misc/ACKS Misc/NEWS
Mod
[Facundo Batista]
> I'd start to see this not before two weeks (I have a conference, and
> need to finish my papers).
>
> TIm, we both know that I'm not, under any point of view, a numeric
> expert. So, I'd ask you a favor.
>
> Could you please send here some examples, for a given precision, of
> p
2006/5/19, Tim Peters <[EMAIL PROTECTED]>:
> If you're not a numeric expert, I wouldn't recommend that you try this
> yourself (in particular, trying to implement x**y as exp(ln(x)*y)
> using the same precision is mathematically correct but is numerically
> badly naive).
I'd start to see this not
We've been discussing the possibility of converting the Python int type to
long long (from long). I played around with it some, and it's going to be
a huge change that probably will break most C extensions until. However,
as uncletimmy says, "Python is so stinking slow" that it probably won't
mak
2006/5/23, Guido van Rossum <[EMAIL PROTECTED]>:
> How long have you used Python? 10 years or longer? Please tell us how
> you first heard of the language, how you first used it, and how you
> helped develop it (if you did). More recent reminiscences are welcome
> too!
I'm almost at the 10 year ma
Neal Norwitz wrote:
> Anthony's schedule is a bit up in the air which means this schedule
> does not reflect what reality will be. Perhaps we will skip a3
> altogether which will give more time in a sense, though not in reality
> since b1 in that case will hopefully be on or before June 14. FWIW:
Just to remember 10 years ago was the python 1.3 release.
I can't remember how long I use python but I can remember the first
release I used.
Use the cvs (svn) history of tags to get the date:
http://svn.python.org/view/python/tags/
I hope this helps. :-)
2006/5/23, Guido van Rossum <[EMAIL PRO
17 matches
Mail list logo