Pinsor 0.6 released!

I am glad to blog about Pinsor 0.6 release. Pinsor is an Inversion of Control container for Python created by Ryan Svihla. I’ve started collaborating with Ryan on this release and committed a few changes (not much). It’s been nice to talk about design...

Resumen de la primera reunión de Agile Canarias

Ayer, 18 de Marzo de 2009, nos reunimos en el bulevar para tener la primera reunión de Agile Canarias. Estuvimos un total de 7 personas y pudimos ser más porque hubo gente que llegó tarde y no nos encontró. Como Taco resultó estar cerrado nos rodamos al bar que había...

Run dynamic generated Python code safely

We’ve developed this to be able to run trusted methods as batch operations that were saved into database to be performed later on. The code is easy to understand reading its tests: Tests: Check out this file Code: import os import inspect import inspect class...

When to use mock() and proxy()

This is about Python Mocker features. In order to pass in a mock as a parameter to the SUT (subject under test) you might think of creating the mock using either, “mock()” method or “proxy(SomeClass)” method. They both yield mocks but they work...