- 09 Kas, 2018 5 kayıt (commit)
-
-
Raymond Hettinger yazdı
1) Convert weird field name "typ" to the more standard "type". 2) For the NUMBER type, convert the value to an int() or float(). 3) Simplify ``group(kind)`` to the shorter and faster ``group()`` call. 4) Simplify logic go a single if-elif chain to make this easier to extend. 5) Reorder the tests to match the order the tokens are specified. This isn't necessary for correctness but does make the example easier to follow. 6) Move the "column" calculation before the if-elif chain so that users have the option of using this value in error messages.
-
Raymond Hettinger yazdı
Since the n==1 case just returns *max*, it cannot be larger than the magnitude of the vector entry.
-
Alexey Izbyshev yazdı
This typo doesn't affect the result because wrong bits are discarded on implicit conversion to unsigned char, but it trips UBSan with -fsanitize=implicit-integer-truncation. https://bugs.python.org/issue35194
-
Lisa Roach yazdı
-
Gregory P. Smith yazdı
Fix an off by one error in the peephole optimizer when checking for unreachable code beyond a return. Do a bounds check within find_op so it can return before going past the end as a safety measure. https://github.com/python/cpython/commit/7db3c488335168993689ddae5914a28e16188447#diff-a33329ae6ae0bb295d742f0caf93c137 introduced this off by one error while fixing another one nearby. This bug was shipped in all Python 3.6 and 3.7 releases. The included unittest won't fail unless you do a clang msan build.
-
- 08 Kas, 2018 3 kayıt (commit)
-
-
Vincent Michel yazdı
The call to `_untrack_reader` is performed too soon, causing the protocol to forget about the reader before `connection_lost` can run and feed the EOF to the reader. See bpo-35065.
-
Zackery Spytz yazdı
-
Serhiy Storchaka yazdı
Pydoc now does not duplicate docstrings for aliases of inherited methods.
-
- 07 Kas, 2018 20 kayıt (commit)
-
-
Pablo Galindo yazdı
This reverts commit c64583b6 due to multiple buildbot failures when building it.
-
Julien Palard yazdı
-
Pablo Galindo yazdı
The constructor of subprocess.CalledProcessError in the check_output function had an extra None in it.
-
Julien Palard yazdı
-
Elvis Pranskevichus yazdı
Current support for hash-based bytecode files in `zipimport` is rather sparse, which leads to test failures when the test suite is ran with the ``SOURCE_DATE_EPOCH`` environment variable set. This teaches zipimport to handle hash-based pycs properly.
-
Andrés Delfino yazdı
-
Andrés Delfino yazdı
-
Andrés Delfino yazdı
-
Andrés Delfino yazdı
-
Andrés Delfino yazdı
-
Andrés Delfino yazdı
-
Andrés Delfino yazdı
-
Andrés Delfino yazdı
-
samstagern yazdı
Handle Unicode contents on localised Windows systems when activating a venv. activate.bat currently breaks on German Windows systems, as chcp.com does not return a plain number as on English systems, but (arbitrarily) appends a dot at the end (for example "Aktive Codepage: 850." instead of "Active Codepage: 850"). The dependency to chcp.com is removed and ctypes is used to get, set and restore the console output code page. The code page for console input is not changed. We can't use __VENV_PYTHON__ to find python.exe, since it's UTF-8. cmd.exe decodes the script using the console output code page.
-
Cheryl Sabella yazdı
-
Diego Rojas yazdı
-
HongWeipeng yazdı
* add jsonlines option to json.tool * code review * fix:avoid read infile after it close * improve doc in whatsnew 3.8
-
guoci yazdı
Without setting mtime, time.time() will be used as the timestamp which will end up in the compressed data and each invocation of the compress() function will vary over time.
-
Andrés Delfino yazdı
-
Terry Jan Reedy yazdı
A program that runs indefinitely can overfill memory.
-
- 06 Kas, 2018 9 kayıt (commit)
-
-
Victor Stinner yazdı
Move Py_BUILD_CORE code from Include/fileutils.h to a new Include/internal/pycore_fileutils.h file.
-
Alexander Buchkovsky yazdı
Allow sending more than 2 GB at once on a multiprocessing connection on non-Windows systems.
-
Terry Jan Reedy yazdı
Add a new subsection to the doc.
-
Victor Stinner yazdı
_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 yazdı
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 yazdı
(This should have been done with the first PR for this issue.)
-
Terry Jan Reedy yazdı
The section is renamed from "IDLE -- console differences". It mostly covers the implications of using custom sys.stdxxx objects.
-
-
Rémi Lapeyre yazdı
-
- 05 Kas, 2018 3 kayıt (commit)
-
-
E Kawashima yazdı
§31.5.6.3. Importing a source file directly: `module_from_spec` is new in Python 3.5.
-
Zackery Spytz yazdı
"p" was not initialized if the first PyMem_RawRealloc() call failed.
-
Serhiy Storchaka yazdı
-