Hello,
Today I was trying to use `total_ordering` for the first time. I was
expecting that in order to implement e.g. `x y` it would do `not x y and
not x == y`, assuming that `__lt__` and `__eq__` are defined. But I see it
just does `y x`, which is problematic. For example if you have a
Hello,
I noticed that the `TemporaryDirectory` context manager creates the folder
on `__init__` rather than on `__enter__`, resulting in complexity, bugs, and
hackarounds in `__del__`. I assume there's a good reason for this decision.
What is it?
Thanks,
Ram.
On Sat, Feb 26, 2011 at 4:39 PM, Nick Coghlan ncogh...@gmail.com wrote:
On Sat, Feb 26, 2011 at 10:52 PM, cool-RR cool...@cool-rr.com wrote:
Hello,
I noticed that the `TemporaryDirectory` context manager creates the
folder
on `__init__` rather than on `__enter__`, resulting in complexity
I was happy to see the new `getcallargs` function in the `inspect` module.
But there's one thing I want to do that's related to it, and maybe this was
implemented somewhere or someone can give me some pointers about it.
I want to have a function that takes the results of `getargspec` and
Hello python-dev!
I'm a Python programmer, but this is the first time I'm posting on
python-dev, and I am not familiar at all with how the Python implementation
works -- so this post may be way off.
I've recently released a Python application,
PythonTurtlehttp://pythonturtle.com,
which is
Why do you need to keep the whole Python distribution under version
control? Isn't all you need a script to *generate* the py2exe'd output from
an *installed* Python? This is the approach I take with Movable Python which
does something very similar.
Never mind the source control issue, it's