[Zope] How can I access/use the i18n locales object in Zope 2.13.4?

2011-02-24 Thread Sascha . Boch
Hi there! I love formatting dates in Zope 3 using the i18n getFormatter function. Apparently this is now also possible in Zope 2 as of 2.11.1. Unfortunately I could not manage to access and use this object. I tried the following: tal:define=formatter python:

[Zope-dev] transaction as context manager, exception during commit

2011-02-24 Thread Chris Withers
Hi Jim, The current __exit__ for transaction managers looks like this: def __exit__(self, t, v, tb): if v is None: self.commit() else: self.abort() ..which means that if you're using the transaction package as a context manager and, say, a

Re: [Zope-dev] [ZODB-Dev] transaction as context manager, exception during commit

2011-02-24 Thread Laurence Rowe
On 24 February 2011 10:17, Chris Withers ch...@simplistix.co.uk wrote: Hi Jim, The current __exit__ for transaction managers looks like this:     def __exit__(self, t, v, tb):         if v is None:             self.commit()         else:             self.abort() ..which means that if

[Zope-dev] Zope Tests: 111 OK, 17 Failed

2011-02-24 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Wed Feb 23 12:00:00 2011 UTC to Thu Feb 24 12:00:00 2011 UTC. There were 128 messages: 8 from Zope Tests, 4 from buildbot at pov.lt, 31 from buildbot at winbot.zope.org, 11 from ccomb at free.fr, 74 from jdriessen at thehealthagency.com. Test

Re: [Zope-dev] [ZODB-Dev] transaction as context manager, exception during commit

2011-02-24 Thread Chris Withers
On 24/02/2011 11:38, Laurence Rowe wrote: Hi Jim, The current __exit__ for transaction managers looks like this: def __exit__(self, t, v, tb): if v is None: self.commit() else: self.abort() ..which means that if you're using the

[Zope-CMF] force unicode on user input text fields

2011-02-24 Thread ToutPT
Hi, Context: I'm working on an issue with dexterity reported here: http://goo.gl/Hc9yg This issue is related to CMF, so I want to ask: What do you think if we force unicode on setTitle and setDescription mutators ? -- Regards / Cordialement, JeanMichel FRANCOIS

Re: [Zope-CMF] force unicode on user input text fields

2011-02-24 Thread Charlie Clark
Am 24.02.2011, 10:45 Uhr, schrieb ToutPT tou...@gmail.com: Hi, Context: I'm working on an issue with dexterity reported here: http://goo.gl/Hc9yg This issue is related to CMF, so I want to ask: What do you think if we force unicode on setTitle and setDescription mutators ? Hiya

[Zope-CMF] CMF Tests: 6 OK

2011-02-24 Thread CMF Tests Summarizer
Summary of messages to the cmf-tests list. Period Wed Feb 23 12:00:00 2011 UTC to Thu Feb 24 12:00:00 2011 UTC. There were 6 messages: 6 from CMF Tests. Tests passed OK --- Subject: OK : CMF-2.1 Zope-2.10 Python-2.4.6 : Linux From: CMF Tests Date: Thu Feb 24 01:30:30 EST 2011 URL:

[Zope-CMF] Ready for a GenericSetup release

2011-02-24 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'd like to cut a GS 1.6.3 release from the trunk soonish -- is there any work going on that I should wait for? Tres. - -- === Tres Seaver +1 540-429-0999