Hi jangxyz ! Thanks for spotting this. If it's not too much trouble could you please file a ticket for this http://bitbucket.org/bobf/bpython/issues
Kind regards, On Wed, Jun 16, 2010 at 01:48:33AM -0700, jangxyz wrote: > Hi, I just found out about this program today and think it's great. > Thank you for such a nice job done. > > However, trying the 0.9.6.2 download in Ubuntu 9.04, local install, > I found something inconsistent with sys.path state compared to normal > python interpreter. > > bpython does not seem to have directory of file in sys.path when ran > with -i option. > for instance, > > when test.py simply 'import sys; print sys.path', > > $ bpython tmp/test.py > ['/home/user/tmp', '/usr/lib/python2.6', ...] > > behaves correctly, whereas > > $ bpython -i tmp/test.py > ['.', '/home/user/bin', '/usr/lib/python2.6', ...] > >>> > > imports current working directory and path where bpython is installed > in. > python works like this: > > $ python -i tmp/test.py > ['/home/usr/tmp', '/usr/lib/python2.6', ...] > >>> > > http://groups.google.com/group/bpython/browse_thread/thread/f8d6cc7996bba75d/a9d05a765e4bfcbf > talks something about '.' in sys.path and fixing it, > maybe it wasn't applied to -i option? > > > -- > You received this message because you are subscribed to the Google Groups > "bpython" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/bpython?hl=en. > -- Bob Farrell -- You received this message because you are subscribed to the Google Groups "bpython" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/bpython?hl=en.
