Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Is it possible to use keyword arguments from C?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Darren Dale  
View profile  
 More options Jul 13, 9:38 am
Newsgroups: comp.lang.python
From: Darren Dale <dsdal...@gmail.com>
Date: Mon, 13 Jul 2009 06:38:17 -0700 (PDT)
Local: Mon, Jul 13 2009 9:38 am
Subject: Is it possible to use keyword arguments from C?
I am learning about the python C-api in order to contribute a feature
to numpy. I see a discussion (http://docs.python.org/extending/
extending.html#keyword-parameters-for-extension-functions) on how to
create a function or method  in C that accepts kwargs, but is it
possible to call such a method from C using kwargs rather than
positional arguments?

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Darren Dale  
View profile  
 More options Jul 13, 9:47 am
Newsgroups: comp.lang.python
From: Darren Dale <dsdal...@gmail.com>
Date: Mon, 13 Jul 2009 06:47:41 -0700 (PDT)
Local: Mon, Jul 13 2009 9:47 am
Subject: Re: Is it possible to use keyword arguments from C?
On Jul 13, 9:38 am, Darren Dale <dsdal...@gmail.com> wrote:

> I am learning about the python C-api in order to contribute a feature
> to numpy. I see a discussion (http://docs.python.org/extending/
> extending.html#keyword-parameters-for-extension-functions) on how to
> create a function or method  in C that accepts kwargs, but is it
> possible to call such a method from C using kwargs rather than
> positional arguments?

The answer was yes, this can be done. I found a short discussion at
the bottom of section 1.6: http://docs.python.org/extending/extending.html#calling-python-functi...

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google