summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-37138: fix undefined behaviour with memcpy() on NULL array (GH-13867)Jeroen Demeyer2019-06-071-1/+5
|
* bpo-37181: Fix test_regrtest failures on Windows arm64 (GH-13872)Paul Monson2019-06-073-3/+8
|
* bpo-37191: Move TestPEP590 from test_capi to test_call (GH-13892)Victor Stinner2019-06-072-115/+123
|
* bpo-37169: Rewrite _PyObject_IsFreed() unit tests (GH-13888)Victor Stinner2019-06-073-27/+30
| | | | | Replace two Python function calls with a single one to ensure that no memory allocation is done between the invalid object is created and when _PyObject_IsFreed() is called.
* bpo-37151: simplify classmethoddescr_call (GH-13340)Jeroen Demeyer2019-06-072-30/+18
|
* Use assertEqual(). (#13883)Stefan Krah2019-06-071-2/+2
|
* IDLE: Standardize naming convention for DummyEditwin in tests (GH-13876)Cheryl Sabella2019-06-071-2/+2
| | | * Change from Dummy_Editwin to DummyEditwin to match other tests.
* bpo-37188: Fix a divide-by-zero in arrays of size-0 objects (#13881)Eric Wieser2019-06-072-1/+16
|
* bpo-37177: make IDLE's search dialogs transient (GH-13869)Tal Einat2019-06-073-5/+10
| | | This avoids the search dialogs being hidden behind the editor window.
* bpo-37134: Add PEP570 notation to the signature of byte{array}.translate ↵Pablo Galindo2019-06-061-2/+2
| | | | (GH-13874)
* bpo-37170: Fix the cast on error in PyLong_AsUnsignedLongLongMask() (GH-13860)Zackery Spytz2019-06-064-4/+29
|
* bpo-36520: Email header folded incorrectly (#13608)websurfer52019-06-063-0/+133
| | | | | | | | | | | | | | | | | * bpo-36520: reset the encoded word offset when starting a new line during an email header folding operation * 📜🤖 Added by blurb_it. * bpo-36520: add an additional test case, and provide descriptive comments for the test_folding_with_utf8_encoding_* tests * bpo-36520: fix whitespace issue * bpo-36520: changes per reviewer request -- remove extraneous backslashes; add whitespace between terminating quotes and line-continuation backslashes; use "bpo-" instead of "issue #" in comments
* bpo-37156: Fix libssl DLL tag in MSI sources (GH-13866)Steve Dower2019-06-061-2/+3
|
* bpo-36763, _testembed: enable assert() in release mode (GH-13857)Victor Stinner2019-06-061-2/+5
|
* bpo-2661: Make mapping tests better usable for custom mapping classes. ↵Walter Dörwald2019-06-061-3/+5
| | | | | | | | | | | | | | | (GH-11157) In test_fromkeys() the derived test class now supports all arguments in its constructor so that the class to be tested can use its own constructor in its fromkeys() implementation. In test_mutatingiteration() the test fails as soon as iterating over a dictionary with one entry and adding new entries in the loop iterates more than once (to avoid endless loops in faulty implementations). https://bugs.python.org/issue2661
* bpo-35551: remove mac_centeuro encoding (GH-13856)Inada Naoki2019-06-061-307/+0
| | | It is alias to mac_latin2 now.
* Add importlib.metadata to what's new. (#13855)Barry Warsaw2019-06-061-1/+4
|
* bpo-37134: Use PEP570 syntax for sum() (GH-13851)Pablo Galindo2019-06-051-3/+3
|
* bpo-37165: Convert _count_elements to the argument clinic (GH-13848)Raymond Hettinger2019-06-053-12/+49
|
* bpo-35551: encodings update (GH-11446)Ashwin Ramaswami2019-06-053-4/+6
|
* bpo-37134: Add PEP570 notation to the documentation (GH-13743)Pablo Galindo2019-06-052-3/+3
|
* bpo-33725, multiprocessing doc: rephase warning against fork on macOS (GH-13841)Victor Stinner2019-06-051-2/+3
| | | Co-Authored-By: Barry Warsaw <barry@python.org>
* bpo-21315: Fix parsing of encoded words with missing leading ws. (#13425)Abhilash Raj2019-06-054-3/+49
| | | | | | | | | | | | * bpo-21315: Fix parsing of encoded words with missing leading ws. Because of missing leading whitespace, encoded word would get parsed as unstructured token. This patch fixes that by looking for encoded words when splitting tokens with whitespace. Missing trailing whitespace around encoded word now register a defect instead. Original patch suggestion by David R. Murray on bpo-21315.
* [3.9] bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-12620)Serhiy Storchaka2019-06-0530-330/+45
| | | Turn deprecation warnings added in 3.8 into TypeError.
* bpo-37158: Simplify and speed-up statistics.fmean() (GH-13832)Raymond Hettinger2019-06-052-4/+5
|
* bpo-26836: Document os.memfd_create() name parameter (GH-13838)Victor Stinner2019-06-051-0/+7
| | | https://bugs.python.org/issue26836
* bpo-34767: Do not always create a collections.deque() in asyncio.Lock() ↵Zackery Spytz2019-06-052-2/+8
| | | | | (GH-13834) https://bugs.python.org/issue34767
* Fix documentation (GH-13721)Benjamin Yeh2019-06-051-0/+4
| | | Based on the source code https://github.com/python/cpython/blob/4a686504eb2bbf69adf78077458508a7ba131667/Lib/multiprocessing/pool.py#L755 AsyncResult.successful() raises a ValueError, not an AssertionError.
* bpo-36373: Deprecate explicit loop parameter in all public asyncio APIs ↵Emmanuel Arias2019-06-051-0/+16
| | | | | | | | | | | | | | | [streams] (GH-13671) This PR deprecate explicit loop parameters in all public asyncio APIs This issues is split to be easier to review. Second step: streams.py https://bugs.python.org/issue36373
* bpo-35763: Make IDLE calltip note about '/' less obtrusive (GH-13791)Terry Jan Reedy2019-06-053-61/+69
| | | Add it to the end of the first line if there is room. Tests were reworked.
* Doc: Python 3.9 in sidebar and version switcher. (GH-13824)Julien Palard2019-06-042-2/+4
|
* bpo-34282: Remove deprecated enum _convert method (GH-13823)Zachary Ware2019-06-042-6/+1
|
* Bump version in AppVeyor config (#13822)Zachary Ware2019-06-041-1/+1
|
* Bump to 3.9.0a0Łukasz Langa2019-06-0411-831/+831
|
* Merge tag 'v3.8.0b1'Łukasz Langa2019-06-04203-500/+2142
|\ | | | | | | Python 3.8.0b1
| * Python 3.8.0b1v3.8.0b1Łukasz Langa2019-06-04203-500/+2142
| |
* | bpo-35047: Update whatsnew/3.8 for better mock error message (GH-13746)Petter Strandmark2019-06-041-0/+3
| |
* | bpo-30835: email: Fix AttributeError when parsing invalid CTE (GH-13598)Abhilash Raj2019-06-043-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bpo-30835: email: Fix AttributeError when parsing invalid Content-Transfer-Encoding Parsing an email containing a multipart Content-Type, along with a Content-Transfer-Encoding containing an invalid (non-ASCII-decodable) byte will fail. email.feedparser.FeedParser._parsegen() gets the header and attempts to convert it to lowercase before comparing it with the accepted encodings, but as the header contains an invalid byte, it's returned as a Header object rather than a str. Cast the Content-Transfer-Encoding header to a str to avoid this. Found using the AFL fuzzer. Reported-by: Daniel Axtens <dja@axtens.net> Signed-off-by: Andrew Donnellan <andrew@donnellan.id.au> * Add email and NEWS entry for the bugfix.
* | bpo-35805: Add parser for Message-ID email header. (GH-13397)Abhilash Raj2019-06-046-28/+257
| | | | | | | | | | | | | | | | | | | | | | | | | | * bpo-35805: Add parser for Message-ID header. This parser is based on the definition of Identification Fields from RFC 5322 Sec 3.6.4. This should also prevent folding of Message-ID header using RFC 2047 encoded words and hence fix bpo-35805. * Prevent folding of non-ascii message-id headers. * Add fold method to MsgID token to prevent folding.
* | bpo-37153: test_venv.test_mutiprocessing() calls pool.terminate() (GH-13816)Victor Stinner2019-06-042-2/+6
|/ | | | test_venv.test_mutiprocessing() now explicitly calls pool.terminate() to wait until the pool completes.
* bpo-36742: Corrects fix to handle decomposition in usernames (#13812)Steve Dower2019-06-042-8/+9
|
* Fix extraneous whitespace in QueueListener.prepare (GH-13803)Boris Feld2019-06-041-1/+1
|
* bpo-30699: Improve example on datetime tzinfo instances (GH-4290)Mario Corchero2019-06-041-51/+60
| | | | | | | | | | | | | | | | | | | * Improve example on tzinfo instances Move from GMTX to TZX when naming the classes, as GMT1 might be rather confusing as seen in the reported issue. In addition, move to UTC over GMT and improve the tzname implementation. * Simplify datetime with tzinfo example Move the example in the documentation to just use timezone.utc and a user defined Kabul timezone rather than having two user defined timezones with DST. Kabul timezone is still interesting as it changes its offset but not based on DST. This is more accurate as the previous example was missing information about the fold attribute. Additionally, implementing the fold attribute was rather complex and probably not relevant enough for the section "datetime with tzinfo".
* bpo-36778: Remove outdated comment from CodePageTest (GH-13807)Victor Stinner2019-06-041-1/+0
| | | CP65001Test has been removed.
* bpo-26219: Fix compiler warning in _PyCode_InitOpcache() (GH-13809)Victor Stinner2019-06-041-1/+2
| | | | | | Fix this MSVC warning: objects\codeobject.c(264): warning C4244: '=': conversion from 'Py_ssize_t' to 'unsigned char', possible loss of data
* bpo-37142: Make asyncio stream tests more robust again (GH-13804)Andrew Svetlov2019-06-041-9/+16
| | | | Make test_stream_server_close() implementation following test_stream_server_abort(). Add explicit timeout for tests that can hang.
* Make StreamServer.close() tests more robust (GH-13790)Andrew Svetlov2019-06-041-11/+37
|
* Revert "bpo-34037, asyncio: add BaseEventLoop.wait_executor_on_close ↵Łukasz Langa2019-06-043-15/+3
| | | | | (GH-13786)" (#13802) This reverts commit 0f0a30f4da4b529e0f7df857b9f575b231b32758.
* Fix grammar (GH-13801)Raymond Hettinger2019-06-041-2/+2
|
* More updates to the annotated assignments docs (GH-13794)Ivan Levkivskyi2019-06-041-4/+3
|