Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | bpo-34432: doc Mention complex and decimal.Decimal on str.format not about ↵ | Andrés Delfino | 2018-08-18 | 1 | -7/+8 | |
| | | | | locales (GH-8808) | |||||
* | bpo-34381: refer to 'Running & Writing Tests' in README.rst (GH-8797) | Michael Osipov | 2018-08-17 | 1 | -0/+2 | |
| | ||||||
* | Improve error message when mock.assert_has_calls fails (GH-8205) | davidair | 2018-08-17 | 2 | -1/+4 | |
| | | | | | This makes the assertion error message more useful, aiding debugging. Thanks @davidair! | |||||
* | Warn not to set SIGPIPE to SIG_DFL (#6773) | Alfred Perlstein | 2018-08-17 | 1 | -0/+34 | |
| | ||||||
* | bpo-34419: selectmodule.c does not compile on HP-UX due to bpo-31938 (GH-8796) | Michael Osipov | 2018-08-17 | 1 | -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 Rittau | 2018-08-17 | 1 | -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 Heimes | 2018-08-16 | 2 | -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 Janssens | 2018-08-16 | 3 | -3/+3 | |
| | ||||||
* | bpo-34395: Fix memory leaks caused by incautious usage of PyMem_Resize(). ↵ | Sergey Fedoseev | 2018-08-16 | 2 | -42/+22 | |
| | | | | (GH-8756) | |||||
* | bpo-34405: Updated to OpenSSL 1.1.0i for Windows builds. (GH-8775) | Steve Dower | 2018-08-15 | 3 | -4/+5 | |
| | ||||||
* | bpo-34384: Fix os.readlink() on Windows (GH-8740) | Berker Peksag | 2018-08-15 | 4 | -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 Spytz | 2018-08-15 | 2 | -1/+2 | |
| | | | Avoid undefined pointer arithmetic with NULL. | |||||
* | bpo-34399: 2048 bits RSA keys and DH params (#8762) | Christian Heimes | 2018-08-14 | 5 | -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 Peterson | 2018-08-14 | 1 | -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-13 | 1 | -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 HUBSCHER | 2018-08-12 | 1 | -3/+3 | |
| | ||||||
* | Minor code clean-up. Don't alter the input vector. Use variables instead. ↵ | Raymond Hettinger | 2018-08-12 | 1 | -4/+5 | |
| | | | | GH-8748 | |||||
* | Add more tests and assertions for math.hypot() and math.dist() (GH-8747) | Raymond Hettinger | 2018-08-12 | 2 | -5/+13 | |
| | ||||||
* | bpo-34213: Allow dataclasses to work with a field named 'object'. (GH-8452) | Vadim Pushtaev | 2018-08-12 | 3 | -1/+58 | |
| | ||||||
* | Fix the versionadded indentation in exec_module doc (GH-8719) | Andrés Delfino | 2018-08-12 | 1 | -1/+1 | |
| | ||||||
* | Factor-out common code. Also, optimize common cases by preallocating space ↵ | Raymond Hettinger | 2018-08-12 | 1 | -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 Hettinger | 2018-08-11 | 1 | -20/+45 | |
| | ||||||
* | bpo-34151: Improve performance of some list operations (GH-8332) | Sergey Fedoseev | 2018-08-11 | 2 | -15/+38 | |
| | ||||||
* | bpo-34379: Doc: Move note for json.dump (GH-8730) | Evan Allrich | 2018-08-11 | 1 | -6/+5 | |
| | ||||||
* | closes bpo-34377: Update Valgrind suppressions. (GH-8729) | Paul Price | 2018-08-11 | 2 | -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 Peksag | 2018-08-11 | 1 | -0/+22 | |
| | | | | The main cause of this bug was fixed as part of bpo-31908. | |||||
* | bpo-9372: Deprecate several __getitem__ methods (GH-8609) | Berker Peksag | 2018-08-11 | 12 | -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 Peksag | 2018-08-11 | 3 | -1/+5 | |
| | ||||||
* | bpo-34047: IDLE: fix mousewheel scrolling direction on macOS (GH-8678) | Tal Einat | 2018-08-10 | 2 | -6/+18 | |
| | ||||||
* | closes bpo-34353: Add sockets to stat.filemode fallback python ↵ | GPery | 2018-08-10 | 3 | -0/+12 | |
| | | | | | | implementation. (GH-8703) | |||||
* | Fixed inconsistency in string handling in the Task C implementation (GH-8717) | Alex Grönholm | 2018-08-09 | 1 | -5/+9 | |
| | ||||||
* | Doc: add missing capture_output arg to subprocess.run() signature (#8374) | Andriy Maletsky | 2018-08-09 | 1 | -2/+2 | |
| | ||||||
* | Improve grammar of asynchronous iterator glossary entry (GH-8657) | Andrés Delfino | 2018-08-09 | 1 | -3/+3 | |
| | ||||||
* | bpo-34324: Doc README wrong directory name for venv (GH-8650) | Stéphane Wirtel | 2018-08-09 | 1 | -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önholm | 2018-08-08 | 13 | -28/+266 | |
| | | | Co-authored-by: Antti Haapala <antti.haapala@anttipatterns.com> | |||||
* | Assume the raw environ is always declared. (GH-8707) | Benjamin Peterson | 2018-08-08 | 1 | -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 Fedoseev | 2018-08-07 | 1 | -23/+23 | |
| | | | | (GH-8646) | |||||
* | bpo-34335: Use async/await syntax in documentation examples (GH-8674) | Mikhail Terekhov | 2018-08-07 | 2 | -4/+2 | |
| | ||||||
* | VSTS: Skip build steps when only docs have changed (GH-8546) | Steve Dower | 2018-08-07 | 5 | -1/+87 | |
| | ||||||
* | Remove unneeded PyErr_Clear() calls after PyErr_Print(). (GH-8699) | Zackery Spytz | 2018-08-07 | 1 | -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 Peksag | 2018-08-07 | 3 | -1/+22 | |
| | ||||||
* | Fix HTML formatting in datamodel.rst (GH-8693) | Berker Peksag | 2018-08-06 | 1 | -3/+3 | |
| | ||||||
* | bpo-34319: Clarify file handler closure in pathlib.read_text (GH-8645) | Xtreak | 2018-08-06 | 1 | -1/+2 | |
| | | | Patch by Terry Jan Reedy. | |||||
* | bpo-34272: Move argument parsing tests from test_capi to test_getargs2. ↵ | Serhiy Storchaka | 2018-08-06 | 2 | -181/+182 | |
| | | | | (GH-8567) | |||||
* | bpo-34273: Change 'Fixed point' to 'Fixed-point notation'. (#8673) | Terry Jan Reedy | 2018-08-06 | 1 | -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 Sottile | 2018-08-06 | 2 | -1/+12 | |
| | ||||||
* | bpo-34336: Don't promote possibility to leave out typing.Optional (#8677) | Ville Skyttä | 2018-08-05 | 1 | -4/+12 | |
| | ||||||
* | bpo-33839: refactor IDLE's tooltips & calltips, add docstrings and tests ↵ | Tal Einat | 2018-08-05 | 7 | -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 Peksag | 2018-08-03 | 1 | -1/+1 | |
| | ||||||
* | bpo-34170: Fix pymain_run_file() (GH-8660) | Victor Stinner | 2018-08-03 | 1 | -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. |