Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | repair deep-copying (and pickling) of the control flow state in compiled ↵ | Stefan Behnel | 2016-01-16 | 1 | -0/+8 |
| | | | | Cython (extension type instances lost their state) | ||||
* | remove unused imports | Stefan Behnel | 2015-08-18 | 1 | -4/+1 |
| | |||||
* | seems like the explicit deepcopy helpers in the control flow state objects ↵ | Stefan Behnel | 2015-08-18 | 1 | -20/+2 |
| | | | | are no longer needed but crash the compiler due to infinite recursion | ||||
* | fix compiler crash due to infinite recursing while deep copying finally clauses | Stefan Behnel | 2015-08-17 | 1 | -0/+1 |
| | |||||
* | make dict iteration compatible with Py2/Py3 | Stefan Behnel | 2015-07-25 | 1 | -2/+2 |
| | |||||
* | deep-copy finally clauses of try-finally statements earlier to properly ↵ | Stefan Behnel | 2015-07-12 | 1 | -13/+32 |
| | | | | support arbitrary statements in them (genexprs, lambdas, etc.) | ||||
* | implement 'async for' loop statement (PEP 492) | Stefan Behnel | 2015-05-25 | 1 | -0/+6 |
| | |||||
* | constant-fold expressions generated for type inference during control flow ↵ | Stefan Behnel | 2014-11-22 | 1 | -7/+8 |
| | | | | analysis | ||||
* | fix crash with starred assignments where IndexNode generated for type ↵ | Stefan Behnel | 2014-11-08 | 1 | -3/+3 |
| | | | | inference ended up being visited | ||||
* | fix type inference for starred assignments | Stefan Behnel | 2014-11-08 | 1 | -1/+5 |
| | |||||
* | make item types of tuple/array unpacking inferable and institutionalise the ↵ | Stefan Behnel | 2014-11-08 | 1 | -3/+3 |
| | | | | IndexNode creation for the inference | ||||
* | Merge pull request #295 from andreasvc/master | Robert Bradshaw | 2014-10-07 | 1 | -1/+1 |
|\ | | | | | Ignore any unused entry that starts with '_'. | ||||
| * | 'unused' prefix to suppress warnings of unused variables | Andreas van Cranenburgh | 2014-10-07 | 1 | -1/+1 |
| | | | | | | | | | | In addition to '_', also ignore any unused variables whose name start with 'unused', as recommended by http://google-styleguide.googlecode.com/svn/trunk/pyguide.html?showone=Lint#Lint | ||||
| * | Ignore any unused entry that starts with '_'. | Andreas van Cranenburgh | 2014-05-16 | 1 | -1/+1 |
| | | | | | | | | | | | | | | This makes it possible to follow PEP8 which recommends '__', and to name unused entries, e.g.: foo, _bar, _zed = func() | ||||
* | | properly integrate Python class nodes into type inference | Stefan Behnel | 2014-08-17 | 1 | -4/+2 |
| | | |||||
* | | simplify WithTargetAssignmentStatNode and make it more robust against ↵ | Stefan Behnel | 2014-08-11 | 1 | -1/+1 |
| | | | | | | | | replacements of the context manager node; undo node.result() checking as it broke TempNode's disposal code | ||||
* | | use explicit relative imports everywhere and enable absolute imports by default | Stefan Behnel | 2014-06-17 | 1 | -8/+10 |
|/ | |||||
* | CF: reference doesn't mean it's not null | Vitja Makarov | 2014-01-26 | 1 | -6/+8 |
| | |||||
* | CF: Fix try/except, try/finally bug | Vitja Makarov | 2014-01-26 | 1 | -0/+2 |
| | |||||
* | fix some unnecessary Py2-isms in the code base | Stefan Behnel | 2014-01-17 | 1 | -2/+2 |
| | |||||
* | fix control flow analysis for del-ing non-names | Stefan Behnel | 2013-12-31 | 1 | -0/+2 |
| | |||||
* | Don't warn on un-assigned error types. | Robert Bradshaw | 2013-12-18 | 1 | -1/+2 |
| | |||||
* | discard constant True condition in while loops | Stefan Behnel | 2013-12-01 | 1 | -1/+2 |
| | |||||
* | revert incomplete fix for ticket #600: not enough for more complex scoping ↵ | Stefan Behnel | 2013-11-22 | 1 | -11/+3 |
| | | | | and evaluation time issues | ||||
* | fix T600: lookup of iterables in genexpr must use outer scope | Stefan Behnel | 2013-11-17 | 1 | -3/+11 |
| | |||||
* | Don't warn on uninitialized setting of complex.real/imag | Robert Bradshaw | 2013-09-19 | 1 | -0/+1 |
| | |||||
* | Merge pull request #233 from vitek/_type_inference_new | scoder | 2013-08-08 | 1 | -11/+22 |
|\ | | | | | Assignmment based type inference | ||||
| * | Assignmment based type inference | Vitja Makarov | 2013-05-22 | 1 | -11/+22 |
| | | |||||
* | | Fix error_on_uninitialized condition | Vitja Makarov | 2013-06-02 | 1 | -3/+3 |
| | | |||||
* | | Add error_on_uninitialized option and disable it for pyregr testsuite | Vitja Makarov | 2013-05-23 | 1 | -1/+3 |
|/ | |||||
* | refactor comprehensions by removing separate target node (to simplify a ↵ | Stefan Behnel | 2013-03-18 | 1 | -1/+0 |
| | | | | | | | future length-hint optimisation) --HG-- extra : rebase_source : 476b22eeaeaea1ff69ee8069328fb47ffe18ea20 | ||||
* | report unused variables also across closures | Stefan Behnel | 2013-02-14 | 1 | -2/+1 |
| | |||||
* | prevent unused '_' variables from appearing in C code | Stefan Behnel | 2013-02-14 | 1 | -11/+13 |
| | |||||
* | Speccial case the unused '_' in warnings. | Robert Bradshaw | 2013-02-13 | 1 | -1/+2 |
| | |||||
* | clean up and improve static type declarations in FlowControl.py a bit | Stefan Behnel | 2013-02-04 | 1 | -47/+48 |
| | |||||
* | slight code simplification | Stefan Behnel | 2013-02-04 | 1 | -7/+6 |
| | |||||
* | enable control flow analysis for stack allocated structured variables ↵ | Stefan Behnel | 2013-01-27 | 1 | -5/+32 |
| | | | | (struct, union, array, C++ class) | ||||
* | rewrite except-as semantics using try-finally - seems to be the easiest way ↵ | Stefan Behnel | 2013-01-26 | 1 | -2/+0 |
| | | | | to get flow control analysis working for all cases | ||||
* | make except-as delete the target after the except clause | Stefan Behnel | 2013-01-26 | 1 | -0/+2 |
| | |||||
* | avoid old-style classes in flow analysis code | Stefan Behnel | 2012-12-30 | 1 | -2/+2 |
| | |||||
* | fix build by removing unused code | Stefan Behnel | 2012-12-30 | 1 | -4/+2 |
| | |||||
* | improve initialisation analysis for entries from outer closures | Stefan Behnel | 2012-12-30 | 1 | -11/+27 |
| | |||||
* | fix cross-closure analysis for names redefined inside of a closure function | Stefan Behnel | 2012-12-29 | 1 | -0/+2 |
| | |||||
* | reimplement cross-closure type inference using a dedicated LocalEntry class ↵ | Stefan Behnel | 2012-12-26 | 1 | -3/+5 |
| | | | | for entry copies in closures to keep closure knowledge in one place | ||||
* | C++ iterator type inference | Robert Bradshaw | 2012-07-02 | 1 | -4/+2 |
| | |||||
* | Infer variable as pyobject when del-ed, fix #768 | Vitja Makarov | 2012-05-10 | 1 | -0/+13 |
| | |||||
* | mark_forloop_target: backport recent changes to MarkAssignments | Vitja Makarov | 2012-05-08 | 1 | -14/+33 |
| | |||||
* | ControlFlowAnalysis: be comaptible with MarkAssignments | Vitja Makarov | 2012-05-08 | 1 | -12/+69 |
| | |||||
* | ControlFlowState object instead of set() for convinience | Vitja Makarov | 2012-01-12 | 1 | -3/+28 |
| | |||||
* | DefNode: Move assignemnt synthesis to AnaylyseDeclarations | Vitja Makarov | 2012-01-12 | 1 | -6/+0 |
| |