]> Cypherpunks repositories - gostls13.git/commitdiff
go spec: import path implementation restriction
authorRobert Griesemer <gri@golang.org>
Thu, 23 Feb 2012 07:51:25 +0000 (23:51 -0800)
committerRobert Griesemer <gri@golang.org>
Thu, 23 Feb 2012 07:51:25 +0000 (23:51 -0800)
R=rsc, r, r, adg
CC=golang-dev
https://golang.org/cl/5688074

doc/go_spec.html

index 6cc1b2c3d0d9430cfc7c346832d6df5d377a6611..797e4038f04d35c6b2ef4b2672e33e7614dcee79 100644 (file)
@@ -1,6 +1,6 @@
 <!--{
        "Title": "The Go Programming Language Specification",
-       "Subtitle": "Version of February 22, 2012"
+       "Subtitle": "Version of February 23, 2012"
 }-->
 
 <!--
@@ -5096,6 +5096,15 @@ it is typically a substring of the full file name of the compiled
 package and may be relative to a repository of installed packages.
 </p>
 
+<p>
+Implementation restriction: A compiler may restrict ImportPaths to
+non-empty strings using only characters belonging to
+<a href="http://www.unicode.org/versions/Unicode6.0.0/">Unicode's</a>
+L, M, N, P, and S general categories (the Graphic characters without
+spaces) and may also exclude the ASCII characters
+<code>!"#$%&amp;'()*,:;&lt;=&gt;?[\]^`{|}</code>.
+</p>
+
 <p>
 Assume we have compiled a package containing the package clause
 <code>package math</code>, which exports function <code>Sin</code>, and