- 07 Nov, 2018 2 commits
-
-
Andrés Delfino authored
-
Terry Jan Reedy authored
A program that runs indefinitely can overfill memory.
-
- 06 Nov, 2018 9 commits
-
-
Victor Stinner authored
Move Py_BUILD_CORE code from Include/fileutils.h to a new Include/internal/pycore_fileutils.h file.
-
Alexander Buchkovsky authored
Allow sending more than 2 GB at once on a multiprocessing connection on non-Windows systems.
-
Terry Jan Reedy authored
Add a new subsection to the doc.
-
Victor Stinner authored
_testcapimodule.c must not include pycore_pathconfig.h, since it's an internal header files. Changes: * Add _PyCoreConfig_AsDict() function to coreconfig.c. * Remove pycore_pathconfig.h include from _testcapimodule.h. * pycore_pathconfig.h now requires Py_BUILD_CORE to be defined. * _testcapimodule.c compilation now fails if it's built with Py_BUILD_CORE defined.
-
Alexey Izbyshev authored
The test depended on '/usr/share/zoneinfo/posixrules' or equivalent because it set TZ without explicit DST transition rules. At least on OpenSUSE Tumbleweed that file is linked to '/etc/localtime', making the test fail with certain local timezones, such as 'Europe/Moscow' which doesn't have DST transitions since 2011.
-
Terry Jan Reedy authored
(This should have been done with the first PR for this issue.)
-
Terry Jan Reedy authored
The section is renamed from "IDLE -- console differences". It mostly covers the implications of using custom sys.stdxxx objects.
-
-
Rémi Lapeyre authored
-
- 05 Nov, 2018 5 commits
-
-
E Kawashima authored
§31.5.6.3. Importing a source file directly: `module_from_spec` is new in Python 3.5.
-
Zackery Spytz authored
"p" was not initialized if the first PyMem_RawRealloc() call failed.
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
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 authored
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 Nov, 2018 11 commits
-
-
Max Bélanger authored
-
Julien Palard authored
-
Pablo Galindo authored
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 authored
-
Stéphane Wirtel authored
-
Saptak Sengupta authored
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 authored
-
Adrian Liaw authored
-
Stéphane Wirtel authored
-
Alexey Izbyshev authored
Reported by ASAN.
-
Elena Oat authored
Thanks!
-
- 03 Nov, 2018 3 commits
-
-
Julien Palard authored
-
Stéphane Wirtel authored
-
İsmail Arılık authored
-
- 02 Nov, 2018 4 commits
-
-
Alexey Izbyshev authored
Use `__GNUC__` instead of non-existing `__GNUC_MAJOR__`. https://bugs.python.org/issue35147
-
BNMetrics authored
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 authored
Previous version was casting to Py_ssize_t incorrectly and exhibited unexpected behavior on big-endian systems.
-
Max Bélanger authored
This could cause compile errors on macOS or other platforms.
-
- 01 Nov, 2018 6 commits
-
-
Anthony Sottile authored
-
-
Christopher Thorne authored
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 authored
-
Victor Stinner authored
* 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 authored
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".
-