[Python-checkins] [python/cpython] c5179f: bpo-30599: Fix test_threaded_import reference leak...

GitHub noreply at github.com
Sat Jun 10 13:41:26 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/python/cpython
  Commit: c5179f6e2dfcc01cf0b977b184f5b8f8ac98fab1
      https://github.com/python/cpython/commit/c5179f6e2dfcc01cf0b977b184f5b8f8ac98fab1
  Author: Victor Stinner <victor.stinner at gmail.com>
  Date:   2017-06-10 (Sat, 10 Jun 2017)

  Changed paths:
    M Lib/test/test_threaded_import.py

  Log Message:
  -----------
  bpo-30599: Fix test_threaded_import reference leak (#2029)

Mock os.register_at_fork() when importing the random module, since
this function doesn't allow to unregister callbacks and so leaked
memory.




More information about the Python-checkins mailing list