[Python-checkins] [python/cpython] bf623a: bpo-30061: Check if PyObject_Size()/PySequence_Siz...

GitHub noreply at github.com
Wed Apr 19 13:03:53 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/python/cpython
  Commit: bf623ae8843dc30b28c574bec8d29fc14be59d86
      https://github.com/python/cpython/commit/bf623ae8843dc30b28c574bec8d29fc14be59d86
  Author: Serhiy Storchaka <storchaka at gmail.com>
  Date:   2017-04-19 (Wed, 19 Apr 2017)

  Changed paths:
    M Lib/test/test_io.py
    M Misc/NEWS
    M Modules/_ctypes/_ctypes.c
    M Modules/_elementtree.c
    M Modules/_io/iobase.c
    M Modules/_winapi.c
    M Modules/cjkcodecs/multibytecodec.c
    M Modules/itertoolsmodule.c
    M Modules/posixmodule.c
    M Modules/selectmodule.c
    M Objects/exceptions.c
    M Objects/namespaceobject.c
    M Objects/setobject.c
    M Python/bltinmodule.c

  Log Message:
  -----------
  bpo-30061: Check if PyObject_Size()/PySequence_Size()/PyMapping_Size() (#1096)

raised an error.

Replace them with using concrete types API that never fails if appropriate.




More information about the Python-checkins mailing list