diff options
author | Oscar R <89599049+oscar-LT@users.noreply.github.com> | 2022-06-23 02:20:24 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-22 23:20:24 -0700 |
commit | fb1e9506c14ef32d5bec126dad6fa769c8c054f6 (patch) | |
tree | 07415da3086cd6eccf5ad0b17519ebc4b9eda80e /Lib/test/test_sqlite3/test_dbapi.py | |
parent | 7c439dca13435085efb2fddf9ac75e5305db7ada (diff) | |
download | cpython-fb1e9506c14ef32d5bec126dad6fa769c8c054f6.tar.gz cpython-fb1e9506c14ef32d5bec126dad6fa769c8c054f6.zip |
gh-91456: [Enum] Deprecate default auto() behavior with mixed value types (GH-91457)
When used with plain Enum, auto() returns the last numeric value assigned, skipping any incompatible member values (such as strings); starting in 3.13 the default auto() for plain Enums will require all the values to be of compatible types, and will return a new value that is 1 higher than any existing value.
Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
Diffstat (limited to 'Lib/test/test_sqlite3/test_dbapi.py')
0 files changed, 0 insertions, 0 deletions