summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-33610: Update IDLE Code Context doc entry (GH-7597)Terry Jan Reedy2018-06-102-203/+208
| | | Users can now click on context lines.
* bpo-33820: Fix IDLE What's New typo (#7594)Terry Jan Reedy2018-06-101-1/+1
|
* bpo-33821: Update idlelib subsection of What's New 3.7 (#7590)Terry Jan Reedy2018-06-101-2/+10
|
* bpo-33820: Update idlelib subsection of What's New 3.6 (GH-7589)Terry Jan Reedy2018-06-101-0/+37
|
* Remove unneeded PyErr_Occurred() check in os_lseek_impl() (GH-7557)Zackery Spytz2018-06-101-3/+0
| | | | | This call became unneeded after the posix module was converted to the Argument Clinic in 2f93635d342a500053e97c9c7c30f1eaf11fc3ac and should have been removed as part of that change.
* bpo-33748: fix tests altering sys.path and sys.modules (GH-7433)Tal Einat2018-06-101-19/+20
|
* bpo-33770: improve base64 exception message for encoded inputs of invalid ↵Tal Einat2018-06-103-1/+41
| | | | length (#7416)
* Fix spaces added after hyphens in news entries. (GH-7579)Serhiy Storchaka2018-06-105-7/+7
| | | Seems they were added by double applying blurb.
* Remove hyphens from phrase "picks up where it left off" (GH-7410)Andrés Delfino2018-06-101-3/+3
|
* Fix typo in object.__getnewargs__() documentation (GH-7554)Andrés Delfino2018-06-101-1/+1
|
* bpo-33766: Document that end of file or string is a newline (GH-7383)Ammar Askar2018-06-091-5/+6
|
* doc: Fix typo in asyncio-eventloop.rst (GH-7345)MarcoFalke2018-06-091-2/+2
| | | This is a fixup to 19a44f63c738388ef3c8515348b4ffc061dfd627
* bpo-32493: Correct test for uuid_enc_be availability in configure.ac. ↵Ned Deily2018-06-093-6/+4
| | | | (GH-7511) (GH-7567)
* bpo-33738: Fix macros which contradict PEP 384 (GH-7477)Christian Tismer2018-06-098-0/+198
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During development of the limited API support for PySide, we saw an error in a macro that accessed a type field. This patch fixes the 7 errors in the Python headers. Macros which were not written as capitals were implemented as function. To do the necessary analysis again, a script was included that parses all headers and looks for "->tp_" in serctions which can be reached with active limited API. It is easily possible to call this script as a test. Error listing: ../../Include/objimpl.h:243 #define PyObject_IS_GC(o) (PyType_IS_GC(Py_TYPE(o)) && \ (Py_TYPE(o)->tp_is_gc == NULL || Py_TYPE(o)->tp_is_gc(o))) Action: commented only ../../Include/objimpl.h:362 #define PyType_SUPPORTS_WEAKREFS(t) ((t)->tp_weaklistoffset > 0) Action: commented only ../../Include/objimpl.h:364 #define PyObject_GET_WEAKREFS_LISTPTR(o) \ ((PyObject **) (((char *) (o)) + Py_TYPE(o)->tp_weaklistoffset)) Action: commented only ../../Include/pyerrors.h:143 #define PyExceptionClass_Name(x) \ ((char *)(((PyTypeObject*)(x))->tp_name)) Action: implemented function ../../Include/abstract.h:593 #define PyIter_Check(obj) \ ((obj)->ob_type->tp_iternext != NULL && \ (obj)->ob_type->tp_iternext != &_PyObject_NextNotImplemented) Action: implemented function ../../Include/abstract.h:713 #define PyIndex_Check(obj) \ ((obj)->ob_type->tp_as_number != NULL && \ (obj)->ob_type->tp_as_number->nb_index != NULL) Action: implemented function ../../Include/abstract.h:924 #define PySequence_ITEM(o, i)\ ( Py_TYPE(o)->tp_as_sequence->sq_item(o, i) ) Action: commented only
* bpo-33375: Fix GCC warning in Python/_warnings.c (GH-7556)Zackery Spytz2018-06-091-1/+0
| | | _Py_IDENTIFIER(argv) is now unused.
* bpo-33409: Clarify PEP 538/540 relationship (GH-7534)Nick Coghlan2018-06-093-24/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While locale coercion and UTF-8 mode turned out to be complementary ideas rather than competing ones, it isn't immediately obvious why it's useful to have both, or how they interact at runtime. This updates both the Python 3.7 What's New doc and the PYTHONCOERCECLOCALE and PYTHONUTF8 documentation in an attempt to clarify that relationship: - in the respective What's New sections, add a closing paragraph explaining which problem each one solves, and pointing to the other PEP's section for the specific aspects it relies on the other PEP to solve - use "locale-aware mode" as a more descriptive term for the default non-UTF-8 mode - improve wording conistenccy between the PYTHONCOERCECLOCALE and PYTHONUTF8 docs when they cover the same thing (mostly related to legacy locale detection and setting the standard stream error handler) - improve the description of the locale coercion trigger conditions (including pointing out that setting LC_ALL turns off locale coercion) - port the full description of the UTF-8 mode behaviour changes from PEP 540 into the PYTHONUTF8 documentation - be explicit that PYTHONIOENCODING still overrides the settings for the standard streams - mention concrete examples of things that do and don't get their text encoding assumptions adjusted by the two text encoding assumption override techniques
* Fix indendation level of versionchanged directive in configparser.items() ↵Andrés Delfino2018-06-091-4/+4
| | | | doc (GH-7543)
* bpo-33810 Remove unused code from datetime.py. (GH-7549)Alexander Belopolsky2018-06-081-11/+4
| | | | | Since implementation of bpo-25283, the objects returned by time.localtime always have tm_zone and tm_gmtoff attributes. Remove code that anticipates their absence.
* Datetime test coverage (#7544)Alexander Belopolsky2018-06-081-3/+9
| | | | | | | | | | | | | | * Added a test case for strftime("%z"). The added test checks a case with UTC offest expressed in an integer number of seconds. * Added a test comparing naive and aware datetimes. Check that a greater than comparison of a naive datetime instance with an aware one raises a TypeError. * Test datetime in fold or in gap comparison both ways.
* bpo-30805: Avoid race condition with debug logging (GH-7545)Yury Selivanov2018-06-082-2/+5
| | | Supersedes https://github.com/python/cpython/pull/2490
* bpo-33801: Remove non-ordered dict comment from plistlib doc (GH-7495)Andrés Delfino2018-06-081-3/+1
|
* bpo-33375: Get filename for warnings from frame.f_code.co_filename (GH-6622)Thomas Kluyver2018-06-084-155/+19
| | | More consistent with how other parts of Python find the filename (e.g. tracebacks and pdb).
* bpo-33800: Fix default argument for parameter dict_type of ↵Andrés Delfino2018-06-081-2/+9
| | | | ConfigParser/RawConfigParser (GH-7494)
* bpo-33197: Add versionadded tag to the documentation of ParameterKind (GH-7536)Dong-hee Na2018-06-082-0/+3
|
* bpo-33807: Add Python 3.7 buildbot link to '.github/CONTRIBUTING.rst' (GH-7532)Suriyaa ✌️️2018-06-081-0/+4
|
* bpo-33736: Improve the documentation of asyncio stream APIs (GH-7326)Elvis Pranskevichus2018-06-084-35/+75
|
* bpo-33798: Update csv document about dict order (GH-7490)Andrés Delfino2018-06-081-3/+1
|
* bpo-33802: Do not interpolate in ConfigParser while reading defaults (GH-7524)Łukasz Langa2018-06-082-2/+53
| | | This solves a regression in logging config due to changes in BPO-23835.
* bpo-11874: fix assertion failure in argparse metavar handling (GH-1826)wim glenn2018-06-083-10/+40
| | | | | | - bugfix and test for fragile metavar handling in argparse (see bpo-24089, bpo-14046, bpo-25058, bpo-11874) - also fixes some incorrect tests that did not make 1-element tuples correctly
* bpo-33694: Fix typo in helper function name (GH-7522)Victor Stinner2018-06-084-9/+9
| | | | | | _feed_data_to_bufferred_proto() renamed to _feed_data_to_buffered_proto() ("bufferred" => "buffered"). Typo spotted by Nathaniel J. Smith.
* bpo-33718: regrtest: use "xxx then yyy" result if re-run (GH-7521)Victor Stinner2018-06-082-7/+44
| | | | | | If tests are re-run, use "xxx then yyy" result format (ex: "FAILURE then SUCCESS") to show that some failing tests have been re-run. Add also test_regrtest.test_rerun_fail() test.
* bpo-33799: Remove non-ordered dicts comments from FAQAndrés Delfino2018-06-082-10/+1
|
* Update idlelib/NEWS.txt to 2018 Jun 8 am. (GH-7517)Terry Jan Reedy2018-06-081-0/+27
|
* bpo-33768: IDLE: Clicking on code context line moves it to top of editor ↵Cheryl Sabella2018-06-083-0/+50
| | | | (GH-7411)
* bpo-33197: Add description property for _ParameterKind. (GH-7206)Dong-hee Na2018-06-083-6/+25
|
* bpo-33791: Update README for macOS users (GH-7471)atg70002018-06-081-0/+5
|
* bpo-33792: Add selector and proactor windows policies (GH-7487)Yury Selivanov2018-06-084-3/+45
|
* bpo-33786: Fix asynchronous generators to handle GeneratorExit in athrow() ↵Yury Selivanov2018-06-085-9/+87
| | | | (GH-7467)
* bpo-33803: Fix a crash in hamt.c (#7504)Yury Selivanov2018-06-082-0/+4
|
* bpo-33615: Skip test__xxsubinterpreters (GH-7503)Victor Stinner2018-06-081-0/+2
| | | | | The test does crash on multiple CIs causing many troubles. For example, the test prevents to get results of the two Refleak 3.x buildbots.
* bpo-33642 and bpo-33679: Revise and condense blurbs (GH-7500)Terry Jan Reedy2018-06-072-21/+5
|
* bpo-33694: Fix race condition in asyncio proactor (GH-7498)Victor Stinner2018-06-076-151/+86
| | | | | | | | | | | | | | | | The cancellation of an overlapped WSARecv() has a race condition which causes data loss because of the current implementation of proactor in asyncio. No longer cancel overlapped WSARecv() in _ProactorReadPipeTransport to work around the race condition. Remove the optimized recv_into() implementation to get simple implementation of pause_reading() using the single _pending_data attribute. Move _feed_data_to_bufferred_proto() to protocols.py. Remove set_protocol() method which became useless.
* bpo-33609: small wording fixes to dict ordering docsNeil Schemenauer2018-06-071-5/+5
| | | A few wording improvements to dict ordering documentation.
* bpo-33796: Ignore ClassVar for dataclasses.replace(). (GH-7488)Eric V. Smith2018-06-072-86/+125
|
* update 3.7 whatsnew entry about Unicode version (GH-7480)Benjamin Peterson2018-06-071-2/+2
| | | Followup to 4705ea38c900f068fd262aca02943896d1123544 and bpo-33778.
* bpo-17909: Document that json.load can accept a binary IO (GH-7366)Anthony Sottile2018-06-071-3/+7
|
* bpo-29235: Update document for Profiler's context manager (GH-7331)Scott Sanderson2018-06-073-8/+7
|
* bpo-30436: Add missing space in importlib.util.find_spec() error message ↵Zackery Spytz2018-06-071-1/+1
| | | | (GH-7385)
* bpo-33274: Compliance with DOM L1: return removed attribute (#7465)arikrupnik2018-06-073-1/+5
| | | | | | * bpo-33274: Compliance with DOM L1: return removed attribute * Update 2018-06-06-22-01-33.bpo-33274.teYqv8.rst
* update to Unicode 11.0.0 (closes bpo-33778) (GH-7439)Benjamin Peterson2018-06-079-26084/+28267
| | | Also, standardize indentation of generated tables.