summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-30621: Update Input Output Tutorial Example(GH-2074)suketa2017-06-121-0/+1
| | | import json before using json module
* Revert "bpo-29406: asyncio SSL contexts leak sockets after calling close ↵Yury Selivanov2017-06-113-62/+1
| | | | | with certain servers (#409)" (#2111) This reverts commit a608d2d5a7f1aabe9bcbfc220135c5e126189390.
* bpo-30508: Don't log exceptions if Task/Future "cancel()" method called (#2050)Yury Selivanov2017-06-116-1/+49
|
* bpo-30501: Make the compiler producing optimized code for condition ↵Serhiy Storchaka2017-06-115-2448/+2537
| | | | expressions. (#1851)
* bpo-11822: Improve disassembly to show embedded code objects. (#1844)Serhiy Storchaka2017-06-115-15/+121
| | | The depth argument limits recursion.
* remove extra word (#2101)Benjamin Peterson2017-06-111-2/+2
|
* clarify recv() and send() on SSLObject (#2100)Benjamin Peterson2017-06-111-2/+2
| | | SSLObject has recv() and send(), but they don't do any network io.
* Show what's changed when Travis fails regen check (GH-2095)Zachary Ware2017-06-114-136/+138
| | | Also fixed a few more line endings that were missed in GH-840, which were causing failure.
* bpo-28180: Implementation for PEP 538 (#659)Nick Coghlan2017-06-1114-55/+699
| | | | | | | | | | - new PYTHONCOERCECLOCALE config setting - coerces legacy C locale to C.UTF-8, C.utf8 or UTF-8 by default - always uses C.UTF-8 on Android - uses `surrogateescape` on stdin and stdout in the coercion target locales - configure option to disable locale coercion at build time - configure option to disable C locale warning at build time
* Use Travis to make sure all generated files are up to date (GH-2080)Zachary Ware2017-06-111-0/+7
|
* Update idlelib NEWS for 3.7 (#2089)terryjreedy2017-06-111-3/+21
|
* Add IDLE NEWS items for 3.7 (#2090)terryjreedy2017-06-111-0/+16
|
* #30624 / selectors: use bare except clause in order to not leave the fd in a ↵Giampaolo Rodola2017-06-102-2/+6
| | | | bad state in case of error (#2082)
* bpo-27425: Be more explicit in .gitattributes (GH-840)Zachary Ware2017-06-1027-2346/+2379
| | | Updates checked-in line endings on several files.
* bpo-28556: Updates to typing module (#2076)Ivan Levkivskyi2017-06-103-5/+99
| | | | | | | This PR contains two updates to typing module: - Support ContextManager on all versions (original PR by Jelle Zijlstra). - Add generic AsyncContextManager.
* bpo-30312: Small correction in datastructures set code sample (GH-2081)KatherineMichel2017-06-101-1/+1
|
* bpo-30599: Fix test_threaded_import reference leak (#2029)Victor Stinner2017-06-101-2/+11
| | | | | Mock os.register_at_fork() when importing the random module, since this function doesn't allow to unregister callbacks and so leaked memory.
* bpo-30595: Fix multiprocessing.Queue.get(timeout) (#2027)Victor Stinner2017-06-102-2/+6
| | | | | | | multiprocessing.Queue.get() with a timeout now polls its reader in non-blocking mode if it succeeded to aquire the lock but the acquire took longer than the timeout. Co-Authored-By: Grzegorz Grzywacz <grzgrzgrz3@gmail.com>
* Regenerate Argument Clinic code for bpo-19180. (#2073)Serhiy Storchaka2017-06-102-2/+2
|
* bpo-30605: Fix compiling binary regexs with BytesWarnings enabled. (#2016)Roy Williams2017-06-104-3/+19
| | | | Running our unit tests with `-bb` enabled triggered this failure.
* bpo-30600: Fix error messages (condition order in Argument Clinic) (#2051)Sylvain2017-06-1051-1104/+1116
| | | | | | | | The function '_PyArg_ParseStack()' and '_PyArg_UnpackStack' were failing (with error "XXX() takes Y argument (Z given)") before the function '_PyArg_NoStackKeywords()' was called. Thus, the latter did not raise its more meaningful error : "XXX() takes no keyword arguments".
* bpo-25409: Clarify fnmatch and fnmatchcase documentation (GH-1535)csabella2017-06-101-4/+4
| | | Mention that fnmatchcase does not call normcase, and fnmatch does.
* bpo-29406: asyncio SSL contexts leak sockets after calling close with ↵Nikolay Kim2017-06-103-1/+62
| | | | | | | | certain servers (#409) * asyncio SSL contexts leak sockets after calling close with certain servers * cleanup _shutdown_timeout_handle on _fatal_error
* Fix TypeError is asyncio/proactor_events (#993)Jim Fasarakis-Hilliard2017-06-101-2/+3
|
* bpo-30417: Disable `cpu` resource on AppVeyor (GH-1951)Zachary Ware2017-06-101-1/+1
|
* Make codecov config on master the only config used (GH-2041)Brett Cannon2017-06-091-0/+1
| | | | | This will allow for centralized management of the Codecov config to prevent skew as well as easier management going forward. Closes python/core-workflow#81.
* Add a NEWS entry for #29870 (PR #981) (#2047)Yury Selivanov2017-06-091-0/+3
|
* Break circular references when closing SSLTransport objects (#981)Michaël Sghaïer2017-06-091-4/+6
|
* Closing transport during handshake process leaks socket (#480)Nikolay Kim2017-06-093-2/+23
|
* Clarify what --enable-optimizations does (GH-1847)Brett Cannon2017-06-092-18/+6
|
* bpo-27585: Add a NEWS entry for #1031 (#2036)Yury Selivanov2017-06-091-0/+3
|
* bpo-30335: Add deprecation alias entry for assertNotRegexpMatches (GH-1536)Jim Fasarakis-Hilliard2017-06-091-5/+10
| | | Document that assertNotRegexpMatches is a deprecated alias for assertNotRegex.
* bpo-30014: make poll-like selector's modify() method faster (#1030)Giampaolo Rodola2017-06-094-1/+62
| | | | | | | | | | | | | | | | * #30014: make selectors.DefaultSelector.modify() faster by relying on selector's modify() method instead of un/register()ing the fd * #30014: add unit test * speedup poll/epoll/devpoll modify() method by using internal modify() call * update doc * address PR comments * update NEWS entries * use != instead of 'is not'
* Fix waiter cancellation in asyncio.Lock (#1031)Mathieu Sornay2017-06-092-5/+34
| | | | | | Avoid a deadlock when the waiter who is about to take the lock is cancelled Issue #27585
* Fix regression in error message introduced in bpo-29951. (#2028)Serhiy Storchaka2017-06-092-2/+6
| | | | | | | | * Fix regression in error message introduced in bpo-29951. * Add test. * Make the test more strong.
* bpo-30266: support "= None" pattern in AbstractContextManager (#1448)Jelle Zijlstra2017-06-093-3/+16
| | | | | contextlib.AbstractContextManager now supports anti-registration by setting __enter__ = None or __exit__ = None, following the pattern introduced in bpo-25958.
* bpo-30524: Write unit tests for FASTCALL (#2022)Victor Stinner2017-06-092-0/+276
| | | | | | | Test C functions: * _PyObject_FastCall() * _PyObject_FastCallDict() * _PyObject_FastCallKeywords()
* bpo-30217: Add the operators ~ and | to the index (#1502)Marco Buttu2017-06-091-0/+2
|
* bpo-19180: Updated references for RFC 1750, RFC 3280 & RFC 4366 (GH-148)Chandan Kumar2017-06-093-13/+10
| | | | | * RFC 1750 has been been obsoleted by RFC 4086. * RFC 3280 has been obsoleted by RFC 5280. * RFC 4366 has been obsoleted by RFC 6066.
* Add a test for bad IDNA in ssl server_hostname (#1997)Nathaniel J. Smith2017-06-091-0/+10
| | | | See discussion: https://github.com/python/cpython/pull/1992#issuecomment-307024778
* bpo-30540: regrtest: add --matchfile option (#1909)Victor Stinner2017-06-093-6/+89
| | | | | | | | | | | | | | | * Add a new option taking a filename to get a list of test names to filter tests. * support.match_tests becomes a list. * Modify run_unittest() to accept to match the whole test identifier, not just a part of a test identifier. For example, the following command only runs test_default_timeout() of the BarrierTests class of test_threading: $ ./python -m test -v test_threading -m test.test_threading.BarrierTests.test_default_timeout Remove also some empty lines from test_regrtest.py to make flake8 tool happy.
* bpo-24755: Document asyncio.wrap_future (GH-603)adisbladis2017-06-091-0/+5
|
* bpo-30529: Fix errors for invalid whitespaces in f-string subexpressions. ↵Serhiy Storchaka2017-06-082-24/+17
| | | | | | | | (#1888) 'invalid character in identifier' now is raised instead of 'f-string: empty expression not allowed' if a subexpression contains only whitespaces and they are not accepted by Python parser.
* bpo-30601: Fix a refleak in WindowsConsoleIO (#2003)Victor Stinner2017-06-081-3/+2
| | | | | Fix a reference leak in _io._WindowsConsoleIO: PyUnicode_FSDecoder() always initialize decodedname when it succeed and it doesn't clear input decodedname object.
* bpo-30418: Popen.communicate() always ignore EINVAL (#2002)Victor Stinner2017-06-082-6/+11
| | | | | On Windows, subprocess.Popen.communicate() now also ignore EINVAL on stdin.write() if the child process is still running but closed the pipe.
* bpo-30486: Allow setting cell value (#1840)Lisa Roach2017-06-084-4/+41
| | | The cell_contents attribute of the cell object is now writable.
* bpo-30592: Fixed error messages for some builtins. (#1996)Serhiy Storchaka2017-06-0813-23/+23
| | | | | Error messages when pass keyword arguments to some builtins that don't support keyword arguments contained double parenthesis: "()()". The regression was introduced by bpo-30534.
* bpo-30598: _PySys_EndInit() now duplicates warnoptions (#1998)Victor Stinner2017-06-081-4/+4
| | | | | | | | | | | | | Fix a reference in subinterpreters, like test_callbacks_leak() of test_atexit. warnoptions is a list used to pass options from the command line to the sys module constructor. Before this change, the list was shared by multiple interpreter which is not the expected behaviour. Each interpreter should have their own independent mutable world. This change duplicates the list in each interpreter. So each interpreter owns its own list, so each interpreter can clear its own list.
* bpo-30547: Fix multiple reference leaks (#1995)Stéphane Wirtel2017-06-081-1/+4
| | | | | | | | Fix regressions introduced by: - bpo-22257: commits 1abcf6700b4da6207fe859de40c6c1bada6b4fec and 6b4be195cd8868b76eb6fbe166acc39beee8ce36 Co-Authored-By: Victor Stinner <victor.stinner@gmail.com> Co-Authored-By: Louie Lu <git@louie.lu>
* bpo-30594: Fixed refcounting in newPySSLSocket (#1992)Nathaniel J. Smith2017-06-081-2/+1
| | | If pass a server_hostname= that fails IDNA decoding to SSLContext.wrap_socket or SSLContext.wrap_bio, then the SSLContext object had a spurious Py_DECREF called on it, eventually leading to segfaults.