[Python-checkins] [python/cpython] 671079: bpo-29894: Deprecate returning an instance of comp...

GitHub noreply at github.com
Fri Mar 24 15:28:44 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/python/cpython
  Commit: 671079ef6063fe227460a6c3114625fb6282bbd0
      https://github.com/python/cpython/commit/671079ef6063fe227460a6c3114625fb6282bbd0
  Author: Serhiy Storchaka <storchaka at gmail.com>
  Date:   2017-03-24 (Fri, 24 Mar 2017)

  Changed paths:
    M Lib/test/test_complex.py
    M Lib/test/test_getargs2.py
    M Misc/NEWS
    M Objects/complexobject.c

  Log Message:
  -----------
  bpo-29894: Deprecate returning an instance of complex subclass from __complex__. (#798)

In a future versions of Python this can be an error.




More information about the Python-checkins mailing list