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


Groups > comp.lang.python > #37418

Re: Is PyArg_ParseTuple necessary to parse arguments?

From dieter <dieter@handshake.de>
Subject Re: Is PyArg_ParseTuple necessary to parse arguments?
Date 2013-01-23 08:00 +0100
References <a4d078cf-b670-46e2-9a52-dfb3d43a25a0@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.868.1358924442.2939.python-list@python.org> (permalink)

Show all headers | View raw


rahulgarg44@gmail.com writes:

> Or can I just loop through the argument tuple manually by using something like PyTuple_GET_ITEM(args,i), then putting manual code to convert the objects to appropriate C type?

If you like you can do the "parsing" yourself.

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


Thread

Is PyArg_ParseTuple necessary to parse arguments? rahulgarg44@gmail.com - 2013-01-22 09:20 -0800
  Re: Is PyArg_ParseTuple necessary to parse arguments? dieter <dieter@handshake.de> - 2013-01-23 08:00 +0100
  Re: Is PyArg_ParseTuple necessary to parse arguments? Stefan Behnel <stefan_ml@behnel.de> - 2013-01-23 08:50 +0100

csiph-web