Message7467

Author Arfrever
Recipients Arfrever
Date 2012-09-29.23:51:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1348962662.77.0.440348318463.issue1973@psf.upfronthosting.co.za>
In-reply-to
Content
This syntax works in CPython >=2.6.

$ cd /tmp
$ mkdir test
$ touch test/__init__.py
$ echo "from . import *" > test/x.py
$ python2.7 -c 'import test.x'
$ jython2.7 -c 'import test.x'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "test/x.py", line 1
SyntaxError: 'import *' not allowed with 'from .'
$
History
Date User Action Args
2012-09-29 23:51:02Arfreversetrecipients: + Arfrever
2012-09-29 23:51:02Arfreversetmessageid: <1348962662.77.0.440348318463.issue1973@psf.upfronthosting.co.za>
2012-09-29 23:51:02Arfreverlinkissue1973 messages
2012-09-29 23:51:02Arfrevercreate