On 13 авг, 21:28, Thomas Jollans wrote:
> On 2010-08-13 19:00, zaur wrote:> All greetings!
>
> > How to make portable distribution of python 2.6?
>
> I don't know, but what you're looking for probably already exists.
>
> Do you mean "portable" a
All greetings!
How to make portable distribution of python 2.6?
--
http://mail.python.org/mailman/listinfo/python-list
On 1 сен, 03:31, Steven D'Aprano wrote:
> On Mon, 31 Aug 2009 10:21:22 -0700, zaur wrote:
> > As a result of this debate is not whether we should conclude that there
> > should be two types of integers in python: 1) immutable numbers, which
> > behave as constant value;
On 29 авг, 16:45, zaur wrote:
> Python 2.6.2 (r262:71600, Apr 16 2009, 09:17:39)
> [GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin
> Type "copyright", "credits" or "license()" for more information.>>> a=1
> >>> x=[a]
> >
On 30 авг, 15:49, Carl Banks wrote:
> I think they (Derek and zaur) expect integer objects to be mutable.
>
> It's pretty common for people coming from "name is a location in
> memory" languages to have this conception of integers as an
> intermediate stage of l
On 29 авг, 23:03, Steven D'Aprano wrote:
> On Sat, 29 Aug 2009 11:11:43 -0700, zaur wrote:
> > I thought that int as object will stay the same object after += but with
> > another integer value. My intuition said me that int object which
> > represent integer value shou
On 30 авг, 03:22, "Gabriel Genellina" wrote:
> En Sat, 29 Aug 2009 04:34:48 -0300, zaur escribió:
>
>
>
> > On 29 авг, 08:37, "Gabriel Genellina" wrote:
> >> En Fri, 28 Aug 2009 15:25:55 -0300, zaur escribió:
> >> >
On 29 авг, 20:25, "Günther Dietrich" wrote:
> Paul McGuire wrote:
> >What exactly are you trying to do?
>
> I think, he wants to kind of dereference the list element. So that he
> can write
>
> >>> a += 1
>
> instead of
>
> >>> long_name_of_a_list_which_contains_data[mnemonic_pointer_name] += 1
>
Python 2.6.2 (r262:71600, Apr 16 2009, 09:17:39)
[GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin
Type "copyright", "credits" or "license()" for more information.
>>> a=1
>>> x=[a]
>>> id(a)==id(x[0])
True
>>> a+=1
>>> a
2
>>> x[0]
1
I thought that += should only change the value of the int
On 29 авг, 08:37, "Gabriel Genellina" wrote:
> En Fri, 28 Aug 2009 15:25:55 -0300, zaur escribió:
>
>
>
> > On 28 авг, 16:07, Bruno Desthuilliers > 42.desthuilli...@websiteburo.invalid> wrote:
> >> zaur a écrit :
>
> >> > Ok. Here
On 28 авг, 16:07, Bruno Desthuilliers wrote:
> zaur a écrit :
>
>
>
> > On 26 авг, 17:13, "Diez B. Roggisch" wrote:
> >> Whom am we to judge? Sure if you propose this, you have some usecases in
> >> mind - how about you present these
>
> > O
On 27 авг, 19:19, Carl Banks wrote:
> On Aug 27, 8:01 am, zaur wrote:
>
> > On 27 авг, 18:34, Carl Banks wrote:
> > > The idea has been
> > > discussed in various forms here quite a bit over the years. I doubt
> > > there's any chance it
On 27 авг, 18:34, Carl Banks wrote:
> On Aug 26, 5:51 am, zaur wrote:
>
>
>
> > Hi folk!
>
> > What do you think about idea of "object's nesting scope" in python?
>
> > Let's imaging this feature, for example, in this syntax:
>
> >
On 26 авг, 23:56, MRAB wrote:
> zaur wrote:
> > On 26 авг, 21:11, "Rami Chowdhury" wrote:
> >>> person = Person():
> >>> name = "john"
> >>> age = 30
> >>> address = Address():
> >>> street =
On 26 авг, 21:11, "Rami Chowdhury" wrote:
> > person = Person():
> > name = "john"
> > age = 30
> > address = Address():
> > street = "Green Street"
> > no = 12
>
> Can you clarify what you mean? Would that define a Person class, and an
> Address class?
I suppose that someone alr
On 26 авг, 17:13, "Diez B. Roggisch" wrote:
> Whom am we to judge? Sure if you propose this, you have some usecases in
> mind - how about you present these
Ok. Here is a use case: object initialization.
For example,
person = Person():
name = "john"
age = 30
address = Address():
stree
Hi folk!
What do you think about idea of "object's nesting scope" in python?
Let's imaging this feature, for example, in this syntax:
obj=:
or
:
That's means that result object of evaluation is used as
nested scope for evaluation.
So is this id
ge.
I would like to know what do you think about this?
Best regards,
Zaur
--
http://mail.python.org/mailman/listinfo/python-list
http://szport.blogspot.com/2008/04/application-of-with-statement-in-py3k.html
--
http://mail.python.org/mailman/listinfo/python-list
http://szport.blogspot.com/2008/04/application-of-with-statement-in-py3k.html
--
http://mail.python.org/mailman/listinfo/python-list
20 matches
Mail list logo