Rebuilding package after modification of .pyx file #6603
Unanswered
diego95root
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there!
I'm a bit noob with Cython so please forgive me if this is too easy or dumb. I downloaded the tarball and wanted to edit the code a bit, in particular I wanted to allow sending fragments for some tests that I want to run, so the status line of the request would be
{HTTP_VERSB} {PATH_WITH_FRAGMENT} {HTTP_VERSION}
(it's not RFC compliant and the fragment should not be sent, I'm aware, but I want to test something). After a bit of tinkering around I decided to add a string to the path (at https://github.com/aio-libs/aiohttp/blob/master/aiohttp/_http_parser.pyx#L618) to see whether my changes were taking place but I don't think they are:I'm recompiling the code and installing the package like this:
where
test.py
has:Now, I'm expecting to see the
-building
string somewhere in the request but this one is the one I see on the proxy:I would appreciate it if someone could please give me some pointers as to what I'm doing wrong, perhaps I'm missing to modify something or it's just the way I'm trying to recompile it and bundle it all together.
Thank you!
Diego
Beta Was this translation helpful? Give feedback.
All reactions