- 15 Mar, 2019 10 kayıt (commit)
-
-
Eric Snow yazdı
-
Eric Snow yazdı
-
Eric Snow yazdı
-
Stéphane Wirtel yazdı
-
Victor Stinner yazdı
The function has no return value. Fix the following warning on Windows: python\ceval.c(180): warning C4098: 'PyEval_InitThreads': 'void' function returning a value
-
Victor Stinner yazdı
If argv is empty, add an empty string.
-
Victor Stinner yazdı
Replace messy _Py_wstrlist_xxx() functions with a new clean _PyWstrList structure and new _PyWstrList_xxx() functions. Changes: * Add _PyCoreConfig.use_module_search_paths to decide if _PyCoreConfig.module_search_paths should be computed or not, to support empty search path list. * _PyWstrList_Clear() sets length to 0 and items to NULL, whereas _Py_wstrlist_clear() only freed memory. * _PyWstrList_Append() returns an int, whereas _Py_wstrlist_append() returned _PyInitError. * _PyWstrList uses Py_ssize_t for the length, instead of int. * Replace (int, wchar_t**) with _PyWstrList in: * _PyPreConfig * _PyCoreConfig * _PyPreCmdline * _PyCmdline * Replace "int orig_argv; wchar_t **orig_argv;" with "_PyWstrList orig_argv". * _PyCmdline and _PyPreCmdline now also copy wchar_argv. * Rename _PyArgv_Decode() to _PyArgv_AsWstrList(). * PySys_SetArgvEx() now pass the fixed (argc, argv) to _PyPathConfig_ComputeArgv0() (don't pass negative argc or NULL argv). * _PyOS_GetOpt() uses Py_ssize_t
-
Victor Stinner yazdı
Fix CFLAGS in customize_compiler() of distutils.sysconfig: when the CFLAGS environment variable is defined, don't override CFLAGS variable with the OPT variable anymore. Initial patch written by David Malcolm. Co-Authored-By: David Malcolm <dmalcolm@redhat.com>
-
Rémi Lapeyre yazdı
-
Raymond Hettinger yazdı
-
- 14 Mar, 2019 6 kayıt (commit)
-
-
Andre Delfino yazdı
-
nick sung yazdı
-
Inada Naoki yazdı
This optimization is not only for space, but also for speed.
-
Raymond Hettinger yazdı
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
- 13 Mar, 2019 7 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Guido van Rossum yazdı
The value is a string for string and byte literals, None otherwise. It is 'u' for u"..." literals, 'b' for b"..." literals, '' for "..." literals. The 'r' (raw) prefix is ignored. Does not apply to f-strings. This appears sufficient to make mypy capable of using the stdlib ast module instead of typed_ast (assuming a mypy patch I'm working on). WIP: I need to make the tests pass. @ilevkivskyi @serhiy-storchaka https://bugs.python.org/issue36280
-
pxinwr yazdı
Limited signal fields in VxWorks.
-
Victor Stinner yazdı
Fix an unlikely memory leak on conversion from string to float in the function _Py_dg_strtod() used by float(str), complex(str), pickle.load(), marshal.load(), etc. Fix an unlikely memory leak in _Py_dg_strtod() on "undfl:" label: rewrite memory management in this function to always release all memory before exiting the function. Initialize variables to NULL, and set them to NULL after calling Bfree() at the "cont:" label. Note: Bfree(NULL) is well defined: it does nothing.
-
Anthony Sottile yazdı
-
Cheryl Sabella yazdı
-
- 12 Mar, 2019 10 kayıt (commit)
-
-
Steve Dower yazdı
-
Ned Deily yazdı
-
Steve Dower yazdı
-
Ned Deily yazdı
-
Anthony Sottile yazdı
-
Inada Naoki yazdı
-
Inada Naoki yazdı
Sizeof new empty dict becomes 72 bytes from 240 bytes (amd64). It is same size to empty dict created by dict.clear().
-
Raymond Hettinger yazdı
-
Daniel Hahler yazdı
This is relevant for `debug doesnotexist()`, which would crash with a NameError otherwise.
-
Lisa Roach yazdı
-
- 11 Mar, 2019 4 kayıt (commit)
-
-
Julien Palard yazdı
-
Victor Stinner yazdı
test_posix.PosixUidGidTests: * Add tests for invalid uid/gid type (str) * Add UID_OVERFLOW and GID_OVERFLOW constants to replace (1 << 32) Initial patch written by David Malcolm. Co-Authored-By: David Malcolm <dmalcolm@redhat.com>
-
Raymond Hettinger yazdı
-
Terry Jan Reedy yazdı
Prevent conflicts with Linux dark themes (and slightly darken calltip background).
-
- 10 Mar, 2019 3 kayıt (commit)
-
-
Xtreak yazdı
* Refactor cookie path check as per RFC 6265 * Add tests for prefix match of path * Add news entry * Fix set_ok_path and refactor tests * Use slice for last letter
-
Lysandros Nikolaou yazdı
-
Andre Delfino yazdı
-