summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* bpo-30537: use PyNumber in itertools.islice instead of PyLong (#1918)Will Roberts2017-06-083-4/+20
| | | | | | | | * bpo-30537: use PyNumber in itertools instead of PyLong * bpo-30537: revert changes except to islice_new * bpo-30537: test itertools.islice and add entry to Misc/NEWS
* bpo-30591: Added test for textwrap backtracking. (#1988)Jonathan Eunice2017-06-071-0/+11
|
* trivial: update config.{guess,sub} from gnu.org. (GH-1987)Matthias Klose2017-06-072-96/+191
| | | | * Update config.{guess,sub} from gnu.org.
* bpo-30353: Fix pass by value for structs on 64-bit Cygwin/MinGW (GH-1559)Erik Bray2017-06-074-2/+65
|
* bpo-30584: Fix test_os fails on non-English Windows (#1980)Denis Osipov2017-06-072-1/+4
| | | | | | | | * Fix bpo-30584 * Adding a comment mentionning the bpo and explaining what is the identifier * Add Denis Osipov to Misc/ACKS
* bpo-30177: pathlib: include the full path in resolve(strict=False) (#1893)Antoine Pietri2017-06-073-20/+21
|
* bpo-30463: Add an empty __slots__ to abc.ABC.Aaron Hall, MBA2017-06-063-1/+7
|
* bpo-29596: Improve clinic howto documentation (GH-1710)gfyoung2017-06-061-3/+3
| | | Clarify that `two-pass` buffer can only be dumped once, and it prints out all text sent to it during all processing, even from Clinic blocks *after* the dumping point.
* bpo-30583: Fix typo in datetime dateutil documentation (GH-1972)wim glenn2017-06-061-2/+2
| | | Replace `datetuil` into `dateutil`
* bpo-30557: Fix test_faulthandler (#1969)Victor Stinner2017-06-061-2/+4
| | | | On Windows 8, 8.1 and 10 at least, the exit code is the exception code (no bit is cleared).
* bpo-30534: Fixed error messages when pass keyword arguments (#1901)Serhiy Storchaka2017-06-065-45/+116
| | | | | | | to functions implemented in C that don't support this. Also unified error messages for functions that don't take positional or keyword arguments.
* bpo-25324: Move the description of tokenize tokens to token.rst. (#1911)Serhiy Storchaka2017-06-062-39/+39
|
* bpo-30520: Implemented pickling for loggers. (#1956)Vinay Sajip2017-06-064-3/+26
| | | Implemented pickling for loggers.
* Simplify X.509 extension handling code (#1855)Alex Gaynor2017-06-061-30/+4
| | | | | | | | * Simplify X.509 extension handling code The previous implementation had grown organically over time, as OpenSSL's API evolved. * Delete even more code
* bpo-30095: Make CSS classes used by calendar.HTMLCalendar customizable (GH-1439)Oz N Tiram2017-06-065-44/+205
| | | Several class attributes have been added to calendar.HTMLCalendar that allow customization of the CSS classes used in the resulting HTML. This can be done by subclasses HTMLCalendar and overwriting those class attributes (Patch by Oz Tiram).
* Install dependencies in Travis OSX build (GH-1952)Zachary Ware2017-06-061-0/+4
|
* bpo-30417: Disable 'cpu' and 'tzdata' resources on Travis (GH-1928)Zachary Ware2017-06-051-5/+5
| | | Also weakens the 'should this be run?' regex to allow all builds when .travis.yml changes.
* bpo-30557: faulthandler now correctly filters and displays exception codes ↵Steve Dower2017-06-053-4/+33
| | | | | | | | | | on Windows (#1924) * bpo-30557: faulthandler now correctly filters and displays exception codes on Windows * Adds test for non-fatal exceptions. * Adds bpo number to comment.
* bpo-30530: Update Descriptor How To Documentation (GH-1845)Mariano Anaya2017-06-051-1/+1
| | | | Update the code example in Functions and Methods section Remove objtype argument in MethodType
* Only run AppVeyor on long-lived branches (GH-1941)Zachary Ware2017-06-041-0/+5
| | | Also on the short-lived `buildbot-custom` branch.