Commits

Daniel Holth committed c126820 Draft

disable _check_unicode_returns() to prevent hang

Comments (0)

Files changed (4)

+0.4.1
+=====
+- Disable _check_unicode_returns() (always returns 'True') because lately it
+  hangs.
+  It is still very bad if _check_unicode_returns() is wrong -- if you
+  care about your data, you must manually verify that your database
+  connection returns ungarbled unicode text.
+include LICENSE
+include *.txt

progress_sa/base.py

         self.text_as_varchar = False
 
     def _check_unicode_returns(self, connection):
+        return True
+
+        # XXX Lately this hangs the database:
         cursor = self._get_raw_cursor(connection)
         item = cursor.columns('SYSTABLES').fetchone()
         try:
 from setuptools import setup, find_packages
 import sys, os
 
-version = '0.4'
+version = '0.4.1'
 
 setup(name=u'progress_sa',
       version=version,