1. 11 Ock, 2019 2 kayıt (commit)
  2. 25 Ara, 2018 2 kayıt (commit)
  3. 22 Ara, 2018 1 kayıt (commit)
    • Serhiy Storchaka's avatar
      bpo-30455: Generate all token related code and docs from Grammar/Tokens. (GH-10370) · 8ac65811
      Serhiy Storchaka yazdı
      "Include/token.h", "Lib/token.py" (containing now some data moved from
      "Lib/tokenize.py") and new files "Parser/token.c" (containing the code
      moved from "Parser/tokenizer.c") and "Doc/library/token-list.inc" (included
      in "Doc/library/token.rst") are now generated from "Grammar/Tokens" by
      "Tools/scripts/generate_token.py". The script overwrites files only if
      needed and can be used on the read-only sources tree.
      
      "Lib/symbol.py" is now generated by "Tools/scripts/generate_symbol_py.py"
      instead of been executable itself.
      
      Added new make targets "regen-token" and "regen-symbol" which are now
      dependencies of "regen-all".
      
      The documentation contains now strings for operators and punctuation tokens.
      8ac65811
  4. 21 Ara, 2018 1 kayıt (commit)
  5. 17 Ara, 2018 1 kayıt (commit)
  6. 14 Ara, 2018 2 kayıt (commit)
  7. 11 Ara, 2018 1 kayıt (commit)
  8. 10 Ara, 2018 1 kayıt (commit)
  9. 07 Ara, 2018 2 kayıt (commit)
  10. 27 Kas, 2018 1 kayıt (commit)
  11. 23 Kas, 2018 1 kayıt (commit)
    • Victor Stinner's avatar
      bpo-35134: Create Include/cpython/ subdirectory (GH-10624) · e421106b
      Victor Stinner yazdı
      Include/*.h should be the "portable Python API", whereas
      Include/cpython/*.h should be the "CPython API": CPython
      implementation details.
      
      Changes:
      
      * Create Include/cpython/ subdirectory
      * "make install" now creates $prefix/include/cpython and copy
        Include/cpython/* to $prefix/include/cpython
      * Create Include/cpython/objimpl.h: move objimpl.h code
        surrounded by "#ifndef Py_LIMITED_API" to cpython/objimpl.h.
      * objimpl.h now includes cpython/objimpl.h
      * Windows installer (MSI) now also install Include/ subdirectories:
        Include/cpython/ and Include/internal/.
      e421106b
  12. 07 Kas, 2018 1 kayıt (commit)
  13. 05 Kas, 2018 1 kayıt (commit)
  14. 27 Eki, 2018 1 kayıt (commit)
  15. 20 Eki, 2018 1 kayıt (commit)
  16. 18 Eki, 2018 1 kayıt (commit)
  17. 15 Eki, 2018 1 kayıt (commit)
    • Victor Stinner's avatar
      bpo-34989: python-gdb.py: fix current_line_num() (GH-9889) · 2e438cc2
      Victor Stinner yazdı
      python-gdb.py now handles errors on computing the line number
      of a Python frame.
      
      Changes:
      
      * PyFrameObjectPtr.current_line_num() now catchs any Exception on
        calling addr2line(), instead of failing with a surprising "<class
        'TypeError'> 'FakeRepr' object is not subscriptable" error.
      * All callers of current_line_num() now handle current_line_num()
        returning None.
      * PyFrameObjectPtr.current_line() now also catchs IndexError on
        getting a line from the Python source file.
      2e438cc2
  18. 13 Eki, 2018 1 kayıt (commit)
  19. 27 Eyl, 2018 1 kayıt (commit)
  20. 23 Eyl, 2018 1 kayıt (commit)
  21. 20 Eyl, 2018 1 kayıt (commit)
  22. 14 Eyl, 2018 1 kayıt (commit)
  23. 07 Eyl, 2018 1 kayıt (commit)
    • Victor Stinner's avatar
      bpo-34605: Avoid master/slave terms (GH-9101) · 5e922658
      Victor Stinner yazdı
      * Replace "master process" with "parent process"
      * Replace "master option mappings" with "main option mappings"
      * Replace "master pattern object" with "main pattern object"
      * ssl: replace "master" with "server"
      * And some other similar changes
      5e922658
  24. 03 Eyl, 2018 1 kayıt (commit)
  25. 16 Agu, 2018 1 kayıt (commit)
  26. 29 Tem, 2018 1 kayıt (commit)
  27. 26 Tem, 2018 1 kayıt (commit)
  28. 21 Tem, 2018 1 kayıt (commit)
  29. 06 Tem, 2018 1 kayıt (commit)
  30. 27 Haz, 2018 1 kayıt (commit)
  31. 20 Haz, 2018 1 kayıt (commit)
  32. 14 Haz, 2018 2 kayıt (commit)
  33. 12 Haz, 2018 1 kayıt (commit)
  34. 11 Haz, 2018 1 kayıt (commit)
  35. 09 Haz, 2018 1 kayıt (commit)
    • Christian Tismer's avatar
      bpo-33738: Fix macros which contradict PEP 384 (GH-7477) · ea62ce7f
      Christian Tismer yazdı
      During development of the limited API support for PySide,
      we saw an error in a macro that accessed a type field.
      
      This patch fixes the 7 errors in the Python headers.
      Macros which were not written as capitals were implemented
      as function.
      
      To do the necessary analysis again, a script was included that
      parses all headers and looks for "->tp_" in serctions which can
      be reached with active limited API.
      
      It is easily possible to call this script as a test.
      
      Error listing:
      
      ../../Include/objimpl.h:243
      #define PyObject_IS_GC(o) (PyType_IS_GC(Py_TYPE(o)) && \
          (Py_TYPE(o)->tp_is_gc == NULL || Py_TYPE(o)->tp_is_gc(o)))
      Action: commented only
      
      ../../Include/objimpl.h:362
      #define PyType_SUPPORTS_WEAKREFS(t) ((t)->tp_weaklistoffset > 0)
      Action: commented only
      
      ../../Include/objimpl.h:364
      #define PyObject_GET_WEAKREFS_LISTPTR(o) \
          ((PyObject **) (((char *) (o)) + Py_TYPE(o)->tp_weaklistoffset))
      Action: commented only
      
      ../../Include/pyerrors.h:143
      #define PyExceptionClass_Name(x) \
           ((char *)(((PyTypeObject*)(x))->tp_name))
      Action: implemented function
      
      ../../Include/abstract.h:593
      #define PyIter_Check(obj) \
          ((obj)->ob_type->tp_iternext != NULL && \
           (obj)->ob_type->tp_iternext != &_PyObject_NextNotImplemented)
      Action: implemented function
      
      ../../Include/abstract.h:713
      #define PyIndex_Check(obj)                              \
          ((obj)->ob_type->tp_as_number != NULL &&            \
           (obj)->ob_type->tp_as_number->nb_index != NULL)
      Action: implemented function
      
      ../../Include/abstract.h:924
      #define PySequence_ITEM(o, i)\
          ( Py_TYPE(o)->tp_as_sequence->sq_item(o, i) )
      Action: commented only
      ea62ce7f