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