pypreprocessor icon indicating copy to clipboard operation
pypreprocessor copied to clipboard

A c-style macro preprocessor written in Python

Results 19 pypreprocessor issues
Sort by recently updated
recently updated
newest added
trafficstars

When using "from PySide2.QtCore import Slot", I get "Error NameError: name 'Slot' is not defined" when it comes across '@Slot' in my source?

Here is the error that I received. ``` Collecting pypreprocessor Downloading https://files.pythonhosted.org/packages/27/54/c8daff18372422e66fb3c474af4b9fb3c0e9fc94685f4948d990d7080b08/pypreprocessor-0.7.7.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in File...

Hi! Great project! I'm trying to use pyprocessor importing classes from my own files; it is not working. My code is crashing with errors that they cannot be imported. As...

Stripped any and all whitespace characters from the line in lexer(line) before we try to find preprocessor directives. I believe insensitivity to leading whitespace is standard for modern C preprocessors.

Cannot install via pip due to below error so moved import statement. Also removed self import. ``` PS D:\Users\...\pypreprocessor\tests\.isolated> pip install pypreprocessor Collecting pypreprocessor Using cached pypreprocessor-0.7.7.tar.gz Complete output from...

Thanks for this, it's very helpful... I was wondering if there is a way to run this on a file that you import from an interactive shell(or when using the...

Since both pypreprocessor and pytest are doing things under the hood and are based on conflicting assumptions, it is hard to get them to work together. For example, to ensure...

-The function rewrite_traceback() assumes erroneously a fixed frame introducing the file name in the stack trace in case of exceptions during execution of the input file. This limition is removed...

Just tried to install the latest version, 0.7.7, with pip on my Ubuntu 22.04.1 box, but installation failed due to an import issue with 'maintest'. Could you check this? Collecting...