Category Archives: Python

SOLVED: AttributeError: ‘_thread._local’ object has no attribute ‘_pydal_connection_140103876850296_30686’

I have been using web2py’s pyDAL with no problem for a long time. However, recently I started getting the error mentioned in the title and this stacktrace. I googled about and for some reason a certain pyDAL thread came up. And in one of the comments I saw some code which forced a reconnect. So I […]

Posted in Python | Tagged , | Leave a comment

Generating class diagrams from Python code

I had written some of my most complicated OO Python to-date, using a mixture of SQLAlchemy and Nagare. I found 2 excellent tools for generating class diagrams: – pyreverse within the PyLint distribution is excellent – and PyNsource is amazing as well I ended up mainly using the first one, because all I had to […]

Posted in Python | Tagged | Leave a comment

Concurrency

http://migrateup.com/python-concurrency-story-pt2/#

Posted in Python | Tagged | Leave a comment

Mary Rose Cook on FP in Python

http://maryrosecook.com/blog/post/a-practical-introduction-to-functional-programming

Posted in Python | Tagged | Leave a comment

Zato 2.0 – ESB, SOA, REST, APIs and Cloud Integrations in Python

Zato

Posted in Python | Tagged , , | Leave a comment