mutable default parameter problem [Prothon]

Mark Hahn mark at prothon.org
Tue Jun 29 03:58:39 EDT 2004


Antoon Pardon wrote:

> These are details. If you want to do it with an other keyword, that is
> fine by me. I'm interrested in the functionality, not in a particular
> implementation. One possibility would be to not allow what you call
> a regular while, all loop constructs would need to start with a loop
> statement.
>
> An other possibility would be the "and while" construction that
> was dicussed here.  Something like
>
> while condition1:
>   loopcode
> else
>   exitcode
> and while condition2:
>   loopcode
> else
>   exitcode.

You should bring this up on the Prothon mailing list.  It would need to be
discussed at length.





More information about the Python-list mailing list