[Python-checkins] [python/cpython] 163468: bpo-16500: Don't use string constants for os.regis...

GitHub noreply at github.com
Mon May 29 13:03:42 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/python/cpython
  Commit: 163468a766e16604bdea04a1ab808c0d3e729e5d
      https://github.com/python/cpython/commit/163468a766e16604bdea04a1ab808c0d3e729e5d
  Author: Gregory P. Smith <greg at krypto.org>
  Date:   2017-05-29 (Mon, 29 May 2017)

  Changed paths:
    M Doc/c-api/sys.rst
    M Doc/library/os.rst
    M Lib/random.py
    M Lib/test/test_posix.py
    M Lib/threading.py
    M Modules/_posixsubprocess.c
    M Modules/clinic/posixmodule.c.h
    M Modules/posixmodule.c

  Log Message:
  -----------
  bpo-16500: Don't use string constants for os.register_at_fork() behavior (#1834)

Instead use keyword only arguments to os.register_at_fork for each of the scenarios.
Updates the documentation for clarity.




More information about the Python-checkins mailing list