Staging
v0.8.1
Revision 9c819a6a7d34594779fea3a25fd69ec5745e185e authored by Anselm Kruis on 23 February 2018, 16:27:54 UTC, committed by Gregory P. Smith on 23 February 2018, 16:27:54 UTC
Make test.support.temp_cwd() fork-safe. The context manager test.support.temp_cwd() no longer removes the temporary directory when executing in a process other than the parent it entered from.
If a forked child exits the context manager it won't do the cleanup..
(cherry picked from commit 33dddac00ba8d9b72cf21b8698504077eb3c23ad)

Co-authored-by: Anselm Kruis <a.kruis@science-computing.de>
1 parent dd52d5c
Raw File
vgrindefs
# vgrind is a pretty-printer that takes source code and outputs
# eye-pleasing postscript.  The entry below should be added to your
# local vgrindefs file.  Contributed by Neale Pickett <neale@lanl.gov>.

python|Python|py:\
        :pb=^\d?(def|class)\d\p(\d|\\|\(|\:):\
        :cb=#:ce=$:sb=":se=\e":lb=':le=\e':\
        :kw=assert and break class continue def del elif else except\
         finally for from global if import in is lambda not or\
         pass print raise return try while yield:
back to top