Can global variable be passed into Python function?
breamoreboy at yahoo.co.uk
Sat Mar 1 02:19:02 CET 2014
On 01/03/2014 01:10, Marko Rauhamaa wrote:
> Ben Finney <ben+python at benfinney.id.au>:
>> >From each other, of course they're distinct, because they are unequal.
>> They are *not* necessarily distinct from other strings with equal
>> value, defined elsewhere. That's what has been pointed out to you many
> That point is completely irrelevant. The state objects only need to be
> distinct from each other. How do I know? I originally wrote the example.
>> So, either you care about these values being distinct from all others
>> because you want to compare them with ‘is’ (and so strings are a poor
> Strings are as good objects for the purpose as any and have some nice
> advantages during troubleshooting and logging.
How many more times do you have to be shot down before you give up? Or
do you intend coming back like the Phoenix, or worse still like our
resident unicode expert, to haunt us?
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
This email is free from viruses and malware because avast! Antivirus protection is active.
More information about the Python-list