- 19 Aug, 2016 13 commits
-
-
Victor Stinner authored
Issue #27128: Modify PyEval_CallObjectWithKeywords() to use _PyObject_FastCall() when args==NULL and kw==NULL. It avoids the creation of a temporary empty tuple for positional arguments.
-
Victor Stinner authored
Issue #27128: Add _PyObject_FastCall(), a new calling convention avoiding a temporary tuple to pass positional parameters in most cases, but create a temporary tuple if needed (ex: for the tp_call slot). The API is prepared to support keyword parameters, but the full implementation will come later (_PyFunction_FastCall() doesn't support keyword parameters yet). Add also: * _PyStack_AsTuple() helper function: convert a "stack" of parameters to a tuple. * _PyCFunction_FastCall(): fast call implementation for C functions * _PyFunction_FastCall(): fast call implementation for Python functions
-
Berker Peksag authored
-
Berker Peksag authored
-
Victor Stinner authored
Clang is smarter than GCC and emits a warning for dead code after a function declared with __attribute__((__noreturn__)) (Py_FatalError).
-
Berker Peksag authored
PyModule_NewObject already sets md_dict to PyDict_New(): m->md_dict = PyDict_New();
-
Berker Peksag authored
-
Berker Peksag authored
-
Berker Peksag authored
Patch by Eryk Sun and Emanuel Barry.
-
R David Murray authored
Also moved news item for #2466 to the correct place.
-
R David Murray authored
-
R David Murray authored
-
R David Murray authored
Patch by Robin Roth, reviewed by Serhiy Storchaka, comment wording tweaked by me.
-
- 18 Aug, 2016 6 commits
-
-
Vinay Sajip authored
-
Vinay Sajip authored
-
Guido van Rossum authored
- Issue #25958: Support "anti-registration" of special methods from various ABCs, like __hash__, __iter__ or __len__. All these (and several more) can be set to None in an implementation class and the behavior will be as if the method is not defined at all. (Previously, this mechanism existed only for __hash__, to make mutable classes unhashable.) Code contributed by Andrew Barnert and Ivan Levkivskyi.
-
Victor Stinner authored
-
Victor Stinner authored
Issue #27558: Fix a SystemError in the implementation of "raise" statement. In a brand new thread, raise a RuntimeError since there is no active exception to reraise. Patch written by Xiang Zhang.
-
Serhiy Storchaka authored
-
- 17 Aug, 2016 21 commits
-
-
Alexander Belopolsky authored
Does not appear to be a problem anymore and I cannot figure out why it was skipped in the first place.
-
Ned Deily authored
enabled: ensure code object has a valid first line number. Patch suggested by Ivan Levkivskyi.
-
Victor Stinner authored
The z variable is known to be a fresh number which cannot be shared, Py_SIZE() can be used directly to negate the number.
-
Vinay Sajip authored
-
Zachary Ware authored
-
Zachary Ware authored
sys.version[0] gives a string, which fails > comparison with 2. Reported by Arne Maximilian Richter on docs@
-
Victor Stinner authored
It's sometimes hard to check quickly if tests succeeded, failed or something bad happened. I added a final "Result: xxx" line which summarizes all outputs into a single line, written at the end (it should always be the last line of the output).
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
* Memove -t option of ctags. The option was kept for backward compatibility, but it was completly removed recently. Patch written by Stéphane Wirtel. * Set locale to C to call sort. vim expects that the tags file is sorted using english collation, so it fails if the locale is french for example. Use LC_ALL=C to force english sorting order. .
-
Victor Stinner authored
vim expects that the tags file is sorted using english collation, so it fails if the locale is french for example. Use LC_ALL=C to force english sorting order. Issue #27726.
-
Victor Stinner authored
The option was kept for backward compatibility, but it was completly removed recently. Patch written by Stéphane Wirtel.
-
Victor Stinner authored
-
Victor Stinner authored
If Popen.communicate() raises an exception, kill the child process to not leave a running child process in background and maybe create a zombi process. This change fixes a ResourceWarning in Python 3.6 when unit tests are interrupted by CTRL+c.
-
Victor Stinner authored
Use milliseconds and minutes units, not only seconds.
-
Victor Stinner authored
Display the top 10 slowest tests.
-
Victor Stinner authored
Thanks to optparse, --slow syntax still works ;-)
-
Victor Stinner authored
-