Skip to content

Conversation

@JukkaL
Copy link
Collaborator

@JukkaL JukkaL commented Mar 1, 2018

This fixes crashes and at least one edge case. Not sure if
all the patch callbacks are necessary when propagating
fine-grained dependencies, but it seems safer to invoke
them all.

Fixes #4657.

JukkaL added 2 commits March 1, 2018 15:13
This fixes crashes and other issues.

Fixes #4657.
Not sure if this actually affects anything right now though.
@JukkaL JukkaL changed the title Fine-grained: apply semantic analyzer patch callbacks Fine-grained: Apply semantic analyzer patch callbacks Mar 1, 2018
Copy link
Collaborator

@msullivan msullivan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@JukkaL JukkaL merged commit 2833062 into master Mar 2, 2018
@gvanrossum gvanrossum deleted the fg-patches branch March 2, 2018 21:11
carljm added a commit to carljm/mypy that referenced this pull request Mar 6, 2018
* master:
  New files shouldn't trigger a coarse-grained rebuild in fg cache mode (python#4669)
  Bump version to 0.580-dev
  Update revision history for 0.570 (python#4662)
  Fine-grained: Fix crashes when refreshing synthetic types (python#4667)
  Fine-grained: Support NewType and reset subtype caches (python#4656)
  Fine-grained: Detect changes in additional TypeInfo attributes (python#4659)
  Fine-grained: Apply semantic analyzer patch callbacks (python#4658)
  Optimize fine-grained update by using Graph as the cache (python#4622)
  Cleanup check_reverse_op_method (python#4017)
  Fine-grained: Fix AST merge issues (python#4652)
  Optionally check that we don't have duplicate nodes after AST merge (python#4647)
yedpodtrzitko pushed a commit to kiwicom/mypy that referenced this pull request Mar 15, 2018
This fixes crashes and at least one edge case. Not sure if
all the patch callbacks are necessary when propagating
fine-grained dependencies, but it seems safer to invoke
them all.

Fixes python#4657.
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.

Fine-grained: named tuple definition with a function crashes

3 participants