Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #26804

Re: Is there a clever way to pass arguments

From Terry Reedy <tjreedy@udel.edu>
Subject Re: Is there a clever way to pass arguments
Date 2012-08-09 15:48 -0400
References <0aaad6e4-8751-4073-bf9c-14285c1f3422@googlegroups.com> <50237D5A.6000108@sequans.com> <CAPTjJmp=BkdhAUX0kEPDzG5jLn+t+b=rv+WEQgcRNNKgLfY2Wg@mail.gmail.com> <502387F2.2010104@sequans.com>
Newsgroups comp.lang.python
Message-ID <mailman.3109.1344541818.4697.python-list@python.org> (permalink)

Show all headers | View raw


On 8/9/2012 5:50 AM, Jean-Michel Pichavant wrote:
> Chris Angelico wrote:
>> On Thu, Aug 9, 2012 at 7:05 PM, Jean-Michel Pichavant
>> <jeanmichel@sequans.com> wrote:
>>> bruceg113355@gmail.com wrote:
>>>> I cannot change the function definition.
>>> or better (imo)
>>> testData(z) and make testData handle a list (8 parameters, that's a
>>> lot of
>>> parameters).
>>
>> He can't change the function definition.

One can always wrap a function with an adaptor if the signature is too 
awful.

-- 
Terry Jan Reedy

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Is there a clever way to pass arguments bruceg113355@gmail.com - 2012-08-08 17:41 -0700
  Re: Is there a clever way to pass arguments Andrew Cooper <amc96@cam.ac.uk> - 2012-08-09 01:47 +0100
  Re: Is there a clever way to pass arguments Dave Angel <d@davea.name> - 2012-08-08 21:07 -0400
    Re: Is there a clever way to pass arguments bruceg113355@gmail.com - 2012-08-08 18:20 -0700
    Re: Is there a clever way to pass arguments bruceg113355@gmail.com - 2012-08-08 18:20 -0700
      Re: Is there a clever way to pass arguments Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-08-09 01:34 +0000
  Re: Is there a clever way to pass arguments Jean-Michel Pichavant <jeanmichel@sequans.com> - 2012-08-09 11:05 +0200
  Re: Is there a clever way to pass arguments Chris Angelico <rosuav@gmail.com> - 2012-08-09 19:13 +1000
    Re: Is there a clever way to pass arguments Alister <alister.ware@ntlworld.com> - 2012-08-09 17:14 +0000
      Re: Is there a clever way to pass arguments GangGreene <GangGreene@invalid.com> - 2012-08-09 15:39 -0400
  Re: Is there a clever way to pass arguments Jean-Michel Pichavant <jeanmichel@sequans.com> - 2012-08-09 11:50 +0200
  Re: Is there a clever way to pass arguments Terry Reedy <tjreedy@udel.edu> - 2012-08-09 15:48 -0400

csiph-web