[issue16490] "inspect.getargspec()" and "inspect.getcallargs()" don't work for builtins

2012-11-16 Thread Jesús Cea Avión

Changes by Jesús Cea Avión :


--
title: "inspect.getargspec()" and "inspect.getcallargs()" don't work with 
builtins -> "inspect.getargspec()" and "inspect.getcallargs()" don't work for 
builtins

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16490] "inspect.getargspec()" and "inspect.getcallargs()" don't work for builtins

2012-11-16 Thread Jesús Cea Avión

Changes by Jesús Cea Avión :


--
type:  -> enhancement

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16490] "inspect.getargspec()" and "inspect.getcallargs()" don't work for builtins

2012-11-16 Thread Jesús Cea Avión

Jesús Cea Avión added the comment:

I am fully aware that the interpreter doesn't know how a method/function 
written in C is going to parse the parameter list/keywords. And that even if we 
solve this (for instance, with annotations that create wrappers calling 
"PyArg_Parse()" automatically), every C extension out there would need to 
support it too.

Just brainstorming.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16490] "inspect.getargspec()" and "inspect.getcallargs()" don't work for builtins

2012-11-17 Thread Andrew Svetlov

Changes by Andrew Svetlov :


--
nosy: +asvetlov

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16490] "inspect.getargspec()" and "inspect.getcallargs()" don't work for builtins

2012-11-17 Thread Brett Cannon

Brett Cannon added the comment:

So at this point you should use inspect.signature(), not getfullargspec(). 

With that you could do this if you either allowed setting the __signature__ 
attribute and then provided code that would set it, made __signature__ a 
property that returned the Signature object if desired on a built-in, or come 
up with some automated way to take the argument string from PyArg_Parse() as 
you suggested.

--
nosy: +brett.cannon, larry

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16490] "inspect.getargspec()" and "inspect.getcallargs()" don't work for builtins

2012-11-17 Thread Larry Hastings

Changes by Larry Hastings :


--
assignee:  -> larry

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16490] "inspect.getargspec()" and "inspect.getcallargs()" don't work for builtins

2012-11-17 Thread Larry Hastings

Larry Hastings added the comment:

I'm working on a solution for this--expect an announcement on c.l.p-d in, oh, a 
week.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16490] "inspect.getargspec()" and "inspect.getcallargs()" don't work for builtins

2012-11-22 Thread David Villa Alises

Changes by David Villa Alises :


--
nosy: +David.Villa.Alises

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16490] "inspect.getargspec()" and "inspect.getcallargs()" don't work for builtins

2012-11-30 Thread Jesús Cea Avión

Jesús Cea Avión added the comment:

Larry, Ping... :-)

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16490] "inspect.getargspec()" and "inspect.getcallargs()" don't work for builtins

2012-12-03 Thread Larry Hastings

Larry Hastings added the comment:

http://mail.python.org/pipermail/python-dev/2012-December/122920.html

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16490] "inspect.getargspec()" and "inspect.getcallargs()" don't work for builtins

2012-12-04 Thread David Villa Alises

David Villa Alises added the comment:

What about something like gobject.introspection?
https://live.gnome.org/GObjectIntrospection/

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16490] "inspect.getargspec()" and "inspect.getcallargs()" don't work for builtins

2012-12-05 Thread Jesús Cea Avión

Jesús Cea Avión added the comment:

David, please subscribe to Issue #16612.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16490] "inspect.getargspec()" and "inspect.getcallargs()" don't work for builtins

2012-12-09 Thread Berker Peksag

Berker Peksag added the comment:

This looks like a duplicate of issue 1748064.

--
nosy: +berker.peksag

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com