Quantcast
Channel: metaprogramming and politics » metaprogramming
Browsing latest articles
Browse All 7 View Live

Image may be NSFW.
Clik here to view.

Monkeypatching in unit tests, done right

[updated, thanks to marius]. I am currently preparing my testing tutorials for Pycon and here is an example i’d lke to share already. The problem: In a test function we want to patch an Environment...

View Article



Image may be NSFW.
Clik here to view.

Mobiles, Python, PyPy and the Zone VM

Next week i am going to OpenBossa, a developer conference organised by Nokia’s research institute INDT in Brazil. It’s about free and open source developments on small internet devices. I’ll be talking...

View Article

Image may be NSFW.
Clik here to view.

py.test: shrinks code, grows plugins and integration testing

Just before Pycon i uploaded the lean and mean py.test 1.0.0b1 beta release. A lot of code got moved out, most notably the greenlets C-extension. This simplifies packaging and increases the py lib’s...

View Article

Image may be NSFW.
Clik here to view.

pylib 1.0.0 released: the testing-with-python innovations continue

Took a few betas but finally i uploaded a 1.0.0 py lib release, featuring the mature and powerful py.test tool and "execnet-style" elastic distributed programming. With the new release, there are many...

View Article

Image may be NSFW.
Clik here to view.

execution locals: better than thread locals/globals

While many agree that global state is evil, the so called “thread locals” are not much better. Even though they help to separate state on a per-thread or per-greenlet basis, they still are global...

View Article


Image may be NSFW.
Clik here to view.

metaprogramming in Python: What CPython, PyPy, Pyramid, pytest and politics...

Metaprogramming in Python too often revolves around metaclasses, which are just a narrow application of the “meta” idea and not a great one at that. Metaprogramming more generally deals with reasoning...

View Article

Image may be NSFW.
Clik here to view.

Packaging, testing, pypi and my Pycon Russia adventures

A few days ago I talked at Pycon Russia on packaging and testing and a new PyPI Server implementation and workflow tool i am working on, codenamed devpi. See the slides and the video. The slides are...

View Article
Browsing latest articles
Browse All 7 View Live




Latest Images