[DB-SIG] DbiDate testing for None

js@ac-copy.com js@ac-copy.com
Wed, 4 Mar 1998 13:01:42 +0100


|hi:
|
|i recently ran into the problem where testing for None for a DbiDate object
|causes a segfault.  i searched the net and found a post on 3/17/97
|regarding the problem but have seen no followup.    I'm currently avoiding
|the problem by testing "type(x) is not NoneType".  does anyone know of a
|solution or better work-around?
|
|
|this happens on solaris using oracledb and on NT4.0 (pythonwin and python)
|using odbc.
|

This also happens on linux with adabas using mxODBC. 


Mit freundlichen Grüßen

    Joachim Schmitz

+------------------------------------------------------------------------+
| AC COPY IfD GmbH                             Telefon: 49-2404-908390   |
| Joseph-von-Fraunhofer-Straße 3d              FAX:     49-2404-908399   |
| D-52477 Alsdorf                              e-Mail:  js@ac-copy.com   |
| http://www.ac-copy.com                       ftp://ftp.ac-copy.com     |
+------------------------------------------------------------------------+


_______________
DB-SIG  - SIG on Tabular Databases in Python

send messages to: db-sig@python.org
administrivia to: db-sig-request@python.org
_______________