Please log into your user account or create a new one

#86: Building bsddb.so for Python

Solved!
I want to build the _bsddo.so module for my Python install, and link it to an installation of BerkeleyDB 4.8 on my OS X 10.6 machine. OS X 10.6 comes with Python 2.6 and a stock bsddb module, but does not ship the actual binary _bsddb.so, which makes the entire...

#84: setuptools 0.6c11 fails to install on Windows 7 64-bit

Solved!
I am attempting to install setuptools for Windows 7 64-bit. Upon downloading the installer msi file for setuptools 0.6c11 for Python 2.6, the installer fails at the second stage with an error message "Python version 2.6 is required, which was not found in...

#74: Building just readline.so for Python on OS X

Solved!
I want to build the readline.so module for my Python install, and link it to an installation of GNU readline. As much as I dislike the entire "what's Free" argument about this nonsense, readline simply works better with packages such as IPython than the crummy...

#31: Python csv and universal-newline mode

Solved!
When using Python 2.5's csv module, I keep running into a "new-line character seen in unquoted field" error. In [16]: f = csv.reader(open("/Users/yliu/foo/data", "rb"), dialect=csv.excel_tab) In [17]: for row in f: print row...

#22: Pylons - how to turn off caching completely

Solved!
Using Pylons 0.9.6, it would be desireable to turn off template caching completely at the Beaker level so that template changes would be reflected immediately during development.

#14: Setting up trac under mod_wsgi returns NULL result error

When accessing the trac URI, a text/plain document is returned with Python errors, ending with SystemError: NULL result without error in PyObject_Call

#13: Compiling mod_wsgi fails with relocation error

/usr/bin/ld: /usr/local/lib/python2.5/config/libpython2.5.a(node.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/python2.5/config/libpython2.5.a: could not read symbols: Bad...

#11: Python formencode doesn't run validations when input is None

Using FormEncode 1.0.1, validations don't seem to run when an input value of None is provided to the FancyValidator.to_python or Schema.to_python method. Example validation schema: class ValidToken(formencode.FancyValidator): def _to_python(self, value...