Public bug reported:

Binary package hint: python2.4

According to documentation python should search for module file in
current directory before going to standard modules. And that's what it
was before. Now check this:

$ echo 'print "*My module imported"' > select.py
$ python -c "import select; print select.__file__"
/usr/lib/python2.4/lib-dynload/select.so

when I would expect
$ python -c "import select; print select.__file__"
*My module imported
select.py

It brakes my script which was working before Christmas.
python2.4 2.4.4-1ubuntu2

** Affects: python2.4 (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
import searches standard modules before current dir
https://launchpad.net/bugs/77830

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to