[Python-ideas] "on" statement

Robert Kern robert.kern at gmail.com
Mon Apr 5 00:06:56 CEST 2010


On 2010-04-04 14:17 , Stefan Behnel wrote:
> George Sakkis, 01.04.2010 22:54:
>> * with x as is:
>> BLOCK
>>
>> _x = deepcopy(x)
>> try:
>> BLOCK
>> finally:
>> x = _x; del _x
>
> I think this use case is important enough to implement it immediately.
> However, since the moratorium is currently in place for Python, would it
> be ok to fork Python 3 to integrate it into the language? I propose
> Mython as the name of the fork. I also propose to drop the entire
> Subversion history, so that we can start using Mercurial
> instantaneously. That will greatly improve the freedom of Mython as a
> language.

The name Mython is taken:

   http://mython.org/

However, you can use the existing Mython to implement this syntax pretty easily.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco




More information about the Python-ideas mailing list