Re: how to make portable distribution of python 2.6?

2010-08-13 Thread zaur
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

how to make portable distribution of python 2.6?

2010-08-13 Thread zaur
All greetings! How to make portable distribution of python 2.6? -- http://mail.python.org/mailman/listinfo/python-list

Re: Is behavior of += intentional for int?

2009-09-01 Thread zaur
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;

Re: Is behavior of += intentional for int?

2009-08-31 Thread zaur
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] > >

Re: Is behavior of += intentional for int?

2009-08-30 Thread zaur
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

Re: Is behavior of += intentional for int?

2009-08-30 Thread zaur
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

Re: Object's nesting scope

2009-08-30 Thread zaur
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ó: > >> >

Re: Is behavior of += intentional for int?

2009-08-29 Thread zaur
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 >

Is behavior of += intentional for int?

2009-08-29 Thread zaur
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

Re: Object's nesting scope

2009-08-29 Thread zaur
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

Re: Object's nesting scope

2009-08-28 Thread zaur
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

Re: Object's nesting scope

2009-08-27 Thread zaur
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

Re: Object's nesting scope

2009-08-27 Thread zaur
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: > > >

Re: Object's nesting scope

2009-08-27 Thread zaur
On 26 авг, 23:56, MRAB wrote: > zaur wrote: > > On 26 авг, 21:11, "Rami Chowdhury" wrote: > >>> person = Person(): > >>>   name = "john" > >>>   age = 30 > >>>   address = Address(): > >>>      street =

Re: Object's nesting scope

2009-08-26 Thread zaur
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

Re: Object's nesting scope

2009-08-26 Thread zaur
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

Object's nesting scope

2009-08-26 Thread zaur
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

Python Object Notation (PyON)

2008-11-01 Thread Zaur Shibzoukhov
ge. I would like to know what do you think about this? Best regards, Zaur -- http://mail.python.org/mailman/listinfo/python-list

Application of "with" statement in py3k. Property defining/redefining.

2008-04-09 Thread Zaur Shibzoukhov
http://szport.blogspot.com/2008/04/application-of-with-statement-in-py3k.html -- http://mail.python.org/mailman/listinfo/python-list

Application of "with" statement in py3k. Property defining/redefining.

2008-04-03 Thread Zaur Shibzoukhov
http://szport.blogspot.com/2008/04/application-of-with-statement-in-py3k.html -- http://mail.python.org/mailman/listinfo/python-list