Re: __unicodeConvert and sub-classing unicode
Mike McGavin <[email protected]> Thu, 28 Oct 2004 20:23:00 +1300
| Newsgroups | gmane.comp.python.db.pypgsql.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Nicola. Nicola Larosa wrote: > I'm not claiming to be an expert, but I didn't see anything in the code that > needs the original unicode type, and nothing else. So yes, you should go > ahead, IMO. Thanks for the tips. I've reported it as bug. Meanwhile I've managed to find a workaround that's at least slightly preferable than using a hacked pyPgSQL.py. Luckily I had a wrapper around the callproc() method, so I've just added a few lines of code to convert all of my parameters to regular unicode strings before passing them on. Mike. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click