Dave Halter
47d0318fa6
Paths are the default for modules
2021-01-14 02:00:14 +01:00
Dave Halter
b9067ccdbb
Avoid caching parso objects, fixes #1723
2021-01-14 00:29:34 +01:00
Leo Ryu
fd435a7bbb
Check if string_names is None before returning string_names ( #1708 )
...
* Check if string is None before using string_names
* Add test asserting None string_names returns an empty list
* Remove whitespace to pass flake8
* Add name to authors.txt
Co-authored-by: Leo Ryu <leo@episci.com >
2020-12-12 12:13:31 +01:00
Peter Law
b892c07841
Merge branch 'master' into mypy
2020-07-26 12:25:19 +01:00
Dave Halter
9d1587a41d
Don't need to inherit from object anymore
2020-07-26 00:11:57 +02:00
Peter Law
5e509814f7
Ignore mypy not coping with decorated properties
2020-07-24 20:25:55 +01:00
Peter Law
b1f95b4bf9
Annotate these attributes
2020-07-24 16:10:34 +01:00
Peter Law
7d9205d4ae
This is actually optional
2020-07-24 16:10:34 +01:00
Dave Halter
9957565b37
Try to use yield from instead of yield, if possible
2020-07-19 13:34:58 +02:00
Dave Halter
db0e90763b
Start using pathlib.Path instead of all the os.path functions
2020-07-10 17:30:36 +02:00
Dave Halter
24a1bbb3ca
Even more super deletions
2020-07-02 12:29:10 +02:00
Dave Halter
5ab351dc8f
Remove unicode literals from code base
2020-07-02 10:43:14 +02:00
Dave Halter
6e184bca97
Remove most version_info.major usages
2020-07-02 03:00:01 +02:00
Dave Halter
bdd4deedc1
Some code cleanups
2020-04-11 02:11:52 +02:00
Dave Halter
91857c2c0a
Fix issues with iter_module_names
2020-03-11 00:19:40 +01:00
Dave Halter
e46e1269a2
Finally use the string_names attribute to identify module names instead of some fucked up path calculation.
2020-03-08 12:58:44 +01:00
Dave Halter
58998748e3
Make it clear in search tests if a stub or a normal definition is expected
2020-03-07 20:43:57 +01:00
Dave Halter
6bddca011c
Listing modules is no longer done by a subprocess
2020-03-07 20:25:58 +01:00
Dave Halter
47e2cf95d2
Change ModuleValue param order and add defaults
2020-01-01 17:07:19 +01:00
Dave Halter
4161bfc7f2
Avoid some duplication of code
2019-12-22 01:24:50 +01:00
Dave Halter
76e0e6a8c5
Fix some more package issues
2019-12-01 20:42:55 +01:00
Dave Halter
8a26a23884
Make is_package a function and call it consistently
2019-12-01 19:31:31 +01:00
Dave Halter
b13c4c446f
Fix a globals context issue, fixes #1435
2019-12-01 01:28:03 +01:00
Dave Halter
b97237f264
Rename the filter context argument to parent_context
2019-08-22 10:09:07 +02:00
Dave Halter
2fb04db0ab
Fix the weird py__path__ behavior
2019-08-21 23:08:42 +02:00
Dave Halter
6fb49eaadf
as_context caching
2019-08-18 17:52:15 +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
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
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
9986d8c9aa
Context -> Value
2019-08-15 01:26:11 +02:00
Dave Halter
ad4f546aca
context -> value
2019-08-15 01:23:06 +02:00