@@ -176,8 +176,9 @@ <h1>Python for .NET</h1>
176176< h2 > Installation</ h2 >
177177
178178< p >
179- Python for .NET is available as a source release and as a Windows installer
180- for various versions of Python and the common language runtime from the
179+ Python for .NET is available as a source release for all versions
180+ and as a Windows installer for earlier versions of Python and for
181+ versions the common language runtime prior to 2.0.0.0 alpha2 from the
181182 < a href ="http://pythonnet.sourceforge.net/ ">
182183 Python for .NET website
183184 </ a > . On Windows platforms, you can choose to install .NET-awareness into
@@ -343,8 +344,8 @@ <h2>Importing Modules</h2>
343344 Note that earlier releases of Python for .NET relied on "implicit loading"
344345 to support automatic loading of assemblies whose names corresponded to an
345346 imported namespace. Implicit loading still works for backward compatibility,
346- but will be removed in a future release so it is recommended to use the
347- clr.AddReference method.
347+ but has been deprecated in the current source release so it is time to use
348+ the clr.AddReference method!
348349</ em >
349350</ p >
350351
@@ -394,6 +395,14 @@ <h2>Using Classes</h2>
394395 from System import String, Char, Int32
395396
396397 s = String.__overloads__[Char, Int32]('A', 10)
398+
399+ As of 2.0.0.2 alpha2, this has not worked as expected.
400+ Although this is not something supported by IPy, good symmetry
401+ with method overload selection dictates that the syntax become:
402+
403+ s = String.Overloads[Char, Int32]('A', 10)
404+ with __overloads__ remaining optional ONLY if someone demonstrates
405+ that this used to work and wants backward compatibility.
397406</ pre >
398407
399408
@@ -546,14 +555,20 @@ <h2>Overloaded and Generic Methods</h2>
546555< p >
547556 Methods of CLR objects have an "__overloads__" attribute that can be used
548557 for this purpose:
549- </ p >
558+ </ p >
550559
551560< pre >
552561 from System import Console
553562
554563 Console.WriteLine.__overloads__[bool](true)
555564 Console.WriteLine.__overloads__[str]("true")
556565 Console.WriteLine.__overloads__[int](42)
566+
567+ Work is under way to bring this into line with IPy.
568+ See: < a href ="http://blogs.msdn.com/b/haibo_luo/archive/2007/10/11/5413239.aspx "> IronPython: explicitly choose one method</ a >
569+ The new syntax is
570+ s = SomeMethode.Overloads[PyOrClrType, ...](param1, ...)
571+ with __overloads__ remaining optional for some period before being deprecated.
557572</ pre >
558573
559574< p >
0 commit comments