• Xavier Thompson's avatar
    Introduce the 'consume' keyword · 80ab2867
    Xavier Thompson authored
    This is different from 'recover' (which was previously named 'consume'):
    
    ```
      (1)	consume <name | attr> [ with <expr> ]
    ```
    
    - The operand can either be a *name* an *attribute*.
    
    - if the operand is a cypclass or a pointer the value NULL
      is assigned to it; else the operand keeps its old value.
    
    - The resulting value of 'consume' is the old value of the operand.
    
    - The resulting type is the type of the operand seen as an rvalue,
      i.e. the same type except for 'iso' which is seen as 'iso~'.
    80ab2867
Name
Last commit
Last update
.github Loading commit data...
Cython Loading commit data...
Demos Loading commit data...
Doc/s5 Loading commit data...
Tools Loading commit data...
appveyor Loading commit data...
bin Loading commit data...
docs Loading commit data...
nogil_test Loading commit data...
pyximport Loading commit data...
tests Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
BUILD.bazel Loading commit data...
CHANGES.rst Loading commit data...
COPYING.txt Loading commit data...
INSTALL.txt Loading commit data...
LICENSE.txt Loading commit data...
MANIFEST.in Loading commit data...
Makefile Loading commit data...
README.rst Loading commit data...
ToDo.txt Loading commit data...
USAGE.txt Loading commit data...
appveyor.yml Loading commit data...
cygdb.py Loading commit data...
cython.py Loading commit data...
cythonize.py Loading commit data...
git Loading commit data...
pylintrc Loading commit data...
runtests.py Loading commit data...
setup.cfg Loading commit data...
setup.py Loading commit data...
setupegg.py Loading commit data...
test-requirements-cpython.txt Loading commit data...
test-requirements.txt Loading commit data...
tox.ini Loading commit data...