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 loewis
Recipients giampaolo.rodola, jafo, jaraco, lemburg, loewis, nnorwitz, swarren
Date 2009-05-18.20:29:07
SpamBayes Score 8.199372e-10
Marked as misclassified No
Message-id <4A11C511.8040304@v.loewis.de>
In-reply-to <1242651062.23.0.881837774389.issue1578269@psf.upfronthosting.co.za>
Content
> I would appreciate if someone could review the patch and comment on the
> technique.

There are a few minor issues; overall, it looks correct:
- the test for "this is windows" should just use MS_WINDOWS.
- don't declare variables in the middle of a block; we use C89.
- the argument parsing looks incorrect; take a look at rename()
  for guidance. Supporting bytes is optional; IMO, requiring
  Unicode strings for the API would be fine.

I don't quite understand why you can't implement lstat, or why
you would want to call into ntpath. Take a look at how stat()
is implemented in the nt module.
History
Date User Action Args
2009-05-18 20:29:09loewissetrecipients: + loewis, lemburg, nnorwitz, jafo, jaraco, giampaolo.rodola, swarren
2009-05-18 20:29:08loewislinkissue1578269 messages
2009-05-18 20:29:07loewiscreate