- 21 Mar, 2016 19 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
speed up compilation for functions with large numbers of temps (already shows for a couple of thousand, e.g. for large list literals)
-
- 20 Mar, 2016 12 commits
-
-
Jelle Zijlstra authored
Docstrings don't support f-strings in cpython, so they don't need to here either. The scanner seems to be working. Current status: - All but three of the tests from CPython's test_fstring pass. Two of the remaining ones rely on exec and the third relies on a runtime NameError that occurs at compile time in Cython. These tests still need to be added to the Cython test suite. - I'm not overly convinced that the refcounting is correct in the C code that's currently emitted. - There's some room for optimization, such as removing empty strings from JoinedStrNode, concatenating adjacent raw strings at compile time, and using _PyUnicodeWriter. - Currently the feature is available in both Python 2 and Python 3 mode. It mostly works in Python 2, except for the !a conversion char.
-
Jelle Zijlstra authored
Not sure about the refcounting
-
Jelle Zijlstra authored
-
Jelle Zijlstra authored
Using _PyUnicode_Writer might be faster but seems more complicated to implement.
-
Jelle Zijlstra authored
Still doesn't do concatenation of FormattedValueNodes correctly.
-
Jelle Zijlstra authored
-
Jelle Zijlstra authored
-
Jelle Zijlstra authored
-
Jelle Zijlstra authored
Parses f-strings into ExprNodes, but with no support for compiling them. Some known bugs are marked as TODOs.
-
Robert Bradshaw authored
-
Robert Bradshaw authored
-
Robert Bradshaw authored
-
- 19 Mar, 2016 1 commit
-
-
Stefan Behnel authored
-
- 17 Mar, 2016 5 commits
-
-
Robert Bradshaw authored
-
Robert Bradshaw authored
This partially revert the change introduced in 767fce81. Turns out AttributeNodes always start with type error, which we don't want to propagate in some places.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Robert Bradshaw authored
-
- 11 Mar, 2016 3 commits
-
-
Robert Bradshaw authored
-
Robert Bradshaw authored
-
Robert Bradshaw authored
-