Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, hannukoo, jvr, rhettinger
Date 2008-12-04.17:30:47
SpamBayes Score 8.5362e-06
Marked as misclassified No
Message-id <1228411849.6.0.507624182346.issue818059@psf.upfronthosting.co.za>
In-reply-to
Content
This may become important when switching to python 3.0...

When passed str(''), FindFirstFileA is called with "*.*".
But when passed unicode(''), FindFirstFileW is called with L"\\*.*" !!!

Attached patch fixes (and tests) the problem. It was developed on 3.0,
but applies on all versions.
History
Date User Action Args
2008-12-04 17:30:49amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, rhettinger, jvr, hannukoo
2008-12-04 17:30:49amaury.forgeotdarcsetmessageid: <1228411849.6.0.507624182346.issue818059@psf.upfronthosting.co.za>
2008-12-04 17:30:48amaury.forgeotdarclinkissue818059 messages
2008-12-04 17:30:48amaury.forgeotdarccreate