Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.

Prevent AssertionError parsing __future__ import#154

Merged
Nurdok merged 1 commit intoPyCQA:masterfrom
jayvdb:harden_future_import_parser
Nov 11, 2015
Merged

Prevent AssertionError parsing __future__ import#154
Nurdok merged 1 commit intoPyCQA:masterfrom
jayvdb:harden_future_import_parser

Conversation

@jayvdb
Copy link
Member

@jayvdb jayvdb commented Oct 28, 2015

The future import parser introduced in 0.7.0 would cause
pep257 to crash with an AssertionError for some obscure
valid syntax, and many invalid syntax.

Fixes #153.

The __future__ import parser introduced in 0.7.0 would cause
pep257 to crash with an AssertionError for some obscure
valid syntax, and many invalid syntax.
@Nurdok
Copy link
Member

Nurdok commented Nov 4, 2015

Hey guys, I saw a bunch of PRs were opened. I just wanted to let you know it'll take me a week or two to get around to review them. Don't despair, and thanks for the effort!

Nurdok added a commit that referenced this pull request Nov 11, 2015
Prevent AssertionError parsing __future__ import
@Nurdok Nurdok merged commit d0022d8 into PyCQA:master Nov 11, 2015
@Nurdok
Copy link
Member

Nurdok commented Nov 11, 2015

Thanks for this PR! I'm sorry it took me so long to merge it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants