Re: [Zope-dev] SVN: zope.app.locales/trunk/ In version 3.7.2 msgids and default values where forced to be unicodes. This

2012-06-29 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/14/2012 08:13 AM, Michael Howitz wrote:
 Log message for revision 125861: In version 3.7.2 msgids and default
 values where forced to be unicodes. This was too strict because at
 least the TAL extractor returns UTF-8 encoded default values. Fixed
 this by allowing the default value to be a string again.

snip

 --- zope.app.locales/trunk/src/zope/app/locales/extract.py2012-05-14
 08:50:08 UTC (rev 125860) +++
 zope.app.locales/trunk/src/zope/app/locales/extract.py2012-05-14
 12:13:47 UTC (rev 125861) @@ -97,7 +97,7 @@ msgstr  BLANKLINE
 
 -Unicode can be used in msgids and default values +Unicode can
 be used in msgids and default values:
 
 entry = POTEntry(Message(u\u263B, default=u\u253A)) 
 entry.write(FakeFile())
 @@ -106,6 +106,16 @@ msgstr  BLANKLINE
 
 +But msgid might be an ascii encoded string and `default` might be
 a +string with the DEFAULT_ENCODING, too: + + entry =
 POTEntry(Message(Oe, default=\xd6)) +
 entry.write(FakeFile()) +#. Default: \326 +msgid Oe +
 msgstr  +BLANKLINE + 

Hmm, I'm running into a test failure where the Message constructor blows
up with a decode error for the 'default' value here.  Does that ring any
bells for anyone?  I know we can't be depending on a
sys.setdefaultencoding hack.


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/t6b4ACgkQ+gerLs4ltQ4OAwCeK2Cm+Xm/OLy+adZGfOkQx/hk
CakAoLQFXbtqQU9Jlm1ZfgtD58RwJ7wE
=kFK2
-END PGP SIGNATURE-

___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] zope-tests - FAILED: 1, OK: 23

2012-06-29 Thread Zope tests summarizer
This is the summary for test reports received on the 
zope-tests list between 2012-06-28 00:00:00 UTC and 2012-06-29 00:00:00 UTC:

See the footnotes for test reports of unsuccessful builds.

An up-to date view of the builders is also available in our 
buildbot documentation: 
http://docs.zope.org/zopetoolkit/process/buildbots.html#the-nightly-builds

Reports received


   Zope 3.4 Known Good Set / py2.4-32bit-linux
   Zope 3.4 Known Good Set / py2.4-64bit-linux
   Zope 3.4 Known Good Set / py2.5-32bit-linux
   Zope 3.4 Known Good Set / py2.5-64bit-linux
   Zope-2.10 Python-2.4.6 : Linux
   Zope-2.11 Python-2.4.6 : Linux
   Zope-2.12 Python-2.6.8 : Linux
   Zope-2.13 Python-2.6.8 : Linux
   Zope-2.13 Python-2.7.3 : Linux
   Zope-trunk Python-2.6.8 : Linux
   Zope-trunk Python-2.7.3 : Linux
   winbot / ZODB_dev py_265_win32
   winbot / ZODB_dev py_265_win64
   winbot / ZODB_dev py_270_win32
   winbot / ZODB_dev py_270_win64
[1]winbot / zope.app.container_py_265_32
   winbot / ztk_10 py_254_win32
   winbot / ztk_10 py_265_win32
   winbot / ztk_10 py_265_win64
   winbot / ztk_11 py_254_win32
   winbot / ztk_11 py_265_win32
   winbot / ztk_11 py_265_win64
   winbot / ztk_11 py_270_win32
   winbot / ztk_11 py_270_win64

Non-OK results
--

[1]FAILED  winbot / zope.app.container_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2012-June/064902.html


___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )