Up: What's new?
- Python modules pysic and pygreg are now provided to users. Importing
one of them into a Python script launches the SIC (resp. GreG) process and
imports its variables into the Python __main__.
- Sic.localspaces: to prevent overwriting a variable when a deeper-level
one is created in SIC with the same name, a saving and unsaving automatic
mechanism of the SicVar and SicStructure instances into a 10-dimensional array (one
per level) is now available. To achieve this, the SicVar and SicStructure instances
now have a __siclevel__ attribute.
- Sic.warnings logical flag activates/deactivates PygildasWarning's.
- Improvement of the Numeric 24.2 retrocompatibility.
- Enforced variable write-protection (if any) by setting the `writeable' flag of
the numpy.ndarray's. For compatibility with Numeric, read-and-write or read-only status in
SIC is still checked each time array elements are attempted to be modified.
- define() command can now be passed a second optional boolean argument
which describes if the variable will be global or not. By default it is not,
e.g. it is local to the current execution level.
- Images are now automatically imported into Python at creation time. The
get() command is now also able to import images, thus the
getimage() command is not available anymore for users.
- pexecfile() function is provided to user. It does the same as the execfile() Python function (execute a Python script in current name space),
but also prints the commands during execution.
- SICPYTHON PythonCommandLine and SICPYTHON
PythonProcedureName.py functionalities now print or not the command lines
depending on the SIC%VERIFY flag value.
- SICPYTHON PythonProcedureName.py functionality now allows
to be passed arguments. They can be retrieved in the 'sys.argv' list
from Python. Arguments are parsed by SIC before calling the script. SIC now
also searches in the MACRO#DIR: directories to find the Python script.
Logical names are parsed if any.
- Exit behavior is now the same whatever is the master process. To quit both
SIC and Python, use CTRL-D (or exit()) from Python, or EXIT from SIC. As a consequence, use PYTHON (from SIC) and Sic() (from
Python) to switch to the other command-line interpreter.
- 64 bits support.
Up: What's new?