We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8f7356 commit a03e7fdCopy full SHA for a03e7fd
CHANGELOG
@@ -10,7 +10,7 @@ Bug Fixes
10
11
* Fix parsing of incomplete AS (issue284, by vmuriart).
12
* Fix parsing of Oracle names containing dollars (issue291).
13
-
+* Fix Python 3.6 compatibility (issue286).
14
15
Internal Changes
16
sqlparse/tokens.py
@@ -19,6 +19,8 @@ def __contains__(self, item):
19
return item is not None and (self is item or item[:len(self)] == self)
20
21
def __getattr__(self, name):
22
+ if name == '__set_name__':
23
+ raise AttributeError
24
new = _TokenType(self + (name,))
25
setattr(self, name, new)
26
new.parent = self
0 commit comments