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 blokeley
Recipients blokeley, pitrou, r.david.murray, rhettinger, terry.reedy
Date 2011-04-29.14:23:43
SpamBayes Score 9.500099e-09
Marked as misclassified No
Message-id <1304087025.53.0.271443290598.issue11344@psf.upfronthosting.co.za>
In-reply-to
Content
My runtime came from the Python32 Windows installer and I don't have a C compiler on this machine. Therefore I updated to the 3.2 branch in hg and worked on that. This patch is pretty simple so should work on 3.3 without modifications.

I have attached my first iteration of the patch (patched against hg rev 56c187b81d2b).

Disclaimers and suspected issues:

* A path given as a byte array is converted to a string so 
  splitpath() only returns lists of strings and never lists of 
  byte arrays. I don't know if splitpath() should return a list 
  of byte arrays if the path was a byte array. The way split() 
  is tested implies not. Please advise.
  
* We might need more tests to cover more path variations on Windows.

* I haven't implemented splitpath() in os2emxpath.py because 
  I couldn't find test/test_os2emxpath.py or the equivalent. 
  Please advise if there is one or if I should create one.

Feedback and patches most welcome.
History
Date User Action Args
2011-04-29 14:23:46blokeleysetrecipients: + blokeley, rhettinger, terry.reedy, pitrou, r.david.murray
2011-04-29 14:23:45blokeleysetmessageid: <1304087025.53.0.271443290598.issue11344@psf.upfronthosting.co.za>
2011-04-29 14:23:44blokeleylinkissue11344 messages
2011-04-29 14:23:44blokeleycreate