Author vstinner
Recipients emptysquare, pitrou, serhiy.storchaka, vstinner, xdegaye
Date 2016-03-26.00:10:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
warn_5.patch: The patch cannot be reviewed on Rietveld :-( You must not use the git format for diff.

warn_5.patch: "if (globals == NULL) { (...) return 0; }"

It looks like filename is not initialized. I suggest to use:

   *filename = f->f_code->co_filename;

It looks like you have to add:

   if (PyUnicode_Check(*filename)) *filename = NULL;

To mimick the code below.
Date User Action Args
2016-03-26 00:10:45vstinnersetrecipients: + vstinner, pitrou, xdegaye, serhiy.storchaka, emptysquare
2016-03-26 00:10:45vstinnersetmessageid: <>
2016-03-26 00:10:45vstinnerlinkissue22898 messages
2016-03-26 00:10:45vstinnercreate