[Python.NET] Selecting an overloaded contructor

Barton barton at BCDesignsWell.com
Tue Jul 6 08:29:55 CEST 2010


  The readme clearly states that

from System import String, Char, Int32
s = String.__overloads__[Char, Int32]('A', 10)

should select the desired constructor, but ...
there is clearly no means in the current (2.0.0.2) version for a 
ClassObject to activate the search by means of __getattribute__ (no 
tp_getattro).

Is this something that worked in an earlier version?
Where there changes that were made that were not committed to the trunk?
Is this something that anybody else has come up against? fixed???

Thanks, all,
Barton
Windows 7, Framework Version: 2.0.50727.42 (AFAIK)
Python 2.6.5


More information about the PythonDotNet mailing list