[Python-Dev] Make socket support TIPC

2007-12-18 Thread Alberto Bertogli
Hi! I wrote a patch adding TIPC support to the socket module, you can find it in http://bugs.python.org/issue1646. TIPC (http://tipc.sf.net) is an open protocol designed for use in clustered computer environments. It currently has an open source implementation for Linux (>= 2.6.16), and VxWorks.

[Python-Dev] 1-tuple trailing comma

2007-12-18 Thread Calvin Spealman
I just had an issue brought up by another developer who had a trailing comma on an assignment causing a 1-tuple he did not expect. We were talking about it and came to the conclusion that it is at least worth bringing up the idea of enforcing a SyntaxError in the case of this. 1-tuple synta

[Python-Dev] 'with' __exit__ doesn't set sys.exc_info()

2007-12-18 Thread Mike Stall
Can somebody confirm the following behavior is expected: When a 'with' statement invokes __exit__(), it looks like sys.exc_info() is not actually set. I know this may be a very pedantic detail, but I'm working on IronPython and would like to make it consistent with CPython's behavior. The PEP

Re: [Python-Dev] 1-tuple trailing comma

2007-12-18 Thread Guido van Rossum
On Dec 18, 2007 7:31 AM, Calvin Spealman <[EMAIL PROTECTED]> wrote: > I just had an issue brought up by another developer who had a > trailing comma on an assignment causing a 1-tuple he did not expect. > We were talking about it and came to the conclusion that it is at > least worth bringing up th

Re: [Python-Dev] 'with' __exit__ doesn't set sys.exc_info()

2007-12-18 Thread Guido van Rossum
Since no actual except clause is used, this is reasonable, and I wouldn't want it changed. I guess the PEP overstated the exactness of the translation. Suggestions for better wording are accepted. On Dec 18, 2007 10:11 AM, Mike Stall <[EMAIL PROTECTED]> wrote: > > > > > Can somebody confirm the fo