- 09 Eyl, 2016 40 kayıt (commit)
-
-
Steve Dower yazdı
-
Steve Dower yazdı
-
Benjamin Peterson yazdı
-
Eric Snow yazdı
-
Zachary Ware yazdı
-
Zachary Ware yazdı
-
Steve Dower yazdı
-
Zachary Ware yazdı
-
Zachary Ware yazdı
-
Zachary Ware yazdı
-
Zachary Ware yazdı
-
Guido van Rossum yazdı
This is now an official "protected" API that can be used to write classes that are duck-type-compatible with Future without subclassing it. (For that purpose I also changed isinstance(result, Future) to check for this attribute instead.) Hopefully Amber Brown can use this to make Twisted.Deferred compatible with asyncio.Future. Tests and docs are TBD. (Also there are more isinstance() checks to fix.)
-
Zachary Ware yazdı
-
Zachary Ware yazdı
-
Guido van Rossum yazdı
This is now an official "protected" API that can be used to write classes that are duck-type-compatible with Future without subclassing it. (For that purpose I also changed isinstance(result, Future) to check for this attribute instead.) Hopefully Amber Brown can use this to make Twisted.Deferred compatible with asyncio.Future. Tests and docs are TBD.
-
Benjamin Peterson yazdı
-
Victor Stinner yazdı
-
Victor Stinner yazdı
Issue #27830: Add _PyObject_FastCallKeywords(): avoid the creation of a temporary dictionary for keyword arguments. Other changes: * Cleanup call_function() and fast_function() (ex: rename nk to nkwargs) * Remove now useless do_call(), replaced with _PyObject_FastCallKeywords()
-
Benjamin Peterson yazdı
-
Benjamin Peterson yazdı
-
issue14976.
-
issue14976.
-
-
Steve Dower yazdı
-
R David Murray yazdı
This is buggy in the old email code as well, but it doesn't affect anything there because only the default line length is ever used there.
-
Steve Dower yazdı
-
Steve Dower yazdı
-
Victor Stinner yazdı
Issue #27213: Rework CALL_FUNCTION* opcodes to produce shorter and more efficient bytecode: * CALL_FUNCTION now only accepts position arguments * CALL_FUNCTION_KW accepts position arguments and keyword arguments, but keys of keyword arguments are packed into a constant tuple. * CALL_FUNCTION_EX is the most generic, it expects a tuple and a dict for positional and keyword arguments. CALL_FUNCTION_VAR and CALL_FUNCTION_VAR_KW opcodes have been removed. 2 tests of test_traceback are currently broken: skip test, the issue #28050 was created to track the issue. Patch by Demur Rumed, design by Serhiy Storchaka, reviewed by Serhiy Storchaka and Victor Stinner.
-
-
Steve Dower yazdı
-
Eric Snow yazdı
-
Benjamin Peterson yazdı
-
Guido van Rossum yazdı
By Michael Lee.
-
Yury Selivanov yazdı
-
Steve Dower yazdı
-
Steve Dower yazdı
-
Benjamin Peterson yazdı
-
Zachary Ware yazdı
This test file is a holdover from the days before hashlib, and doesn't seem to have anything of value in it.
-
Eric Snow yazdı
-
Brett Cannon yazdı
-