New submission from Jacek Szpot:

Just wanted to let you know that missing whitespace between "from" and a 
dot-prefixed name is not considered invalid:

from.foo import bar 

.. does not raise an error. Perhaps it should?

----------
messages: 208022
nosy: maligree
priority: normal
severity: normal
status: open
title: Whitespace ignored in relative imports: from.package import something is 
valid syntax
type: behavior
versions: Python 2.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20240>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to