[lxml-dev] objectify.fromstring vs etree.fromstring in threaded environment
Holger Joukl
Holger.Joukl at LBBW.de
Wed Feb 21 14:21:23 CET 2007
Hi,
just a quick question:
Can it be problematic to use objectify.fromstring() in a threaded
environment?
If I'm not getting it wrong, etree.fromstring() replicates (copies) the
default
parser for each thread context, whereas objectify.fromstring just uses
its default parser regardless of threading contexts.
Ain't that dangerous wrt to what the FAQ says?
Holger
Der Inhalt dieser E-Mail ist vertraulich. Falls Sie nicht der angegebene
Empfänger sind oder falls diese E-Mail irrtümlich an Sie adressiert wurde,
verständigen Sie bitte den Absender sofort und löschen Sie die E-Mail
sodann. Das unerlaubte Kopieren sowie die unbefugte Übermittlung sind nicht
gestattet. Die Sicherheit von Übermittlungen per E-Mail kann nicht
garantiert werden. Falls Sie eine Bestätigung wünschen, fordern Sie bitte
den Inhalt der E-Mail als Hardcopy an.
The contents of this e-mail are confidential. If you are not the named
addressee or if this transmission has been addressed to you in error,
please notify the sender immediately and then delete this e-mail. Any
unauthorized copying and transmission is forbidden. E-Mail transmission
cannot be guaranteed to be secure. If verification is required, please
request a hard copy version.
Landesbank Baden-Württemberg
Anstalt des öffentlichen Rechts
Hauptsitze: Stuttgart, Karlsruhe, Mannheim
More information about the lxml-dev
mailing list