[Python-Dev] Problem reloading mx.DateTime in PyApache

Skip Montanaro skip@mojam.com (Skip Montanaro)
Tue, 29 Aug 2000 11:19:27 -0500 (CDT)


Don't know if this should concern us in preparation for 2.0b1 release, but
the following came across c.l.py this morning.  

FYI.

Skip

------- start of forwarded message (RFC 934 encapsulation) -------
X-Digest: Python-list digest, Vol 1 #3344 - 13 msgs
Message: 11
Newsgroups: comp.lang.python
Organization: Concentric Internet Services
Lines: 41
Message-ID: <39ABD9A1.A8ECDEC8@faxnet.com>
NNTP-Posting-Host: 208.36.195.178
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Path: news!uunet!ffx.uu.net!newsfeed.mathworks.com!feeder.via.net!newshub2.rdc1.sfba.home.com!news.home.com!newsfeed.concentric.net!global-news-master
Xref: news comp.lang.python:110026
Precedence: bulk
List-Id: General discussion list for the Python programming language <python-list.python.org>
From: Jon LaCour <jal@faxnet.com>
Sender: python-list-admin@python.org
To: python-list@python.org
Subject: Python Problem - Important!
Date: 29 Aug 2000 15:41:00 GMT
Reply-To: jal@faxnet.com

I am beginning development of a very large web application, and I would
like to use Python (no, Zope is not an option).  PyApache seems to be my
best bet, but there is a MASSIVE problem with Python/PyApache that
prevents it from being even marginally useful to me, and to most major
software companies.

My product requires database access, and the database module that I use
for connecting depends on a library called mxDateTime.  This is a very
robust library that is in use all over our system (it has never given us
problems).  Yet, when I use PyApache to connect to a database, I have
major issues.

I have seen this same problem posted to this newsgroup and to the
PyApache mailing list several times from over a year ago, and it appears
to be unresolved.  The essential problem is this: the second time a
module is loaded, Python has cleaned up its dictionaries in its cleanup
mechanism, and does not allow a re-init.  With mxDateTime this gives an
error:

    "TypeError:  call of non-function (type None)"

Essentially, this is a major problem in either the Python internals, or
in PyApache.  After tracing the previous discussions on this issue, it
appears that this is a Python problem.  I am very serious when I say
that this problem *must* be resolved before Python can be taken
seriously for use in web applications, especially when Zope is not an
option.  I require the use of Apache's security features, and several
other Apache extensions.  If anyone knows how to resolve this issue, or
can even point out a way that I can resolve this *myself* I would love
to hear it.

This is the single stumbling block standing in the way of my company
converting almost entirely to Python development, and I am hoping that
python developers will take this bug and smash it quickly.

Thanks in advance, please cc: all responses to my email address at
jal@faxnet.com.

Jonathan LaCour
Developer, VertiSoft

------- end -------