- 31 Tem, 2018 4 kayıt (commit)
-
-
Serhiy Storchaka yazdı
* help(hashlib) didn't work because of incorrect module name in blake2b and blake2s classes. * Constructors blake2*(), sha3_*(), shake_*() and keccak_*() incorrectly accepted keyword argument "string" for binary data, but documented as accepting the "data" keyword argument. Now this parameter is positional-only. * Keyword-only parameters in blake2b() and blake2s() were not documented as keyword-only. * Default value for some parameters of blake2b() and blake2s() was None, which is not acceptable value. * The length argument for shake_*.digest() was wrapped out to 32 bits. * The argument for shake_128.digest() and shake_128.hexdigest() was not positional-only as intended. * TypeError messages for incorrect arguments in all constructors sha3_*(), shake_*() and keccak_*() incorrectly referred to sha3_224. Also made the following enhancements: * More accurately specified input and result types for strings, bytes and bytes-like objects. * Unified positional parameter names for update() and constructors. * Improved formatting.
-
Serhiy Storchaka yazdı
Revert "closes bpo-27494: Fix 2to3 handling of trailing comma after a generator expression (GH-3771)" (#8241) This reverts commit af810b35. This is not valid syntax (see bpo-32012).
-
Serhiy Storchaka yazdı
* The hash of BuiltinMethodType instances no longer depends on the hash of __self__. It depends now on the hash of id(__self__). * The hash and equality of ModuleType and MethodWrapperType instances no longer depend on the hash and equality of __self__. They depend now on the hash and equality of id(__self__). * MethodWrapperType instances no longer support ordering.
-
INADA Naoki yazdı
-
- 30 Tem, 2018 6 kayıt (commit)
-
-
Sergey Fedoseev yazdı
This list is never used: if detect_types is on, this list will be replaced with another one before row_cast_map is used, if detect_types is off, row_cast_map is not used at all.
-
twisteroid ambassador yazdı
-
Andrés Delfino yazdı
-
Segev Finer yazdı
-
Peter Lamut yazdı
-
Elvis Pranskevichus yazdı
Various asyncio internals expect that the default executor is a `ThreadPoolExecutor`, so deprecate passing anything else to `loop.set_default_executor()`.
-
- 29 Tem, 2018 6 kayıt (commit)
-
-
Bo Bayles yazdı
-
Mickaël Schoentgen yazdı
-
Franz Wöllert yazdı
-
Stéphane Wirtel yazdı
-
Vinay Sajip yazdı
-
Berker Peksag yazdı
Initial patch by R. David Murray.
-
- 28 Tem, 2018 9 kayıt (commit)
-
-
Berker Peksag yazdı
-
Tim Golden yazdı
Serhiy Storchaka pointed out that using test.support.unlink was preferable
-
Raymond Hettinger yazdı
-
Elena Oat yazdı
-
Dong-hee Na yazdı
-
INADA Naoki yazdı
Co-authored-by:
Petr Viktorin <encukou@gmail.com>
-
johnthagen yazdı
Clarify how to bind to all interfaces using socket
-
Andrés Delfino yazdı
<!-- issue-number: bpo-5978 --> https://bugs.python.org/issue5978 <!-- /issue-number -->
-
Sanyam Khurana yazdı
Mathematically, bitwise operations on integers behave as if there were an infinite number of sign bits. Pragmatically, that gives the same answer as using one extra sign bit for the bitwise logical operations.
-
- 27 Tem, 2018 4 kayıt (commit)
-
-
Berker Peksag yazdı
-
Sergey Fedoseev yazdı
Unused since commit ab994ed8.
-
INADA Naoki yazdı
/usr/local/lib/pythonX.Y is used by Homebrew's Python already.
-
Berker Peksag yazdı
Also, update the list of exceptions that may raised by PyMarshal_* functions. We usually don't document exceptions raised by a function, but in this case most of them were already documented in C API and standard library documentation.
-
- 26 Tem, 2018 10 kayıt (commit)
-
-
Tim Golden yazdı
* bpo-34239: Convert test_bz2 to use tempfile test_bz2 currently uses the test.support.TESTFN functionality which creates a temporary file local to the test directory named around the pid. This can give rise to race conditions where tests are competing with each other to delete and recreate the file. This change converts the tests to use tempfile.mkstemp which gives a different file every time from the system's temp area
-
Victor Stinner yazdı
-
Andrés Delfino yazdı
Remove extra `(s)` in the documentation of `compound_stmts`.
-
Serhiy Storchaka yazdı
-
Victor Stinner yazdı
* Config: Rename ignore_environment field to use_environment. * _PyCoreConfig_Read(): if isolated is set, use_environment and site_import are now always set to 0. * Inline pymain_free_raw() into pymain_free() * Move config_init_warnoptions() call into pymain_read_conf_impl() * _PyCoreConfig_Read(): don't replace values if they are already set: faulthandler, pycache_prefix, home.
-
Steve Dower yazdı
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
Attributes skipinitialspace, doublequote and strict are now booleans instead of integers 0 or 1.
-
Victor Stinner yazdı
* Inline cmdline_get_env_flags() into config_read_env_vars(): _PyCoreConfig_Read() now reads much more environment variables like PYTHONVERBOSE. * Allow to override faulthandler and allocator even if dev_mode=1. PYTHONMALLOC is now the priority over PYTHONDEVMODE. * Fix _PyCoreConfig_Copy(): copy also install_signal_handlers, coerce_c_locale and coerce_c_locale_warn * _PyCoreConfig.install_signal_handlers default is now 1: install signals by default * Fix also a compiler warning: don't define _PyPathConfig type twice.
-
- 25 Tem, 2018 1 kayıt (commit)
-
-
chason yazdı
Enable and fix SMTPUTF8SimTests in test_smtplib. The tests for SMTPUTF8SimTests in test_smtplib.py were not actually being run because test_smtplib was still using the 'test_main' pattern, and the class was never added to test_main. Additionally, one of the tests needed to be moved to the non-UTF8 server class because it relies on the server not being UTF-8 compatible (and it had a bug in in).
-