You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by da...@apache.org on 2012/03/21 13:32:07 UTC

svn commit: r1303369 - /subversion/site/publish/docs/release-notes/1.8.html

Author: danielsh
Date: Wed Mar 21 12:32:07 2012
New Revision: 1303369

URL: http://svn.apache.org/viewvc?rev=1303369&view=rev
Log:
* docs/release-notes/1.8.html
  (swig-py-star): New section, for r1303358/r1303368.

Modified:
    subversion/site/publish/docs/release-notes/1.8.html

Modified: subversion/site/publish/docs/release-notes/1.8.html
URL: http://svn.apache.org/viewvc/subversion/site/publish/docs/release-notes/1.8.html?rev=1303369&r1=1303368&r2=1303369&view=diff
==============================================================================
--- subversion/site/publish/docs/release-notes/1.8.html (original)
+++ subversion/site/publish/docs/release-notes/1.8.html Wed Mar 21 12:32:07 2012
@@ -365,6 +365,25 @@ rare, and we anticipate the actual impac
 <p>Language bindings have mostly been updated for the new APIs, though
 some may lag more than others.</p>
 
+<div class="h4" id="swig-py-star">
+<h4>Star-imports in the SWIG-Python bindings
+  <a class="sectionlink" href="#swig-py-star"
+    title="Link to this section">&para;</a>
+</h4>
+
+<p>The swig-py bindings have been
+<a href="http://svn.apache.org/viewvc/?view=rev&amp;revision=r1303368"
+>patched</a> to make <tt>*</tt>-imports of submodules to do the right thing:
+<tt>from svn.client import *</tt> will now import only symbols beginning with
+<tt>svn_</tt> or <tt>SVN_</tt>.  (Most of these symbols will be
+<tt>svn_client_*</tt> symbols, of course.)  Star-imports of <tt>from svn</tt> have
+not changed (they import <a
+href="http://svn.apache.org/repos/asf/subversion/trunk/subversion/bindings/swig/python/svn/core.py"
+>just the bare submodule names</a>: 'fs', 'ra', etc), and
+star imports of <tt>from svn.core</tt> are currently no-ops.</p>
+
+</div>  <!-- swig-py-star --> 
+
 </div>  <!-- apis -->
 
 <div class="h3" id="bug-fixes">