From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Jan 13 11:13:14 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Jan 13 11:13:14 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Fri Jan 13 11:13:14 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Jan 13 11:13:14 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Jan 13 15:13:43 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Jan 13 15:13:43 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Fri Jan 13 15:13:43 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Jan 13 15:13:43 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Jan 13 15:21:07 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Jan 13 15:21:07 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Fri Jan 13 15:21:07 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Jan 13 15:21:07 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Jan 13 16:00:39 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Jan 13 16:00:39 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Fri Jan 13 16:00:39 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Jan 13 16:00:41 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Jan 13 20:01:23 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Jan 13 20:01:23 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Fri Jan 13 20:01:23 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Jan 13 20:01:23 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Jan 14 08:02:09 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Jan 14 08:02:09 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Sat Jan 14 08:02:09 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Jan 14 08:02:09 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Jan 14 12:00:39 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Jan 14 12:00:39 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Sat Jan 14 12:00:39 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Jan 14 12:00:39 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Jan 14 16:00:37 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Jan 14 16:00:37 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Sat Jan 14 16:00:37 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Jan 14 16:00:37 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Jan 14 20:00:34 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Jan 14 20:00:34 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Sat Jan 14 20:00:34 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Jan 14 20:00:34 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Jan 15 08:01:55 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Jan 15 08:01:55 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Sun Jan 15 08:01:55 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Jan 15 08:01:55 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Jan 15 12:00:43 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Jan 15 12:00:43 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Sun Jan 15 12:00:43 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Jan 15 12:00:43 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Jan 15 16:00:38 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Jan 15 16:00:38 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Sun Jan 15 16:00:38 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Jan 15 16:00:38 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Jan 15 20:00:35 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Jan 15 20:00:35 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Sun Jan 15 20:00:35 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Jan 15 20:00:35 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Jan 16 08:02:17 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Jan 16 08:02:17 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Mon Jan 16 08:02:17 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Jan 16 08:02:19 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Jan 16 12:00:41 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Jan 16 12:00:41 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Mon Jan 16 12:00:41 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Jan 16 12:00:41 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Jan 16 16:00:38 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Jan 16 16:00:38 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Mon Jan 16 16:00:38 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Jan 16 16:00:38 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Jan 16 20:00:34 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Jan 16 20:00:34 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Mon Jan 16 20:00:34 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Jan 16 20:00:34 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Jan 17 08:02:19 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Jan 17 08:02:20 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Tue Jan 17 08:02:20 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Jan 17 08:02:20 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Jan 17 12:00:51 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Jan 17 12:00:51 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Tue Jan 17 12:00:51 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Jan 17 12:00:51 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Jan 17 16:00:43 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Jan 17 16:00:43 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Tue Jan 17 16:00:43 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Jan 17 16:00:43 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Jan 17 20:00:42 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Jan 17 20:00:42 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Tue Jan 17 20:00:42 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Jan 17 20:00:42 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Jan 18 08:04:02 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Jan 18 08:04:02 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Wed Jan 18 08:04:02 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Jan 18 08:04:02 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Jan 18 12:00:53 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Jan 18 12:00:53 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Wed Jan 18 12:00:53 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Jan 18 12:00:53 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Jan 18 16:01:13 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Jan 18 16:01:13 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Wed Jan 18 16:01:13 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Jan 18 16:01:13 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Jan 18 20:00:43 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Jan 18 20:00:44 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Wed Jan 18 20:00:44 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Jan 18 20:00:44 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Jan 19 08:04:22 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Jan 19 08:04:22 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Thu Jan 19 08:04:22 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Jan 19 08:04:22 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Jan 19 12:00:52 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Jan 19 12:00:52 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Thu Jan 19 12:00:52 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Jan 19 12:00:52 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Jan 19 16:02:24 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Jan 19 16:02:25 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Thu Jan 19 16:02:25 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Jan 19 16:02:25 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Jan 19 20:00:41 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Jan 19 20:00:41 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Thu Jan 19 20:00:41 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Jan 19 20:00:41 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Jan 20 08:06:04 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Jan 20 08:06:04 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Fri Jan 20 08:06:04 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Jan 20 08:06:04 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Jan 20 12:01:42 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Jan 20 12:01:42 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Fri Jan 20 12:01:42 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Jan 20 12:01:42 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Jan 20 16:00:43 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Jan 20 16:00:43 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Fri Jan 20 16:00:43 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Jan 20 16:00:43 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Jan 20 20:00:38 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Jan 20 20:00:38 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Fri Jan 20 20:00:38 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Jan 20 20:00:38 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Jan 21 08:03:35 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Jan 21 08:03:35 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Sat Jan 21 08:03:35 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Jan 21 08:03:35 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Jan 21 12:00:53 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Jan 21 12:00:53 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Sat Jan 21 12:00:53 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Jan 21 12:00:53 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Jan 21 16:00:43 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Jan 21 16:00:43 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Sat Jan 21 16:00:43 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Jan 21 16:00:43 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Jan 21 20:00:39 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Jan 21 20:00:39 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Sat Jan 21 20:00:39 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Jan 21 20:00:39 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Jan 22 08:02:31 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Jan 22 08:02:31 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Sun Jan 22 08:02:31 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Jan 22 08:02:31 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Jan 22 12:00:42 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Jan 22 12:00:42 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Sun Jan 22 12:00:42 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Jan 22 12:00:42 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Jan 22 16:01:00 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Jan 22 16:01:00 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Sun Jan 22 16:01:00 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Jan 22 16:01:00 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Jan 22 20:01:00 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Jan 22 20:01:00 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Sun Jan 22 20:01:00 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Jan 22 20:01:00 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Jan 23 08:02:23 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Jan 23 08:02:24 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Mon Jan 23 08:02:24 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Jan 23 08:02:24 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Jan 23 12:00:45 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Jan 23 12:00:45 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Mon Jan 23 12:00:45 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Jan 23 12:00:45 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Jan 23 16:01:27 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Jan 23 16:01:27 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Mon Jan 23 16:01:27 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Jan 23 16:01:27 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Jan 23 20:00:44 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Jan 23 20:00:44 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Mon Jan 23 20:00:44 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Jan 23 20:00:44 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Jan 24 08:02:52 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Jan 24 08:02:52 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Tue Jan 24 08:02:52 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Jan 24 08:02:52 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Jan 24 12:02:23 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Jan 24 12:02:23 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Tue Jan 24 12:02:23 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Jan 24 12:02:23 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Jan 24 16:01:08 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Jan 24 16:01:08 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Tue Jan 24 16:01:08 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Jan 24 16:01:08 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Jan 24 20:01:41 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Jan 24 20:01:41 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Tue Jan 24 20:01:41 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Jan 24 20:01:41 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Jan 25 08:01:48 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Jan 25 08:01:49 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Wed Jan 25 08:01:49 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Jan 25 08:01:49 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Jan 25 12:00:50 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Jan 25 12:00:50 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Wed Jan 25 12:00:50 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Jan 25 12:00:50 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Jan 25 16:00:49 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Jan 25 16:00:49 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Wed Jan 25 16:00:49 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Jan 25 16:00:49 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Jan 25 20:00:43 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Jan 25 20:00:46 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Wed Jan 25 20:00:46 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Jan 25 20:00:46 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Jan 26 08:04:56 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Jan 26 08:04:57 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Thu Jan 26 08:04:57 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Jan 26 08:04:57 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Jan 26 12:00:56 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Jan 26 12:00:56 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Thu Jan 26 12:00:56 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Jan 26 12:00:56 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Jan 26 16:00:44 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Jan 26 16:00:44 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Thu Jan 26 16:00:44 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Jan 26 16:00:44 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Jan 26 20:00:41 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Jan 26 20:00:41 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Thu Jan 26 20:00:41 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Jan 26 20:00:41 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Jan 27 08:05:56 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Jan 27 08:05:56 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Fri Jan 27 08:05:56 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Jan 27 08:05:56 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Jan 27 12:01:55 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Jan 27 12:01:55 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Fri Jan 27 12:01:55 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Jan 27 12:01:55 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Jan 27 16:00:50 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Jan 27 16:00:55 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Fri Jan 27 16:00:55 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Jan 27 16:00:55 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Jan 27 20:00:44 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Jan 27 20:00:44 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Fri Jan 27 20:00:44 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Jan 27 20:00:44 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Jan 28 08:05:05 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Jan 28 08:05:05 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Sat Jan 28 08:05:05 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Jan 28 08:05:05 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Jan 28 12:01:44 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Jan 28 12:01:44 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Sat Jan 28 12:01:44 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Jan 28 12:01:44 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Jan 28 16:00:45 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Jan 28 16:00:45 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Sat Jan 28 16:00:45 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Jan 28 16:00:45 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Jan 28 20:00:48 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Jan 28 20:00:48 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Sat Jan 28 20:00:48 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Jan 28 20:00:48 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Jan 29 08:06:44 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Jan 29 08:06:44 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Sun Jan 29 08:06:44 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Jan 29 08:06:44 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Jan 29 12:00:47 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Jan 29 12:00:47 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Sun Jan 29 12:00:47 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Jan 29 12:00:47 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Jan 29 16:00:45 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Jan 29 16:00:45 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Sun Jan 29 16:00:45 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Jan 29 16:00:45 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Jan 29 20:00:47 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Jan 29 20:00:47 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Sun Jan 29 20:00:47 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Jan 29 20:00:47 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Jan 30 08:07:11 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Jan 30 08:07:11 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Mon Jan 30 08:07:11 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Jan 30 08:07:11 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Jan 30 12:03:31 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Jan 30 12:03:32 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Mon Jan 30 12:03:32 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Jan 30 12:03:32 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Jan 30 16:03:46 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Jan 30 16:03:46 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Mon Jan 30 16:03:46 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Jan 30 16:03:46 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Jan 30 20:01:53 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Jan 30 20:01:53 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Mon Jan 30 20:01:53 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Jan 30 20:01:53 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Jan 31 08:07:16 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Jan 31 08:07:16 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Tue Jan 31 08:07:16 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Jan 31 08:07:16 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Jan 31 12:03:50 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Jan 31 12:03:50 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Tue Jan 31 12:03:50 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Jan 31 12:03:50 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Jan 31 16:01:56 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Jan 31 16:01:56 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Tue Jan 31 16:01:56 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Jan 31 16:01:56 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Jan 31 20:00:56 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Jan 31 20:00:56 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Tue Jan 31 20:00:56 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Jan 31 20:00:56 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Feb 1 08:09:02 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Feb 1 08:09:02 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Wed Feb 1 08:09:02 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Feb 1 08:09:02 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Feb 1 12:02:21 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Feb 1 12:02:21 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Wed Feb 1 12:02:21 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Feb 1 12:02:21 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Feb 1 16:00:54 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Feb 1 16:00:54 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Wed Feb 1 16:00:54 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Feb 1 16:00:54 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Feb 1 20:00:45 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Feb 1 20:00:45 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Wed Feb 1 20:00:45 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Feb 1 20:00:45 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Feb 2 08:11:10 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Feb 2 08:11:11 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Thu Feb 2 08:11:11 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Feb 2 08:11:11 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Feb 2 12:02:26 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Feb 2 12:02:27 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Thu Feb 2 12:02:27 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Feb 2 12:02:27 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Feb 2 16:00:58 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Feb 2 16:00:58 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Thu Feb 2 16:00:58 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Feb 2 16:00:58 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Feb 2 20:00:49 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Feb 2 20:00:49 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Thu Feb 2 20:00:49 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Feb 2 20:00:49 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Feb 3 08:10:33 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Feb 3 08:10:34 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Fri Feb 3 08:10:34 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Feb 3 08:10:34 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Feb 3 12:02:15 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Feb 3 12:02:16 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Fri Feb 3 12:02:16 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Feb 3 12:02:16 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Feb 3 16:00:50 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Feb 3 16:00:50 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Fri Feb 3 16:00:50 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Feb 3 16:00:50 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Feb 3 20:00:52 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Feb 3 20:00:52 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Fri Feb 3 20:00:52 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Feb 3 20:00:52 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Feb 4 08:06:38 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Feb 4 08:06:38 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Sat Feb 4 08:06:38 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Feb 4 08:06:38 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Feb 4 12:02:18 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Feb 4 12:02:18 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Sat Feb 4 12:02:18 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Feb 4 12:02:18 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Feb 4 16:01:00 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Feb 4 16:01:00 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Sat Feb 4 16:01:00 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Feb 4 16:01:00 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Feb 4 20:00:46 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Feb 4 20:00:46 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Sat Feb 4 20:00:46 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Feb 4 20:00:46 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Feb 5 08:07:06 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Feb 5 08:07:06 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Sun Feb 5 08:07:06 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Feb 5 08:07:06 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Feb 5 12:02:20 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Feb 5 12:02:21 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Sun Feb 5 12:02:21 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Feb 5 12:02:21 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Feb 5 16:00:57 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Feb 5 16:00:57 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Sun Feb 5 16:00:57 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Feb 5 16:00:57 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Feb 5 20:00:44 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Feb 5 20:00:44 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Sun Feb 5 20:00:44 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Feb 5 20:00:44 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Feb 6 08:11:41 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Feb 6 08:11:42 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Mon Feb 6 08:11:42 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Feb 6 08:11:42 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Feb 6 12:02:13 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Feb 6 12:02:14 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Mon Feb 6 12:02:14 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Feb 6 12:02:14 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Feb 6 16:00:50 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Feb 6 16:00:50 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Mon Feb 6 16:00:50 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Feb 6 16:00:50 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Feb 6 20:00:52 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Feb 6 20:00:52 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Mon Feb 6 20:00:52 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Feb 6 20:00:52 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Feb 7 08:17:38 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Feb 7 08:17:39 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Tue Feb 7 08:17:39 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Feb 7 08:17:40 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Feb 7 12:02:49 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Feb 7 12:02:50 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Tue Feb 7 12:02:50 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Feb 7 12:02:50 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Feb 7 16:00:57 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Feb 7 16:00:57 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Tue Feb 7 16:00:57 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Feb 7 16:00:57 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Feb 7 20:00:57 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Feb 7 20:00:57 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Tue Feb 7 20:00:57 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Feb 7 20:00:57 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Feb 8 08:19:13 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Feb 8 08:19:14 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Wed Feb 8 08:19:14 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Feb 8 08:19:14 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Feb 8 12:02:43 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Feb 8 12:02:43 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Wed Feb 8 12:02:43 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Feb 8 12:02:43 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Feb 8 16:01:02 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Feb 8 16:01:02 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Wed Feb 8 16:01:02 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Feb 8 16:01:02 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Feb 8 20:00:51 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Feb 8 20:00:51 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Wed Feb 8 20:00:51 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Feb 8 20:00:51 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Feb 9 08:07:52 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Feb 9 08:07:54 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Thu Feb 9 08:07:54 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Feb 9 08:07:54 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Feb 9 12:02:31 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Feb 9 12:02:31 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Thu Feb 9 12:02:31 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Feb 9 12:02:31 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Feb 9 16:01:04 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Feb 9 16:01:04 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Thu Feb 9 16:01:04 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Feb 9 16:01:04 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Feb 9 20:00:56 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Feb 9 20:00:56 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Thu Feb 9 20:00:56 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Feb 9 20:00:56 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Feb 10 08:15:25 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Feb 10 08:15:27 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Fri Feb 10 08:15:27 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Feb 10 08:15:27 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Feb 10 12:03:02 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Feb 10 12:03:02 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Fri Feb 10 12:03:02 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Feb 10 12:03:02 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Feb 10 16:00:52 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Feb 10 16:00:52 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Fri Feb 10 16:00:52 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Feb 10 16:00:52 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Feb 10 20:00:59 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Feb 10 20:00:59 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Fri Feb 10 20:00:59 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Feb 10 20:00:59 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Feb 11 08:11:49 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Feb 11 08:11:49 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Sat Feb 11 08:11:49 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Feb 11 08:11:49 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Feb 11 12:02:12 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Feb 11 12:02:12 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Sat Feb 11 12:02:12 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Feb 11 12:02:12 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Feb 11 16:00:54 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Feb 11 16:00:54 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Sat Feb 11 16:00:54 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Feb 11 16:00:54 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Feb 11 20:00:49 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Feb 11 20:00:49 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Sat Feb 11 20:00:49 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sat Feb 11 20:00:49 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Feb 12 08:08:13 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Feb 12 08:08:15 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Sun Feb 12 08:08:15 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Feb 12 08:08:15 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Feb 12 12:02:20 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Feb 12 12:02:20 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Sun Feb 12 12:02:20 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Feb 12 12:02:20 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Feb 12 16:00:55 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Feb 12 16:00:55 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Sun Feb 12 16:00:55 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Feb 12 16:00:55 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Feb 12 20:00:55 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Feb 12 20:00:55 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Sun Feb 12 20:00:55 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Sun Feb 12 20:00:55 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Feb 13 08:14:54 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Feb 13 08:14:54 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Mon Feb 13 08:14:54 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Feb 13 08:14:54 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Feb 13 12:02:32 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Feb 13 12:02:32 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Mon Feb 13 12:02:32 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Feb 13 12:02:32 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Feb 13 16:01:09 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Feb 13 16:01:09 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Mon Feb 13 16:01:09 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Feb 13 16:01:09 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Feb 13 20:00:47 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Feb 13 20:00:47 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Mon Feb 13 20:00:47 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Mon Feb 13 20:00:47 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Feb 14 08:16:56 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Feb 14 08:16:56 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Tue Feb 14 08:16:56 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Feb 14 08:16:56 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Feb 14 12:02:50 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Feb 14 12:02:51 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Tue Feb 14 12:02:51 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Feb 14 12:02:51 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Feb 14 16:01:15 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Feb 14 16:01:15 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Tue Feb 14 16:01:15 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Feb 14 16:01:15 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Feb 14 20:00:59 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Feb 14 20:00:59 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Tue Feb 14 20:00:59 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Tue Feb 14 20:00:59 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Feb 15 08:22:15 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Feb 15 08:22:16 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Wed Feb 15 08:22:16 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Feb 15 08:22:16 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Feb 15 12:04:40 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Feb 15 12:04:40 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Wed Feb 15 12:04:40 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Feb 15 12:04:40 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Feb 15 16:01:13 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Feb 15 16:01:13 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Wed Feb 15 16:01:13 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Feb 15 16:01:13 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Feb 15 19:27:49 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Feb 15 19:27:50 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Wed Feb 15 19:27:50 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Feb 15 19:27:50 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Feb 15 20:12:02 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Feb 15 20:12:05 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Wed Feb 15 20:12:05 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Wed Feb 15 20:12:05 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Feb 16 08:41:21 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Feb 16 08:41:22 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Thu Feb 16 08:41:22 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Thu Feb 16 08:41:22 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 14:18:24 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Mar 31 16:33:01 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) Message-ID: <3CE4E700.4090802@lemburg.com> Hi everybody, here's a second round of beta releases for the 2.1.0 release of egenix-mx-base: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Beta 2 includes a few more updates amd bug fixes which were found in the beta 1 cycle. I think I forgot to mention last time that this release features a brand new version of mxTextTools. It now comes with complete Unicode support, a tag table compiler, support for string labels (no more counting of tuple entries ;-) and a few other goodies which will make future development much easier (most noteably the addition of a context object). Please try these out and report any bugs you find to this list. PS: A new version of mxODBC is also in the making, but not quite ready for prime-time yet. If you'd like to alpha test it, please let me know and I'll send you a copy of mxODBC 2.1.0 for testing purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From mal at lemburg.com Fri May 17 21:06:00 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Mar 31 16:33:01 2006 Subject: [egenix-users] ANN: eGenix.com mx BASE 2.1.0 (beta2) References: <3CE4E700.4090802@lemburg.com> Message-ID: <3CE54688.8060801@lemburg.com> M.-A. Lemburg wrote: > Hi everybody, > > here's a second round of beta releases for the 2.1.0 release > of egenix-mx-base: > > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py1.5_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.0_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.1_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.i386.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2-py2.2_1.src.rpm > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.tar.gz > http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.zip Here are the Windows installers: http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py1.5.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.0.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.1.exe http://www.egenix.com/files/python/egenix-mx-base-2.1.0b2.win32-py2.2.exe > Beta 2 includes a few more updates amd bug fixes which were > found in the beta 1 cycle. > > I think I forgot to mention last time that this release features > a brand new version of mxTextTools. It now comes with complete > Unicode support, a tag table compiler, support for string labels > (no more counting of tuple entries ;-) and a few other goodies > which will make future development much easier (most noteably > the addition of a context object). > > Please try these out and report any bugs you find to this list. > > PS: A new version of mxODBC is also in the making, but not quite > ready for prime-time yet. If you'd like to alpha test it, please > let me know and I'll send you a copy of mxODBC 2.1.0 for testing > purposes. Thank you, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From holtwick at spirito.de Fri May 24 12:26:46 2002 From: holtwick at spirito.de (Dirk Holtwick) Date: Fri Mar 31 16:33:01 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> Message-ID: <3CEE0756.3000206@spirito.de> Hi, I noticed some strange behaviour with values for "week of year" with mx.DateTime. I use something like this in my program: Date(year, month, w).strftime("%W") e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german calendar it should be 18, so I add 1. But Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work with the method described above? bye, dirk --- spirito GmbH Dirk Holtwick Lerchenstra?e 8 D-47057 Duisburg Tel. 0203 3187777 holtwick@spirito.de http://www.spirito.de From mal at lemburg.com Mon May 27 12:28:50 2002 From: mal at lemburg.com (M.-A. Lemburg) Date: Fri Mar 31 16:33:01 2006 Subject: [egenix-users] week of year References: <3CAB0173.589E3584@lemburg.com> <3CABFBC3.5040405@spirito.de> <3CAC30C7.3C581021@lemburg.com> <3CEE0756.3000206@spirito.de> Message-ID: <3CF1FC52.1020603@lemburg.com> Dirk Holtwick wrote: > Hi, > > I noticed some strange behaviour with values for "week of year" with > mx.DateTime. I use something like this in my program: > > Date(year, month, w).strftime("%W") > > e.g.: Date(2002,5,1).strftime("%W") gives 17 as result. In my german > calendar it should be 18, so I add 1. But > Date(2001,5,1).strftime("%W") gives 18 and in my calendar its also 18 so > adding +1 dosn't work here. what can I do? I use Date(2001,5,1).iso_week[1] > and Date(2002,5,1).iso_week[1] that works. But shouldn't it also work > with the method described above? The .strftime() method interfaces directly to the C lib's strftime() API, so if that implementation uses a non-ISO week number calculation, then you see different results. GLIBC: """ %W The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01. """ This is clearly not ISO (which is much more complicated) ! -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/