1. 31 May, 2018 1 kayıt (commit)
  2. 29 May, 2018 1 kayıt (commit)
  3. 25 Ock, 2018 1 kayıt (commit)
  4. 31 Ara, 2017 1 kayıt (commit)
  5. 28 Kas, 2017 1 kayıt (commit)
  6. 24 Kas, 2017 1 kayıt (commit)
    • Victor Stinner's avatar
      bpo-32096: Remove obj and mem from _PyRuntime (#4532) · 9e87e777
      Victor Stinner yazdı
      bpo-32096, bpo-30860:  Partially revert the commit
      2ebc5ce4:
      
      * Move structures back from Include/internal/mem.h to
        Objects/obmalloc.c
      * Remove _PyObject_Initialize() and _PyMem_Initialize()
      * Remove Include/internal/pymalloc.h
      * Add test_capi.test_pre_initialization_api():
         Make sure that it's possible to call Py_DecodeLocale(), and then call
         Py_SetProgramName() with the decoded string, before Py_Initialize().
      
      PyMem_RawMalloc() and Py_DecodeLocale() can be called again before
      _PyRuntimeState_Init().
      Co-Authored-By: 's avatarEric Snow <ericsnowcurrently@gmail.com>
      9e87e777
  7. 17 Kas, 2017 1 kayıt (commit)
    • Victor Stinner's avatar
      tokenizer: Remove unused tabs options (#4422) · f2ddc6ac
      Victor Stinner yazdı
      Remove the following fields from tok_state structure which are now
      used unused:
      
      * altwarning: "Issue warning if alternate tabs don't match"
      * alterror: "Issue error if alternate tabs don't match"
      * alttabsize: "Alternate tab spacing"
      
      Replace alttabsize variable with ALTTABSIZE define.
      f2ddc6ac
  8. 15 Kas, 2017 1 kayıt (commit)
    • Victor Stinner's avatar
      bpo-32030: Split Py_Main() into subfunctions (#4399) · f7e5b56c
      Victor Stinner yazdı
      * Don't use "Python runtime" anymore to parse command line options or
        to get environment variables: pymain_init() is now a strict
        separation.
      * Use an error message rather than "crashing" directly with
        Py_FatalError(). Limit the number of calls to Py_FatalError(). It
        prepares the code to handle errors more nicely later.
      * Warnings options (-W, PYTHONWARNINGS) and "XOptions" (-X) are now
        only added to the sys module once Python core is properly
        initialized.
      * _PyMain is now the well identified owner of some important strings
        like: warnings options, XOptions, and the "program name". The
        program name string is now properly freed at exit.
        pymain_free() is now responsible to free the "command" string.
      * Rename most methods in Modules/main.c to use a "pymain_" prefix to
        avoid conflits and ease debug.
      * Replace _Py_CommandLineDetails_INIT with memset(0)
      * Reorder a lot of code to fix the initialization ordering. For
        example, initializing standard streams now comes before parsing
        PYTHONWARNINGS.
      * Py_Main() now handles errors when adding warnings options and
        XOptions.
      * Add _PyMem_GetDefaultRawAllocator() private function.
      * Cleanup _PyMem_Initialize(): remove useless global constants: move
        them into _PyMem_Initialize().
      * Call _PyRuntime_Initialize() as soon as possible:
        _PyRuntime_Initialize() now returns an error message on failure.
      * Add _PyInitError structure and following macros:
      
        * _Py_INIT_OK()
        * _Py_INIT_ERR(msg)
        * _Py_INIT_USER_ERR(msg): "user" error, don't abort() in that case
        * _Py_INIT_FAILED(err)
      f7e5b56c
  9. 11 Kas, 2017 1 kayıt (commit)
  10. 06 Eki, 2017 1 kayıt (commit)
  11. 20 Eyl, 2017 1 kayıt (commit)
  12. 15 Eyl, 2017 2 kayıt (commit)
  13. 08 Eyl, 2017 1 kayıt (commit)
    • Eric Snow's avatar
      bpo-30860: Consolidate stateful runtime globals. (#3397) · 2ebc5ce4
      Eric Snow yazdı
      * group the (stateful) runtime globals into various topical structs
      * consolidate the topical structs under a single top-level _PyRuntimeState struct
      * add a check-c-globals.py script that helps identify runtime globals
      
      Other globals are excluded (see globals.txt and check-c-globals.py).
      2ebc5ce4
  14. 07 Eyl, 2017 1 kayıt (commit)
  15. 06 Eyl, 2017 2 kayıt (commit)
  16. 24 Agu, 2017 1 kayıt (commit)
  17. 04 Agu, 2017 1 kayıt (commit)
  18. 01 Haz, 2017 1 kayıt (commit)
  19. 31 May, 2017 1 kayıt (commit)
    • Albert-Jan Nijburg's avatar
      bpo-25324: copy tok_name before changing it (#1608) · fc354f07
      Albert-Jan Nijburg yazdı
      * add test to check if were modifying token
      
      * copy list so import tokenize doesnt have side effects on token
      
      * shorten line
      
      * add tokenize tokens to token.h to get them to show up in token
      
      * move ERRORTOKEN back to its previous location, and fix nitpick
      
      * copy comments from token.h automatically
      
      * fix whitespace and make more pythonic
      
      * change to fix comments from @haypo
      
      * update token.rst and Misc/NEWS
      
      * change wording
      
      * some more wording changes
      fc354f07
  20. 03 Nis, 2017 1 kayıt (commit)
  21. 23 Mar, 2017 1 kayıt (commit)
    • Serhiy Storchaka's avatar
      Use NULL rather than 0. (#778) · 0b3ec192
      Serhiy Storchaka yazdı
      There was few cases of using literal 0 instead of NULL in the context of
      pointers.  While this was a legitimate C code, using NULL rather than 0 makes
      the code clearer.
      0b3ec192
  22. 23 Şub, 2017 1 kayıt (commit)
    • INADA Naoki's avatar
      bpo-29622: Make AST constructor to accept less than enough number of positional arguments (GH-249) · 4c78c527
      INADA Naoki yazdı
      bpo-29463 added optional "docstring" field to 4 AST types.
      While it is optional, it breaks backward compatibility because AST constructor
      requires number of positional argument is same to number of fields.
      
      AST types accepts empty arguments, and incomplete keyword arguments.
      But it's not big problem because field can be filled after creation, and checked when compiling.
      So stop requiring complete set of fields for positional arguments too.
      4c78c527
  23. 22 Şub, 2017 1 kayıt (commit)
  24. 05 Şub, 2017 1 kayıt (commit)
  25. 25 Ock, 2017 1 kayıt (commit)
  26. 06 Ara, 2016 1 kayıt (commit)
  27. 20 Kas, 2016 1 kayıt (commit)
  28. 25 Eki, 2016 1 kayıt (commit)
  29. 08 Eki, 2016 2 kayıt (commit)
  30. 07 Eki, 2016 1 kayıt (commit)
  31. 19 Eyl, 2016 2 kayıt (commit)
  32. 13 Eyl, 2016 2 kayıt (commit)
  33. 09 Eyl, 2016 3 kayıt (commit)