[Python-checkins] r65192 - python/trunk/Lib/test/test_support.py

Benjamin Peterson musiccomposition at gmail.com
Wed Jul 23 04:15:29 CEST 2008


On Tue, Jul 22, 2008 at 9:08 PM, Brett Cannon <brett at python.org> wrote:

> On Tue, Jul 22, 2008 at 4:44 PM, benjamin.peterson
> <python-checkins at python.org> wrote:
> > Author: benjamin.peterson
> > Date: Wed Jul 23 01:44:37 2008
> > New Revision: 65192
> >
> > Log:
> > remove unneeded import
> >
> > Modified:
> >   python/trunk/Lib/test/test_support.py
> >
> > Modified: python/trunk/Lib/test/test_support.py
> >
> ==============================================================================
> > --- python/trunk/Lib/test/test_support.py       (original)
> > +++ python/trunk/Lib/test/test_support.py       Wed Jul 23 01:44:37 2008
> > @@ -8,7 +8,6 @@
> >  import socket
> >  import sys
> >  import os
> > -import os.path
> >  import shutil
> >  import warnings
> >  import unittest
>
> Technically I would guess that the os.path import should stay and the
> os import should go in case the os module ever actually becomes a
> proper package (I REALLY doubt that, but you never know).


I don't think it's really a issue because
1. There are going to be much more pressing issues than test.test_support if
we make os into a package.
2. The os package's __init__.py would probably import path.

Heck, we should even think about this until Py4k!

>
>
> -Brett
> _______________________________________________
> Python-checkins mailing list
> Python-checkins at python.org
> http://mail.python.org/mailman/listinfo/python-checkins
>



-- 
Cheers,
Benjamin Peterson
"There's no place like 127.0.0.1."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-checkins/attachments/20080722/b37d14bc/attachment-0001.htm>


More information about the Python-checkins mailing list