We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f1fd73 commit 355520dCopy full SHA for 355520d
MySQLdb/connections.py
@@ -195,13 +195,6 @@ class object, used to create cursors (keyword only)
195
self.cursorclass = cursorclass
196
self.encoders = {k: v for k, v in conv.items() if type(k) is not int}
197
198
- # XXX THIS IS GARBAGE: While this is just a garbage and undocumented,
199
- # Django 1.11 depends on it. And they don't fix it because
200
- # they are in security-only fix mode.
201
- # So keep this garbage for now. This will be removed in 1.5.
202
- # See PyMySQL/mysqlclient-python#306
203
- self.encoders[bytes] = bytes
204
-
205
self._server_version = tuple(
206
[numeric_part(n) for n in self.get_server_info().split(".")[:2]]
207
)
0 commit comments