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 jwilk
Recipients jwilk
Date 2014-01-30.14:03:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1391090625.54.0.961890812263.issue20447@psf.upfronthosting.co.za>
In-reply-to
Content
The doctest.debug_script function creates temporary files in an insecure way:

    srcfilename = tempfile.mktemp(".py", "doctestdebug")
    f = open(srcfilename, 'w')

This is already fixed for Python >= 3.2, although for reasons other than security: issue12451
History
Date User Action Args
2014-01-30 14:03:45jwilksetrecipients: + jwilk
2014-01-30 14:03:45jwilksetmessageid: <1391090625.54.0.961890812263.issue20447@psf.upfronthosting.co.za>
2014-01-30 14:03:45jwilklinkissue20447 messages
2014-01-30 14:03:45jwilkcreate