- 07 Jun, 2019 1 commit
-
-
Tal Einat authored
This avoids the search dialogs being hidden behind the editor window.
-
- 06 Jun, 2019 8 commits
-
-
Pablo Galindo authored
-
Zackery Spytz authored
-
websurfer5 authored
* 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 -
Steve Dower authored
-
Victor Stinner authored
-
Walter Dörwald authored
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
-
Inada Naoki authored
It is alias to mac_latin2 now.
-
Barry Warsaw authored
-
- 05 Jun, 2019 13 commits
-
-
Pablo Galindo authored
-
Raymond Hettinger authored
-
Ashwin Ramaswami authored
-
Pablo Galindo authored
-
Victor Stinner authored
Co-Authored-By: Barry Warsaw <barry@python.org>
-
Abhilash Raj authored
* 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.
-
Serhiy Storchaka authored
Turn deprecation warnings added in 3.8 into TypeError.
-
Raymond Hettinger authored
-
-
-
Benjamin Yeh authored
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.
-
Emmanuel Arias authored
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
-
Terry Jan Reedy authored
Add it to the end of the first line if there is room. Tests were reworked.
-
- 04 Jun, 2019 18 commits
-
-
Julien Palard authored
-
Zachary Ware authored
-
Zachary Ware authored
-
Łukasz Langa authored
-
Łukasz Langa authored
Python 3.8.0b1
-
Petter Strandmark authored
-
Abhilash Raj authored
* 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.
-
Łukasz Langa authored
-
Abhilash Raj authored
* 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.
-
Victor Stinner authored
test_venv.test_mutiprocessing() now explicitly calls pool.terminate() to wait until the pool completes.
-
Steve Dower authored
-
Boris Feld authored
-
Mario Corchero authored
* 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".
-
Victor Stinner authored
CP65001Test has been removed.
-
Victor Stinner authored
Fix this MSVC warning: objects\codeobject.c(264): warning C4244: '=': conversion from 'Py_ssize_t' to 'unsigned char', possible loss of data
-
Andrew Svetlov authored
Make test_stream_server_close() implementation following test_stream_server_abort(). Add explicit timeout for tests that can hang.
-
Andrew Svetlov authored
-
Łukasz Langa authored
This reverts commit 0f0a30f4.
-