This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, georg.brandl, ocean-city
Date 2008-06-13.14:55:03
SpamBayes Score 0.0095146615
Marked as misclassified No
Message-id <1213368906.61.0.695446442523.issue3099@psf.upfronthosting.co.za>
In-reply-to
Content
Sorry, I was not clear.
With python 2.5.2, "import nul" correctly raises ImportError, even if
the error message is slightly misleading.

With a recent release25-maint (and all other branches), "import nul"
does succeed, and creates an empty module. 
"import con" seems to block, it actually waits for the user to enter
text and type ^Z. Then it prints to the console some bizarre text that
looks like the content of a .pyc file:

Python 2.5.3a0 (release25-maint, Jun 11 2008, 13:17:36) [MSC v.1200 32
bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import con
^Z
a=1
b=2
c=3
^Z
│≥
    c        ☺   @   s►   d  Z  d☺ Z☺ d☻ S(♥   i☻   i♥   N(☻   t☺   bt☺
  c(    (    (    s♠   con.py   <module>☺   s☻   ♠☺    [27520 refs]
>>> dir(con)
['__builtins__', '__doc__', '__file__', '__name__', 'b', 'c']
[27533 refs]
History
Date User Action Args
2008-06-13 14:55:07amaury.forgeotdarcsetspambayes_score: 0.00951466 -> 0.0095146615
recipients: + amaury.forgeotdarc, georg.brandl, ocean-city
2008-06-13 14:55:06amaury.forgeotdarcsetspambayes_score: 0.00951466 -> 0.00951466
messageid: <1213368906.61.0.695446442523.issue3099@psf.upfronthosting.co.za>
2008-06-13 14:55:05amaury.forgeotdarclinkissue3099 messages
2008-06-13 14:55:03amaury.forgeotdarccreate