<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
This is not about zope but the email itself.&nbsp; The date of the email
shows up as 12/31/1969 in my netscape mail client<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:zope-dev-request@zope.org">zope-dev-request@zope.org</a> wrote:<br>
<blockquote type="cite" cite="midmd5:64756D6D79206D657373616765206964">
  <pre wrap="">Send Zope-Dev mailing list submissions to
        <a class="moz-txt-link-abbreviated" href="mailto:zope-dev@zope.org">zope-dev@zope.org</a>

To subscribe or unsubscribe via the World Wide Web, visit
        <a class="moz-txt-link-freetext" href="http://mail.zope.org/mailman/listinfo/zope-dev">http://mail.zope.org/mailman/listinfo/zope-dev</a>
or, via email, send a message with subject or body 'help' to
        <a class="moz-txt-link-abbreviated" href="mailto:zope-dev-request@zope.org">zope-dev-request@zope.org</a>

You can reach the person managing the list at
        <a class="moz-txt-link-abbreviated" href="mailto:zope-dev-owner@zope.org">zope-dev-owner@zope.org</a>

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Zope-Dev digest..."
  </pre>
  <pre wrap="">
<hr width="90%" size="4">
Today's Topics:

   1. Arbitrary Arguments? (Marshall Powers)
   2. Re: Arbitrary Arguments? (Stefan H. Holek)
  </pre>
  <br>
  <hr width="90%" size="4"><br>
  <table border="0" cellspacing="0" cellpadding="0" width="100%"
 class="header-part1">
    <tbody>
      <tr>
        <td>
        <div class="headerdisplayname" style="display: inline;">Subject:
        </div>
[Zope-dev] Arbitrary Arguments?</td>
      </tr>
      <tr>
        <td>
        <div class="headerdisplayname" style="display: inline;">From: </div>
Marshall Powers <a class="moz-txt-link-rfc2396E" href="mailto:mpowers1@stevens.edu">&lt;mpowers1@stevens.edu&gt;</a></td>
      </tr>
      <tr>
        <td>
        <div class="headerdisplayname" style="display: inline;">Date: </div>
Sat, 05 Jun 2004 19:16:32 -0400 (EDT)</td>
      </tr>
      <tr>
        <td>
        <div class="headerdisplayname" style="display: inline;">To: </div>
<a class="moz-txt-link-abbreviated" href="mailto:zope-dev@zope.org">zope-dev@zope.org</a></td>
      </tr>
    </tbody>
  </table>
  <br>
  <pre wrap="">Can Script(Python) objects be given arbitrary arguments, with either 
the *name or **name style of argument passing from Python? What about 
Product methods?

I've been trying to get this to work for a while now, and my tests and 
searches seem rather futile. If I write a Script with arguments

foo, *args

or 

foo, **dict

and call it with a url like .../Test?foo=abc&amp;bar=def&amp;baz=ghi

and print the arguments, the foo variable has the correct value, but 
the args/dict variable is just an empty tuple or dictionary 
(respectively). The REQUEST variable does contain keys 'foo', 'bar', 
and 'baz', but the args/dict variables never get them. Pretty much the 
same thing happens when I try to do the same in a Product method.

So what is the deal?


Thank You =)

Marshall


  </pre>
  <br>
  <hr width="90%" size="4"><br>
  <table border="0" cellspacing="0" cellpadding="0" width="100%"
 class="header-part1">
    <tbody>
      <tr>
        <td>
        <div class="headerdisplayname" style="display: inline;">Subject:
        </div>
Re: [Zope-dev] Arbitrary Arguments?</td>
      </tr>
      <tr>
        <td>
        <div class="headerdisplayname" style="display: inline;">From: </div>
"Stefan H. Holek" <a class="moz-txt-link-rfc2396E" href="mailto:stefan@epy.co.at">&lt;stefan@epy.co.at&gt;</a></td>
      </tr>
      <tr>
        <td>
        <div class="headerdisplayname" style="display: inline;">Date: </div>
Sun, 6 Jun 2004 14:26:58 +0200</td>
      </tr>
      <tr>
        <td>
        <div class="headerdisplayname" style="display: inline;">To: </div>
Marshall Powers <a class="moz-txt-link-rfc2396E" href="mailto:mpowers1@stevens.edu">&lt;mpowers1@stevens.edu&gt;</a></td>
      </tr>
    </tbody>
  </table>
  <br>
ZPublisher can only fill in arguments it knows about, i.e. that are
mentioned in the script's signature.
  <br>
  <br>
Stefan
  <br>
  <br>
  <br>
On Sonntag, Jun 6, 2004, at 01:16 Europe/Vienna, Marshall Powers wrote:
  <br>
  <br>
  <blockquote type="cite">So what is the deal?
    <br>
  </blockquote>
  <br>
--
  <br>
The time has come to start talking about whether the emperor is as well
  <br>
dressed as we are supposed to think he is.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /Pete McBreen/
  <br>
  <br>
  <br>
  <br>
  <pre wrap="">
<hr width="90%" size="4">
_______________________________________________
Zope-Dev maillist  -  <a class="moz-txt-link-abbreviated" href="mailto:Zope-Dev@zope.org">Zope-Dev@zope.org</a>
<a class="moz-txt-link-freetext" href="http://mail.zope.org/mailman/listinfo/zope-dev">http://mail.zope.org/mailman/listinfo/zope-dev</a>

(To receive general Zope announcements, see:
<a class="moz-txt-link-freetext" href="http://mail.zope.org/mailman/listinfo/zope-announce">http://mail.zope.org/mailman/listinfo/zope-announce</a>

For non-developer, user-level issues, 
<a class="moz-txt-link-abbreviated" href="mailto:zope@zope.org">zope@zope.org</a>, <a class="moz-txt-link-freetext" href="http://mail.zope.org/mailman/listinfo/zope">http://mail.zope.org/mailman/listinfo/zope</a> )</pre>
</blockquote>
</body>
</html>