[Python-checkins] python/nondist/peps pep-0328.txt,1.4,1.5

bwarsaw at users.sourceforge.net bwarsaw at users.sourceforge.net
Tue Apr 6 09:09:17 EDT 2004


Update of /cvsroot/python/python/nondist/peps
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13310

Modified Files:
	pep-0328.txt 
Log Message:
a bit more rationale for absolute imports

Index: pep-0328.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0328.txt,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** pep-0328.txt	4 Apr 2004 02:37:57 -0000	1.4
--- pep-0328.txt	6 Apr 2004 13:09:14 -0000	1.5
***************
*** 84,88 ****
  
  refers to a top-level module or to another module inside the package.
! To resolve the ambiguity, it is proposed that ``foo`` will always be a
  module or package reachable from ``sys.path``.
  
--- 84,91 ----
  
  refers to a top-level module or to another module inside the package.
! Let's say today it refers to a module internal to the package.  Then
! tomorrow, the standard library decides to add its own foo package that
! you'd like to use.  You can't without renaming your internal module.
! To resolve these ambiguities, it is proposed that ``foo`` will always be a
  module or package reachable from ``sys.path``.
  




More information about the Python-checkins mailing list