summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* bpo-33584: Fix several minor bugs in asyncio. (GH-7003)Serhiy Storchaka2018-05-201-1/+1
| | | | | | | | | | | | Fix the following bugs in the C implementation: * get_future_loop() silenced all exceptions raised when look up the get_loop attribute, not just an AttributeError. * enter_task() silenced all exceptions raised when look up the current task, not just a KeyError. * repr() was called for a borrowed link in enter_task() and task_step_impl(). * str() was used instead of repr() in formatting one error message (in Python implementation too). * There where few reference leaks in error cases.
* bpo-26819: Prevent proactor double read on resume (#6921)CtrlZvi2018-05-202-2/+15
| | | | | | | | | | The proactor event loop has a race condition when reading with pausing/resuming. `resume_reading()` unconditionally schedules the read function to read from the current future. If `resume_reading()` was called before the previously scheduled done callback fires, this results in two attempts to get the data from the most recent read and an assertion failure. This commit tracks whether or not `resume_reading` needs to reschedule the callback to restart the loop, preventing a second attempt to read the data.
* bpo-23722: Raise a RuntimeError for absent __classcell__. (GH-6931)Serhiy Storchaka2018-05-201-34/+10
| | | A DeprecationWarning was emitted in Python 3.6-3.7.
* bpo-30928: Update idlelib/NEWS.txt. (#6995)Terry Jan Reedy2018-05-201-0/+5
|
* bpo-32831: IDLE: Add docstrings and tests for codecontext (GH-5638)Cheryl Sabella2018-05-192-13/+397
|
* bpo-28556: Don't simplify unions at runtime (GH-6841)Ivan Levkivskyi2018-05-182-41/+15
|
* bpo-33556: Remove reference to thread module from docstring (GH-6963)Skip Montanaro2018-05-181-1/+1
|
* bpo-33564: Add async to IDLE's code context block openers. (GH-6960)Terry Jan Reedy2018-05-181-1/+1
|
* Provide a little better debug output (#6940)Barry Warsaw2018-05-171-1/+1
|
* bpo-33537: Add an __all__ to importlib.resources (#6920)Barry Warsaw2018-05-171-8/+20
|
* bpo-32604: Implement force-closing channels. (gh-6937)Eric Snow2018-05-171-4/+96
| | | This will make it easier to clean up channels (e.g. when used in tests).
* bpo-33549: Remove shim and deprecation warning to access DocumentLS.async. ↵Matthias Bussonnier2018-05-172-32/+0
| | | | | | (GH-6924) `obj.async` is now a syntax error, so the warning/shim is quasi-unnecessary.
* bpo-33475: Fix and improve converting annotations to strings. (GH-6774)Serhiy Storchaka2018-05-171-63/+64
|
* bpo-33522: Enable CI builds on Visual Studio Team Services (#6865)Steve Dower2018-05-167-14/+59
|
* bpo-32604: Improve subinterpreter tests. (#6914)Eric Snow2018-05-161-199/+995
| | | Add more tests for subinterpreters. This patch also fixes a few small defects in the channel implementation.
* Fix ClassVar as string fails when getting type hints (GH-6824)Nina Zakharenko2018-05-162-6/+37
|
* bpo-28167: Remove platform.linux_distribution (GH-6871)Petr Viktorin2018-05-163-263/+12
| | | | | | | | * test_ssl: Remove skip_if_broken_ubuntu_ssl We no longer support OpenSSL 0.9.8.15.15. * bpo-28167: Remove platform.linux_distribution
* bpo-33536: Validate make_dataclass() field names. (GH-6906)Eric V. Smith2018-05-162-108/+180
|
* bpo-21475: Support the Sitemap extension in robotparser (GH-6883)Christopher Beacham2018-05-162-0/+33
|
* bpo-33534: Remove unneeded test. (GH-6897)Eric V. Smith2018-05-161-6/+5
| | | This condition as already tested before this code is called.
* Reflow dataclasses comments (GH-6893)Eric V. Smith2018-05-161-170/+176
| | | To be more consistent with other code (and so people stop hassling me!), reflow the dataclasses comments to not use a single space indentation when continuing a paragraph of text.
* bpo-32384: Skip test when _testcapi isn't available (GH-4940)Isaiah Peng2018-05-161-1/+7
|
* bpo-33453: Handle string type annotations in dataclasses. (GH-6768)Eric V. Smith2018-05-166-20/+395
|
* bpo-30928: Update idlelib/NEWS.txt to 2018-05-14. (#6873)Terry Jan Reedy2018-05-151-0/+21
|
* bpo-33509: Fix _warnings for module_globals=None (#6833)Victor Stinner2018-05-151-0/+19
| | | Don't crash on warnings.warn_explicit() if module_globals is not a dict.
* bpo-33465: Use an unlikely to be built-in C extension in a test (#6797)Barry Warsaw2018-05-151-5/+6
|
* bpo-29706: Test that IDLE colors async/await as keywords. (GH-6846)Terry Jan Reedy2018-05-151-3/+2
| | | | | Added to the eye-verified htest, not to the unittests. Also remove some stray leftover comments.
* bpo-28167: bump platform.linux_distribution removal to 3.8 (GH-6669)Matthias Bussonnier2018-05-152-5/+5
| | | | | Also bump PendingDeprecationWarning to DeprecationWarning.
* bpo-33517: dataclasses: Add the field type to Field repr (GH-6858)Eric V. Smith2018-05-151-4/+10
|
* bpo-16865: Support arrays >=2GB in ctypes. (GH-3006)Segev Finer2018-05-141-0/+7
|
* bpo-33497: Add errors param to cgi.parse_multipart and make an encoding in ↵Amber Brown2018-05-142-4/+24
| | | | FieldStorage use the given errors (GH-6804)
* bpo-33502: dataclass._Dataclassparams repr: use repr of each member. (GH-6812)Eric V. Smith2018-05-141-6/+6
|
* bpo-33494: Change dataclasses.Fields repr to use the repr of each of its ↵Eric V. Smith2018-05-141-8/+8
| | | | members (GH-6798)
* bpo-32861: urllib.robotparser fix incomplete __str__ methods. (GH-5711)Michael Lazar2018-05-142-5/+38
| | | | | | The urllib.robotparser's __str__ representation now includes wildcard entries and the "Crawl-delay" and "Request-rate" fields. Also removes extra newlines that were being appended to the end of the string.
* bpo-32601: Let test_expanduser use the same user if no others found. (GH-5246)Anders Kaseorg2018-05-141-0/+3
| | | | | This happens in the NixOS build sandbox, for example, where the only other user is nobody with home directory /.
* bpo-33455: Pass os.environ in test_posix::test_specify_environment. (GH-6753)Miro Hrončok2018-05-111-1/+1
| | | | | | Pass os.environ's copy to new process created at test_posix: test_specify_environment. Otherwise important variables such as LD_LIBRARY_PATH are not set and the child process might not work at all in an environment where such variables are required for Python to function.
* Fix a bug in Generic.__new__ (GH-6758)Ivan Levkivskyi2018-05-112-1/+4
|
* bpo-21983: Fix a crash in ctypes.cast() when passed a ctypes structured data ↵Oren Milman2018-05-091-0/+13
| | | | type (GH-3859)
* bpo-33311: Do not display parameters displayed in parentheses for module ↵sblondon2018-05-091-4/+6
| | | | call. (GH-6677)
* closes bpo-33445: fail properly in test_cprofile() (GH-6727)jdemeyer2018-05-091-6/+11
|
* bpo-28556: Minor fixes for typing module (GH-6732)Ivan Levkivskyi2018-05-092-2/+76
| | | | This also fixes https://bugs.python.org/issue33420
* bpo-33144: Fix choosing random.Random._randbelow implementation. (GH-6563)Serhiy Storchaka2018-05-082-26/+74
| | | | random() takes precedence over getrandbits() if defined later in the class tree.
* bpo-33441: Make the sigset_t converter available in other modules. (GH-6720)Serhiy Storchaka2018-05-081-0/+4
| | | | | | | | | * Expose the sigset_t converter via private API _Py_Sigset_Converter(). * Use Argument Clinic for parsing sigset_t in signalmodule.c. * Raise ValueError instead OverflowError for integers out of the C long range. Based on patch by Pablo Galindo Salgado.
* Remove mojibake in the locale aliases mapping. (GH-6716)Serhiy Storchaka2018-05-061-2/+0
|
* bpo-20087: Update locale alias mapping with glibc 2.27 supported locales. ↵Serhiy Storchaka2018-05-062-5/+54
| | | | (ПР-6708)
* bpo-33422: Fix quotation marks getting deleted when looking up byte/string ↵Andrés Delfino2018-05-051-2/+9
| | | | | literals on pydoc. (GH-6701) Also update the list of string prefixes.
* bpo-33400: Clarified documentation to indicate no strict adherence to ISO ↵Vinay Sajip2018-05-041-8/+9
| | | | 8601. (GH-6702)
* bpo-33332: Add signal.valid_signals() (GH-6581)Antoine Pitrou2018-05-046-6/+54
|
* bpo-33281: Fix ctypes.util.find_library regression on macOS (GH-6625)Ray Donnelly2018-05-021-2/+2
|
* bpo-20104: Improve error handling and fix a reference leak in ↵Serhiy Storchaka2018-05-011-17/+160
| | | | os.posix_spawn(). (#6332)