Andrew Murray
|
adb6918214
|
Use isinstance to detect Image instances
|
2024-09-10 16:20:58 +10:00 |
|
Andrew Murray
|
7248cde50b
|
Documented keyword arguments
|
2024-07-18 11:00:27 +10:00 |
|
Andrew Murray
|
10faa5df39
|
Deprecate lambda_eval and unsafe_eval options argument
|
2024-07-17 22:08:53 +10:00 |
|
mrKazzila
|
74063feadc
|
chore: add f-string formatting
|
2024-05-04 19:21:49 +03:00 |
|
Hugo van Kemenade
|
f5eeeacf75
|
Name as 'options' in lambda_eval and unsafe_eval, but '_dict' in deprecated eval
|
2024-04-01 09:35:49 +03:00 |
|
pre-commit-ci[bot]
|
8f3860c29b
|
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
|
2024-04-01 06:17:03 +00:00 |
|
Andrew Murray
|
a7e82cbe9a
|
Removed "In the current version"
|
2024-04-01 09:12:04 +03:00 |
|
Andrew Murray
|
27b10c4bd8
|
Deprecate eval(), replacing it with lambda_eval() and unsafe_eval()
|
2024-04-01 09:11:59 +03:00 |
|
Andrew Murray
|
e2aa0fd499
|
Changed ops to be static
|
2024-01-16 12:55:48 +11:00 |
|
Andrew Murray
|
993bc6c202
|
Added type hint
|
2024-01-10 23:41:09 +11:00 |
|
Andrew Murray
|
659098c6ac
|
Added type hints
|
2024-01-10 22:05:26 +11:00 |
|
Andrew Murray
|
557ba59d13
|
Include further builtins
|
2023-12-30 09:30:12 +11:00 |
|
Andrew Murray
|
0ca3c33c59
|
Allow ops
|
2023-12-30 09:29:40 +11:00 |
|
Eric Soroos
|
45c726fd4d
|
Don't allow __ or builtins in env dictionarys for ImageMath.eval
|
2023-12-30 09:28:32 +11:00 |
|
Hugo van Kemenade
|
43b2f61e79
|
Add 'from __future__ import annotations' using Ruff/isort
|
2023-12-21 13:13:31 +02:00 |
|
Hugo van Kemenade
|
368c05c9dc
|
Inline isinstance check
|
2023-12-18 18:11:29 +02:00 |
|
Andrew Murray
|
3652f431c2
|
Simplified code
|
2023-10-28 14:22:39 +11:00 |
|
Andrew Murray
|
15930be644
|
Use "is" when comparing types
|
2023-08-08 08:44:03 +10:00 |
|
Hugo van Kemenade
|
2ae55ccbda
|
Improve exception traceback readability
|
2022-12-30 00:07:52 +02:00 |
|
Andrew Murray
|
dd46100bdc
|
Restrict builtins within lambdas for ImageMath.eval
|
2022-02-03 08:42:53 +11:00 |
|
Andrew Murray
|
01e7b3943d
|
Simplified code
|
2022-01-11 13:50:57 +11:00 |
|
Andrew Murray
|
9c6df29b4d
|
Removed unreachable error
|
2022-01-11 13:50:57 +11:00 |
|
Andrew Murray
|
90f3f72e19
|
Removed unused constant
|
2022-01-11 13:30:51 +11:00 |
|
Andrew Murray
|
8531b01d6c
|
Restrict builtins for ImageMath.eval
|
2022-01-02 17:23:49 +11:00 |
|
Hugo van Kemenade
|
10615a7da7
|
Upgrade Python syntax for 3.6+
Co-authored-by: nulano <nulano@nulano.eu>
|
2020-07-30 10:09:18 +03:00 |
|
Ram Rachum
|
2f0d430807
|
Fix exception causes all over the codebase
|
2020-06-21 13:21:25 +03:00 |
|
Hugo
|
538d9e2e5d
|
Upgrade Python syntax with pyupgrade --py3-plus
|
2019-10-07 14:30:59 +03:00 |
|
Hugo
|
af770a6c55
|
Drop support for EOL Python 2.7
|
2019-10-07 14:30:59 +03:00 |
|
Hugo
|
53a7e35004
|
Format with Black
|
2019-06-10 18:22:46 +03:00 |
|
Jon Dufresne
|
9296e4f3a2
|
Merge multiple isinstance() calls to one
|
2019-03-02 08:24:08 -08:00 |
|
Andrew Murray
|
b4e6cdadac
|
Added py3 variable to _util
|
2018-04-20 09:19:13 +10:00 |
|
Andrew Murray
|
2202196162
|
Flake8 blank line fixes
|
2018-03-04 21:36:33 +11:00 |
|
wiredfool
|
0bb3f4fee9
|
source layout reorg
|
2017-12-28 14:49:47 +00:00 |
|