1. 15 Haz, 2017 1 kayıt (commit)
  2. 08 Haz, 2017 1 kayıt (commit)
  3. 29 May, 2017 1 kayıt (commit)
  4. 19 Nis, 2017 1 kayıt (commit)
  5. 16 Nis, 2017 1 kayıt (commit)
  6. 12 Mar, 2017 2 kayıt (commit)
  7. 15 Şub, 2017 1 kayıt (commit)
  8. 23 Ock, 2017 2 kayıt (commit)
  9. 21 Ock, 2017 1 kayıt (commit)
  10. 20 Ock, 2017 1 kayıt (commit)
  11. 19 Ock, 2017 1 kayıt (commit)
    • INADA Naoki's avatar
      Issue #29296: convert print() to METH_FASTCALL · bd584f16
      INADA Naoki yazdı
      * Replace PyArg_ParseTupleAndKeywords() with _PyArg_ParseStackAndKeywords()
        which is more efficient to parse keywords, since it decodes only keywords
        (char*) from UTF-8 once, instead of decoding at each call.
      * METH_FASTCALL avoids the creation of a temporary tuple to pass positional
        arguments.
      
      Patch written by INADA Naoki, pushed by Victor Stinner.
      bd584f16
  12. 17 Ock, 2017 3 kayıt (commit)
  13. 16 Ock, 2017 1 kayıt (commit)
  14. 15 Ara, 2016 1 kayıt (commit)
    • Victor Stinner's avatar
      Add _PY_FASTCALL_SMALL_STACK constant · bc08ab45
      Victor Stinner yazdı
      Issue #28870: Add a new _PY_FASTCALL_SMALL_STACK constant, size of "small
      stacks" allocated on the C stack to pass positional arguments to
      _PyObject_FastCall().
      
      _PyObject_Call_Prepend() now uses a small stack of 5 arguments (40 bytes)
      instead of 8 (64 bytes), since it is modified to use _PY_FASTCALL_SMALL_STACK.
      bc08ab45
  15. 06 Ara, 2016 1 kayıt (commit)
  16. 05 Ara, 2016 1 kayıt (commit)
    • 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
  17. 04 Ara, 2016 1 kayıt (commit)
    • Victor Stinner's avatar
      Backed out changeset b9c9691c72c5 · de4ae3d4
      Victor Stinner yazdı
      Issue #28858: The change b9c9691c72c5 introduced a regression. It seems like
      _PyObject_CallArg1() uses more stack memory than
      PyObject_CallFunctionObjArgs().
      de4ae3d4
  18. 01 Ara, 2016 1 kayıt (commit)
    • Victor Stinner's avatar
      Replace PyObject_CallFunctionObjArgs() with fastcall · 27580c1f
      Victor Stinner yazdı
      * PyObject_CallFunctionObjArgs(func, NULL) => _PyObject_CallNoArg(func)
      * PyObject_CallFunctionObjArgs(func, arg, NULL) => _PyObject_CallArg1(func, arg)
      
      PyObject_CallFunctionObjArgs() allocates 40 bytes on the C stack and requires
      extra work to "parse" C arguments to build a C array of PyObject*.
      
      _PyObject_CallNoArg() and _PyObject_CallArg1() are simpler and don't allocate
      memory on the C stack.
      
      This change is part of the fastcall project. The change on listsort() is
      related to the issue #23507.
      27580c1f
  19. 20 Kas, 2016 2 kayıt (commit)
  20. 11 Eyl, 2016 1 kayıt (commit)
    • Nick Coghlan's avatar
      Issue #23722: Initialize __class__ from type.__new__() · 944368e1
      Nick Coghlan yazdı
      The __class__ cell used by zero-argument super() is now initialized
      from type.__new__ rather than __build_class__, so class methods
      relying on that will now work correctly when called from metaclass
      methods during class creation.
      
      Patch by Martin Teichmann.
      944368e1
  21. 08 Eyl, 2016 1 kayıt (commit)
  22. 03 Eyl, 2016 1 kayıt (commit)
  23. 08 Eyl, 2016 1 kayıt (commit)
  24. 06 Eyl, 2016 1 kayıt (commit)
  25. 05 Eyl, 2016 1 kayıt (commit)
  26. 26 Agu, 2016 1 kayıt (commit)
  27. 24 Agu, 2016 1 kayıt (commit)
  28. 23 Agu, 2016 3 kayıt (commit)
  29. 22 Agu, 2016 3 kayıt (commit)
  30. 07 Tem, 2016 1 kayıt (commit)
  31. 18 Haz, 2016 1 kayıt (commit)