Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PropagatePositions: Allow any object to carry the metadata, by returning it in __lark_meta__() #1203

Merged
merged 1 commit into from
Oct 27, 2022

Conversation

erezsh
Copy link
Member

@erezsh erezsh commented Oct 25, 2022

No description provided.

@MegaIng
Copy link
Member

MegaIng commented Oct 25, 2022

Didn't we recently talk about not inventing __dunder__ methods? I think we decided to avoid that.

@erezsh
Copy link
Member Author

erezsh commented Oct 25, 2022

I have no recollection. Link?

Also, it's just for PropagatePositions in Lark-cython, most users don't have to worry about it.

@MegaIng
Copy link
Member

MegaIng commented Oct 25, 2022

Hmm, I can't find it. I am personally not that invested, I think someone else argued to follow the python spec, but I also think it's not that important.

@erezsh erezsh merged commit f345d84 into master Oct 27, 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.

None yet

2 participants