Message118190
> @Antoine: it is true that a null context manager can be easily
> defined, but it does requires a separate generator definition, often
> repeated in different modules. This is markedly less elegant than
> just using contextlib.null() in an expression.
But you can use mymodule.null() where mymodule is a module gathering
common constructs of yours. |
|
Date |
User |
Action |
Args |
2010-10-08 11:54:20 | pitrou | set | recipients:
+ pitrou, ncoghlan, vstinner, hniksic, eric.araujo, michael.foord |
2010-10-08 11:54:18 | pitrou | link | issue10049 messages |
2010-10-08 11:54:18 | pitrou | create | |
|