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 KevKeating
Recipients KevKeating, martin.panter, serhiy.storchaka
Date 2014-10-10.19:45:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1412970345.03.0.852335544475.issue22587@psf.upfronthosting.co.za>
In-reply-to
Content
I agree that None is an unwise value to pass in.  Of the four different abspath implementations, though, one will treat None (or any falsey value) as an empty string, while the other three will raise an exception unless passed an actual str or bytes object.  I think the ideal solution would be to have abspath(None) raise a TypeError regardless of operating system, which would make it consistent with normcase (http://bugs.python.org/issue9018).  It's conceivable that some Windows-only code might rely on the current behavior of abspath(None), though.
History
Date User Action Args
2014-10-10 19:45:45KevKeatingsetrecipients: + KevKeating, martin.panter, serhiy.storchaka
2014-10-10 19:45:45KevKeatingsetmessageid: <1412970345.03.0.852335544475.issue22587@psf.upfronthosting.co.za>
2014-10-10 19:45:45KevKeatinglinkissue22587 messages
2014-10-10 19:45:44KevKeatingcreate