- 03 Feb, 2019 10 commits
-
-
Stefan Behnel authored
Tighten grammar to disallow a mix of Py2 style octal literals with Py3 style underscores: "07" is still allowed, "0_7" is not and must be spelled "0o_7" and the like. Basically, you get either Py2 style legacy octals or Py3 style underscore literals, but you have to decide what you want.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Only inject eval() locals/globals args when it's called as a builtin and not redefined e.g. in the module (found when updating test_grammar() and overriding it there).
-
Stefan Behnel authored
-
Stefan Behnel authored
When detecting an invalid system configuration for overflow checks, at least print a warning, instead of leaving a dangling live exception behind.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Orivej Desh authored
The current code fails to compile with: <source>:3:54: error: invalid operands to binary expression ('enum E' and 'enum E') const enum E neg_one_class_29 = (enum E) ((enum E) 0 - (enum E) 1); ~~~~~~~~~~ ^ ~~~~~~~~~~ This change reverts to the code that was before #2186 but silences erroneous GCC warning enabled by -Wconversion (which is not a part of -Wall). Fixes #2749
-
Robert Bradshaw authored
This fixes Github issue #2819.
-
- 02 Feb, 2019 16 commits
-
-
Robert Bradshaw authored
Fix support for C++ enum classes
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Christoph Gohlke authored
warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data
-
Stefan Behnel authored
Fix msvc compiler warning C4244
-
cgohlke authored
Pointer buf cannot be NULL
-
cgohlke authored
-
cgohlke authored
-
Christoph Gohlke authored
warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Clean up insertion points after use in prange code since they conflict with the deep-copying that with-statements use for their finally-clause. Closes GH-2780.
-
- 01 Feb, 2019 7 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
Avoid useless "div by zero" checks in optimised constant division code. Also avoid using a (named) C macro where code generation will do. See GH-2820.
-
Stefan Behnel authored
-
Stefan Behnel authored
Fix exception messages for float division by zero, as well as their tests (which were wrong in Py2.6).
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Closes #2820.
-
- 29 Jan, 2019 3 commits
-
-
Stefan Behnel authored
Remove superfluous code
-
Stefan Behnel authored
Simplify logical expression
-
Robert Bradshaw authored
Fix casting ssize_t to unsigned
-
- 27 Jan, 2019 1 commit
-
-
Stefan Behnel authored
See #2818.
-
- 26 Jan, 2019 3 commits