summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-34432: doc Mention complex and decimal.Decimal on str.format not about ↵Andrés Delfino2018-08-181-7/+8
| | | | locales (GH-8808)
* bpo-34381: refer to 'Running & Writing Tests' in README.rst (GH-8797)Michael Osipov2018-08-171-0/+2
|
* Improve error message when mock.assert_has_calls fails (GH-8205)davidair2018-08-172-1/+4
| | | | | This makes the assertion error message more useful, aiding debugging. Thanks @davidair!
* Warn not to set SIGPIPE to SIG_DFL (#6773)Alfred Perlstein2018-08-171-0/+34
|
* bpo-34419: selectmodule.c does not compile on HP-UX due to bpo-31938 (GH-8796)Michael Osipov2018-08-171-3/+1
| | | | | | Fix compile errors reported by HP aCC by fixing bugs introduced in 6dc57e2a20c which do not cause trouble on clang or GCC. Patch by Michael Osipov.
* bpo-34418: Fix HTTPErrorProcessor documentation (GH-8793)Sebastian Rittau2018-08-171-2/+2
| | | | The http_response() and https_response() methods of the HTTPErrorProcessor class have two required parameters, 'request' and 'response'.
* bpo-34391: Fix ftplib test for TLS 1.3 (GH-8787)Christian Heimes2018-08-162-0/+6
| | | | | | | | | | | | Read from data socket to avoid "[SSL] shutdown while in init" exception during shutdown of the dummy server. Signed-off-by: Christian Heimes <christian@python.org> <!-- issue-number: [bpo-34391](https://www.bugs.python.org/issue34391) --> https://bugs.python.org/issue34391 <!-- /issue-number -->
* bpo-34217: Use lowercase for windows headers (GH-8472)Erik Janssens2018-08-163-3/+3
|
* bpo-34395: Fix memory leaks caused by incautious usage of PyMem_Resize(). ↵Sergey Fedoseev2018-08-162-42/+22
| | | | (GH-8756)
* bpo-34405: Updated to OpenSSL 1.1.0i for Windows builds. (GH-8775)Steve Dower2018-08-153-4/+5
|
* bpo-34384: Fix os.readlink() on Windows (GH-8740)Berker Peksag2018-08-154-60/+86
| | | | | | | | | os.readlink() now accepts path-like and bytes objects on Windows. Previously, support for path-like and bytes objects was only implemented on Unix. This commit also merges Unix and Windows implementations of os.readlink() in one function and adds basic unit tests to increase test coverage of the function.
* closes bpo-34400: Fix undefined behavior in parsetok(). (GH-4439)Zackery Spytz2018-08-152-1/+2
| | | Avoid undefined pointer arithmetic with NULL.
* bpo-34399: 2048 bits RSA keys and DH params (#8762)Christian Heimes2018-08-145-44/+47
| | | | | | | | | | Downstream vendors have started to deprecate weak keys. Update all RSA keys and DH params to use at least 2048 bits. Finite field DH param file use RFC 7919 values, generated with certtool --get-dh-params --sec-param=high Signed-off-by: Christian Heimes <christian@python.org>
* Make regular expressions in test_tasks.py raw strings. (GH-8759)Benjamin Peterson2018-08-141-2/+2
| | | | | | | | | | | Follow up to bpo-34270. Fixes: ``` Lib/test/test_asyncio/test_tasks.py:330: DeprecationWarning: invalid escape sequence \d match1 = re.match("^<Task pending name='Task-(\d+)'", repr(t1)) Lib/test/test_asyncio/test_tasks.py:332: DeprecationWarning: invalid escape sequence \d match2 = re.match("^<Task pending name='Task-(\d+)'", repr(t2)) ```
* smtplib documentation fixes (GH-8708)Ville Skyttä2018-08-131-4/+11
| | | | | | | | * SMTP.startssl: Fix doc on keyfile and certfile use * SMTP.startssl: Add missing keyfile and certfile deprecation notice * SMTP: Doc grammar fixes
* Fix misindented yaml in logging how to example (GH-8604)Rémy HUBSCHER2018-08-121-3/+3
|
* Minor code clean-up. Don't alter the input vector. Use variables instead. ↵Raymond Hettinger2018-08-121-4/+5
| | | | GH-8748
* Add more tests and assertions for math.hypot() and math.dist() (GH-8747)Raymond Hettinger2018-08-122-5/+13
|
* bpo-34213: Allow dataclasses to work with a field named 'object'. (GH-8452)Vadim Pushtaev2018-08-123-1/+58
|
* Fix the versionadded indentation in exec_module doc (GH-8719)Andrés Delfino2018-08-121-1/+1
|
* Factor-out common code. Also, optimize common cases by preallocating space ↵Raymond Hettinger2018-08-121-41/+56
| | | | | on the stack. GH-8738 Improves speed by 9 to 10ns per call.
* Replace straight addition with Kahan summation and move max to the end (GH-8727)Raymond Hettinger2018-08-111-20/+45
|
* bpo-34151: Improve performance of some list operations (GH-8332)Sergey Fedoseev2018-08-112-15/+38
|
* bpo-34379: Doc: Move note for json.dump (GH-8730)Evan Allrich2018-08-111-6/+5
|
* closes bpo-34377: Update Valgrind suppressions. (GH-8729)Paul Price2018-08-112-11/+14
| | | Valgrind isn't seeing PyObject_Free/PyObject_Realloc, but using _PyObject_Free/_PyObject_Realloc works.
* bpo-26818: Add a test to make sure the bug is fixed (GH-8664)Berker Peksag2018-08-111-0/+22
| | | | The main cause of this bug was fixed as part of bpo-31908.
* bpo-9372: Deprecate several __getitem__ methods (GH-8609)Berker Peksag2018-08-1112-0/+82
| | | | | | The __getitem__ methods of DOMEventStream, FileInput, and FileWrapper classes ignore their 'index' parameters and return the next item instead.
* bpo-34333: Fix %-formatting in Path.with_suffix() (GH-8663)Berker Peksag2018-08-113-1/+5
|
* bpo-34047: IDLE: fix mousewheel scrolling direction on macOS (GH-8678)Tal Einat2018-08-102-6/+18
|
* closes bpo-34353: Add sockets to stat.filemode fallback python ↵GPery2018-08-103-0/+12
| | | | | | implementation. (GH-8703)
* Fixed inconsistency in string handling in the Task C implementation (GH-8717)Alex Grönholm2018-08-091-5/+9
|
* Doc: add missing capture_output arg to subprocess.run() signature (#8374)Andriy Maletsky2018-08-091-2/+2
|
* Improve grammar of asynchronous iterator glossary entry (GH-8657)Andrés Delfino2018-08-091-3/+3
|
* bpo-34324: Doc README wrong directory name for venv (GH-8650)Stéphane Wirtel2018-08-091-1/+1
| | | | | In the documentation, the `env` directory is specified when we execute the `make venv` command. But in the code, `make venv` will create the virtualenv inside the `venv` directory (defined by `VENVDIR`)
* bpo-34270: Make it possible to name asyncio tasks (GH-8547)Alex Grönholm2018-08-0813-28/+266
| | | Co-authored-by: Antti Haapala <antti.haapala@anttipatterns.com>
* Assume the raw environ is always declared. (GH-8707)Benjamin Peterson2018-08-081-6/+0
| | | posixmodule.c always declares environ, so don't bother catching a NameError in os.py.
* Make code examples in Functional Programming HOWTO to be PEP 8 compliant. ↵Sergey Fedoseev2018-08-071-23/+23
| | | | (GH-8646)
* bpo-34335: Use async/await syntax in documentation examples (GH-8674)Mikhail Terekhov2018-08-072-4/+2
|
* VSTS: Skip build steps when only docs have changed (GH-8546)Steve Dower2018-08-075-1/+87
|
* Remove unneeded PyErr_Clear() calls after PyErr_Print(). (GH-8699)Zackery Spytz2018-08-071-3/+0
| | | | PyErr_Print() always clears the error indicator, so there is no need to call PyErr_Clear() immediately afterwards.
* bpo-18540: Fix EAI_NONAME in imaplib.IMAP4*() (GH-8634)Berker Peksag2018-08-073-1/+22
|
* Fix HTML formatting in datamodel.rst (GH-8693)Berker Peksag2018-08-061-3/+3
|
* bpo-34319: Clarify file handler closure in pathlib.read_text (GH-8645)Xtreak2018-08-061-1/+2
| | | Patch by Terry Jan Reedy.
* bpo-34272: Move argument parsing tests from test_capi to test_getargs2. ↵Serhiy Storchaka2018-08-062-181/+182
| | | | (GH-8567)
* bpo-34273: Change 'Fixed point' to 'Fixed-point notation'. (#8673)Terry Jan Reedy2018-08-061-4/+4
| | | | | | | | | | | | | | | * bpo-34273: Change 'Fixed point' to 'Fixed-point notation'. The change in the mini language floating point and decimal table is consistent with 'Exponential notation' and clarifies that we are referring to the output notation, not an object type. * Update string.rst * Update string.rst * Update string.rst * Update string.rst
* bpo-19891: Ignore error while writing history file (GH-8483)Anthony Sottile2018-08-062-1/+12
|
* bpo-34336: Don't promote possibility to leave out typing.Optional (#8677)Ville Skyttä2018-08-051-4/+12
|
* bpo-33839: refactor IDLE's tooltips & calltips, add docstrings and tests ↵Tal Einat2018-08-057-144/+416
| | | | | | | | (GH-7683) * make CallTip and ToolTip sub-classes of a common abstract base class * remove ListboxToolTip (unused and ugly) * greatly increase test coverage * tested on Windows, Linux and macOS
* Fix reST markup in unittest documentation (GH-8665)Berker Peksag2018-08-031-1/+1
|
* bpo-34170: Fix pymain_run_file() (GH-8660)Victor Stinner2018-08-031-6/+6
| | | | | bpo-34170, bpo-34326: Fix pymain_run_file(): use PyRun_AnyFileExFlags(closeit=1) instead of calling fclose(fp) explicitly to close the input file before running the code.