rope
rope copied to clipboard
a python refactoring library
Misreported by an anonymous party in the tracker for Bitbucket itself: http://bitbucket.org/jespern/bitbucket/issue/571/python-error-while-aborting-the-open-project
Need to go through Python's Change Log and identify syntax changes. We should start documenting the syntax support in rope as it currently. Create a table containing a list of...
For autoimport to be able to handle `__all__` properly, rope would need to be able to statically analyze the module to infer all the possible values that a variable/list may...
As of `rope==0.19.0`, given the following code: ``` def foo(): a = 1 exec("print(a)") ``` when we extract `exec("print(a)")` into `new_func`, currently we get: ``` def foo(): a = 1...
Hey, I think a lot of developers would benefit from the ability to move an arbitrary function to a class as a method, and break it down inside the class,...
Background: #21 > > The signals import was removed because it wasn't used. I don't want it to be removed though, as the import has intentional side effects. > >...
By @JulianEberius The main changes I made to Rope concern auto-completion. It is very, very slow on large code bases (just try Rope’s completions on Rope’s code itself). I used...
In order to reproduce: x.py: ``` from .test import system system('hello world') ``` `test/__init__.py` ``` from os import system ``` note that `test/__init__.py` must not have a newline at the...
Rope fails to rename inside f-strings when followed by equal sign for debugging. See https://realpython.com/lessons/simpler-debugging-f-strings/ And https://bugs.python.org/issue36817 Rope version: 0.17.0 Python version: 3.8.2 Example: ```python myvar = 6 print(f"{myvar}") #...
``` class PhaseState(SubsetState, SingleFluidState, abstract=True): """This :class:`ConsSubsetState` stores two sets of indices, one per phase, and it matches the field names with a regex in order to detect the phase...