Skip to content

Move [de]serialize() methods to SymbolNode. - #1798

Merged
gvanrossum merged 1 commit into
masterfrom
move_serialization
Jul 4, 2016
Merged

gvanrossum merged 1 commit into
masterfrom
move_serialization

Conversation

@gvanrossum

Copy link
Copy Markdown
Member

Reid's recent #1785 inspired me to move the (near) abstract base methods [de]serialize() from Node to SymbolNode, with no ill effect. I think the key was changing the type of RefExpr.node from Node to SymbolNode -- running mypy on itself suggested that this is how it's used, except for one cast that now disappeared!

@gvanrossum
gvanrossum merged commit b6ec28b into master Jul 4, 2016
@gvanrossum
gvanrossum deleted the move_serialization branch July 4, 2016 04:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant