M.-A. Lemburg [EMAIL PROTECTED] writes:
This is exactly what I'm getting at: I can see the potential
use for resource management (which is what started out the
whole idea IIRC), but fail to see why you'd want to use it
for anything more complicated than that.
I, as a concrete example, want
Martin v. Löwis wrote:
Guido van Rossum wrote:
Ah, sigh. I didn't know that os.listdir() behaves differently when the
argument is Unicode. Does os.listdir(.) really behave differently
than os.listdir(u.)? Bah! I don't think that's a very good design
(although I see where it comes from).
M.-A. Lemburg wrote:
This is exactly what I'm getting at: I can see the potential
use for resource management (which is what started out the
whole idea IIRC), but fail to see why you'd want to use it
for anything more complicated than that.
The other suggested uses (redirecting stdout,
Nick Coghlan asked Marc-Andre Lemburg:
There's clearly something that bothers you about this though, and I'd like to
understand what it is. Does the term 'context' carry additional, more
specific, connotations for you that I'm simply not taking into account?
To me, a context is much larger
Michael Hudson wrote:
M.-A. Lemburg [EMAIL PROTECTED] writes:
This is exactly what I'm getting at: I can see the potential
use for resource management (which is what started out the
whole idea IIRC), but fail to see why you'd want to use it
for anything more complicated than that.
I, as
On 7/15/05, Ron Adam [EMAIL PROTECTED] wrote:
[several new syntax proposals]
Please stop proposing new syntax. The PEP was accepted after quite
enough back-and-forth; there's no point opening this up yet again.
--
--Guido van Rossum (home page: http://www.python.org/~guido/)
Guido van Rossum wrote:
On 7/15/05, Ron Adam [EMAIL PROTECTED] wrote:
[several new syntax proposals]
Please stop proposing new syntax. The PEP was accepted after quite
enough back-and-forth; there's no point opening this up yet again.
My apologies Guido.
Subtracting the inappropriate
Ron Adam wrote:
3. The with documentation could possibly be grouped with or after
the try documentation as it may be easier to understand in that context.
I was looking for an appropriate place in the tutorial to put a couple of
usage examples - a new subsection immediately after the