Re: [Zope-dev] Adding a _frame argument to InterfaceClass.__init__ to make it subclassable

2011-05-01 Thread Hanno Schlichting
On Sun, May 1, 2011 at 2:06 AM, Laurence Rowe l...@lrowe.co.uk wrote:
 I'd like to apply the attached patch to zope.interface trunk to make
 it more easily subclassable without having to copy and paste a chunk
 of its __init__ into the subclass' __init__.

The diff looks innocent enough to me.

+1 on applying it

Hanno
___
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 )


Re: [Zope-dev] Adding a _frame argument to InterfaceClass.__init__ to make it subclassable

2011-05-01 Thread Laurence Rowe
On 1 May 2011 01:06, Laurence Rowe l...@lrowe.co.uk wrote:
 Hi,

 I'd like to apply the attached patch to zope.interface trunk to make
 it more easily subclassable without having to copy and paste a chunk
 of its __init__ into the subclass' __init__.

On closer inspection, this doesn't seem to be necessary. With python
2.6 when creating a class __module__ is inserted as an attribute.

Laurence
___
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] Metaclass resolution for InterfaceClass

2011-05-01 Thread Laurence Rowe
While experimenting with my InterfaceClass subclass I noticed that it
was only being used when it was specified as the first of the bases. I
believe this is because InterfaceClass is not a subclass of ``type``,
so the normal metaclass derivation logic is not applied. The attached
patch implements that logic in InterfaceClass.__new__, picking from
the base metaclasses that metaclass which subclasses all other base
metaclasses.

Laurence


metaclass_resolution.diff
Description: Binary data
___
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: 14, OK: 74

2011-05-01 Thread Zope tests summarizer
This is the summary for test reports received on the 
zope-tests list between 2011-04-30 00:00:00 UTC and 2011-05-01 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


   Bluebream / Python2.4.6 64bit linux
   Bluebream / Python2.5.5 64bit linux
   Bluebream / Python2.6.5 64bit linux
[1]Repository policy check found errors in 312 projects
   Total languishing bugs for zope2: 0
[2]Total languishing bugs for zope: 57
[3]Total languishing bugs for zopeapp: 2
[4]Total languishing bugs for zopetoolkit: 199
   ZTK 1.0 / Python2.4.6 Linux 64bit
   ZTK 1.0 / Python2.5.5 Linux 64bit
   ZTK 1.0 / Python2.6.5 Linux 64bit
   ZTK 1.0dev / Python2.4.6 Linux 64bit
   ZTK 1.0dev / Python2.5.5 Linux 64bit
   ZTK 1.0dev / Python2.6.5 Linux 64bit
   Zope 3.4 KGS / Python2.4.6 64bit linux
   Zope 3.4 KGS / Python2.5.5 64bit linux
   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 Buildbot / zope2.12-py2.6 slave-osx
   Zope Buildbot / zope2.12-py2.6 slave-ubuntu32
   Zope Buildbot / zope2.12-py2.6 slave-ubuntu64
   Zope Buildbot / zope2.13-py2.6 slave-osx
   Zope Buildbot / zope2.13-py2.6 slave-ubuntu32
   Zope Buildbot / zope2.13-py2.6 slave-ubuntu64
   Zope Buildbot / zope2.13-py2.7 slave-osx
   Zope Buildbot / zope2.13-py2.7 slave-ubuntu32
[5]Zope Buildbot / zope2.13-py2.7 slave-ubuntu64
   Zope Buildbot / zope2.13_win-py2.6 slave-win
   Zope Buildbot / zope2.13_win-py2.7 slave-win
   Zope Buildbot / zope2.14-py2.6 slave-osx
   Zope Buildbot / zope2.14-py2.6 slave-ubuntu32
   Zope Buildbot / zope2.14-py2.6 slave-ubuntu64
   Zope Buildbot / zope2.14-py2.7 slave-osx
   Zope Buildbot / zope2.14-py2.7 slave-ubuntu32
[6]Zope Buildbot / zope2.14-py2.7 slave-ubuntu64
   Zope Buildbot / zopetoolkit-1.0-py2.4 slave-osx
   Zope Buildbot / zopetoolkit-1.0-py2.4 slave-ubuntu32
   Zope Buildbot / zopetoolkit-1.0-py2.4 slave-ubuntu64
   Zope Buildbot / zopetoolkit-1.0-py2.5 slave-osx
   Zope Buildbot / zopetoolkit-1.0-py2.5 slave-ubuntu32
   Zope Buildbot / zopetoolkit-1.0-py2.5 slave-ubuntu64
   Zope Buildbot / zopetoolkit-1.0-py2.6 slave-osx
   Zope Buildbot / zopetoolkit-1.0-py2.6 slave-ubuntu32
   Zope Buildbot / zopetoolkit-1.0-py2.6 slave-ubuntu64
   Zope Buildbot / zopetoolkit-1.0_win-py2.4 slave-win
   Zope Buildbot / zopetoolkit-1.0_win-py2.5 slave-win
   Zope Buildbot / zopetoolkit-1.0_win-py2.6 slave-win
   Zope Buildbot / zopetoolkit-1.1-py2.5 slave-osx
   Zope Buildbot / zopetoolkit-1.1-py2.5 slave-ubuntu32
   Zope Buildbot / zopetoolkit-1.1-py2.5 slave-ubuntu64
   Zope Buildbot / zopetoolkit-1.1-py2.6 slave-osx
   Zope Buildbot / zopetoolkit-1.1-py2.6 slave-ubuntu32
   Zope Buildbot / zopetoolkit-1.1-py2.6 slave-ubuntu64
   Zope Buildbot / zopetoolkit-1.1_win-py2.5 slave-win
   Zope Buildbot / zopetoolkit-1.1_win-py2.6 slave-win
   Zope Buildbot / zopetoolkit-py2.5 slave-osx
   Zope Buildbot / zopetoolkit-py2.5 slave-ubuntu32
   Zope Buildbot / zopetoolkit-py2.5 slave-ubuntu64
   Zope Buildbot / zopetoolkit-py2.6 slave-osx
[7]Zope Buildbot / zopetoolkit-py2.6 slave-ubuntu32
   Zope Buildbot / zopetoolkit-py2.6 slave-ubuntu64
   Zope Buildbot / zopetoolkit_win-py2.5 slave-win
   Zope Buildbot / zopetoolkit_win-py2.6 slave-win
   winbot / ZODB_dev py_254_win32
   winbot / ZODB_dev py_265_win32
   winbot / ZODB_dev py_265_win64
   winbot / ZODB_dev py_270_win32
   winbot / ZODB_dev py_270_win64
[8]winbot / z3c.coverage_py_265_32
[9]winbot / z3c.rml_py_265_32
[10]   winbot / zc_buildout_dev py_254_win32
[11]   winbot / zc_buildout_dev py_265_win32
[12]   winbot / zc_buildout_dev py_265_win64
[13]   winbot / zc_buildout_dev py_270_win32
[14]   winbot / zc_buildout_dev py_270_win64
   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_dev py_254_win32
   winbot / ztk_dev py_265_win32
   winbot / ztk_dev py_265_win64
   winbot / ztk_dev py_270_win32
   winbot / ztk_dev py_270_win64

Non-OK results
--

[1]FAILED  Repository policy check found errors in 312 projects
   https://mail.zope.org/pipermail/zope-tests/2011-April/039503.html


[2]FAILED  Total languishing bugs for zope: 57
   https://mail.zope.org/pipermail/zope-tests/2011-April/039499.html


[3]FAILED