1. 05 Ara, 2016 3 kayıt (commit)
    • Victor Stinner's avatar
      Issue #28858: Remove _PyObject_CallArg1() macro · 7bfb42d5
      Victor Stinner yazdı
      Replace
         _PyObject_CallArg1(func, arg)
      with
         PyObject_CallFunctionObjArgs(func, arg, NULL)
      
      Using the _PyObject_CallArg1() macro increases the usage of the C stack, which
      was unexpected and unwanted. PyObject_CallFunctionObjArgs() doesn't have this
      issue.
      7bfb42d5
    • Nick Coghlan's avatar
      Merge #23722 from 3.6 · d77e5b72
      Nick Coghlan yazdı
      d77e5b72
    • Nick Coghlan's avatar
      Issue #23722: improve __classcell__ compatibility · 19d24674
      Nick Coghlan yazdı
      Handling zero-argument super() in __init_subclass__ and
      __set_name__ involved moving __class__ initialisation to
      type.__new__. This requires cooperation from custom
      metaclasses to ensure that the new __classcell__ entry
      is passed along appropriately.
      
      The initial implementation of that change resulted in abruptly
      broken zero-argument super() support in metaclasses that didn't
      adhere to the new requirements (such as Django's metaclass for
      Model definitions).
      
      The updated approach adopted here instead emits a deprecation
      warning for those cases, and makes them work the same way they
      did in Python 3.5.
      
      This patch also improves the related class machinery documentation
      to cover these details and to include more reader-friendly
      cross-references and index entries.
      19d24674
  2. 04 Ara, 2016 9 kayıt (commit)
  3. 03 Ara, 2016 8 kayıt (commit)
  4. 02 Ara, 2016 9 kayıt (commit)
  5. 01 Ara, 2016 6 kayıt (commit)
  6. 30 Kas, 2016 1 kayıt (commit)
  7. 29 Kas, 2016 4 kayıt (commit)