- 14 Oct, 2017 4 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
Closes #1930.
-
Stefan Behnel authored
-
Stefan Behnel authored
Simplify preprocessor code that avoids the "fallthrough" C compiler warnings, assuming that "__has_attribute()" is widely supported these days. At least GCC 5.x and clang seem to have it. Closes #1930.
-
- 13 Oct, 2017 22 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
Closes #1930.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Hugo authored
-
MichaelWS authored
-
Michael Schatzow authored
-
Michael V. DePalatis authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Fix the first argument special method signatures of "__eq__", "__lt__" and the other richcmp methods to be of "self" type, in accordance with to the CPython specs. See https://docs.python.org/3/reference/datamodel.html#emulating-container-types Closes #1935.
-
Stefan Behnel authored
-
scoder authored
BF: closes 1484 for unordered map
-
MichaelWS authored
-
Michael Schatzow authored
-
scoder authored
Include changelog in Sphinx documentation
-
Michael V. DePalatis authored
-
Robert Bradshaw authored
-
Robert Bradshaw authored
Add python_requires to setup.py
-
Robert Bradshaw authored
See #1874.
-
Robert Bradshaw authored
Update Python version classifiers
-
- 12 Oct, 2017 2 commits
-
-
Hugo authored
-
James Tocknell authored
-
- 10 Oct, 2017 6 commits
-
-
Stefan Behnel authored
Avoid useless None check when testing non-None containers for emptiness, e.g. for the result of a comprehension.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Remove overambitious constant folding of comprehensions when they occur in a boolean context. Never assume that they are empty, since the iteration might already have required side-effects. Closes #1920.
-
- 08 Oct, 2017 6 commits
-
-
Stefan Behnel authored
Speed up some dict lookups in Py3.5+ by calling the faster "_PyDict_GetItem_KnownHash()" instead of "PyDict_GetItem()".
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Discard loop variable resetting in ForFromStatNode for Python loop variables also after the range() optimisation (was previously implied).
-
Stefan Behnel authored
Add a warning about range(enum) iteration since it's really not a good idea usually, so requiring an explicit cast to say "I know what I'm doing" seems best.
-