/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

nabeelvalley.co.za
| | blog.ganssle.io
3.7 parsecs away

Travel
| | An explanation of a few ways to make sure your tests use the version of the package that your users will install.
| | techtldr.com
2.8 parsecs away

Travel
| | Here is a simple trick that I used to restart my python script after unhandled exception. Let's say I have this simple script called test.py that I want to run forever. It will just wait 2 seconds and throw an error. I use the following script called forever in the same directory: It uses python [...]
| | vidam.hatenablog.com
2.7 parsecs away

Travel
| | Python?CGI?Internal Server Error? Internal Server Error1?XREA?...? www.xrea.com ?Internal Server Error? ?N? .htacce...
| | aivarsk.com
15.3 parsecs away

Travel
| I have a piece of C++ code that calls user-defined functions implemented in Python. Instead of requiring all functions to have the same signature with 6 arguments, the C++ code inspects the function signature and passes only the arguments function accepts - 1, 3, or all 6 of them. I use the inspect module and getargspec function for that but it feels a bit wrong and bloated. So let's see how we can get the work done without the inspect module.