[Zope-dev] Announcing: Zope 4.0 project

2009-04-01 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On behalf of the Zope community, I am pleased to announce the creation
of the Zope 4.0 project.  After extensive discussion with the Zope
wizards in conclave at PyCon 2009, the new project's website has been
launched:

  http://zopefour.org/

Enjoy!


Tres.
- --
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJ01VR+gerLs4ltQ4RAiljAKCACB9aMtI3YnsXPZss4hdEDrA7FACgsqv7
3jR6FQeEy0qpX4D4NOX+HsA=
=q8Fu
-END PGP SIGNATURE-
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] [Zope-Annce] Announcing: Zope 4.0 project

2009-04-01 Thread Chris Withers
*looks at the date*

*sigh*

I'll go back to my cave now...

Chris

Chris Withers wrote:
 Tres Seaver wrote:
 On behalf of the Zope community, I am pleased to announce the creation
 of the Zope 4.0 project.  After extensive discussion with the Zope
 wizards in conclave at PyCon 2009, the new project's website has been
 launched:

   http://zopefour.org/
 
 Er?
 
 Little more context and explanation please...
 
 Chris
 

-- 
Simplistix - Content Management, Zope  Python Consulting
- http://www.simplistix.co.uk
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] [Zope-Annce] Announcing: Zope 4.0 project

2009-04-01 Thread Chris Withers
Tres Seaver wrote:
 On behalf of the Zope community, I am pleased to announce the creation
 of the Zope 4.0 project.  After extensive discussion with the Zope
 wizards in conclave at PyCon 2009, the new project's website has been
 launched:
 
   http://zopefour.org/

Er?

Little more context and explanation please...

Chris

-- 
Simplistix - Content Management, Zope  Python Consulting
- http://www.simplistix.co.uk
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Announcing: Zope 4.0 project

2009-04-01 Thread Martin Aspeli
Tres Seaver wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On behalf of the Zope community, I am pleased to announce the creation
 of the Zope 4.0 project.  After extensive discussion with the Zope
 wizards in conclave at PyCon 2009, the new project's website has been
 launched:
 
   http://zopefour.org/

Ah, best one yet. :)

Martin

-- 
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book

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


[Zope-dev] Two small convenience suggestions for zope.interface and zope.component

2009-04-01 Thread Martin Aspeli
Hi,

I'd like to add support for the following:

1) Provider decorator:

  @provider(IFoo)
  def some_function(context)
  pass

This is an alternative to doing a separate alsoProvides() on the function.

2) An interfaceProvides directive:


  class IFoo(Interface):
  interfaceProvides(ISomeMarker)

This is alternative to doing alsoProvides() on the interface.

The reason for this is that currently, you have to put those 
alsoProvides() lines after the function or interface. This makes them 
difficult to find if the bodies of the functions or interfaces are long, 
and goes against the convention of having the what is this information 
at the top of the entity.

I can probably help implement this. Any thoughts?

Martin

-- 
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book

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


Re: [Zope-dev] Two small convenience suggestions for zope.interface and zope.component

2009-04-01 Thread Jim Fulton

On Apr 1, 2009, at 10:02 AM, Martin Aspeli wrote:

 Hi,

 I'd like to add support for the following:

 1) Provider decorator:

  @provider(IFoo)
  def some_function(context)
  pass


 This is an alternative to doing a separate alsoProvides() on the  
 function.

 2) An interfaceProvides directive:


  class IFoo(Interface):
  interfaceProvides(ISomeMarker)

 This is alternative to doing alsoProvides() on the interface.

 The reason for this is that currently, you have to put those
 alsoProvides() lines after the function or interface. This makes them
 difficult to find if the bodies of the functions or interfaces are  
 long,
 and goes against the convention of having the what is this  
 information
 at the top of the entity.

 I can probably help implement this. Any thoughts?


+1

--
Jim Fulton
Zope Corporation


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


Re: [Zope-dev] Two small convenience suggestions for zope.interface and zope.component

2009-04-01 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Martin Aspeli wrote:
 Hi,
 
 I'd like to add support for the following:
 
 1) Provider decorator:
 
   @provider(IFoo)
   def some_function(context)
   pass
 
 This is an alternative to doing a separate alsoProvides() on the function.
 
 2) An interfaceProvides directive:
 
 
   class IFoo(Interface):
   interfaceProvides(ISomeMarker)
 
 This is alternative to doing alsoProvides() on the interface.
 
 The reason for this is that currently, you have to put those 
 alsoProvides() lines after the function or interface. This makes them 
 difficult to find if the bodies of the functions or interfaces are long, 
 and goes against the convention of having the what is this information 
 at the top of the entity.
 
 I can probably help implement this. Any thoughts?

You should probably add a class decorator 'interfaceProvider', as
well, because the in-suite versions are problematic for 2to3
conversion (IIRC what Lennart said yesterday).


Tres.
- --
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJ03rd+gerLs4ltQ4RAhmLAJ94wuHpAwJjNu8rylhKZeYn1yV11QCeLh36
zMqCZerP8HNUyFJH4IvNkaY=
=pD4Z
-END PGP SIGNATURE-

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


Re: [Zope-dev] Zope and Cygwin

2009-04-01 Thread Dieter Maurer
Cesar Canassa wrote at 2009-3-30 14:54 -0300:
It would be possible to modify the plonectl script in order to make it run
without using the zdaemon?

As someone modified zopectl to run under Windows without zdaemon
(in newer Zope versions), it should be possible to change
plonectl in a similar way.



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


Re: [Zope-dev] Two small convenience suggestions for zope.interface and zope.component

2009-04-01 Thread Matthew Wilkes

On 1 Apr 2009, at 18:25, Chris Rossi wrote:

 Additionally, if I was grokking Lennart correctly yesterday,
 __metaclass__ is going away, so the current metaclass implementation
 is going to need some rejiggering.  What was unclear was whether a
 single implementation could support both =2.5 and =2.6.

__metaclass__ is being replaced by a metaclass kwarg to class  
definition in 3.0, I believe.

Matt

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


Re: [Zope-dev] Two small convenience suggestions for zope.interface and zope.component

2009-04-01 Thread Dieter Maurer
Martin Aspeli wrote at 2009-4-1 22:02 +0800:
I'd like to add support for the following:

1) Provider decorator:

  @provider(IFoo)
  def some_function(context)
  pass

I have already searched for this several times -- and was disappointed
about my failure :-)



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


Re: [Zope-dev] [Checkins] SVN: zope.annotation/trunk/setup.py Whitespace fixes

2009-04-01 Thread Jacob Holm
Hi Baiju

If this whitespace fix is based on the current style guide, I think the 
guide needs to be fixed. I find the fixed version much less readable. A 
function that takes this many arguments should have an exception to the 
PEP 8 rule of no whitespace around the equals sign used for keyword 
arguments. I *think* a reasonable rule is that if you split the call 
over multiple lines with one argument per line, you should add single 
spaces before and after the equals sign. What does anyone else think?

- Jacob


Baiju M wrote:
 Log message for revision 98773:
   Whitespace fixes
   

 Changed:
   U   zope.annotation/trunk/setup.py

 -=-
 Modified: zope.annotation/trunk/setup.py
 ===
 --- zope.annotation/trunk/setup.py2009-04-01 21:02:33 UTC (rev 98772)
 +++ zope.annotation/trunk/setup.py2009-04-01 21:13:34 UTC (rev 98773)
 @@ -23,14 +23,14 @@
  return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
  
  setup(
 -name = 'zope.annotation',
 -version = '3.5.0dev',
 -url = 'http://pypi.python.org/pypi/zope.annotation',
 -license = 'ZPL 2.1',
 -description = 'Object annotation mechanism',
 -author = 'Zope Corporation and Contributors',
 -author_email = 'zope-dev@zope.org',
 -classifiers = [
 +name='zope.annotation',
 +version='3.5.0dev',
 +url='http://pypi.python.org/pypi/zope.annotation',
 +license='ZPL 2.1',
 +description='Object annotation mechanism',
 +author='Zope Corporation and Contributors',
 +author_email='zope-dev@zope.org',
 +classifiers=[
  'Development Status :: 5 - Production/Stable',
  'Intended Audience :: Developers',
  'License :: OSI Approved :: Zope Public License',
 @@ -40,23 +40,23 @@
  'Topic :: Internet :: WWW/HTTP',
  'Topic :: Software Development',
  ],
 -long_description = \
 +long_description= \
  read('src', 'zope', 'annotation', 'README.txt') 
  + '\n\n' +
  read('CHANGES.txt'),
 -packages = find_packages('src'),
 -package_dir = {'': 'src'},
 -namespace_packages = ['zope',],
 -install_requires = ['setuptools',
 -'zope.interface',
 -'zope.component',
 -'zope.location',
 -'zope.proxy',
 -],
 -extras_require = dict(
 -test = ['zope.testing',
 -'ZODB3'],
 +packages=find_packages('src'),
 +package_dir={'': 'src'},
 +namespace_packages=['zope',],
 +install_requires=['setuptools',
 +  'zope.interface',
 +  'zope.component',
 +  'zope.location',
 +  'zope.proxy',
 +  ],
 +extras_require=dict(
 +test=['zope.testing',
 +  'ZODB3'],
  ),
 -include_package_data = True,
 -zip_safe = False,
 +include_package_data=True,
 +zip_safe=False,
  )

 ___
 Checkins mailing list
 check...@zope.org
 http://mail.zope.org/mailman/listinfo/checkins
   

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


[Zope] Announcing: Zope 4.0 project

2009-04-01 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On behalf of the Zope community, I am pleased to announce the creation
of the Zope 4.0 project.  After extensive discussion with the Zope
wizards in conclave at PyCon 2009, the new project's website has been
launched:

  http://zopefour.org/

Enjoy!


Tres.
- --
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJ01VR+gerLs4ltQ4RAiljAKCACB9aMtI3YnsXPZss4hdEDrA7FACgsqv7
3jR6FQeEy0qpX4D4NOX+HsA=
=q8Fu
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] [Zope-dev] [Zope-Annce] Announcing: Zope 4.0 project

2009-04-01 Thread Chris Withers
*looks at the date*

*sigh*

I'll go back to my cave now...

Chris

Chris Withers wrote:
 Tres Seaver wrote:
 On behalf of the Zope community, I am pleased to announce the creation
 of the Zope 4.0 project.  After extensive discussion with the Zope
 wizards in conclave at PyCon 2009, the new project's website has been
 launched:

   http://zopefour.org/
 
 Er?
 
 Little more context and explanation please...
 
 Chris
 

-- 
Simplistix - Content Management, Zope  Python Consulting
- http://www.simplistix.co.uk
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] [Zope-Annce] Announcing: Zope 4.0 project

2009-04-01 Thread Mark Barratt
Chris Withers wrote:
 Tres Seaver wrote:
 On behalf of the Zope community, I am pleased to announce the creation
 of the Zope 4.0 project.  After extensive discussion with the Zope
 wizards in conclave at PyCon 2009, the new project's website has been
 launched:

   http://zopefour.org/
 
 Er?
 
 Little more context and explanation please...

Context is the dateline. Explanation I'll leave to your imagination.

-- 
Mark Barratt
Text Matters

Information design: we help explain things using
language | design | systems | process improvement

phone +44 (0)118 986 8313  email ma...@textmatters.com
web http://www.textmatters.com

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


Re: [Zope] [Zope-Annce] Announcing: Zope 4.0 project

2009-04-01 Thread Chris Withers
Tres Seaver wrote:
 On behalf of the Zope community, I am pleased to announce the creation
 of the Zope 4.0 project.  After extensive discussion with the Zope
 wizards in conclave at PyCon 2009, the new project's website has been
 launched:
 
   http://zopefour.org/

Er?

Little more context and explanation please...

Chris

-- 
Simplistix - Content Management, Zope  Python Consulting
- http://www.simplistix.co.uk
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Announcing: Zope 4.0 project

2009-04-01 Thread Andreas Tille
On Wed, 1 Apr 2009, Tres Seaver wrote:

  http://zopefour.org/

This is a nice one. ;-)
On the other hand I tried how far you might draw the effort noticed that there
is not even The Zope 3.0 Book.  I guess Zope 4 will start once half of the
Zope 3 book is written ...

Thanks for the link anyway

 Andreas.

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


[Zope] dtml-in

2009-04-01 Thread Bobby

Hi,

I have a variable called checkGroup where its values are the record ids that 
the user selected to be deleted. I have a deleteRecord method that takes two 
arguements, one the sql table and the record id to be deleted. The code below 
works fine except for when the user only select one item from the checkGroup 
list, I get an error string not allow in in. Any suggestions of how I could 
fix this? Thanks.   

dtml-in checkGroup
  dtml-let deleteItem=sequence-item
dtml-var deletedRecord(table,deleteItem)
  /dtml-let
/dtml-in


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


Re: [Zope] dtml-in

2009-04-01 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02.04.2009 5:20 Uhr, Bobby wrote:
 Hi,
 
 I have a variable called checkGroup where its values are the record ids 
 that the user selected to be deleted. I have a deleteRecord method that takes 
 two arguements, one the sql table and the record id to be deleted. The code 
 below works fine except for when the user only select one item from the 
 checkGroup list, I get an error string not allow in in. Any suggestions of 
 how I could fix this? Thanks.   
 
 dtml-in checkGroup
   dtml-let deleteItem=sequence-item
 dtml-var deletedRecord(table,deleteItem)
   /dtml-let
 /dtml-in


Trible check that your form parameters use the ':list' directive within
the NAME attributes (check with the Zope Book (docs.zope.org).

- -akj
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAknURWAACgkQCJIWIbr9KYyepgCcCv5yINX6+DenO0SayWY3HnML
Jo8AoOlY7ykeWzI/g2jPfklXUVy5wgIS
=L0Im
-END PGP SIGNATURE-
begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd.  Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:i...@zopyx.com
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

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