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 vstinner
Recipients HWJ, amaury.forgeotdarc, bboissin, benjamin.peterson, djc, dlitz, draghuram, gvanrossum, loewis, pitrou, vstinner, zegreek
Date 2008-10-03.12:23:28
SpamBayes Score 0.00042622729
Marked as misclassified No
Message-id <1223036609.8.0.800099166141.issue3187@psf.upfronthosting.co.za>
In-reply-to
Content
path=path is useless most of the code (unicode path), this code is 
faster if both cases (bytes or unicode)!
   if not isinstance(path, str):
      path = bytes(path)

* a if b else c: unicode=0.756730079651; bytes=1.93071103096
* if test: path=...: unicode=0.681571006775; bytes=1.88843798637
History
Date User Action Args
2008-10-03 12:23:30vstinnersetrecipients: + vstinner, gvanrossum, loewis, amaury.forgeotdarc, pitrou, draghuram, benjamin.peterson, djc, HWJ, dlitz, zegreek, bboissin
2008-10-03 12:23:29vstinnersetmessageid: <1223036609.8.0.800099166141.issue3187@psf.upfronthosting.co.za>
2008-10-03 12:23:29vstinnerlinkissue3187 messages
2008-10-03 12:23:28vstinnercreate