FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[Original HTTPS Page]
The mother of all pull requests: add --incremental by gvanrossum · Pull Request #1292 · python/mypy · GitHub
python
mypy
Repository navigation
Code
Issues
2.7k
(2.7k)
Pull requests
527
(527)
Actions
Projects
Wiki
Security and quality
Insights
The mother of all pull requests: add --incremental
- #1292
#1292
Merged
gvanrossum
merged 125 commits into
python:master
python/mypy:master
from
gvanrossum:incremental
Copy head branch name to clipboard
Apr 8, 2016
Conversation
Commits
125
(125)
Checks
Files changed
Merged
The mother of all pull requests: add --incremental
#1292
gvanrossum
merged 125 commits into
python:master
python/mypy:master
from
gvanrossum:incremental
Copy head branch name to clipboard
Commits
Commits on Mar 13, 2016
Dump/load infrastructure set up (data [de]serialization is bogus).
Guido van Rossum
committed
3055df2
View commit details
Copy full SHA for 3055df2
Browse repository at this point
Major redo; dependency processing now uses build manager states.
Guido van Rossum
committed
466eb79
View commit details
Copy full SHA for 466eb79
Browse repository at this point
Start on serialization.
Guido van Rossum
committed
895fe54
View commit details
Copy full SHA for 895fe54
Browse repository at this point
Totally different approach to serialization.
Guido van Rossum
committed
9ab4020
View commit details
Copy full SHA for 9ab4020
Browse repository at this point
Improved log()/trace() API. Improved handling cached dependencies.
Guido van Rossum
committed
68b4326
View commit details
Copy full SHA for 68b4326
Browse repository at this point
Serialize more types. We can now serialize (but not yet deserialize!) every type occurring in mypy.
Guido van Rossum
committed
0f8dcdc
View commit details
Copy full SHA for 0f8dcdc
Browse repository at this point
Start fixing up nodes after deserialization().
Guido van Rossum
committed
44b2828
View commit details
Copy full SHA for 44b2828
Browse repository at this point
Another big step towards correct [de]serialization. Added fairly thorough check on what we wrote.
Guido van Rossum
committed
f232056
View commit details
Copy full SHA for f232056
Browse repository at this point
Progress towards fixing up more cross references. But also more debugging.
Guido van Rossum
committed
d2491cd
View commit details
Copy full SHA for d2491cd
Browse repository at this point
Do not serialize mro -- recompute it.
Guido van Rossum
committed
6dc9ba7
View commit details
Copy full SHA for 6dc9ba7
Browse repository at this point
Instance.serialize() always writes the TypeInfo's fullname. Different tack for fixup.
Guido van Rossum
committed
f5aabc2
View commit details
Copy full SHA for f5aabc2
Browse repository at this point
Fixing the fixup code. Too much debugging prints though.
Guido van Rossum
committed
bf291ab
View commit details
Copy full SHA for bf291ab
Browse repository at this point
Less debug output. The type fixer should now be (mostly) complete.
Guido van Rossum
committed
a182fd7
View commit details
Copy full SHA for a182fd7
Browse repository at this point
Lots more debugging around MRO calculation. Fixed a bug in serialization of OverloadedFuncDef (type was missing).
Guido van Rossum
committed
e6d7f5c
View commit details
Copy full SHA for e6d7f5c
Browse repository at this point
Fix a tricky issue where MRO linearization failed for the builtins/typing/abc cluster.
Guido van Rossum
committed
7f2e698
View commit details
Copy full SHA for 7f2e698
Browse repository at this point
Improved (de)serialization of TypeInfo. Multi-pass fixup algorithm.
Guido van Rossum
committed
90338c5
View commit details
Copy full SHA for 90338c5
Browse repository at this point
Remove redundant final_passes(); it was a no-op.
Guido van Rossum
committed
c48ed17
View commit details
Copy full SHA for c48ed17
Browse repository at this point
Refactor build states, on our way to cycle resilience.
Guido van Rossum
committed
2fcc2e0
View commit details
Copy full SHA for 2fcc2e0
Browse repository at this point
Various small cleanups.
Guido van Rossum
committed
7a83a16
View commit details
Copy full SHA for 7a83a16
Browse repository at this point
Rewrite fixit.lookup_qualified(). Rewrite is_ready() for cache states to use transitive closure.
Guido van Rossum
committed
924b08f
View commit details
Copy full SHA for 924b08f
Browse repository at this point
Be less shy about the type of variables and bound_vars -- they are always lists.
Guido van Rossum
committed
e7d5772
View commit details
Copy full SHA for e7d5772
Browse repository at this point
Serialize decorators (at least simple ones). Explicitly ignore UNBOUND_IMPORTED.
Guido van Rossum
committed
2d1c366
View commit details
Copy full SHA for 2d1c366
Browse repository at this point
Fix up ct.bound_vars. Missing arg types are okay.
Guido van Rossum
committed
dadb7e8
View commit details
Copy full SHA for dadb7e8
Browse repository at this point
Use log() instead of print() for "FIXING MODULE PASS N".
Guido van Rossum
committed
56dc1e2
View commit details
Copy full SHA for 56dc1e2
Browse repository at this point
Add visit decorator and overloaded.
Guido van Rossum
committed
080b498
View commit details
Copy full SHA for 080b498
Browse repository at this point
Serialize UnboundType.
Guido van Rossum
committed
2ed9bb2
View commit details
Copy full SHA for 2ed9bb2
Browse repository at this point
Prototype approach to class C(NamedTuple("C", ...)): ...
Guido van Rossum
committed
93e14d1
View commit details
Copy full SHA for 93e14d1
Browse repository at this point
Make the type fixer/cleaner recurse into Instance.args.
Guido van Rossum
committed
adf7d6e
View commit details
Copy full SHA for adf7d6e
Browse repository at this point
Serialize TypeList and EllipsisType.
Guido van Rossum
committed
92ecd7e
View commit details
Copy full SHA for 92ecd7e
Browse repository at this point
Serialize Argument.type_annotation.
Guido van Rossum
committed
2754695
View commit details
Copy full SHA for 2754695
Browse repository at this point
Fix up SymbolNode.type.
Guido van Rossum
committed
f00e8e0
View commit details
Copy full SHA for f00e8e0
Browse repository at this point
Serialize implicit flag. Reformat CallableType a bit.
Guido van Rossum
committed
5890f67
View commit details
Copy full SHA for 5890f67
Browse repository at this point
Must visit OverloadedFuncDef.type. Clean up visit_callable_types().
Guido van Rossum
committed
95e0449
View commit details
Copy full SHA for 95e0449
Browse repository at this point
Visit contents of CallableType.variables.
Guido van Rossum
committed
dfa9a65
View commit details
Copy full SHA for dfa9a65
Browse repository at this point
Serialize complete Var.
Guido van Rossum
committed
a5ac6bb
View commit details
Copy full SHA for a5ac6bb
Browse repository at this point
Serialize all of NameExpr.
Guido van Rossum
committed
baddc75
View commit details
Copy full SHA for baddc75
Browse repository at this point
Serialize TupleType.implicit.
Guido van Rossum
committed
4503c8b
View commit details
Copy full SHA for 4503c8b
Browse repository at this point
Serialize (mostly) complete ClassDef.
Guido van Rossum
committed
0bf0187
View commit details
Copy full SHA for 0bf0187
Browse repository at this point
Serialize FuncDef._fullname.
Guido van Rossum
committed
0e4bebb
View commit details
Copy full SHA for 0e4bebb
Browse repository at this point
Serialize FuncDef.is_class.
Guido van Rossum
committed
b82de11
View commit details
Copy full SHA for b82de11
Browse repository at this point
Avoid crash in TypeCleaner.visit_instance() if inst.type is None.
Guido van Rossum
committed
3ef91f4
View commit details
Copy full SHA for 3ef91f4
Browse repository at this point
Better approach to cross-references, to avoid copying imported definitions.
Guido van Rossum
committed
ef061cf
View commit details
Copy full SHA for ef061cf
Browse repository at this point
Assign namedtuple a unique name from the start. Get rid of cleanup pass.
Guido van Rossum
committed
ec4e173
View commit details
Copy full SHA for ec4e173
Browse repository at this point
Fix the post-serialization checking code.
Guido van Rossum
committed
10a26a0
View commit details
Copy full SHA for 10a26a0
Browse repository at this point
Fix flake8 errors.
Guido van Rossum
committed
55093da
View commit details
Copy full SHA for 55093da
Browse repository at this point
Only give a NamedTuple a unique name if not in an assignment. Also fix tests.
Guido van Rossum
committed
4d2a5a9
View commit details
Copy full SHA for 4d2a5a9
Browse repository at this point
A cross_ref must have a dotted name.
Guido van Rossum
committed
1df40ea
View commit details
Copy full SHA for 1df40ea
Browse repository at this point
Do not serialize Decorator.decorators.
Guido van Rossum
committed
f2076b8
View commit details
Copy full SHA for f2076b8
Browse repository at this point
Give nested classes their full name. Also updated tests.
Guido van Rossum
committed
526af54
View commit details
Copy full SHA for 526af54
Browse repository at this point
Fix reading source code when falling back to UnprocessedFile in ProbablyCachedFile.process().
Guido van Rossum
committed
0acc794
View commit details
Copy full SHA for 0acc794
Browse repository at this point
Serialize SymbolTableNode.module_public.
Guido van Rossum
committed
4eb8b25
View commit details
Copy full SHA for 4eb8b25
Browse repository at this point
Use pyversion as part of cache name.
Guido van Rossum
committed
64b353a
View commit details
Copy full SHA for 64b353a
Browse repository at this point
Add --incremental flag (off by default).
Guido van Rossum
committed
9b83618
View commit details
Copy full SHA for 9b83618
Browse repository at this point
TypeVarDef.values is actually Optional.
Guido van Rossum
committed
2ffbbc3
View commit details
Copy full SHA for 2ffbbc3
Browse repository at this point
Do not serialize ClassDef.decorators.
Guido van Rossum
committed
7a3d90c
View commit details
Copy full SHA for 7a3d90c
Browse repository at this point
Store a reference to the modules dict on the BuildManager.
Guido van Rossum
committed
40152a4
View commit details
Copy full SHA for 40152a4
Browse repository at this point
Refactor dump_to_json().
Guido van Rossum
committed
4926915
View commit details
Copy full SHA for 4926915
Browse repository at this point
New dependency manager. For now, only used when --incremental given.
Guido van Rossum
committed
2515bd1
View commit details
Copy full SHA for 2515bd1
Browse repository at this point
Clarify/fix big comment block, add some comments, minor cleanup.
Guido van Rossum
committed
39261a9
View commit details
Copy full SHA for 39261a9
Browse repository at this point
Honor --incremental in depmgr.
Guido van Rossum
committed
0b891af
View commit details
Copy full SHA for 0b891af
Browse repository at this point
Tweak some log/trace calls. Add relative time to log/trace output.
Guido van Rossum
committed
4be5af6
View commit details
Copy full SHA for 4be5af6
Browse repository at this point
Process nodes in an SCC in a deterministic order.
Show description for 1d6d921
Guido van Rossum
committed
1d6d921
View commit details
Copy full SHA for 1d6d921
Browse repository at this point
Satisfy flake8. Warn instead of die on missing module ref.
Guido van Rossum
committed
fb24521
View commit details
Copy full SHA for fb24521
Browse repository at this point
Check for errors at various points.
Guido van Rossum
committed
6094ddb
View commit details
Copy full SHA for 6094ddb
Browse repository at this point
Add -i as shortcut for --incremental. Pass -i -i to use new depmgr.
Guido van Rossum
committed
6d065fd
View commit details
Copy full SHA for 6d065fd
Browse repository at this point
Don't write cache if we have errors. Improve fresh/stale logging.
Guido van Rossum
committed
032f8d5
View commit details
Copy full SHA for 032f8d5
Browse repository at this point
Deal with __builtin__/builtins in Python 2 mode.
Guido van Rossum
committed
2258ccd
View commit details
Copy full SHA for 2258ccd
Browse repository at this point
Improve fresh/stale logging. Switch to absolute imports.
Guido van Rossum
committed
d41e7d4
View commit details
Copy full SHA for d41e7d4
Browse repository at this point
Honor manager.target field.
Guido van Rossum
committed
a6f0cfc
View commit details
Copy full SHA for a6f0cfc
Browse repository at this point
Some updates to module docstring.
Guido van Rossum
committed
209c321
View commit details
Copy full SHA for 209c321
Browse repository at this point
Move module_not_found() into BuildManager.
Guido van Rossum
committed
1eba74d
View commit details
Copy full SHA for 1eba74d
Browse repository at this point
Improve error handling around module loading.
Show description for 24c34e9
Guido van Rossum
committed
24c34e9
View commit details
Copy full SHA for 24c34e9
Browse repository at this point
Reworked dependency collection and import context management.
Guido van Rossum
committed
85bb6af
View commit details
Copy full SHA for 85bb6af
Browse repository at this point
Fix errors about overreaching relative imports.
Guido van Rossum
committed
bde24ac
View commit details
Copy full SHA for bde24ac
Browse repository at this point
Patch submodule into its parent in a later stage so it's more likely to work.
Guido van Rossum
committed
8476943
View commit details
Copy full SHA for 8476943
Browse repository at this point
Support --[infer]stats and file reports.
Guido van Rossum
committed
5dfaafb
View commit details
Copy full SHA for 5dfaafb
Browse repository at this point
Call patch_parent() for fresh as well as stale modules. Minor cleanups.
Guido van Rossum
committed
f11dd1d
View commit details
Copy full SHA for f11dd1d
Browse repository at this point
Killed the old state machine. Yeah!
Guido van Rossum
committed
7073e25
View commit details
Copy full SHA for 7073e25
Browse repository at this point
Merged depmgr into build, to avoid a nasty import cycle.
Guido van Rossum
committed
0b4ef76
View commit details
Copy full SHA for 0b4ef76
Browse repository at this point
Make parse_file() a BuildManager method.
Guido van Rossum
committed
6b307c4
View commit details
Copy full SHA for 6b307c4
Browse repository at this point
Roots are dependencies after all. But they're still special.
Guido van Rossum
committed
4b06576
View commit details
Copy full SHA for 4b06576
Browse repository at this point
Implement --silent-imports.
Guido van Rossum
committed
182472e
View commit details
Copy full SHA for 182472e
Browse repository at this point
Compare cache file mtimes.
Guido van Rossum
committed
8c56b38
View commit details
Copy full SHA for 8c56b38
Browse repository at this point
Well... roots are *not* dependencies after all. It broke typeshed testing.
Guido van Rossum
committed
0273c05
View commit details
Copy full SHA for 0273c05
Browse repository at this point
Commits on Mar 14, 2016
remove_cwd_prefix_from_path() should check for __init__.pyi.
Guido van Rossum
committed
123c340
View commit details
Copy full SHA for 123c340
Browse repository at this point
Rename roots to ancestors. Fix --silent for them.
Guido van Rossum
committed
80622d7
View commit details
Copy full SHA for 80622d7
Browse repository at this point
Improve SCC logging. Fix indentation.
Guido van Rossum
committed
d35e476
View commit details
Copy full SHA for d35e476
Browse repository at this point
Make sorted_components() work for subgraphs too.
Guido van Rossum
committed
e704e0c
View commit details
Copy full SHA for e704e0c
Browse repository at this point
Horrible hack to deal with a nasty cycle in sqlalchemy.sql.
Guido van Rossum
committed
ede8184
View commit details
Copy full SHA for ede8184
Browse repository at this point
Sync typeshed
Guido van Rossum
committed
7f9fc43
View commit details
Copy full SHA for 7f9fc43
Browse repository at this point
Commits on Mar 15, 2016
Sync typeshed
Guido van Rossum
committed
eab8a82
View commit details
Copy full SHA for eab8a82
Browse repository at this point
Commits on Mar 16, 2016
Stabilize return order of topsort and avoid depending on p for "from p import m".
Show description for 46c2076
Guido van Rossum
committed
46c2076
View commit details
Copy full SHA for 46c2076
Browse repository at this point
Commits on Mar 17, 2016
Merge commit 'aa5efb0' into incremental (switch to argparse)
Guido van Rossum
committed
4a79bdd
View commit details
Copy full SHA for 4a79bdd
Browse repository at this point
Merge branch 'master' into incremental (up to the rename of --implicit-any to --check-untyped-defs).
Guido van Rossum
committed
83bc59c
View commit details
Copy full SHA for 83bc59c
Browse repository at this point
Sync typeshed (pickle).
Guido van Rossum
committed
06c701c
View commit details
Copy full SHA for 06c701c
Browse repository at this point
Commits on Mar 18, 2016
Merge branch 'master' into incremental
Guido van Rossum
committed
24d211b
View commit details
Copy full SHA for 24d211b
Browse repository at this point
Commits on Mar 23, 2016
WIP: attempt to give classmethod first arg a reasonable type. Fixes #292
Guido van Rossum
committed
5a4e6d8
View commit details
Copy full SHA for 5a4e6d8
Browse repository at this point
Fix TypeAnalyser.visit_callable_type() to preserve fallback if present (found by Jukka).
Guido van Rossum
committed
c45a1f1
View commit details
Copy full SHA for c45a1f1
Browse repository at this point
Make tests pass.
Guido van Rossum
committed
601e0ae
View commit details
Copy full SHA for 601e0ae
Browse repository at this point
Properly type-check C().some_class_method.
Guido van Rossum
committed
8a2dbbd
View commit details
Copy full SHA for 8a2dbbd
Browse repository at this point
Rewrite long line.
Guido van Rossum
committed
7ff4bc4
View commit details
Copy full SHA for 7ff4bc4
Browse repository at this point
Rename class_subtype to class_type.
Guido van Rossum
committed
f4770fa
View commit details
Copy full SHA for f4770fa
Browse repository at this point
Add unit tests.
Guido van Rossum
committed
8812d18
View commit details
Copy full SHA for 8812d18
Browse repository at this point
Add a comment to the cls argument check.
Guido van Rossum
committed
2b712df
View commit details
Copy full SHA for 2b712df
Browse repository at this point
It should not be an error to call an abstract method from a class method!
Guido van Rossum
committed
e5f316b
View commit details
Copy full SHA for e5f316b
Browse repository at this point
Propagate implicit and is_classmethod_class in CallableType.copy_modified().
Guido van Rossum
committed
28aabb6
View commit details
Copy full SHA for 28aabb6
Browse repository at this point
Merge branch 'master' into incremental (esp. Greg's reports PR).
Guido van Rossum
committed
2c639e5
View commit details
Copy full SHA for 2c639e5
Browse repository at this point
Merge branch 'classmethod' into incremental (PR #1313, classmethod first arg).
Guido van Rossum
committed
426b4f2
View commit details
Copy full SHA for 426b4f2
Browse repository at this point
[De]serialize is_classmethod_class.
Guido van Rossum
committed
8ff538f
View commit details
Copy full SHA for 8ff538f
Browse repository at this point
Clear trailing whitespace.
Guido van Rossum
committed
30966e0
View commit details
Copy full SHA for 30966e0
Browse repository at this point
Commits on Apr 5, 2016
Merge branch 'master' into incremental
Guido van Rossum
committed
165a8a1
View commit details
Copy full SHA for 165a8a1
Browse repository at this point
Merge branch 'master' into incremental
Guido van Rossum
committed
54d70ce
View commit details
Copy full SHA for 54d70ce
Browse repository at this point
Commits on Apr 6, 2016
Remove all print statements and pdb calls from fixup.py. Add asserts for error conditions instead.
Guido van Rossum
committed
cd5ec0d
View commit details
Copy full SHA for cd5ec0d
Browse repository at this point
Respond to code review for nodes.py.
Show description for 9d2c327
Guido van Rossum
committed
9d2c327
View commit details
Copy full SHA for 9d2c327
Browse repository at this point
Respond to code review for types.py.
Show description for 3a2cc0b
Guido van Rossum
committed
3a2cc0b
View commit details
Copy full SHA for 3a2cc0b
Browse repository at this point
Respond to code review for build.py.
Show description for ba1553d
Guido van Rossum
committed
ba1553d
View commit details
Copy full SHA for ba1553d
Browse repository at this point
Add a few unit tests for the graph processing in build.py.
Guido van Rossum
committed
84f0d86
View commit details
Copy full SHA for 84f0d86
Browse repository at this point
Commits on Apr 7, 2016
Add manager and error messages to BuildResult; don't raise for non-blockers.
Show description for d6800fe
Guido van Rossum
committed
d6800fe
View commit details
Copy full SHA for d6800fe
Browse repository at this point
Fix docstrings for AssertionFailure and SkipTestCaseException.
Guido van Rossum
committed
a9cdd9b
View commit details
Copy full SHA for a9cdd9b
Browse repository at this point
Added support for checking incremental mode.
Guido van Rossum
committed
5594a1b
View commit details
Copy full SHA for 5594a1b
Browse repository at this point
Fully annotate testcheck.py
Guido van Rossum
committed
700d959
View commit details
Copy full SHA for 700d959
Browse repository at this point
Fully annotate testgraph.py.
Guido van Rossum
committed
842a5e1
View commit details
Copy full SHA for 842a5e1
Browse repository at this point
Merge remote-tracking branch 'origin/master' into incremental
Guido van Rossum
committed
bb7f9c1
View commit details
Copy full SHA for bb7f9c1
Browse repository at this point
Add missing annotations to helpers.py.
Guido van Rossum
committed
cb00db6
View commit details
Copy full SHA for cb00db6
Browse repository at this point
Commits on Apr 8, 2016
Fix typo in comment.
Guido van Rossum
committed
b513603
View commit details
Copy full SHA for b513603
Browse repository at this point
Back
|
FazBrowse Home
|
New Git URL