summaryrefslogtreecommitdiff
path: root/Cython/Compiler
Commit message (Collapse)AuthorAgeFilesLines
* Allow conversion of std::complex to/from Python objects.Robert Bradshaw2016-07-151-0/+1
|
* Cleanup C++ buffer type name mangling.Robert Bradshaw2016-07-151-5/+2
|
* Mangle C++ namespaced typesIvan Smirnov2016-07-151-0/+1
|
* Work around missing Cygwin truncl.Robert Bradshaw2016-07-151-1/+6
|
* add "__module__" attribute to coroutines and generatorsStefan Behnel2016-07-151-2/+3
|
* Fix timestamps option to work when generating a C++ output file and whenIan Henriksen2016-07-151-15/+21
| | | | writing output file to a specified location.
* follow PEP492 change in Py3.5.2 that makes __aiter__() a simple function ↵Stefan Behnel2016-07-152-3/+10
| | | | | | instead of an async function See https://bugs.python.org/issue27243
* Work around MCVS else if stacking limit.Robert Bradshaw2016-04-181-0/+6
|
* Ignore optional type parameters when comparing cpp classes.Robert Bradshaw2016-04-141-0/+2
| | | | This posed an issue when the type parameter was a typedef.
* minor code cleanupStefan Behnel2016-03-281-8/+17
|
* produce lots of code churn to clean up pylint warnings (almost exclusively ↵Stefan Behnel2016-03-281-202/+187
| | | | whitespace)
* minor code cleanupStefan Behnel2016-03-281-2/+2
|
* produce lots of code churn to clean up pylint warnings (almost exclusively ↵Stefan Behnel2016-03-281-457/+406
| | | | whitespace)
* undo import reordering to keep declarations before assignmentsStefan Behnel2016-03-281-3/+3
|
* whitespaceStefan Behnel2016-03-281-2/+1
|
* fix some pylint findingsStefan Behnel2016-03-281-21/+18
|
* minor code cleanupStefan Behnel2016-03-281-3/+3
|
* fix bug where multiple utility code dependencies could be ignored due to ↵Stefan Behnel2016-03-281-19/+15
| | | | loop variable reassignment (only last one wins)
* fix some pylint findingsStefan Behnel2016-03-281-8/+5
|
* fix some pylint findingsStefan Behnel2016-03-281-9/+8
|
* use tuple instead of list for f-string joining because it is faster to ↵Stefan Behnel2016-03-281-2/+2
| | | | allocate - speedup can be up to 20%
* we actually know that FormattedValueNode always returns a Unicode string and ↵Stefan Behnel2016-03-271-3/+4
| | | | no other object type => set node type accordingly
* optimise string concatenation for 2-item f-stringsStefan Behnel2016-03-271-7/+17
|
* use string concatenation instead of string joining for 2-item f-stringsStefan Behnel2016-03-271-0/+3
|
* Fix profiling through cpdef methods.Robert Bradshaw2016-03-251-3/+10
| | | | | The cPython profiler would get confused when the wrapper and underlying cdef function shared a name.
* disable a restriction in the f-string format parser that seems arbitrary and ↵Stefan Behnel2016-03-251-2/+0
| | | | difficult to implement
* Merge pull request #499 from cython/pep515_underscores_in_numbersRobert Bradshaw2016-03-244-9/+148
|\ | | | | Implement PEP 515: allow underscores in number literals
| * fix missing attribute error in compiled Cython installationStefan Behnel2016-03-201-0/+1
| |
| * extend testStefan Behnel2016-03-191-0/+8
| |
| * extend testStefan Behnel2016-03-191-0/+4
| |
| * tighten PEP 515 test to make sure the underscore literals have the correct ↵Stefan Behnel2016-03-191-3/+18
| | | | | | | | node type
| * adapt to stricter version of the CPython implementation (that follows the ↵Stefan Behnel2016-03-192-55/+46
| | | | | | | | actual PEP)
| * extend tests to include an ambiguity in Python 3.x grammar: "e" for exponent ↵Stefan Behnel2016-03-191-0/+23
| | | | | | | | or start of "else"
| * Implement PEP 515: allow underscores in number literalsStefan Behnel2016-03-193-11/+108
| | | | | | | | | | | | | | | | https://www.python.org/dev/peps/pep-0515/ https://bugs.python.org/issue26331 Practically accepted as of 2016-03-19: http://thread.gmane.org/gmane.comp.python.devel/156533/focus=156734
* | F strings (PEP 498)Robert Bradshaw2016-03-247-39/+380
|\ \
| * | unpack FormattedValueNode with constant string value at compile time ↵Stefan Behnel2016-03-231-0/+2
| | | | | | | | | | | | (unlikely case but trivial to do...)
| * | use standard node dispatch mechanism instead of explicit type tests in transformStefan Behnel2016-03-231-6/+7
| | |
| * | set FormattedValueNode.format_spec field to None for empty format specs to ↵Stefan Behnel2016-03-233-11/+22
| | | | | | | | | | | | simplify later "empty" tests
| * | speed up character switching in f-string parser a littleStefan Behnel2016-03-232-9/+11
| | |
| * | simplify some error handling code in f-string parserStefan Behnel2016-03-231-11/+4
| | |
| * | simplify code generated for f-string formatting using simple utility functionsStefan Behnel2016-03-221-25/+13
| | |
| * | move JoinedStrNode cleanup into ConstantFolding transform as that's ↵Stefan Behnel2016-03-222-30/+30
| | | | | | | | | | | | essentially what it does
| * | reject f-strings for parsed cnamesStefan Behnel2016-03-221-9/+11
| | |
| * | join UnicodeNode sequences in JoinedStrNode at compile timeStefan Behnel2016-03-221-8/+17
| | |
| * | whitespaceStefan Behnel2016-03-221-2/+5
| | |
| * | special-case the substring list processing in JoinedStrNode again to reduce ↵Stefan Behnel2016-03-222-10/+32
| | | | | | | | | | | | the number of temp vars used
| * | de-optimise f-string parsing a little to fix compiled CythonStefan Behnel2016-03-211-2/+2
| | |
| * | avoid formatting call overhead for simple Unicode value caseStefan Behnel2016-03-211-1/+8
| | |
| * | remove need for redundant class variableStefan Behnel2016-03-212-2/+1
| | |
| * | reduce code overhead for common f-string formatting case without format ↵Stefan Behnel2016-03-211-30/+25
| | | | | | | | | | | | specifier