- 06 Jul, 2018 4 commits
-
-
Ammar Askar authored
Most of the change involves fixing up the test suite, which previously made the assumption that there wouldn't be a new line if the input didn't end in one. Contributed by Ammar Askar.
-
Benjamin Peterson authored
-
INADA Naoki authored
tarfile._Stream has two buffer for compressed and uncompressed data. Those buffers are not aligned so unnecessary bytes slicing happens for every reading chunks. This commit bypass compressed buffering. In this benchmark [1], user time become 250ms from 300ms. [1]: https://bugs.python.org/msg320763
-
Sergey Fedoseev authored
Per the recommendation in our Developer's Guide: https://devguide.python.org/documenting/#paragraph-level-markup
-
- 05 Jul, 2018 8 commits
-
-
Raymond Hettinger authored
-
Windson yang authored
-
Artjom authored
-
Victor Stinner authored
subprocess.Popen now copies the startupinfo argument to leave it unchanged: it will modify the copy, so that the same STARTUPINFO object can be used multiple times. Add subprocess.STARTUPINFO.copy() method.
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Sergey Fedoseev authored
-
Julien Palard authored
It was moved from bitbucket to GitHub.
-
- 04 Jul, 2018 9 commits
-
-
Raymond Hettinger authored
-
Gerrit Holl authored
-
Farhaan Bukhsh authored
This commit fixes the -timedelta overfllow issue not documented properly. Signed-off-by: Farhaan Bukhsh <farhaan.bukhsh@gmail.com>
-
Lorenz Mende authored
Result of function interpreter_requires_environment() depends on os.environ. This was not covered by the tests, leading to fail when PYTHONHOME was set.
-
Victor Stinner authored
Fix test_forkserver_sigkill() of test_multiprocessing_forkserver: give more time to the first child process to complete, double the sleep in the parent process. Reduce also the child process sleep from 1000 ms to 500 ms, to not change the total duration of the test.
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
INADA Naoki authored
Without tp_clear, GC can't break cyclic reference. It will cause memory leak when cyclic reference is created intentionally.
-
- 03 Jul, 2018 4 commits
-
-
Zackery Spytz authored
PyErr_Print() will not return when the exception is a SystemExit, so decref the __main__ module object in that case.
-
Sergey Fedoseev authored
-
Bumsik Kim authored
The Opera Browser was using a outdated command line invocation that resulted in an incorrect URL being opened in the browser when requested using the webbrowser module. * Correct the arguments passed to the Opera Browser when opening a new URL.
-
Victor Stinner authored
When hunting memory leaks using -R 3:3, test_imap_unordered() of test_multiprocessing leaks randomly a few memory blocks. It is a false alarm: when testing using -R 3:20 for example, no leak is detected. Modify test_imap_unordered() to be closer to test_imap(): * Only test 10 numbers instead of 1000: it's a pool of 4 processes, so 10 is enough to test at least one number per process * Use chunksize=100 instead of chunksize=53 to mimick test_imap()
-
- 02 Jul, 2018 2 commits
-
-
Zachary Ware authored
The line-length limit is not needed because the pages appear in a separate app rather than on a browser tab. It can also interact badly with the DPI setting.
-
Xtreak authored
-
- 01 Jul, 2018 1 commit
-
-
INADA Naoki authored
Using OptiPNG 0.7.7. Used command is: `find . -name '*.png' | xargs optipng -o7`
-
- 30 Jun, 2018 5 commits
-
-
Tal Einat authored
-
INADA Naoki authored
-
Serhiy Storchaka authored
They can be exposed when some C API calls fail due to lack of memory. * Failed Py_BuildValue() could cause an assertion error in the following TextIOWrapper.tell(). * input_chunk could be decrefed twice in TextIOWrapper.seek() after failed Py_BuildValue(). * initvalue could leak in StringIO.__getstate__() after failed PyDict_Copy().
-
Tal Einat authored
* `flags` is indeed deprecated, but there is a validation on its value for backwards compatibility reasons. This adds mention of this in the docs. * The docs say that `sizehint` is deprecated and ignored, but it is still used when `epoll_create1()` is unavailable. This adds mention of this in the docs. * `sizehint=-1` is acceptable again, and is replaced with `FD_SETSIZE-1`. This is needed to have a default value available at the Python level, since `FD_SETSIZE` is not exposed to Python. (see: bpo-31938) * Reject `sizehint=0` since it is invalid to pass on to `epoll_create()`. The relevant tests have also been updated.
-
Serhiy Storchaka authored
Fix passing lists and tuples of strings containing special characters '"', '\\', '{', '}' and '\n' as options to tkinter.ttk widgets.
-
- 29 Jun, 2018 6 commits
-
-
Jeremy Cline authored
-
Mariatta authored
-
Zackery Spytz authored
-
Andrés Delfino authored
-
Terry Jan Reedy authored
The 'wikipedia' example is now 'rosette', describing what it draws. The 'penrose' print output is reduced. The 'tree' '1024' output is eliminated.
-
Yury Selivanov authored
-
- 28 Jun, 2018 1 commit
-
-
Yury Selivanov authored
-