- 30 Oct, 2018 3 commits
-
-
Serhiy Storchaka authored
Use curses.ncurses_version for conditionally skipping a test.
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
It was overridden by the lineno of the first decorator. Now it is the lineno of 'def' or 'class'.
-
- 29 Oct, 2018 13 commits
-
-
Andriy Maletsky authored
Needs backport to 3.7. In 3.6 the description is correct.
-
Pablo Galindo authored
Some FreeBSD buildbots fail to run this test as the eof was not being received by the server if the size is not big enough. This behaviour only appears if the client is using TLS1.3.
-
Victor Stinner authored
Fix 'install-sh' file permission: add execution bit ("chmod +x"), "-rw-rw-r--." becomes "-rwxrwxr-x.".
-
Pablo Galindo authored
After commit d0f49d2f, the output of the test suite is always buffered as the test output needs to be included in the JUnit file in same cases (as when a test fails). This has the consequence that printing or using debuggers (like pdb) in the test suite does not result in a good user experience anymore. This commit modifies the test suite runner so it only captures the test output when the JUnit file is requested to fix the regression so prints and debuggers are usable again.
-
Victor Stinner authored
Convert Py_XINCREF() and Py_XDECREF() macros into static inline functions.
-
Stephan Hoyer authored
* Include memo in the documented signature of copy.deepcopy() The memo argument is mentioned lower on the doc page under writing a `__deepcopy__` method, but is not included in the documented function signature. This makes it easy to miss, and can lead to incorrect/buggy implementations of `__deepcopy__` -- which is exatly what just happpend to me!
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
Modules imported last are now cleared first at interpreter shutdown. A newly imported module is moved to the end of sys.modules, behind modules on which it depends.
-
Victor Stinner authored
"static inline" should be used directly. Forcing the compiler to inline is not recommended.
-
Victor Stinner authored
* Convert Py_INCREF() and Py_DECREF() macros into static inline functions. * Remove _Py_CHECK_REFCNT() macro: code moved into Py_DECREF().
-
Gus Goulart authored
-
Zackery Spytz authored
-
Terry Jan Reedy authored
Topics include opening, title and status bar, .py* extension, and running.
-
- 28 Oct, 2018 18 commits
-
-
Pablo Galindo authored
In commit 372d705d a new optimization to the list() type was introduced but it was not added to the optimization section in What's new for Python 3.8.
-
Petter Strandmark authored
unittest.mock now includes mock calls in exception messages if assert_not_called, assert_called_once, or assert_called_once_with fails.
-
Terry Jan Reedy authored
Add a paragraph in "Help and preferences", "Help sources" subsection.
-
Pablo Galindo authored
The list() constructor isn't taking full advantage of known input lengths or length hints. This commit makes the constructor pre-size and not over-allocate when the input size is known (the input collection implements __len__). One on the main advantages is that this provides 12% difference in memory savings due to the difference between overallocating and allocating exactly the input size. For efficiency purposes and to avoid a performance regression for small generators and collections, the size of the input object is calculated using __len__ and not __length_hint__, as the later is considerably slower.
-
Serhiy Storchaka authored
-
Raymond Hettinger authored
-
Serhiy Storchaka authored
-
Alexey Izbyshev authored
* Fix potential division by zero in BZ2_Malloc() * Avoid division by zero in PyLzma_Malloc() * Avoid division by zero and integer overflow in PyZlib_Malloc() Reported by Svace static analyzer.
-
Terry Jan Reedy authored
-
-
Xiang Zhang authored
-
Pablo Galindo authored
Configuring python with ./configure --with-pydebug CFLAGS="-D COUNT_ALLOCS -O0" makes "make smelly" fail as some symbols were being exported without the "Py_" or "_Py" prefixes.
-
Serhiy Storchaka authored
Some projects (e.g. Chameleon) create ast.Str containing an instance of the str subclass.
-
Serhiy Storchaka authored
-
Andrés Delfino authored
Fix a bug I introduced in #9864 by which coroutines are treated as synonymous of function coroutines. Also, fix the same mistake (coroutines == function coroutines) already present in other parts of the reference. I'm very sorry for the hassle.
-
Terry Jan Reedy authored
We now use git and backporting instead of hg and forward merging.
-
Terry Jan Reedy authored
There is only one trivial change to idle.rst. Nearly all the changes to help.html are the elimination of chapter and section numbers on headers due to changes in the build system. help.py no longer requires header numbering.
-
jdemeyer authored
-
- 27 Oct, 2018 5 commits
-
-
Steve Dower authored
-
Andreas Pelme authored
Referring to ``pytest`` as ``py.test`` is deprecated.
-
nsrip authored
-
Serhiy Storchaka authored
They return encoded bytes and are Python 2 artifacts.
-
Terry Jan Reedy authored
Specify that blocks are non-overlapping. Change '!=' to '<'.
-
- 26 Oct, 2018 1 commit
-
-
Stéphane Wirtel authored
-