- 26 Ock, 2018 7 kayıt (commit)
-
-
Guido van Rossum yazdı
* Document `from __future__ import annotations` * Provide plumbing and tests for `from __future__ import annotations` * Implement unparsing the AST back to string form This is required for PEP 563 and as such only implements a part of the unparsing process that covers expressions.
-
bennorth yazdı
dictview_repr(): Use a Py_ReprEnter() / Py_ReprLeave() pair to check for recursion, and produce "..." if so. test_recursive_repr(): Check for the string rather than a RecursionError. (Test cannot be any tighter as contents are implementation-dependent.) test_deeply_nested_repr(): Add new test, replacing the original test_recursive_repr(). It checks that a RecursionError is raised in the case of a non-recursive but deeply nested structure. (Very similar to what test_repr_deep() in test/test_dict.py does for a normal dict.) OrderedDictTests: Add new test case, to test behavior on OrderedDict instances containing their own values() or items().
-
INADA Naoki yazdı
Reported by Coverity Scan.
-
Yury Selivanov yazdı
-
mwidjaja yazdı
-
INADA Naoki yazdı
Global variables should not used as import target. Use temporary variable instead.
-
Bo Bayles yazdı
Patch by Bo Bayles.
-
- 25 Ock, 2018 11 kayıt (commit)
-
-
José Melero Fernández yazdı
-
Yury Selivanov yazdı
* bpo-32662: Implement Server.start_serving() and Server.serve_forever() New methods: * Server.start_serving(), * Server.serve_forever(), and * Server.is_serving(). Add 'start_serving' keyword parameter to loop.create_server() and loop.create_unix_server().
-
Ilya Kulakov yazdı
-
Yury Selivanov yazdı
The refleak in question wasn't really important, as context vars are usually created at the toplevel and live as long as the interpreter lives, so the context var name isn't ever GCed anyways.
-
Victor Stinner yazdı
Some tests failed when the PATH environment variable contained a path to an existing file. Fix tests to ignore also NotADirectoryError, not only FileNotFoundError and PermissionError.
-
Dmitry Alimov yazdı
-
Paul Ganssle yazdı
-
INADA Naoki yazdı
`object_pairs_hook=OrderedDict` idiom is deprecated.
-
Serhiy Storchaka yazdı
Add two new private APIs: _PyObject_LookupAttr() and _PyObject_LookupAttrId()
-
Victor Stinner yazdı
In Py_Main(), don't call pymain_set_global_config() early: only call it when the whole configuration has been read. Add an unit test to prevent future regression.
-
Brett Cannon yazdı
-
- 24 Ock, 2018 15 kayıt (commit)
-
-
Andrew Svetlov yazdı
-
Paul Ganssle yazdı
* Add timezone to datetime C API * Add documentation for timezone C API macros * Add dedicated tests for datetime type check macros * Remove superfluous C API test * Drop support for TimeZoneType in datetime C API * Expose UTC singleton to the datetime C API * Update datetime C-API documentation to include links * Add reference count information for timezone constructors
-
Bernhard M. Wiedemann yazdı
To support reproducible builds, the setting of of SOURCE_DATE_EPOCH triggers the py_compile module -- and by extension, compileall -- to forcibly compile with hash-based .pyc files. This eliminates the possibility of timestamp-based .pyc files which vary between builds.
-
Barry Warsaw yazdı
-
Victor Stinner yazdı
-
Nathaniel J. Smith yazdı
-
Andrew Svetlov yazdı
* Rename sock_sendfile test methods * Make sock_sendfile tests more stable
-
Barry Warsaw yazdı
* bpo-32651 - In the documentation for os.getlogin(), recommend getpass.getuser()
-
Yury Selivanov yazdı
Specifically, it's not possible to subclass Task/Future classes and override the following methods: * Future._schedule_callbacks * Task._step * Task._wakeup
-
Victor Stinner yazdı
_PyCoreConfig_Read() is now responsible to compute sys.path. So sys.path is now computed before calling _Py_InitializeCore(). Changes: * Add module_search_path, module_search_paths, executable, prefix, base_prefix, exec_prefix and base_exec_prefix to _PyCoreConfig. * _PyMainInterpreterConfig_Read() now only converts wchar_t** lists into a Python list, it doesn't compute sys.path anymore.
-
Victor Stinner yazdı
Makefile $MACHDEPPATH uses $PLATDIR, but this variable was removed. So remove also $MACHDEPPATH. Remove also $EXTRAMACHDEPPATH.
-
Pablo Galindo yazdı
-
-
Yury Selivanov yazdı
-
Bo Bayles yazdı
-
- 23 Ock, 2018 7 kayıt (commit)
-
-
Yury Selivanov yazdı
-
Yury Selivanov yazdı
-
stratakis yazdı
glibc is deprecating libcrypt in favor of libxcrypt, however python assumes that crypt.h will always be included. This change makes the header inclusion explicit when libxcrypt is present on the system.
-
Xiang Zhang yazdı
* bpo-32618: Fix test_mutatingdecodehandler not testing test.mutating It should test both test.replacing and test.mutating instead of test test.replacing twice.
-
Victor Stinner yazdı
"python3 -bb -Wd" now works as expected: "python3 -bb -Wd -Werror::BytesWarning" is no more needed.
-
Victor Stinner yazdı
Update configure since configure.ac was modified to drop support for FreeBSD 4.
-
Nathaniel J. Smith yazdı
-