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 jafo
Recipients eric.smith, jafo, pitrou, r.david.murray
Date 2010-04-21.02:14:48
SpamBayes Score 7.7466655e-10
Marked as misclassified No
Message-id <1271816094.72.0.679538121416.issue8451@psf.upfronthosting.co.za>
In-reply-to
Content
Ok, so I left the argument style in the docs as it was.

*** NOTE ***: Sean: Change this for the 3 trunk commit.

Setting the "python" string is outside of the argv function because we want to use "python" on any of the many places where the return is done.

As far as using the C argv[0], I decided to specifically use "python" as a fallback.  We could easily just let openlog pick it, which is what the old behavior was, but in that case it's dependent on the implementation.

I can't answer about sys.argv being unicode.

From my looking at the code, SEP will vary depending on the platform, and is just what os.path.sep is -- I was going to use os.path.sep, but found it just returns SEP.

Thanks for the great review, I've attached a new version.
History
Date User Action Args
2010-04-21 02:14:55jafosetrecipients: + jafo, pitrou, eric.smith, r.david.murray
2010-04-21 02:14:54jafosetmessageid: <1271816094.72.0.679538121416.issue8451@psf.upfronthosting.co.za>
2010-04-21 02:14:52jafolinkissue8451 messages
2010-04-21 02:14:52jafocreate