summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* versionadded -> versionchanged for all 'X parameter was added' for ↵Sergey Fedoseev2018-07-063-7/+7
| | | | | | uniformity. (GH8114) Per the recommendation in our Developer's Guide: https://devguide.python.org/documenting/#paragraph-level-markup
* Add more detail to the Counter.fromkeys() comment block (GH-8124)Raymond Hettinger2018-07-051-2/+7
|
* classify abs() argument type (GH-8103)Windson yang2018-07-051-1/+2
|
* Fix typo in dataclasses documentation (GH-8102)Artjom2018-07-051-1/+1
|
* bpo-34044: subprocess.Popen copies startupinfo (GH-8090)Victor Stinner2018-07-053-0/+47
| | | | | | | 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.
* Fix fuzz testing for marshal.loads(). (GH-8106)Serhiy Storchaka2018-07-051-4/+5
|
* bpo-33720: Improve tests for the stack overflow in marshal.loads(). (GH-7336)Serhiy Storchaka2018-07-051-6/+17
|
* Removed unused import from tzinfo_examples.py. (GH-7994)Sergey Fedoseev2018-07-051-1/+1
|
* Update Stackless Python wiki URL (GH-8072)Julien Palard2018-07-051-1/+1
| | | It was moved from bitbucket to GitHub.
* Minor code refactoring. Compute len() one fewer times on one code path. ↵Raymond Hettinger2018-07-041-4/+4
| | | | (GH-8094)
* DOC: In `reduce`, refer to `accumulate` (GH-7930)Gerrit Holl2018-07-041-0/+2
|
* bpo-30516: Fix documentation issue with -timedelta in datetime (GH-7348)Farhaan Bukhsh2018-07-041-5/+6
| | | | | This commit fixes the -timedelta overfllow issue not documented properly. Signed-off-by: Farhaan Bukhsh <farhaan.bukhsh@gmail.com>
* bpo-32942: Fix environment dependent test_script_helper (GH-8034)Lorenz Mende2018-07-041-16/+31
| | | | Result of function interpreter_requires_environment() depends on os.environ. This was not covered by the tests, leading to fail when PYTHONHOME was set.
* bpo-34040, multiprocessing: Fix test_forkserver_sigkill() (GH-8081)Victor Stinner2018-07-041-2/+6
| | | | | | | | 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.
* bpo-34010: Fix tarfile read performance regression (GH-8020)hajoscher2018-07-042-9/+13
| | | | During buffered read, use a list followed by join instead of extending a bytes object. This is how it was done before but changed in commit b506dc32c1a.
* Make GenericAlias_Type and Generic_Type static. (GH-8076)Benjamin Peterson2018-07-041-2/+2
|
* Don't export pending_threadfunc from _testcapi. (GH-8075)Benjamin Peterson2018-07-041-1/+2
|
* bpo-33418: Add tp_clear for function object (GH-8058)INADA Naoki2018-07-042-13/+23
| | | | | Without tp_clear, GC can't break cyclic reference. It will cause memory leak when cyclic reference is created intentionally.
* bpo-24596: Decref module in PyRun_SimpleFileExFlags() on SystemExit (GH-7918)Zackery Spytz2018-07-033-2/+20
| | | | PyErr_Print() will not return when the exception is a SystemExit, so decref the __main__ module object in that case.
* bpo-34018: Doc'd that type names of SQLite converters are case-insensitive. ↵Sergey Fedoseev2018-07-031-2/+2
| | | | (GH-8042)
* bpo-34019: Fix wrong arguments for Opera Browser (#8047)Bumsik Kim2018-07-033-12/+13
| | | | | 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.
* bpo-33735: Fix test_multiprocessing random failure (GH-8059)Victor Stinner2018-07-031-3/+3
| | | | | | | | | | | | 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()
* bpo-34006: Revert line length limit for Windows help docs (GH-8051)Zachary Ware2018-07-022-0/+6
| | | | 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.
* bpo-33978: Close existing handlers before logging (re-)configuration. (GH-8008)Xtreak2018-07-023-4/+88
|
* bpo-30660: Doc: Optimize PNG files by optipng (GH-8032)INADA Naoki2018-07-017-0/+0
| | | | Using OptiPNG 0.7.7. Used command is: `find . -name '*.png' | xargs optipng -o7`
* bpo-31938: Convert selectmodule.c to Argument Clinic (GH-4265)Tal Einat2018-06-303-575/+1710
|
* Doc: Remove unused image file (GH-8027)INADA Naoki2018-06-301-0/+0
|
* bpo-25862: Fix several bugs in the _io module. (GH-8026)Serhiy Storchaka2018-06-302-8/+17
| | | | | | | | | | | 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().
* bpo-32568: make select.epoll() and its docs consistent (#7840)Tal Einat2018-06-304-14/+34
| | | | | | | | | | | | | * `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.
* bpo-33974: Fix passing special characters to ttk widgets. (GH-7986)Serhiy Storchaka2018-06-303-1/+44
| | | | Fix passing lists and tuples of strings containing special characters '"', '\\', '{', '}' and '\n' as options to tkinter.ttk widgets.
* Fix redundant declaration of _PyImport_AddModuleObject (GH-7992)Jeremy Cline2018-06-291-3/+0
|
* Add zulipchat badge to readme (GH-7929)Mariatta2018-06-291-0/+5
|
* bpo-25862: Fix assertion failures in io.TextIOWrapper.tell(). (GH-3918)Zackery Spytz2018-06-294-0/+19
|
* Fix the indentation in the documentation of bin() and hash() (GH-7998)Andrés Delfino2018-06-291-5/+5
|
* bpo-14117: Make minor tweaks to turtledemo (GH-8002)Terry Jan Reedy2018-06-294-4/+3
| | | | | | The 'wikipedia' example is now 'rosette', describing what it draws. The 'penrose' print output is reduced. The 'tree' '1024' output is eliminated.
* bpo-27500: Fix static version of getaddrinfo to resolve IPv6 (GH-7993)Yury Selivanov2018-06-293-6/+33
|
* bpo-33985: Implement ContextVar.name attribute. (GH-7980)Yury Selivanov2018-06-284-2/+15
|
* bpo-31546: Fix input hook integration (GH-7978)Thomas A Caswell2018-06-282-0/+6
|
* bpo-32996: Enhancements to What's New based on feedback (GH-7988)Elvis Pranskevichus2018-06-281-21/+29
|
* Forward port rest of NEWS changes as of 3.7.0Ned Deily2018-06-287-1/+2533
|
* bpo-33842: Remove tarfile.filemode (GH-7661)INADA Naoki2018-06-283-7/+3
|
* bpo-33958: Doc: Remove unused variable in example (GH-7927)Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)2018-06-281-1/+1
|
* Forward port 3.7.0 final changesNed Deily2018-06-2753-2574/+9667
|
* bpo-33715: Fix multiprocessing test_wait_result() (GH-7971)Victor Stinner2018-06-271-2/+2
| | | Increase timeouts from 10 seconds to 1 minute.
* bpo-33913: Fix test_multiprocessing_main_handling (GH-7972)Victor Stinner2018-06-271-6/+10
| | | | | | | | | bpo-30339, bpo-33913: * Increase timeout from 10 seconds to 1 minute in test_source_main_skipped_in_children source of test_multiprocessing_main_handling. * Replace time.time() with time.monotonic(). * On timeout, include the duration in the error message.
* bpo-25007: Add copy protocol support to zlib compressors and decompressors ↵Zackery Spytz2018-06-275-25/+183
| | | | (GH-7940)
* bpo-30356: Fix test_mymanager_context() of multiprocessing (GH-7968)Victor Stinner2018-06-271-1/+3
| | | | | test_mymanager_context() now also accepts -SIGTERM as an expected exitcode for the manager process. The process is killed with SIGTERM if it takes longer than 1 second to stop.
* Prevent upload script uploading from the wrong directory (GH-7953)Steve Dower2018-06-271-1/+7
|
* bpo-31647: Fix bpo typo in NEWS entry. (GH-7964)twisteroid ambassador2018-06-271-0/+0
|
* bpo-33929: Fix regression in spawn_main() (#7962)Victor Stinner2018-06-271-2/+6
| | | OpenProcess() creates a new handle that must be closed later.