Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

erezsh
Copy link
Member

@erezsh erezsh commented Feb 26, 2022

"lexer_state" was confusing, as the instance is always LexerThread, whereas lexer_thread.state is a LexerState

LexerThread._Token might be just a temporary solution, but for now it's needed so InteractiveParser knows what Token class to instanciate.

Changing the init/copy is needed for Cython, but is the right thing to do regardless.

@erezsh erezsh merged commit 5772e18 into master Feb 26, 2022
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