- 07 Nov, 2017 1 commit
-
-
Robert Bradshaw authored
-
- 12 Oct, 2017 7 commits
-
-
Robert Bradshaw authored
-
Robert Bradshaw authored
-
Robert Bradshaw authored
-
Robert Bradshaw authored
-
Robert Bradshaw authored
-
Robert Bradshaw authored
-
Robert Bradshaw 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 8 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.
-
Stefan Behnel authored
Enable for-in-range() optimisation also for small integer loops with a Python loop variable. We cannot always infer the loop variable as safe integer type, but dropping the loop itself into C is always faster than calling range().
-
Stefan Behnel authored
-
- 07 Oct, 2017 4 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Closes #1916.
-
- 06 Oct, 2017 2 commits
-
-
Robert Bradshaw authored
Add some missing signal declarations such as SIGPWR
-
Jeroen Demeyer authored
-
- 03 Oct, 2017 12 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Considered to make it a warning, but CPython's forgiving behaviour seems unhelpful. Can still make it a warning later. Closed #1905.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Fix compiler crash when analysing a complex name as a type using sizeof(X) translation. Requires type analysis before the "arg_type" is set. Closes #1908.
-
Stefan Behnel authored
-
Stefan Behnel authored
-