- 25 Nis, 2006 8 kayıt (commit)
-
-
Thomas Wouters yazdı
-
Nick Coghlan yazdı
-
Nick Coghlan yazdı
terminology in the alpha 1 documentation. - "context manager" reverts to its alpha 1 definition - the term "context specifier" goes away entirely - contextlib.GeneratorContextManager is renamed GeneratorContext There are still a number of changes relative to alpha 1: - the expression in the with statement is explicitly called the "context expression" in the language reference - the terms 'with statement context', 'context object' or 'with statement context' are used in several places instead of a bare 'context'. The aim of this is to avoid ambiguity in relation to the runtime context set up when the block is executed, and the context objects that already exist in various application domains (such as decimal.Context) - contextlib.contextmanager is renamed to contextfactory This best reflects the nature of the function resulting from the use of that decorator - decimal.ContextManager is renamed to WithStatementContext Simple dropping the 'Manager' part wasn't possible due to the fact that decimal.Context already exists and means something different. WithStatementContext is ugly but workable. A technically unrelated change snuck into this commit: contextlib.closing now avoids the overhead of creating a generator, since it's trivial to implement that particular context manager directly.
-
Neal Norwitz yazdı
-
Neal Norwitz yazdı
-
Neal Norwitz yazdı
-
Tim Peters yazdı
Edward Loper.
-
Trent Mick yazdı
an installed VC6. Otherwise only the first such tree gets checked and this warning doesn't get displayed.
-
- 24 Nis, 2006 12 kayıt (commit)
-
-
Tim Peters yazdı
-
Phillip J. Eby yazdı
-
Andrew M. Kuchling yazdı
'context specifier' in a few places
-
Thomas Wouters yazdı
-
Nick Coghlan yazdı
-
Nick Coghlan yazdı
-
Nick Coghlan yazdı
Fix broken contextlib test from last checkin (I'd've sworn I tested that before checking it in. . .)
-
Nick Coghlan yazdı
-
Nick Coghlan yazdı
-
Nick Coghlan yazdı
-
Nick Coghlan yazdı
-
Tim Peters yazdı
requiring both expected output and an exception. I'll backport to 2.4 next.
-
- 23 Nis, 2006 18 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
-
Skip Montanaro yazdı
-
Skip Montanaro yazdı
-
Skip Montanaro yazdı
-
Skip Montanaro yazdı
-
Tim Peters yazdı
-
Nick Coghlan yazdı
-
Nick Coghlan yazdı
Take 2 on mentioning the with statement, this time without inadvertently killing the Unicode examples
-
Nick Coghlan yazdı
-
Nick Coghlan yazdı
-
Gerhard Häring yazdı
-
Nick Coghlan yazdı
-
Nick Coghlan yazdı
Add a Context Types section to parallel the Iterator Types section (uses the same terminology as the 2.5a1 implementation)
-
Ronald Oussoren yazdı
This patch checks if poll is broken when the select module is loaded instead of doing so at configure-time. This functionality is only active on Mac OS X.
-
Ronald Oussoren yazdı
This patch causes several symbols in the socket and posix module to be weakly linked on OSX and disables usage of ftime on OSX. These changes make it possible to use a binary build on OSX 10.4 on a 10.3 system.
-
George Yoshida yazdı
-
Greg Ward yazdı
-
- 22 Nis, 2006 2 kayıt (commit)
-
-
Hye-Shik Chang yazdı
anymore.
-
George Yoshida yazdı
- make arbitrary arguments come last
-