a9ddf1a13a
- update to 1.0.8: * fix bug (#146) so that return from a Procedure does not interrupt the calling code block * remove numpy.memmap from default methods * add discussion of numpy functions/objects that can open files * add support and tests for lambda expressions * add default permissions to github actions * update README, doc, remove cruft
Dirk Mueller2026-01-22 08:38:06 +00:00
eaba40b367
Accepting request 1317640 from devel:languages:python
Ana Guerrero2025-11-14 15:13:53 +00:00
acd9a332de
- Update to 1.0.7 * return in while, for, and with blocks in functions properly signal an immediate exit of the function. (fixes#141) * fix augassign to retain line numbers for exceptions properly. (#140) * make sure that "unsafe_modules" should not be accessed even if imported and exposed by other modules * cleanup unused nodes * tweaks and fixes to docs * drop testing with Python 3.9 * add testing for Python 3.14 * update pyproject.toml from the endless churn from PyPA, to move the location and formatting for the LICENSE, to continue compliance with the endless churn from PyPA.
Nico Krapp2025-11-13 16:40:19 +00:00
4b2e4ee1fc
Accepting request 1240582 from devel:languages:python
Ana Guerrero2025-01-27 19:57:33 +00:00
33e4c4251c
Add information about the fixed CVE.
Matej Cepl2025-01-27 15:21:08 +00:00
832698586f
- Update to 1.0.6 * drop testing and support for Python3.8, add Python 3.13, change document to reflect this. * implement safe_getattr and safe_format functions; fix bugs in UNSAFE_ATTRS and UNSAFE_ATTRS_DTYPES usage * make all procedure attributes private to curb access to AST nodes, which can be exploited * improvements to error messages, including use ast functions to construct better error messages * remove import of numpy.linalg, as documented * update doc description for security advisory
Matej Cepl2025-01-27 13:48:13 +00:00
9ca8bb4fa2
Accepting request 1206742 from devel:languages:python
Ana Guerrero2024-10-10 20:15:05 +00:00
3ec67762c1
- update to 1.0.5: * more work on handling errors, including fixing #133 and adding more comprehensive tests for #129 and #132 - update to 1.0.4: * fix error handling that might result in null exception - update to 1.0.3: * functions ("Procedures") defined within asteval have a _signature() method, now use in repr * add support for deleting subscript * nested symbol tables now have a Group() function * update coverage config * cleanups of exception handling : errors must now have an exception * several related fixes to suppress repeated exceptions: see GH #132 and #129 * make non-boolean return values from comparison operators behave like Python - not immediately testing as bool
Dirk Mueller2024-10-10 15:41:57 +00:00
adc44f1d33
- update to 1.0.2: * fix NameError handling in expression code * make exception messages more Python-like - update to 1.0.1: * security fixes, based on audit by Andrew Effenhauser, Ayman Hammad, and Daniel Crowley, IBM X-Force Security Research division * remove numpy modules polynomial, fft, linalg by default for security concerns * disallow string.format(), improve security of f-string evaluation
Dirk Mueller2024-08-09 06:58:52 +00:00
61a3df37f9
Accepting request 1184940 from devel:languages:python
Ana Guerrero2024-07-03 18:30:41 +00:00
e42c7d42f7
- update to 1.0.0: * fix (again) nested list comprehension (Issues #127 and #126). * add more testing of multiple list comprehensions. * more complete support for Numpy 2, and removal of many Numpy symbols that have been long deprecated. * remove AST nodes deprecated in Python 3.8. * clean up build files and outdated tests. * fixes to codecov configuration. * update docs.
Dirk Mueller2024-07-02 20:14:36 +00:00
4f1aaadfc1
Accepting request 1180154 from devel:languages:python
Ana Guerrero2024-06-12 13:39:03 +00:00
a2ff623c82
- update to 0.9.33: * fixes for multiple list comprehensions (addressing #126) * add testing with optionally installed numpy_financial to CI * test existence of all numpy imports to better safeguard against missing functions (for safer numpy 2 transition) * update rendered doc to include PDF and zipped HTML
Dirk Mueller2024-06-12 09:58:41 +00:00
3a670e7dab
Accepting request 1160806 from devel:languages:python
Ana Guerrero2024-03-25 20:07:49 +00:00
c74f60ee20
- update to 0.9.32: * add deprecations message for numpy functions to be removed in numpy 2.0 * comparison operations use try/except for short-circuiting instead of checking for numpy arrays (addressing #123) * add Python 3.12 to testing * move repository from "newville" to "lmfit" organization * update doc theme, GitHub locations pointed to by docs, other doc tweaks. - Update to 0.9.28 - update to 0.9.27:
Dirk Mueller2024-03-22 19:39:45 +00:00
953ddcfa51
Accepting request 1099490 from devel:languages:python
Ana Guerrero2023-07-19 17:11:37 +00:00
4b7bd7ad88
Accepting request 1099323 from home:ateixeira:branches:devel:languages:python
Dirk Mueller2023-07-19 11:13:04 +00:00
80321716fb
- update to 0.9.25: * fixes import errors for Py3.6 and 3.7, setting version with importlib_metadata.version if available. * use setuptools_scm and importlib for version * treat all __dunder__ attributes of all objects as inherently unsafe.
Dirk Mueller2022-01-15 16:48:36 +00:00