Re: [Zope-dev] LONGing for normal inetegers...
On 12 Feb 2001, Morten W. Petersen wrote: > [Jon Franz] > > | I had this problem in the past and hacked the mysql DA to fix it, then > | dicovered to my dismay I was using an out-of-date mysqlDA and it had already > | been fixed... Which DA are you using? > > Using Python 2.0 could solve this problem, as longs are no longer rendered > with the L suffix. That's my preferred solution, but also see: http://www.zope.org/Members/adustman/Tips/no_el -- Andy Dustman PGP: 0xC72F3F1D @ .net http://dustman.net/andy "Normally with carbonara you use eggs, but I used lobster brains instead." -- Masahiko Kobe (Iron Chef Italian): 30-year-old Giant Lobster Battle ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] LONGing for normal inetegers...
[Jon Franz] | I had this problem in the past and hacked the mysql DA to fix it, then | dicovered to my dismay I was using an out-of-date mysqlDA and it had already | been fixed... Which DA are you using? Using Python 2.0 could solve this problem, as longs are no longer rendered with the L suffix. HTH. -Morten ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] LONGing for normal inetegers...
I had this problem in the past and hacked the mysql DA to fix it, then dicovered to my dismay I was using an out-of-date mysqlDA and it had already been fixed... Which DA are you using? >Message: 1 >Date: Sat, 10 Feb 2001 16:30:19 -0800 (PST) >From: francine broekhove <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Reply-To: [EMAIL PROTECTED] >Subject: [Zope-dev] LONGing for normal integers ... > >Hi everyone, > >i've updated my Zope (finaly) and my Python and my Linux (have been bussy). But, trying to fire up my 'old' applications in Zope, >mostly connected to MySQL databases, i get an annoying 'L' behind every integer. > >All my indexes are integers. I could rewrite all my dtml to include _.int(integer) or something, but that seems completely stupid. >Isn't there a more 'central' way to solve this. F.i. should i adapt some python types? Does anyone know what is wrong and how to >fix this? ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )