pycscope
pycscope copied to clipboard
Cscope database generator for Python source code
The `-L` option is useful for streaming/offline operation. From `cscope` documentation: > -L > Do a single search with line-oriented output when used with the -num pattern option. Example: `pycscope.py...
pycscope cannot parse print(f"Found {num} devices.") I hacked __init.py__ to have f as a keyword. kwlist.extend(("True", "False", "None", "f")) Works now.. but I am sure there is a better fix.
When I try to install, I get the following output: ``` [user ~/github/pycscope]$ python setup.py install Traceback (most recent call last): File "/home/user/github/pycscope/setup.py", line 5, in from pycscope import __version__...
So we can jump to install libraries. That is useful.
After updating emacs, I found that xpycscope.el no longer works because of an elisp function that no longer works. I found a simple fix, replacing two lines (2010, 2142): (process-kill-without-query...
``` $ pycscope -V pycscope.py: Version 1.2.1 ``` ``` $ python -V Python 3.7.3 ``` ``` pycscope -i ./cscope.files Traceback (most recent call last): File "/usr/local/bin/pycscope", line 10, in sys.exit(main())...
…g declaration
… since this seems to break the source code parser ; certainly the preferred way to go would be to convince the parser to accept non-ASCII characters ( Python does...
The string.rstrip method does not exist in Py3K. EDIT: And unicode support for Py3k. EDIT2: Generally this just makes Py3k support better. :)
When executing pycscope -i 'srclistfile' an error occurs. It seems that the string.rstrip section of line 118 in __init__.py brings up the error "string has no attribute rstrip". I personally...