﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
28854	Replace type(True) with bool in django/db/backends/sqlite3/schema.py	Дилян Палаузов	nobody	"Why does the code below use type(True) instead of bool?

{{{
diff --git a/django/db/backends/sqlite3/schema.py b/django/db/backends/sqlite3/schema.py
--- a/django/db/backends/sqlite3/schema.py
+++ b/django/db/backends/sqlite3/schema.py
@@ -37,7 +37,7 @@ class DatabaseSchemaEditor(BaseDatabaseSchemaEditor):
         except sqlite3.ProgrammingError:
             pass
         # Manual emulation of SQLite parameter quoting
-        if isinstance(value, type(True)):
+        if isinstance(value, bool):
             return str(int(value))
         if isinstance(value, (Decimal, float, int)):
             return str(value)
}}}"	Cleanup/optimization	closed	Migrations	1.11	Normal	fixed			Ready for checkin	0	0	0	0	0	0
