From mal at egenix.com Mon Sep 6 18:42:00 2010 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Sep 6 17:43:24 2010 Subject: [egenix-users] eGenix mx Base 3.2.0 prerelease for Python 2.7 Message-ID: <4C850BC8.80700@egenix.com> Dear eGenix Users, for those of you who have been waiting for a Python 2.7 compatible release of eGenix mx Base, we have put together a prerelease version. The final release is expected in a week or two. It got delayed a bit due to other projects. This prerelease is also needed in case you want to run mxODBC with Python 2.7. Source: http://downloads.egenix.com/python/egenix-mx-base-3.2.0_dev_20100819.tar.gz http://downloads.egenix.com/python/egenix-mx-base-3.2.0_dev_20100819.zip Windows x86: http://downloads.egenix.com/python/egenix_mx_base-3.2.0_dev_20100819-py2.7-win32.egg http://downloads.egenix.com/python/egenix-mx-base-3.2.0_dev_20100819.win32-py2.7.msi http://downloads.egenix.com/python/egenix-mx-base-3.2.0_dev_20100819.win32-py2.7.prebuilt.zip Windows x64: http://downloads.egenix.com/python/egenix_mx_base-3.2.0_dev_20100819-py2.7-win-amd64.egg http://downloads.egenix.com/python/egenix-mx-base-3.2.0_dev_20100819.win-amd64-py2.7.msi http://downloads.egenix.com/python/egenix-mx-base-3.2.0_dev_20100819.win-amd64-py2.7.prebuilt.zip Linux x86: http://downloads.egenix.com/python/egenix-mx-base-3.2.0_dev_20100819.linux-i686-py2.7_ucs2.prebuilt.zip http://downloads.egenix.com/python/egenix-mx-base-3.2.0_dev_20100819.linux-i686-py2.7_ucs4.prebuilt.zip Linux x64: http://downloads.egenix.com/python/egenix-mx-base-3.2.0_dev_20100819.linux-x86_64-py2.7_ucs2.prebuilt.zip http://downloads.egenix.com/python/egenix-mx-base-3.2.0_dev_20100819.linux-x86_64-py2.7_ucs4.prebuilt.zip Mac OS X x86+ppc: http://downloads.egenix.com/python/egenix-mx-base-3.2.0_dev_20100819.macosx-10.4-fat-py2.7_ucs2.prebuilt.zip http://downloads.egenix.com/python/egenix-mx-base-3.2.0_dev_20100819.macosx-10.4-fat-py2.7_ucs4.prebuilt.zip Mac x64: http://downloads.egenix.com/python/egenix-mx-base-3.2.0_dev_20100819.macosx-10.5-x86_64-py2.7_ucs2.prebuilt.zip http://downloads.egenix.com/python/egenix-mx-base-3.2.0_dev_20100819.macosx-10.5-x86_64-py2.7_ucs4.prebuilt.zip FreeBSD x86: http://downloads.egenix.com/python/egenix-mx-base-3.2.0_dev_20100819.freebsd-7.3-RELEASE-i386-py2.7_ucs2.prebuilt.zip http://downloads.egenix.com/python/egenix-mx-base-3.2.0_dev_20100819.freebsd-7.3-RELEASE-i386-py2.7_ucs4.prebuilt.zip FreeBSD x64: http://downloads.egenix.com/python/egenix-mx-base-3.2.0_dev_20100819.freebsd-7.3-RELEASE-amd64-py2.7_ucs2.prebuilt.zip http://downloads.egenix.com/python/egenix-mx-base-3.2.0_dev_20100819.freebsd-7.3-RELEASE-amd64-py2.7_ucs4.prebuilt.zip Installation is easy: For prebuilt and source archives, just run "python setup.py install"; for the Windows installers, run the installer and follow the instructions. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 06 2010) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ 2010-08-19: Released mxODBC 3.1.0 http://python.egenix.com/ 2010-09-15: DZUG Tagung, Dresden, Germany 8 days to go ::: Try our new mxODBC.Connect Python Database Interface for free ! :::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/ From alok at merfinllc.com Mon Sep 13 09:41:52 2010 From: alok at merfinllc.com (Alok Singhal) Date: Mon Sep 13 17:41:58 2010 Subject: [egenix-users] Bug with strptime in mxDateTime Message-ID: Hi, I am using egenix DateTime module, version 3.1.3. In mx/DateTime/mxDateTime/__init__.py, there's a check for strptime: # If strptime() is not available, use the time.strptime() as # work-around, if that is available try: strptime raise NameError except NameError: if hasattr(time, 'strptime'): def strptime(string, format, _time=time): return DateTime(*_time.strptime(string, format)[:6]) The code in the 'try' clause above raises NameError whether or not the name 'strptime' exists. The line raise NameError should not be there. Thanks, Alok From mal at egenix.com Mon Sep 13 19:41:42 2010 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Sep 13 18:41:45 2010 Subject: [egenix-users] Bug with strptime in mxDateTime In-Reply-To: References: Message-ID: <4C8E5446.3070205@egenix.com> Alok Singhal wrote: > Hi, > > I am using egenix DateTime module, version 3.1.3. In > mx/DateTime/mxDateTime/__init__.py, there's a check for strptime: > > # If strptime() is not available, use the time.strptime() as > # work-around, if that is available > try: > strptime > raise NameError > except NameError: > if hasattr(time, 'strptime'): > def strptime(string, format, > _time=time): > return DateTime(*_time.strptime(string, format)[:6]) > > The code in the 'try' clause above raises NameError whether or not the > name 'strptime' exists. The line > > raise NameError > > should not be there. Thanks for bringing this to our attention. This was obviously a left-over from a debugging session. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 13 2010) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ 2010-08-19: Released mxODBC 3.1.0 http://python.egenix.com/ 2010-09-15: DZUG Tagung, Dresden, Germany 2 days to go ::: Try our new mxODBC.Connect Python Database Interface for free ! :::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/