- 05 Kas, 2018 2 kayıt (commit)
-
-
Serhiy Storchaka yazdı
Two kind of mistakes: 1. Missed space. After concatenating there is no space between words. 2. Missed comma. Causes unintentional concatenating in a list of strings.
-
Mario Corchero yazdı
The new option in the CLI of the profile module allow to profile executable modules. This change follows the same implementation as the one already present in `cProfile`. As the argument is now present on both modules, move the tests to the common test case to be run with profile as well.
-
- 04 Kas, 2018 11 kayıt (commit)
-
-
Max Bélanger yazdı
-
Julien Palard yazdı
-
Pablo Galindo yazdı
This PR adds a cross-reference to the ellipsis object and the representation of recursive item in containers as indicated in [issue 9842](https://bugs.python.org/issue9842) by @bitdancer. https://bugs.python.org/issue9842
-
Windson yang yazdı
-
Stéphane Wirtel yazdı
-
Saptak Sengupta yazdı
This pull request adds some information about the special multipart/signed handling to clear about disabling header folding. https://bugs.python.org/issue31887
-
Lysandros Nikolaou yazdı
-
Adrian Liaw yazdı
-
Stéphane Wirtel yazdı
-
Alexey Izbyshev yazdı
Reported by ASAN.
-
Elena Oat yazdı
Thanks!
-
- 03 Kas, 2018 3 kayıt (commit)
-
-
Julien Palard yazdı
-
Stéphane Wirtel yazdı
-
İsmail Arılık yazdı
-
- 02 Kas, 2018 4 kayıt (commit)
-
-
Alexey Izbyshev yazdı
Use `__GNUC__` instead of non-existing `__GNUC_MAJOR__`. https://bugs.python.org/issue35147
-
BNMetrics yazdı
Some methods in the os module can accept path-like objects. This is documented in the general documentation but not in the function docstrings. To keep both in sync, the docstrings need to be updated to reflect that path-like objects are also accepted.
-
Christopher Thorne yazdı
Previous version was casting to Py_ssize_t incorrectly and exhibited unexpected behavior on big-endian systems.
-
Max Bélanger yazdı
This could cause compile errors on macOS or other platforms.
-
- 01 Kas, 2018 7 kayıt (commit)
-
-
Anthony Sottile yazdı
-
-
Christopher Thorne yazdı
This implements getstate and setstate for the cjkcodecs multibyte incremental encoders/decoders, primarily to fix issues with seek/tell. The encoder getstate/setstate is slightly tricky as the "state" is pending bytes + MultibyteCodec_State but only an integer can be returned. The approach I've taken is to encode this data into a long, similar to how .tell() encodes a "cookie_type" as a long. https://bugs.python.org/issue33578
-
Pablo Aguiar yazdı
-
Victor Stinner yazdı
* And pycore_lifecycle.h and pycore_pathconfig.h headers to Include/internal/ * Move Py_BUILD_CORE specific code from coreconfig.h and pylifecycle.h to pycore_pathconfig.h and pycore_lifecycle.h * Move _Py_wstrlist_XXX() definitions and _PyPathConfig code from pycore_state.h to pycore_pathconfig.h * Move "Init" and "Fini" function definitions from pylifecycle.c to pycore_lifecycle.h.
-
Victor Stinner yazdı
The accu.h header is no longer part of the Python C API: it has been moved to the "internal" headers which are restricted to Python itself. Replace #include "accu.h" with #include "pycore_accu.h".
-
Victor Stinner yazdı
If Py_BUILD_CORE is defined, the PyThreadState_GET() macro access _PyRuntime which comes from the internal pycore_state.h header. Public headers must not require internal headers. Move PyThreadState_GET() and _PyInterpreterState_GET_UNSAFE() from Include/pystate.h to Include/internal/pycore_state.h, and rename PyThreadState_GET() to _PyThreadState_GET() there. The PyThreadState_GET() macro of pystate.h is now redefined when pycore_state.h is included, to use the fast _PyThreadState_GET(). Changes: * Add _PyThreadState_GET() macro * Replace "PyThreadState_GET()->interp" with _PyInterpreterState_GET_UNSAFE() * Replace PyThreadState_GET() with _PyThreadState_GET() in internal C files (compiled with Py_BUILD_CORE defined), but keep PyThreadState_GET() in the public header files. * _testcapimodule.c: replace PyThreadState_GET() with PyThreadState_Get(); the module is not compiled with Py_BUILD_CORE defined. * pycore_state.h now requires Py_BUILD_CORE to be defined.
-
- 31 Eki, 2018 8 kayıt (commit)
-
-
Victor Stinner yazdı
* Rename Include/internal/ header files: * pyatomic.h -> pycore_atomic.h * ceval.h -> pycore_ceval.h * condvar.h -> pycore_condvar.h * context.h -> pycore_context.h * pygetopt.h -> pycore_getopt.h * gil.h -> pycore_gil.h * hamt.h -> pycore_hamt.h * hash.h -> pycore_hash.h * mem.h -> pycore_mem.h * pystate.h -> pycore_state.h * warnings.h -> pycore_warnings.h * PCbuild project, Makefile.pre.in, Modules/Setup: add the Include/internal/ directory to the search paths of header files. * Update includes. For example, replace #include "internal/mem.h" with #include "pycore_mem.h".
-
Victor Stinner yazdı
Don't call _Py_FatalError_PrintExc() nor flush_std_files() if the current thread doesn't hold the GIL, or if the current thread has no Python state thread.
-
Victor Stinner yazdı
* Add #include "internal/mem.h" to C files using _PyMem_SetDefaultAllocator(). * Include/internal/mem.h now requires Py_BUILD_CORE to be defined.
-
Xiang Zhang yazdı
_io.IncrementalNewlineDecoder's initializer possibly assigns out-of-range value to the bitwise struct field.
-
Serhiy Storchaka yazdı
-
Zackery Spytz yazdı
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
- 30 Eki, 2018 5 kayıt (commit)
-
-
matthewbelisle-wf yazdı
-
Daniel Lovell yazdı
The root widget was accessed as a global variable in the Application's method.
-
Victor Stinner yazdı
Add pyatomic.h to the VS project (it wasn't referenced).
-
Victor Stinner yazdı
* Remove _PyThreadState_Current * Replace GET_TSTATE() with PyThreadState_GET() * Replace GET_INTERP_STATE() with _PyInterpreterState_GET_UNSAFE() * Replace direct access to _PyThreadState_Current with PyThreadState_GET() * Replace _PyThreadState_Current with _PyRuntime.gilstate.tstate_current * Rename SET_TSTATE() to _PyThreadState_SET(), name more consistent with _PyThreadState_GET() * Update outdated comments
-
Victor Stinner yazdı
Convert _Py_Dealloc() macro into a static inline function. Moreover, it is now also defined as a static inline function if Py_TRACE_REFS is defined.
-