Dave Halter
|
f36f5ec234
|
Merge with master
|
2018-01-06 12:31:29 +01:00 |
|
Dave Halter
|
a8124b625c
|
Add a comment to refactoring that it's not in active development
|
2018-01-06 12:29:03 +01:00 |
|
MohamedAlFahim
|
ad5ac8c492
|
Made 'l' a string + added warning
One of the helper methods is missing, so be extra careful.
|
2018-01-05 22:49:47 +01:00 |
|
MohamedAlFahim
|
03961bf051
|
Fixed refactoring.py docstring mistake
Updated parameters in docstring
|
2018-01-05 22:42:29 +01:00 |
|
Dave Halter
|
db1a4415b3
|
Some tests that involved jedi were actually a bit wrong and only worked in certain environments.
|
2018-01-05 00:48:40 +01:00 |
|
Dave Halter
|
9c5ce5a8d2
|
Try to use the virtual env that was defined in the VIRTUAL_ENV variable, if possible.
|
2018-01-02 01:28:02 +01:00 |
|
Dave Halter
|
bcb3f02a01
|
If a subprocess gets killed by an OOM killer or whatever it should respawn and raise an InternalError
|
2018-01-02 00:56:22 +01:00 |
|
Dave Halter
|
7ff6871548
|
Merge Subprocess and CompiledSubprocess
|
2018-01-02 00:33:30 +01:00 |
|
Dave Halter
|
927aa2bd91
|
Try to recover from errors that are happening in subprocesses
|
2018-01-02 00:24:15 +01:00 |
|
Dave Halter
|
d93b613fd9
|
Move the default environment around
|
2018-01-01 20:37:50 +01:00 |
|
Dave Halter
|
b716fb7dc6
|
Use the parser to check for certain namedtuple features
This fixes tests that are used with python 2 but a different environment
|
2017-12-30 04:41:19 +01:00 |
|
Dave Halter
|
0ed9e1c249
|
The given sys_path gets converted to unicode now in py2
|
2017-12-30 03:40:01 +01:00 |
|
Dave Halter
|
e2629b680f
|
Test if virtualenvs and pth files work
|
2017-12-30 00:02:14 +01:00 |
|
Dave Halter
|
7de04fb28d
|
Move the module name searching to the subprocess
|
2017-12-29 21:10:00 +01:00 |
|
Dave Halter
|
da211aa63d
|
Use the Script fixture more generally
|
2017-12-29 18:40:17 +01:00 |
|
Dave Halter
|
05804f1768
|
Monkeypatch the Unpickler in Python3.3
Needed to get Python3.3 working. See the comment in the commit.
|
2017-12-29 15:37:37 +01:00 |
|
Dave Halter
|
ed57f6172f
|
Correct the two last unicode issues
|
2017-12-29 12:59:06 +01:00 |
|
Dave Halter
|
2ba46759fc
|
Some repr went crazy
|
2017-12-29 03:58:02 +01:00 |
|
Dave Halter
|
95bf858669
|
Make it more clear for debugging where dynamic search ended
|
2017-12-29 03:54:12 +01:00 |
|
Dave Halter
|
d7de3f3fec
|
Fix pep0484 comments
|
2017-12-29 03:29:29 +01:00 |
|
Dave Halter
|
a1051bd5f2
|
Better display of descriptors
|
2017-12-29 03:29:08 +01:00 |
|
Dave Halter
|
35158f693d
|
Remove some of the last py27 errors that were caused in combination with 3.6
|
2017-12-29 02:45:11 +01:00 |
|
Dave Halter
|
ec9b8e8c02
|
Forgot to cast a map to a list
|
2017-12-29 02:39:35 +01:00 |
|
Dave Halter
|
52298510ed
|
Fixing more py27 stuff
|
2017-12-29 02:02:34 +01:00 |
|
Dave Halter
|
b4f301e082
|
More unicode literals
|
2017-12-29 01:42:22 +01:00 |
|
Dave Halter
|
59c44fe499
|
Use force_unicode for all sys paths
|
2017-12-29 01:28:23 +01:00 |
|
Dave Halter
|
6e69326aa9
|
Add a print_to_stderr function in compatibility
|
2017-12-29 01:26:15 +01:00 |
|
Dave Halter
|
05b2906dcc
|
Some more small improvements for Python 2
|
2017-12-28 23:58:19 +01:00 |
|
Dave Halter
|
4b72a89379
|
There were a few bugs in the previous commit
|
2017-12-28 23:25:09 +01:00 |
|
Dave Halter
|
ba81aa16a2
|
Use unicode in way more cases
|
2017-12-28 23:19:17 +01:00 |
|
Dave Halter
|
5755d5a4ee
|
Use unicode always for getting special objects
|
2017-12-28 22:41:20 +01:00 |
|
Dave Halter
|
37d282e67b
|
Always use the parser of the environment
|
2017-12-28 21:19:26 +01:00 |
|
Dave Halter
|
2d3b15b485
|
Fix potential issues with py2 analysis
|
2017-12-28 02:19:42 +01:00 |
|
Dave Halter
|
5b8ed7f615
|
Check for bytes and unicode in dicts for Python 2
|
2017-12-28 02:15:27 +01:00 |
|
Dave Halter
|
d1d4986667
|
Eliminate is_py3 usages
|
2017-12-28 01:55:39 +01:00 |
|
Dave Halter
|
6b6795c40c
|
Don't use python_version directly on evaluator anymore
|
2017-12-28 01:44:59 +01:00 |
|
Dave Halter
|
31f1913b07
|
Use unicode always in getattr
|
2017-12-28 01:42:58 +01:00 |
|
Dave Halter
|
7accd4fae3
|
Fix an issue with the new behavior of special methods
|
2017-12-28 01:38:16 +01:00 |
|
Dave Halter
|
a7dea9e821
|
Fix some more py36 to py27 issues
|
2017-12-28 01:33:51 +01:00 |
|
Dave Halter
|
a8d3c46e9d
|
Refactor some things regarding Python 2 support
|
2017-12-27 02:09:58 +01:00 |
|
Dave Halter
|
7e063ff7af
|
Also don't cast do a string for other names
|
2017-12-26 15:44:00 +01:00 |
|
Dave Halter
|
8a82a5237d
|
Casting to str is not necessary
|
2017-12-26 15:32:25 +01:00 |
|
Dave Halter
|
a7168db1ea
|
Remove unused keyword code
|
2017-12-26 14:13:56 +01:00 |
|
Dave Halter
|
c43009d5dc
|
Do more comparisons in the subprocess
|
2017-12-26 13:38:47 +01:00 |
|
Dave Halter
|
ab42e856fb
|
Use unicode in compiled access
|
2017-12-26 03:24:26 +01:00 |
|
Dave Halter
|
6d70bd7d5c
|
Remove unused code
|
2017-12-26 03:18:16 +01:00 |
|
Dave Halter
|
c3483344fe
|
Refactor allowed_getattr_callback a bit to not raise random errors.
|
2017-12-24 12:55:32 +01:00 |
|
Dave Halter
|
993b0973c5
|
The default of one function was not actually used
|
2017-12-24 12:12:27 +01:00 |
|
Dave Halter
|
f494bb5848
|
The string_name of a Name should always be unicode
|
2017-12-24 04:05:28 +01:00 |
|
Dave Halter
|
4a366ab728
|
Refactor a bit and force unicode in some places and use an appropriate function name for it
|
2017-12-24 04:05:02 +01:00 |
|