summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-33937: Catch ENOMEM error in test_socket (#9557)Victor Stinner2018-09-251-2/+13
| | | | | Fix test_socket.SendmsgSCTPStreamTest: catch ENOMEM error. testSendmsgTimeout() and testSendmsgDontWait() randomly fail on Travis CI with: "OSError: [Errno 12] Cannot allocate memory".
* bpo-34687: Make asynico use ProactorEventLoop by default (GH-9538)Victor Stinner2018-09-257-14/+30
|
* bpo-32557: allow shutil.disk_usage to take a file path on Windows also (GH-9372)Joe Pamer2018-09-254-4/+34
| | | https://bugs.python.org/issue32557
* bpo-1529353: IDLE: squeeze large output in the shell (GH-7626)Tal Einat2018-09-2511-29/+974
|
* Improved the more elaborate multiprocessing example in the logging cookbook ↵Géry Ogam2018-09-251-29/+29
| | | | (GH-9326)
* bpo-34770: Fix a possible null pointer dereference in pyshellext.cpp (GH-9497)Zackery Spytz2018-09-252-0/+6
| | | | | | | | The GlobalLock() call in UpdateDropDescription() was not checked for failure. https://bugs.python.org/issue34770
* Fix wrong exception reference: BrokenThreadPool -> BrokenProcessPool (GH-9533)Joni Kähärä2018-09-251-1/+1
|
* bpo-34162: Update idlelib/NEWS.txt to 2018-9-24. (GH-9551)Terry Jan Reedy2018-09-251-2/+15
|
* bpo-34162: Add entry for idlelib/NEWS.txt already included for 3.6/3.7 (GH-9549)Terry Jan Reedy2018-09-241-0/+5
|
* bpo-34683: Make SyntaxError column offsets consistently 1-indexed (gh-9338)Ammar Askar2018-09-2411-21/+65
| | | | | | Also point to start of tokens in parsing errors. Fixes bpo-34683
* bpo-34791: xml package obeys ignore env flags (GH-9544)Christian Heimes2018-09-243-2/+7
| | | | | | | | | | The xml.sax and xml.dom.domreg modules now obey sys.flags.ignore_environment. Signed-off-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue34791
* bpo-34783: Add test_cmd_line_script.test_nonexisting_script() (GH-9535)Victor Stinner2018-09-241-0/+19
| | | | Make sure that "./python script.py" does not crash if the script file doesn't exist.
* bpo-34582: Fixes Python version used for patch check (GH-9532)Steve Dower2018-09-241-1/+1
| | | https://bugs.python.org/issue34582
* Update Azure Pipelines badge (GH-9529)Steve Dower2018-09-241-10/+2
|
* bpo-34582: Update syntax of Azure Pipelines builds (GH-9521)Steve Dower2018-09-2418-542/+503
|
* bpo-24937: Replace the extension module porting HOWTO by links to external ↵Petr Viktorin2018-09-243-385/+18
| | | | projects (GH-9317)
* bpo-34728: Remove deprecate *loop* argument in asyncio.sleep (GH-9415)João Júnior2018-09-243-3/+47
| | | | | | | | | | | | | | | | * Insert the warn in the asyncio.sleep when the loop argument is used * Insert the warn in the asyncio.wait and asyncio.wait_for when the loop argument is used * Better format of the code * Add news file * change calls for get_event_loop() to calls for get_running_loop() * Change message to be more clear in News * Improve the comments in test_tasks
* Migrate datetime.date.fromtimestamp to Argument Clinic (GH-8535)Tim Hoffmann2018-09-244-18/+35
|
* bpo-34659: Adds initial kwarg to itertools.accumulate() (GH-9345)Lisa Roach2018-09-245-19/+65
|
* bpo-34548: IDLE: use configured theme colors in TextView (GH-9008)Tal Einat2018-09-233-9/+12
| | | https://bugs.python.org/issue34548
* Use in-memory streams instead of NamedTemporaryFile. (GH-9508)Serhiy Storchaka2018-09-231-4/+6
|
* bpo-17239: Disable external entities in SAX parser (GH-9217)Christian Heimes2018-09-239-5/+120
| | | | | | | | | | | | The SAX parser no longer processes general external entities by default to increase security. Before, the parser created network connections to fetch remote files or loaded local files from the file system for DTD and entities. Signed-off-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue17239
* bpo-34670: Add TLS 1.3 post handshake auth (GH-9460)Christian Heimes2018-09-239-16/+370
| | | | | | | | | | Add SSLContext.post_handshake_auth and SSLSocket.verify_client_post_handshake for TLS 1.3 post-handshake authentication. Signed-off-by: Christian Heimes <christian@python.org>q https://bugs.python.org/issue34670
* bpo-34421: Improve distutils logging for non-ASCII strings. (GH-9126)Serhiy Storchaka2018-09-232-24/+29
| | | | | | | Use "backslashreplace" instead of "unicode-escape". It is not implementation depended and escapes only non-encodable characters. Also simplify the code.
* bpo-32117: Iterable unpacking in return and yield documentation (GH-9487)jChapman2018-09-232-2/+6
| | | | | | | | News entry clean up, added to what's new Requested by @gvanrossum in https://github.com/python/cpython/pull/4509 https://bugs.python.org/issue32117
* Fix pickletools doc for NEWFALSE. (GH-9432)Krzysztof Wroblewski2018-09-221-6/+2
| | | | | Also make docs for NEWFALSE and NEWTRUE more consistent with docs for other opcodes.
* bpo-34759: Fix error handling in ssl 'unwrap()' (GH-9468)Nathaniel J. Smith2018-09-222-2/+43
| | | | | | | | | | | | | | | OpenSSL follows the convention that whenever you call a function, it returns an error indicator value; and if this value is negative, then you need to go look at the actual error code to see what happened. Commit c6fd1c1c3a introduced a small mistake in _ssl__SSLSocket_shutdown_impl: instead of checking whether the error indicator was negative, it started checking whether the actual error code was negative, and it turns out that the error codes are never negative. So the effect was that 'unwrap()' lost the ability to raise SSL errors. https://bugs.python.org/issue34759
* bpo-34623: Mention CVE-2018-14647 in news entry (GH-9482)Christian Heimes2018-09-221-2/+2
| | | https://bugs.python.org/issue34623
* bpo-29577: Enum: mixin classes don't mix well with already mixed Enums (GH-9328)Ethan Furman2018-09-224-34/+229
| | | * bpo-29577: allow multiple mixin classes
* bpo-32117: Allow tuple unpacking in return and yield statements (gh-4509)David Cuthbert2018-09-224-6/+18
| | | | | Iterable unpacking is now allowed without parentheses in yield and return statements, e.g. ``yield 1, 2, 3, *rest``. Thanks to David Cuthbert for the change and jChapman for added tests.
* bpo-34537: Fix test_gdb:test_strings with LC_ALL=C (GH-9483)Elvis Pranskevichus2018-09-222-1/+16
| | | | | | | | We cannot simply call locale.getpreferredencoding() here, as GDB might have been linked against a different version of Python with a different encoding and coercion policy with respect to PEP 538 and PEP 540. Thanks to Victor Stinner for a hint on how to fix this.
* bpo-32718: Make Activate.ps1 for venv cross-platform and available on all ↵Brett Cannon2018-09-213-2/+16
| | | | | | | platforms (GH-9321) PowerShell Core 6.1 is the cross-platform port of Windows PowerShell. This change updates Activate.ps1 to not make Windows assumptions as well as installing it into the bin/Scripts directory on all operating systems. Requires PowerShell Core 6.1 for proper readline support once the shell has been activated for the virtual environment.
* bpo-33649: Fix gather() docs; fix title; few other nits. (GH-9475)Yury Selivanov2018-09-211-11/+15
|
* Make docs of exitcode for subprocess.getstatusoutput more clear. (GH-9477)Xiang Zhang2018-09-211-2/+3
| | | Make it more accurate and not limited to UNIX.
* bpo-34762: Fix contextvars C API to use PyObject* pointer types. (GH-9473)Yury Selivanov2018-09-216-45/+106
|
* Minor performance tweak for deque.index() with a start argument (GH-9440)Raymond Hettinger2018-09-212-2/+12
|
* bpo-34755: Add few minor optimizations in _asynciomodule.c. (GH-9455)Serhiy Storchaka2018-09-211-158/+116
|
* bpo-34735: Fix a memory leak in Modules/timemodule.c (GH-9418)Zackery Spytz2018-09-212-0/+2
| | | There was a missing PyMem_Free(format) in time_strftime().
* Simplify PyInit_timezone. (GH-9467)Benjamin Peterson2018-09-212-50/+52
| | | | | | | | Reduce the knotty preprocessor conditional logic, dedent unnecessarily nested code, and handle errors properly. The first edition of this change (afde1c1a05cc8a1e8adf6403c451f6708509a605) failed (bpo-34715) because FreeBSD doesn't define the timezone globals. That's why we're now checking for HAVE_DECL_TZNAME.
* closes bpo-34656: Avoid relying on signed overflow in _pickle memos. (GH-9261)Benjamin Peterson2018-09-211-31/+31
|
* bpo-34011: Fixes missing venv files and other tests (GH-9458)Steve Dower2018-09-208-114/+148
|
* bpo-34754: Fix test_flush_return_value on FreeBSD (GH-9451)Berker Peksag2018-09-201-2/+3
| | | | Apparently, FreeBSD doesn't raise OSError when offset is not a multiple of mmap.PAGESIZE.
* bpo-33649: More improvements (GH-9439)Yury Selivanov2018-09-202-47/+176
|
* bpo-19756: Prevent test failures due to EADDRNOTAVAIL (GH-9446)Berker Peksag2018-09-201-0/+3
|
* bpo-34743: Fix test_database_source_name under SQLite 3.7.9 (GH-9426)Berker Peksag2018-09-201-0/+6
|
* bpo-32215: Fix performance regression in sqlite3 (GH-8511)Berker Peksag2018-09-202-4/+6
|
* bpo-34746: Fix stop -> close (GH-9437)Yury Selivanov2018-09-201-1/+1
|
* Enables test result collection for CI builds (GH-9433)Steve Dower2018-09-193-3/+30
|
* Revert "bpo-34589: Add -X coerce_c_locale command line option (GH-9378)" ↵Victor Stinner2018-09-1917-242/+87
| | | | | | | | | | | | | | | | (GH-9430) * Revert "bpo-34589: Add -X coerce_c_locale command line option (GH-9378)" This reverts commit dbdee0073cf0b88fe541980ace1f650900f455cc. * Revert "bpo-34589: C locale coercion off by default (GH-9073)" This reverts commit 7a0791b6992d420dc52536257f2f093851ed7215. * Revert "bpo-34589: Make _PyCoreConfig.coerce_c_locale private (GH-9371)" This reverts commit 188ebfa475a6f6aa2d0ea14ca8e1fbe7865b6d27.
* Ignores failure to update lists (GH-9424)Steve Dower2018-09-191-1/+1
|