Commit Graph

6831 Commits

Author SHA1 Message Date
Dave Halter
3e684519e6 Very small refactoring 2019-08-23 00:24:30 +02:00
Dave Halter
9f3a2f93c4 Remove get_statement_of_position. It's not used anymore 2019-08-23 00:13:18 +02:00
Dave Halter
193ba47f50 Simplify get_user_context 2019-08-23 00:10:56 +02:00
Dave Halter
05fe29a156 Get rid of the node_is_value parameter 2019-08-23 00:02:39 +02:00
Dave Halter
bd754718e1 Fix a string escape 2019-08-22 23:32:52 +02:00
Dave Halter
df014dc527 Create create_value to eventally use on contexts for some things 2019-08-22 23:21:21 +02:00
Dave Halter
6d5e9f4b0f Remove node_is_object, not used anymore 2019-08-22 23:13:42 +02:00
Dave Halter
faf6752ff8 Move create_context to a context 2019-08-22 22:47:26 +02:00
Dave Halter
ee6331747f Use a class_context instead of a class_value for MethodValue 2019-08-22 22:13:02 +02:00
Dave Halter
eee6810576 Small cleanup of code 2019-08-22 17:20:07 +02:00
Dave Halter
f87f8c028b Fix context issues when working with instances 2019-08-22 17:11:54 +02:00
Dave Halter
b97237f264 Rename the filter context argument to parent_context 2019-08-22 10:09:07 +02:00
Dave Halter
4e260cdadb Remove infer_element from Value 2019-08-22 00:36:15 +02:00
Dave Halter
337c03e5be Separate infer_import and goto_import a bit better 2019-08-22 00:23:24 +02:00
Dave Halter
bf4d42798b Make separate methods for goto_import and infer_import 2019-08-21 23:58:26 +02:00
Dave Halter
2fb04db0ab Fix the weird py__path__ behavior 2019-08-21 23:08:42 +02:00
Dave Halter
592f3771fc Make Importer.module_context Importer._module_context 2019-08-21 09:56:36 +02:00
Dave Halter
925dd38c18 Remove a private access 2019-08-21 09:54:32 +02:00
Dave Halter
6142d18206 More rename 2019-08-21 09:53:48 +02:00
Dave Halter
9d34df2fed Make Slice a proper LazyValueWrapper 2019-08-21 09:51:47 +02:00
Dave Halter
02c96b37db Some more value -> context renames 2019-08-21 09:31:23 +02:00
Dave Halter
55c08e06ab Remove a hack that is no longer necessary 2019-08-21 09:25:15 +02:00
Dave Halter
84f6d95fde Fix a python 2 dynamic issue 2019-08-21 09:16:48 +02:00
Dave Halter
4cbe2898c0 Fix usage tests
With those tests fixed, everything should pass again
2019-08-21 01:01:09 +02:00
Dave Halter
8a2b7f18cd Get all tests working except usage tests 2019-08-21 00:50:34 +02:00
Dave Halter
85f8f2a764 Fix os path resolving issues 2019-08-21 00:22:34 +02:00
Dave Halter
14fc5ed289 Fix more issues with where contexts are used and where values are used 2019-08-20 09:59:10 +02:00
Dave Halter
39b294e085 Fix some interpreter issues 2019-08-20 09:09:19 +02:00
Dave Halter
217b632213 Write a CompForContext that is still not in good shape but working 2019-08-19 21:17:11 +02:00
Dave Halter
caee8e9952 Fix final gradual typing related issues 2019-08-19 19:43:45 +02:00
Dave Halter
b19ba12566 Fix some more context issues 2019-08-19 19:33:12 +02:00
Dave Halter
f54617867d Fix dynamic param checking 2019-08-18 18:19:12 +02:00
Dave Halter
6fb49eaadf as_context caching 2019-08-18 17:52:15 +02:00
Dave Halter
8e60689bcf valueualized_node -> contextualized_node 2019-08-18 00:58:33 +02:00
Dave Halter
4415de010d ValueualizedName -> ContextualizedName
Basically a change back to an older version
2019-08-18 00:57:29 +02:00
Dave Halter
f61246bf13 Fix quite a few more tests. Only about a fifth failing now 2019-08-18 00:47:21 +02:00
Dave Halter
0c419a5094 Fix class tests 2019-08-17 23:52:52 +02:00
Dave Halter
895e774962 Module fixes 2019-08-17 17:56:57 +02:00
Dave Halter
a9b1de7060 execution_value -> execution_context 2019-08-17 17:13:29 +02:00
Dave Halter
680388a7e8 More fixes 2019-08-17 17:01:21 +02:00
Dave Halter
2629ff55f3 Fix some array tests 2019-08-17 15:42:13 +02:00
Dave Halter
c6d2aa6da2 Some small improvements 2019-08-16 16:44:03 +02:00
Dave Halter
165639c1dd Start implementing the bulk of the context/value separation 2019-08-16 16:12:12 +02:00
Dave Halter
d19233a338 Start working on replacing value partially with context 2019-08-16 13:00:05 +02:00
Dave Halter
03920502c4 infer_state -> inference_state 2019-08-16 11:44:30 +02:00
Dave Halter
fffb39227e InferState -> InferenceState 2019-08-16 11:43:21 +02:00
Dave Halter
9ee6285414 Remove infer_state from filters 2019-08-16 09:41:23 +02:00
Dave Halter
600272366f parent_value -> parent_context 2019-08-15 09:36:46 +02:00
Dave Halter
2e90e3b2b1 Avoid position passing for value filters 2019-08-15 09:31:12 +02:00
Dave Halter
21a18c698e Differentiate in finder between get_value_filters and get_global_filters 2019-08-15 09:29:08 +02:00