]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
remove util.portable_instancemethod
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 10 Jun 2025 18:51:57 +0000 (14:51 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 11 Jun 2025 18:29:53 +0000 (14:29 -0400)
commit8f6a33dc5078249bf92e13c8032e50175cb53801
tree41c4197c09584c395e2fadf2779368dd362cdec5
parente8f92152461d50f47b90601cbbdce5f87a9f65d1
remove util.portable_instancemethod

python seems to be able to pickle instance methods since
version 3.4.    Doing a bisect shows it's
https://github.com/python/cpython/commit/c9dc4a2a8a6dcfe1674685bea4a4af935c0e37ca
where pickle protocol 4 was added, however we can see that protocols 0
through 4 also support pickling of methods.   None of this documented.

Change-Id: I9e73a35e9ab2ffd2050daf819265fc6b4ddb9019
lib/sqlalchemy/sql/ddl.py
lib/sqlalchemy/sql/sqltypes.py
lib/sqlalchemy/util/__init__.py
lib/sqlalchemy/util/langhelpers.py