I believe that there is some answer to any question. It is not the task of the users here to lecture others or criticize them for laziness or stupidity. There is little educational value in sarcasm.

If a question is badly formulated, one can give advice on how to do better.

If important information is missing, one can kindly ask for it.

Someone else being unfriendly or badly mannered is no justification for being so yourself.

Before posting any question about a problem with your code, please read this (twice).

Favorite Answers

1d
comment How to emit optimisation reports using Apple clang 3.5?
Yes, this is indeed an Apple thing. After switching to a release from llvm.org it works as documented.
Nov
21
answered Splitting a conftest.py file into several smaller conftest-like parts
Nov
21
accepted How to emit optimisation reports using Apple clang 3.5?
Nov
21
asked How to emit optimisation reports using Apple clang 3.5?
Nov
20
comment How to handle dependency on scipy in setup.py
@Evert: The link in your second comment essentially solves the problem, and is also more in line with packaging best practices (and official recommendations). If you would formulate that into an answer, I'd give you some rep for it (and it would mark this question as resolved).
Nov
19
comment When to use pip requirements file versus install_requires in setup.py?
This is very nice article explaining the relationship of the two, and also how they integrate.
Nov
19
comment How to handle dependency on scipy in setup.py
Just read your second comment - that would also explain why it works with tox, because it installs it just like that. Great find!
Nov
19
comment How to handle dependency on scipy in setup.py
It doesn't. Apparently the order in which setuptools install dependencies is not specified, so it tries to install SciPy first and fails. Strangely, when I run tests using tox (without the most basic tox.ini), it installs fine.
Nov
19
revised How to handle dependency on scipy in setup.py
typo
Nov
19
asked How to handle dependency on scipy in setup.py
Nov
19
comment Simpler implementation of operator-> for an input iterator
@LightnessRacesinOrbit: Of course, I was lazy here. I've added the definitions required for context.
Nov
19
revised Simpler implementation of operator-> for an input iterator
Added missing code for context
Nov
17
comment Simpler implementation of operator-> for an input iterator
Also, the current implementation works due to the drill-down behaviour of operator-> (I also have tests that confirm this).
Nov
17
comment Simpler implementation of operator-> for an input iterator
The iterator works as an adapter. It exposes the underlying sequence as a sequence of objects of a different type. So I actually do store pointers into the underlying sequence, but I do the conversion on the fly when the iterator is dereferenced.
Nov
17
asked Simpler implementation of operator-> for an input iterator
Nov
14
awarded Notable Question
Nov
11
revised performing set operations on custom classes in python
Added links to documentation
Nov
11
awarded Enlightened
Nov
11
awarded Nice Answer
Nov
9
awarded Curious
1 2 3 4 5