1
0
mirror of https://github.com/golang/go synced 2024-11-11 23:10:23 -07:00

go spec: import path implementation restriction

R=rsc, r, r, adg
CC=golang-dev
https://golang.org/cl/5688074
This commit is contained in:
Robert Griesemer 2012-02-22 23:51:25 -08:00
parent 501f0b578f
commit ac4055b2c5

View File

@ -1,6 +1,6 @@
<!--{ <!--{
"Title": "The Go Programming Language Specification", "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. package and may be relative to a repository of installed packages.
</p> </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> <p>
Assume we have compiled a package containing the package clause Assume we have compiled a package containing the package clause
<code>package math</code>, which exports function <code>Sin</code>, and <code>package math</code>, which exports function <code>Sin</code>, and