On May 19, 2009, at 10:21 PM, David Stanek wrote:
On Tue, May 19, 2009 at 9:26 PM, Benjamin Peterson benja...@python.org
wrote:
2009/5/19 Michael Foord fuzzy...@voidspace.org.uk:
I have IronPython specific versions of several of these functions
which use
.NET reflection and inspect could
On Wed, May 20, 2009 at 7:13 AM, Doug Hellmann doug.hellm...@gmail.com wrote:
On May 19, 2009, at 10:21 PM, David Stanek wrote:
It seems that using a technique similar to dependency injection could
provide some value. DI allows implementations conforming to some
interface to be injected
On Wednesday 20 May 2009 13:54:56 David Stanek wrote:
On Wed, May 20, 2009 at 7:13 AM, Doug Hellmann doug.hellm...@gmail.com
wrote:
On May 19, 2009, at 10:21 PM, David Stanek wrote:
It seems that using a technique similar to dependency injection could
provide some value. DI allows
Hello all,
The inspect module (inspect.get_argspec etc) work fine for Python
functions and classes in IronPython, but they don't work on .NET types
which don't have the Python function attributes like im_func etc.
I have IronPython specific versions of several of these functions which
use
On Tue, May 19, 2009 at 9:26 PM, Benjamin Peterson benja...@python.org wrote:
2009/5/19 Michael Foord fuzzy...@voidspace.org.uk:
I have IronPython specific versions of several of these functions which use
.NET reflection and inspect could fallback to if sys.platform == 'cli'.
Would it be ok
2009/5/19 Maciej Fijalkowski fij...@gmail.com:
From my observation (mostly according to jython), such changes easily get out
of
sync. The net result is that you have one, outdated, version in stdlib
and other implementation, like IronPython is maintaining it's own
anyway. IMO it's easy
Michael Foord wrote:
I have IronPython specific versions of several of these functions which
use .NET reflection and inspect could fallback to if sys.platform ==
'cli'. Would it be ok for me to add these to the inspect module?
Obviously the tests would only run on IronPython... The behaviour
Dino Viehland wrote:
What about instead defining __argspec__ for built-in functions/method
objects and allowing all the implementations to implement it? We could
all agree to return:
[
(return_type, (arg_types,...)),
(return_type, (arg_types,...)),
]
Then inspect can check