Sylvain Ferriol wrote:
> with the 'make' syntax, it will be really easy to translate a program or
> a data structure defined in XML format into python syntax.
Only if there are no ordering constraints and no need for multiple
elements with the same name. The make statement was built to mirror t
> Michele Simionato already pointed you to `PEP 359`_. One of the reasons
> that I withdrew it was that people seemed to feel that you could get
> most of what you want now by defining appropriate metaclasses. In your
> case, for example, the appropriate metaclass and its usage might look
> l
Sylvain Ferriol wrote:
> hello everybody,
>
> i want to talk with you about a question i have in mind and i do not
> find a answer. it 's simple:
> why do we not have a beatiful syntax for object definition as we have
> for class definition ?
>
> we can define a class in python in 2 ways:
> 1. b
Michele Simionato a écrit :
> Sylvain Ferriol wrote:
>
>>Michele Simionato a écrit :
>>
>>>See http://www.python.org/dev/peps/pep-0359 (already rejected by
>>>Guido).
>>>
>>
>>i do not understand the withdrawal note, what do "different level" mean ?
>>do you have an example or is it python core i
Sylvain Ferriol wrote:
> Michele Simionato a écrit :
> >
> > See http://www.python.org/dev/peps/pep-0359 (already rejected by
> > Guido).
> >
> i do not understand the withdrawal note, what do "different level" mean ?
> do you have an example or is it python core implemantation problem ?
I asked
Michele Simionato a écrit :
> Sylvain Ferriol wrote:
>
>>hello everybody,
>>
>>i want to talk with you about a question i have in mind and i do not
>>find a answer. it 's simple:
>>why do we not have a beatiful syntax for object definition as we have
>>for class definition ?
>
>
> See http://www
Sylvain Ferriol wrote:
> hello everybody,
>
> i want to talk with you about a question i have in mind and i do not
> find a answer. it 's simple:
> why do we not have a beatiful syntax for object definition as we have
> for class definition ?
Python's classes are objects too - instances of their
Sylvain Ferriol wrote:
> hello everybody,
>
> i want to talk with you about a question i have in mind and i do not
> find a answer. it 's simple:
> why do we not have a beatiful syntax for object definition as we have
> for class definition ?
See http://www.python.org/dev/peps/pep-0359 (already r
hello everybody,
i want to talk with you about a question i have in mind and i do not
find a answer. it 's simple:
why do we not have a beatiful syntax for object definition as we have
for class definition ?
we can define a class in python in 2 ways:
1. by using the metaclass constructor
my