On 2005-05-08, andrea crotti wrote:
> I have a little "problem", I don't understand the reason of this:
> a = [10,1,2,3]
> def foo():
> global a
> for el in a:
> el = el*2
Simple data types (as integer) are _not_ implemented as references as
you obviously expected. Instead el is copied b
On 2005-05-14, David wrote:
> abc(x,y,dotp,sumx,maxv)
(x,y,dotp,sumx,maxv) = abc(x,y,dotp,sumx,maxv)
Bernd
--
Those who desire to give up freedom in order to gain security,
will not have, nor do they deserve, either one. [T. Jefferson]
--
http://mail.python.org/mailman/listinfo/python-list
On 2005-05-14, Philippe C. Martin wrote:
> You're thinking you're passing the arguments as reference
That is the way Fortran handles them:
[...]
>> Right now I'm taking a simple program I wrote in Fortran
Bernd
--
Those who desire to give up freedom in order to gain security,
will not hav
> On 2005-05-14, M.E.Farmer wrote:
> (x,y,dotp,sumx,maxv) = abc(x,y,dotp,sumx,maxv)
> This will only create a tuple in memory that has no name to reference
> it by!
Maybe. But it does not seem to hurt. And I am not sure the tupel _is_
really created in that situation.
> How would you access the
On 2005-05-14, M.E.Farmer wrote:
> I explained what i meant in previous post there was nothing more than
> just a discussion
No. You claimed
This will only create a tuple in memory
But we just learned that this is not the case.
> I have no real problem here just more of a sore point in style
On 2005-05-15, [EMAIL PROTECTED] wrote:
> Lese selbst:
> http://www.heise.de/newsticker/meldung/59427
Ja, schlimm.
Trotzdem ist das hier
a) eine englischsprachige NG und
b) geht es hier um die Programmiersprache Python
Lass es also bitte endlich!
Bernd
--
Those who desire to give up freed
On 2005-05-15, M.E.Farmer wrote:
>> No. You claimed
>
> This will only create a tuple in memory
>
> That is not what I said please do not edit my words and call it a
> quote!
Again the whole sentence:
Message-ID: <[EMAIL PROTECTED]>
| This will only create a tuple in memory that has no name t
On 2005-05-16, François Pinard wrote:
>> I don't think that post was really from MAL. It seems to be a
>> sporgery attack on the newsgroup. Sigh.
> For the last two days, I receive quite an amount of robotic rejects,
> after my name was used as the forged From:
Same with me after my follow-up.
On 2005-05-16, plsullivan wrote:
> I've got a variable deep inside some quotes needed by the application I
> am using. I can't figure out how to make this work. (Also, is there a
> line continuation character?)
> luser = win32api.GetUserName()
> gp.FeatureclassToCoverage_conversion("'Database
> [
On 2005-05-16, plsullivan wrote:
> If I follow your response Bernd, it looks like you interpreted that as
> several lines. It actually should all be on one line. That's what made
> me wonder if there is a line continuation character.
The lines are concatenated to one string as I wrote it.
See al
On 2005-05-16, plsullivan wrote:
> Thanks guys but I am still not getting it. This part -->
> gp.FeatureclassToCoverage_convÂersion("'Database
> [EMAIL PROTECTED]'
> POLYGON", prcl83, "", "DOUBLE") <-- % luser is one long command.
Yes, I understood you perfectly well.
> I need to be able to
On 2005-05-16, Dave Kuhlman wrote:
> Is there a recommended version of gcc that I should be using to
> compile Python? I've compiled Python 2.4 with gcc 3.3.4 on Ubuntu
> Debian GNU/Linux. However, I notice that gcc 3.5 and gcc 4.0 are
> available for installation.
I am on Gentoo Linux and use
12 matches
Mail list logo