- 11 Ara, 2018 9 kayıt (commit)
-
-
Pablo Galindo yazdı
Forkserver and fork are not available on Windows and therefore these test must be skipped.
-
Victor Stinner yazdı
The following test fails if a different process creates or removes a file on the same disk partition between the two lines: usage = shutil.disk_usage(os.path.dirname(__file__)) self.assertEqual(usage, shutil.disk_usage(__file__)) Only test that disk_usage() succeed on a filename, but don't check the result. Add also tests on the fields type (must be int).
-
Serhiy Storchaka yazdı
* bpo-35454: Fix miscellaneous minor issues in error handling. * Fix a null pointer dereference.
-
Serhiy Storchaka yazdı
This speeds up pickling of some iterators. This fixes also error handling in pickling methods when fail to look up builtin "getattr".
-
Ned Deily yazdı
-
-
Steve Dower yazdı
-
Steve Dower yazdı
-
Steve Dower yazdı
Also adds the PC/layout script for generating layouts on Windows.
-
- 10 Ara, 2018 10 kayıt (commit)
-
-
Steve Dower yazdı
-
Victor Stinner yazdı
-
Serhiy Storchaka yazdı
Propagate unexpected errors (like MemoryError and KeyboardInterrupt) to user.
-
Serhiy Storchaka yazdı
-
Victor Stinner yazdı
Include <pyconfig.h> ealier in Modules/expat/xmltok.c to define properly _POSIX_C_SOURCE. Python defines _POSIX_C_SOURCE as 200809L, whereas <features.h> (included indirectly by <string.h>) defines _POSIX_C_SOURCE as 199506L.
-
Christian Heimes yazdı
The length check for AF_ALG salg_name and salg_type had a off-by-one error. The code assumed that both values are not necessarily NULL terminated. However the Kernel code for alg_bind() ensures that the last byte of both strings are NULL terminated. Signed-off-by: Christian Heimes <christian@python.org>
-
Victor Stinner yazdı
Fix xml.dom.minidom cloneNode() on a document with an entity: pass the correct arguments to the user data handler of an entity (fix an old copy/paste mistake). Bug spotted and fix proposed by Charalampos Stratakis, initial reproducer written by Petr Viktorin. Co-Authored-By: Charalampos Stratakis <cstratak@redhat.com> Co-Authored-By: Petr Viktorin <encukou@gmail.com>
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Jeremy Kloth yazdı
-
- 09 Ara, 2018 5 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
Gregory P. Smith yazdı
-
jdemeyer yazdı
-
Andre Delfino yazdı
-
Ned Deily yazdı
-
- 08 Ara, 2018 2 kayıt (commit)
-
-
Zackery Spytz yazdı
In _localemodule.c and selectmodule.c, remove dead code that would cause double decrefs if run. In addition, replace PyList_SetItem() with PyList_SET_ITEM() in cases where a new list is populated and there is no possibility of an error. In addition, check if the list changed size in the loop in array_array_fromlist().
-
Mario Corchero yazdı
* tests: Further validate `wraps` functionality in `unittest.mock.Mock` Add more tests to validate how `wraps` interacts with other features of mocks. * Don't call the wrapped object if `side_effect` is set When a object is wrapped using `Mock(wraps=...)`, if an user sets a `side_effect` in one of their methods, return the value of `side_effect` and don't call the original object. * Refactor what to be called on `mock_call` When a `Mock` is called, it should return looking up in the following order: `side_effect`, `return_value`, `wraps`. If any of the first two return `mock.DEFAULT`, lookup in the next option. It makes no sense to check for `wraps` returning default, as it is supposed to be the original implementation and there is nothing to fallback to.
-
- 07 Ara, 2018 10 kayıt (commit)
-
-
Anirudha Bose yazdı
-
Victor Stinner yazdı
-
Serhiy Storchaka yazdı
-
Victor Stinner yazdı
This reverts commit 468a15aa.
-
Serhiy Storchaka yazdı
encoding='latin1' should be used for successful decoding.
-
Zackery Spytz yazdı
Set MemoryError when appropriate, add missing failure checks, and fix some potential leaks.
-
Victor Stinner yazdı
Replace os.popen() with subprocess.check_output() in the platform module: * platform.uname() (its _syscmd_ver() helper function) now redirects stderr to DEVNULL. * Remove platform.DEV_NULL. * _syscmd_uname() and _syscmd_file() no longer catch AttributeError. The "except AttributeError:" was only needed in Python 2, when os.popen() was not always available. In Python 3, subprocess.check_output() is always available.
-
Tal Einat yazdı
* bpo-34864: warn if "Prefer tabs when opening documents" set to "Always" * add NEWS entry * address code review comments * address second code review comments * Add entry for idlelib/NEWS.txt.
-
-
Steve Dower yazdı
-
- 06 Ara, 2018 4 kayıt (commit)
-
-
Andre Delfino yazdı
-
Gregory P. Smith yazdı
-
Serhiy Storchaka yazdı
-
Mario Corchero yazdı
The function is never imported and the implementation is actually buggy. As `warnings.catch_warnings` is not imported here.
-