[Python-Dev] I want my sugar...

2011-01-16 Thread Peter Hall
I am a newbie to python, and am curious why the following syntax is not supported: # Boolean test on x... if (x = someFunc(...)): # Do something with x... I've found it convenient in perl. Is the syntax actually supported, and I'm ignorant? Is the usage considered 'unPythonic'? Can you

Re: [Python-Dev] I want my sugar...

2011-01-16 Thread Benjamin Peterson
2011/1/16 Peter Hall bis...@yahoo.com: I am a newbie to python, and am curious why the following syntax is not supported: # Boolean test on x... if (x = someFunc(...)):     # Do something with x... I've found it convenient in perl. Is the syntax actually supported, and I'm ignorant? Is

Re: [Python-Dev] I want my sugar...

2011-01-16 Thread Terry Reedy
On 1/16/2011 12:44 PM, Peter Hall wrote: I am a newbie to python, and am curious why the following syntax is not supported: This list is for development of future releases. Please ask such questions on python-list or other forums for discussion of current Python. -- Terry Jan Reedy

Re: [Python-Dev] [RELEASED] Python 3.2 rc 1

2011-01-16 Thread Ron Adam
:-D Great job Georg! Ron Adam On 01/16/2011 01:33 AM, Georg Brandl wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On behalf of the Python development team, I'm very happy to announce the first release candidate of Python 3.2. Python 3.2 is a continuation of the efforts to improve