On Sat, 2005-06-04 at 12:26 -0600, Shane Hathaway wrote:
Florencio Cano Gabarda wrote:
I would like to do the new SSL module as good as possible. A piece of
art and efficiency if possible and obviusly having in mind all
programming standards.
Guido and much of the community would
On 6/1/05, Guido van Rossum [EMAIL PROTECTED] wrote:
I hope that I've got the rewrite of PEP 343 to include generator
extensions right now. I've chosen the 'with' keyword. Please review
here; I think this is ready for review by the unwashed masses. :-)
Guido van Rossum wrote:
@with_template
def closing(obj):
try:
yield obj
finally:
obj.close()
I just realized this has a race condition. The bytecode for the
expression closing(open(...)) must necessarily contain a bytecode
that calls open() followed by
On 6/5/05, Martin v. Löwis [EMAIL PROTECTED] wrote:
Guido van Rossum wrote:
@with_template
def closing(obj):
try:
yield obj
finally:
obj.close()
I just realized this has a race condition. The bytecode for the
expression closing(open(...)) must
On 5/30/05, Nick Coghlan [EMAIL PROTECTED] wrote:
Noam's suggestion seems reasonable to me, but I'm not
sure what the performance implications are.
I think that they are not critical. The number of lines can grow by at
most twice, because shorter words would not have a line of their own.
The