Teething troubles
A developer shares the challenges of starting a new project with Cython and Python 3, detailing a frustrating bug hunt and attempt to get it fixed.
A developer shares the challenges of starting a new project with Cython and Python 3, detailing a frustrating bug hunt and attempt to get it fixed.
Explains how to use a Python metaclass to solve recursive class definition issues when modeling a C++ API, similar to Django's approach.
A final review of the 'Python Essential Reference' book, highlighting its in-depth coverage of concurrency and network programming.
Explains how to use the PLY parser generator with a custom, hand-written lexer instead of PLY's built-in lexer.
A 2009 benchmark comparing CPython, Unladen Swallow, and PyPy performance on a Mandelbulb application, analyzing JIT patch results.
A developer details two performance optimizations for Unladen Swallow, a Python implementation, focusing on argument parsing and JIT compilation.
A positive review of the Python Essential Reference book, highlighting its coverage of syntax, libraries, and debugging tools.
Analyzing Django's error messages by replicating common typos from a Rails tutorial comparison to see how helpful they are for debugging.
Explains an Unladen Swallow optimization for CPython, replacing METH_O/NOARGS with METH_FIXED to speed up calls to built-in functions with fixed arguments.
A developer explains their Python workflow using pip, virtualenv, and virtualenvwrapper to manage project dependencies and isolated environments.
A PyCon program committee member reflects on the talk selection process, reviewer biases, and shares excitement for upcoming conference talks.
An introduction to Unladen Swallow, a Google-funded project to speed up CPython using a JIT compiler built on LLVM.
A developer explains how to test a Django RSS feed importer by creating a threaded mock HTTP server using Python's threading.Condition.
A technical guide on parsing email attachments and body content from multipart emails using Python's email and StringIO modules.
Announcing the release of Django-filter 0.5, featuring a package name change to django_filters and new filter features.
Announcing pyvcs .2 release with new Subversion and Bazaar backends, plus bug fixes for the Mercurial backend.
Announcing pyvcs and django-vcs, open-source tools for abstracting and web-browsing version control systems, plus plans for a new Django project.
A rebuttal to a critical article about Python, defending its features like closures, generators, lambdas, and the C-API.
A guide for developers on setting up a development environment and contributing patches to the Mercurial version control system.
A developer shares slides and code examples from their talk on Django forms at the EuroDjangoCon 2009 conference.