Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Activity for peterhâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #294090 | Initial revision | — | about 3 hours ago |
Answer | — |
A: How to preserve pip install temporary directory for error analyse? Honestly I have a solution, but honestly I could not give a medal for their work to the pip devs. 1. Pip has a `--no-clean` flag. On the docs, it preserves the temporary directories for further analyse. In the reality, it preserves only some of them, and the others will be still deleted. But that ... (more) |
— | about 3 hours ago |
Comment | Post #294089 |
I have found `pip --no-clean`, but it still does not work. Most importantly, pip has created about 5 directories in `/tmp`, and the one referred in the error report is not among them. Although `pip --no-clean` might be an useful answer in many cases. In my specific case, now I try to hook the rmdir, ... (more) |
— | about 4 hours ago |
Edit | Post #294089 | Initial revision | — | about 4 hours ago |
Question | — |
How to preserve pip install temporary directory for error analyse? Here I am trying to install a pip package. While installation, pip tries to compile something. With meson. Meson calls cmake. Cmake fails on a missing dependency. Then, meson fails on the failed cmake. Then, pip fails on the failed meson. Then, pip deletes the temporary directory... (more) |
— | about 4 hours ago |
Comment | Post #294071 |
Thank you very much - exactly, `r.search()` is what I should have used. (more) |
— | 3 days ago |
Edit | Post #294070 | Initial revision | — | 3 days ago |
Question | — |
Why python regexps look expecting a begin match, but not an ending one? My impression is that the regexps behave a little bit odd: ``` >>> import re >>> r=re.compile("test") >>> r.match("test") >>> r.match("1test") >>> r.match("test2") >>> r.match("1test2") >>> ``` I have also tried python-pcre, it behaves on the same way. If the "regexp" is only a sin... (more) |
— | 3 days ago |