Skip to content

Fix PendingDeprecationWarning on Python 3.5.#202

Merged
andialbrecht merged 1 commit intoandialbrecht:masterfrom
timgraham:generator-stopiteration
Oct 24, 2015
Merged

Fix PendingDeprecationWarning on Python 3.5.#202
andialbrecht merged 1 commit intoandialbrecht:masterfrom
timgraham:generator-stopiteration

Conversation

@timgraham
Copy link
Copy Markdown
Contributor

Avoid "PendingDeprecationWarning: generator
'group_identifier.._consume_cycle' raised StopIteration."

Change in Python: https://www.python.org/dev/peps/pep-0479/

Avoid "PendingDeprecationWarning: generator
'group_identifier.<locals>._consume_cycle' raised StopIteration."
@timgraham
Copy link
Copy Markdown
Contributor Author

(Python 3.2 test failure seems to be already present on master)

@andialbrecht andialbrecht added this to the 0.2.0 milestone Oct 24, 2015
andialbrecht added a commit that referenced this pull request Oct 24, 2015
Fix PendingDeprecationWarning on Python 3.5.
@andialbrecht andialbrecht merged commit 841388f into andialbrecht:master Oct 24, 2015
@andialbrecht
Copy link
Copy Markdown
Owner

Thanks! Yes, the 3.2 build is broken, but due to some issues with a testing library (not sqlparse itself).

@andialbrecht
Copy link
Copy Markdown
Owner

Right change at the right time :)

I'm currently preparing 0.2.0 which will remove compatibility for Python versions < 2.7 and better support for Python 3.x (esp. no 2to3 anymore). Thanks!

@timgraham timgraham deleted the generator-stopiteration branch October 24, 2015 11:40
ovr pushed a commit to cube-js/sqlparse that referenced this pull request Dec 26, 2020
This makes it consistent with other output which also prints keywords capitalized.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants