[issue26365] ntpath.py Error in Windows

2016-02-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The first argument of os.path.join() (as well as all other) in Python 2.7 must be str or unicode. You pass a tuple. -- nosy: +serhiy.storchaka resolution: -> not a bug stage: -> resolved status: open -> closed __

[issue26365] ntpath.py Error in Windows

2016-02-15 Thread Ben Kummer
New submission from Ben Kummer: ntpath.py throws an error in Python2.7.11 Windows Code snippet: product_dir ="/zope/eggs43" my_tuple= os.path.split(product_dir)[:-1] roduct_prefix = os.path.join(my_tuple ) The same code works in python 2.7.11 under Linux Traceback: C:\zope\selenium_test>c:\Pyt