[Twisted-Python] Twisted and Python 2.3
Trying to run my code under Python 2.3, I get these warnings: C:\tss5\components\fpanel\prog\..\..\_Pythonlib\fpgui\ctgui_reactor.py:113: DeprecationWarning: Foolish capitalist! Your opulent toilet will be your undoing!! log.logOwner.own(fd) C:\tss5\components\fpanel\prog\..\..\_Pythonlib\fpgui\ctgui_reactor.py:127: DeprecationWarning: The proletariat is victorious. log.logOwner.disown(fd) What do they mean? I have built and installed twisted 1.0.6 under Windows. Thomas
On Thu, 31 Jul 2003 14:41:28 +0200 Thomas Heller <theller@python.net> wrote:
What do they mean? I have built and installed twisted 1.0.6 under Windows.
We changed the logging APIs, and you must've copied code from the win32eventreacctor that still uses the old API. Compare that to say, t.i.default's way of interacting with the log. -- Itamar Shtull-Trauring http://itamarst.org/ http://www.zoteca.com -- Python & Twisted consulting
Itamar Shtull-Trauring <itamar@itamarst.org> writes:
On Thu, 31 Jul 2003 14:41:28 +0200 Thomas Heller <theller@python.net> wrote:
What do they mean? I have built and installed twisted 1.0.6 under Windows.
We changed the logging APIs, and you must've copied code from the win32eventreacctor that still uses the old API. Compare that to say, t.i.default's way of interacting with the log.
Thanks. But wouldn't it be more useful to put this in the warning, instead of these strange texts? I would be somewhat worried that these texts (if I do not test the program good enough) may at some time been shown to the innocent user =8( But maybe I have no sense for this kind of humor. Thomas
On Thu, 31 Jul 2003 17:37:33 +0200 Thomas Heller <theller@python.net> wrote:
But wouldn't it be more useful to put this in the warning, instead of these strange texts? I would be somewhat worried that these texts (if I do not test the program good enough) may at some time been shown to the innocent user =8(
Those are warnings (so you can supress them with python options etc.). And yes, we need to remove them, by switching to the new code (it's on my TODO list for win32eventreactor, hopefully before 1.0.7 is released.)
But maybe I have no sense for this kind of humor.
The deprecated methods were "own" and "disown". -- Itamar Shtull-Trauring http://itamarst.org/ http://www.zoteca.com -- Python & Twisted consulting
participants (2)
-
Itamar Shtull-Trauring
-
Thomas Heller