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
Date 2010-04-20.04:25:50
SpamBayes Score 4.0874482e-08
Marked as misclassified No
Message-id <1271737565.16.0.219151301863.issue8451@psf.upfronthosting.co.za>
In-reply-to
Content
Antoine: I believe I have everything you mentioned addressed with the new patch.  That was an awesome review, thank you so much.

The only things I didn't do were parts of the last two items you bring up:

If PyTuple_New(0) fails, bail out.
If syslog_openlog fails, bail out.

syslog(3) can continue even if the openlog() fails.  It won't have the expected "ident" string, but it *WILL* log.

I believe this is the desired behavior.

NOTE: I puled the code out that does all the sys.argv handling, which I think made that whole section of code much easier to read, particularly with the new changes.  The down side is that the code to be reviewed is quite different now.

I also found a leak in the call to syslog_openlog() where I wasn't DECREFing the return.

Can you please review these changes?
History
Date User Action Args
2010-04-20 04:26:10jafosetrecipients: + jafo, pitrou, eric.smith
2010-04-20 04:26:09jafosetmessageid: <1271737565.16.0.219151301863.issue8451@psf.upfronthosting.co.za>
2010-04-20 04:25:55jafolinkissue8451 messages
2010-04-20 04:25:54jafocreate