Update pydoc topics and NEWS blurbs for 3.6.3rc1
This commit is contained in:
parent
8afd7ab12d
commit
2f61f6417a
|
@ -1,5 +1,5 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Autogenerated by Sphinx on Sat Jun 17 04:32:54 2017
|
||||
# Autogenerated by Sphinx on Mon Sep 18 23:00:11 2017
|
||||
topics = {'assert': 'The "assert" statement\n'
|
||||
'**********************\n'
|
||||
'\n'
|
||||
|
@ -8558,7 +8558,7 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
'\n'
|
||||
'The potential uses for metaclasses are boundless. Some ideas '
|
||||
'that have\n'
|
||||
'been explored include logging, interface checking, '
|
||||
'been explored include enum, logging, interface checking, '
|
||||
'automatic\n'
|
||||
'delegation, automatic property creation, proxies, '
|
||||
'frameworks, and\n'
|
||||
|
@ -10332,27 +10332,22 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
'*******************\n'
|
||||
'\n'
|
||||
'Any object can be tested for truth value, for use in an "if" or\n'
|
||||
'"while" condition or as operand of the Boolean operations below. '
|
||||
'The\n'
|
||||
'following values are considered false:\n'
|
||||
'"while" condition or as operand of the Boolean operations below.\n'
|
||||
'\n'
|
||||
'* "None"\n'
|
||||
'\n'
|
||||
'* "False"\n'
|
||||
'\n'
|
||||
'* zero of any numeric type, for example, "0", "0.0", "0j".\n'
|
||||
'\n'
|
||||
'* any empty sequence, for example, "\'\'", "()", "[]".\n'
|
||||
'\n'
|
||||
'* any empty mapping, for example, "{}".\n'
|
||||
'\n'
|
||||
'* instances of user-defined classes, if the class defines a\n'
|
||||
' "__bool__()" or "__len__()" method, when that method returns the\n'
|
||||
' integer zero or "bool" value "False". [1]\n'
|
||||
'\n'
|
||||
'All other values are considered true --- so objects of many types '
|
||||
'By default, an object is considered true unless its class defines\n'
|
||||
'either a "__bool__()" method that returns "False" or a "__len__()"\n'
|
||||
'method that returns zero, when called with the object. [1] Here '
|
||||
'are\n'
|
||||
'always true.\n'
|
||||
'most of the built-in objects considered false:\n'
|
||||
'\n'
|
||||
'* constants defined to be false: "None" and "False".\n'
|
||||
'\n'
|
||||
'* zero of any numeric type: "0", "0.0", "0j", "Decimal(0)",\n'
|
||||
' "Fraction(0, 1)"\n'
|
||||
'\n'
|
||||
'* empty sequences and collections: "\'\'", "()", "[]", "{}", '
|
||||
'"set()",\n'
|
||||
' "range(0)"\n'
|
||||
'\n'
|
||||
'Operations and built-in functions that have a Boolean result '
|
||||
'always\n'
|
||||
|
@ -12401,7 +12396,7 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
'operations.\n'
|
||||
' Lists also provide the following additional method:\n'
|
||||
'\n'
|
||||
' sort(*, key=None, reverse=None)\n'
|
||||
' sort(*, key=None, reverse=False)\n'
|
||||
'\n'
|
||||
' This method sorts the list in place, using only "<" '
|
||||
'comparisons\n'
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,2 +0,0 @@
|
|||
Fix compile error when compiling --without-threads.
|
||||
Patch by Masayuki Yamamoto.
|
|
@ -1,2 +0,0 @@
|
|||
``print`` now shows expected input in custom error message when used as a
|
||||
Python 2 statement. Patch by Sanyam Khurana.
|
|
@ -1 +0,0 @@
|
|||
Fixed a race condition when import a submodule from a package.
|
|
@ -1,2 +0,0 @@
|
|||
Make sure the 'Missing parentheses' syntax error message is only applied to
|
||||
SyntaxError, not to subclasses. Patch by Martijn Pieters.
|
|
@ -1,2 +0,0 @@
|
|||
Avoid blocking in pthread_mutex_lock() when PyThread_acquire_lock() is asked
|
||||
not to block.
|
|
@ -1,6 +0,0 @@
|
|||
Improve signal delivery.
|
||||
|
||||
Avoid using Py_AddPendingCall from signal handler, to avoid calling signal-
|
||||
unsafe functions. The tests I'm adding here fail without the rest of the
|
||||
patch, on Linux and OS X. This means our signal delivery logic had defects
|
||||
(some signals could be lost).
|
|
@ -1,3 +0,0 @@
|
|||
Relative import from unloaded package now reimports the package instead of
|
||||
failing with SystemError. Relative import from non-package now fails with
|
||||
ImportError rather than SystemError.
|
|
@ -1 +0,0 @@
|
|||
Use _Py_atomic API for concurrency-sensitive signal state.
|
|
@ -1,2 +0,0 @@
|
|||
str.format_map() now passes key lookup exceptions through.
|
||||
Previously any exception was replaced with a KeyError exception.
|
|
@ -1,2 +0,0 @@
|
|||
Avoid masking original TypeError in call with * unpacking when other
|
||||
arguments are passed.
|
|
@ -1,2 +0,0 @@
|
|||
Fix potential crash during GC caused by ``tp_dealloc`` which doesn't call
|
||||
``PyObject_GC_UnTrack()``.
|
|
@ -1 +0,0 @@
|
|||
Fix a race condition in importlib _get_module_lock().
|
|
@ -1,2 +0,0 @@
|
|||
``print`` now shows correct usage hint for using Python 2 redirection
|
||||
syntax. Patch by Sanyam Khurana.
|
|
@ -1,2 +0,0 @@
|
|||
Fix a crash in some methods of `io.TextIOWrapper`, when the decoder's state
|
||||
is invalid. Patch by Oren Milman.
|
|
@ -1,2 +0,0 @@
|
|||
Fix an assertion failure in the write() method of `io.TextIOWrapper`, when
|
||||
the encoder doesn't return a bytes object. Patch by Oren Milman.
|
|
@ -1,3 +0,0 @@
|
|||
Fix an assertion failure in `zipimport.zipimporter.get_data` on Windows,
|
||||
when the return value of ``pathname.replace('/','\\')`` isn't a string.
|
||||
Patch by Oren Milman.
|
|
@ -1,2 +0,0 @@
|
|||
Include sys/sysmacros.h for major(), minor(), and makedev(). GNU C libray
|
||||
plans to remove the functions from sys/types.h.
|
|
@ -1,3 +0,0 @@
|
|||
Location information (``lineno`` and ``col_offset``) in f-strings is now
|
||||
(mostly) correct. This fixes tools like flake8 from showing warnings on the
|
||||
wrong line (typically the first line of the file).
|
|
@ -1,2 +0,0 @@
|
|||
Fix several possible instances of undefined behavior due to floating-point
|
||||
demotions.
|
|
@ -1,2 +0,0 @@
|
|||
Raise a TypeError instead of SystemError in case warnings.onceregistry is
|
||||
not a dictionary. Patch by Oren Milman.
|
|
@ -1,2 +0,0 @@
|
|||
Fix assertion failures in case of a bad warnings.filters or
|
||||
warnings.defaultaction. Patch by Oren Milman.
|
|
@ -1,2 +0,0 @@
|
|||
Fix an assertion failure in `PyErr_WriteUnraisable()` in case of an
|
||||
exception with a bad ``__module__`` attribute. Patch by Oren Milman.
|
|
@ -1,2 +0,0 @@
|
|||
Fix an assertion failure in `subprocess.Popen()` on Windows, in case the env
|
||||
argument has a bad keys() method. Patch by Oren Milman.
|
|
@ -1 +0,0 @@
|
|||
Clarify doc on truth value testing. Original patch by Peter Thomassen.
|
|
@ -1 +0,0 @@
|
|||
Add RFC 7525 and Mozilla server side TLS links to SSL documentation.
|
|
@ -1,2 +0,0 @@
|
|||
Fix incomplete code snippet in the ZeroMQSocketListener and
|
||||
ZeroMQSocketHandler examples and adapt them to Python 3.
|
|
@ -1,3 +0,0 @@
|
|||
IDLE: Verify user-entered key sequences by trying to bind them with tk. Add
|
||||
tests for all 3 validation functions. Original patch by G Polo. Tests added
|
||||
by Cheryl Sabella.
|
|
@ -1,4 +0,0 @@
|
|||
Review and change idlelib.configdialog names.
|
||||
Lowercase method and attribute names.
|
||||
Replace 'colour' with 'color', expand overly cryptic names, delete unneeded underscores.
|
||||
Replace ``import *`` with specific imports. Patches by Cheryl Sabella.
|
|
@ -1,3 +0,0 @@
|
|||
IDLE no longer deletes a character after commenting out a region by a key
|
||||
shortcut. Add ``return 'break'`` for this and other potential conflicts
|
||||
between IDLE and default key bindings.
|
|
@ -1,2 +0,0 @@
|
|||
IDLE's basic custom key entry dialog now detects duplicates properly.
|
||||
Original patch by Saimadhav Heblikar.
|
|
@ -1 +0,0 @@
|
|||
IDLE: add docstrings to grep module. Patch by Cheryl Sabella
|
|
@ -1,5 +0,0 @@
|
|||
IDLE: Make several improvements to parenmatch. Add 'parens' style to
|
||||
highlight both opener and closer. Make 'default' style, which is not
|
||||
default, a synonym for 'opener'. Make time-delay work the same with all
|
||||
styles. Add help for config dialog extensions tab, including help for
|
||||
parenmatch. Add new tests. Original patch by Charles Wohlganger.
|
|
@ -1,2 +0,0 @@
|
|||
IDLE: Improve textview with docstrings, PEP8 names, and more tests. Patch by
|
||||
Cheryl Sabella.
|
|
@ -1,2 +0,0 @@
|
|||
IDLE: configdialog - Add docstrings and fix comments. Patch by Cheryl
|
||||
Sabella.
|
|
@ -1,8 +0,0 @@
|
|||
IDLE: Factor ConfigChanges class from configdialog, put in config; test. *
|
||||
In config, put dump test code in a function; run it and unittest in 'if
|
||||
__name__ == '__main__'. * Add class config.ConfigChanges based on
|
||||
changes_class_v4.py on bpo issue. * Add class test_config.ChangesTest,
|
||||
partly using configdialog_tests_v1.py. * Revise configdialog to use
|
||||
ConfigChanges; see tracker msg297804. * Revise test_configdialog to match
|
||||
configdialog changes. * Remove configdialog functions unused or moved to
|
||||
ConfigChanges. Cheryl Sabella contributed parts of the patch.
|
|
@ -1 +0,0 @@
|
|||
IDLE: call config.IdleConf.GetUserCfgDir only once.
|
|
@ -1,2 +0,0 @@
|
|||
IDLE: In Settings dialog, select font with Up, Down keys as well as mouse.
|
||||
Initial patch by Louie Lu.
|
|
@ -1,2 +0,0 @@
|
|||
IDLE: Remove unused variables in configdialog. One is a duplicate, one is
|
||||
set but cannot be altered by users. Patch by Cheryl Sabella.
|
|
@ -1 +0,0 @@
|
|||
IDLE: Add docstrings to browser.py. Patch by Cheryl Sabella.
|
|
@ -1 +0,0 @@
|
|||
IDLE: Add tests for ConfigParser subclasses in config. Patch by Louie Lu.
|
|
@ -1,3 +0,0 @@
|
|||
IDLE: Document ConfigDialog tk Vars, methods, and widgets in docstrings This
|
||||
will facilitate improving the dialog and splitting up the class. Original
|
||||
patch by Cheryl Sabella.
|
|
@ -1,7 +0,0 @@
|
|||
Document coverage details for idlelib tests.
|
||||
|
||||
* Add section to idlelib/idle-test/README.txt.
|
||||
|
||||
* Include check that branches are taken both ways.
|
||||
|
||||
* Exclude IDLE-specific code that does not run during unit tests.
|
|
@ -1,3 +0,0 @@
|
|||
Add tests for idlelib.config.IdleConf.
|
||||
Increase coverage from 46% to 96%.
|
||||
Patch by Louie Lu.
|
|
@ -1 +0,0 @@
|
|||
IDLE: replace 'colour' with 'color' in configdialog.
|
|
@ -1 +0,0 @@
|
|||
IDLE -- Add more configdialog font page tests.
|
|
@ -1,5 +0,0 @@
|
|||
IDLE - Improve configdialog font page and tests.
|
||||
|
||||
In configdialog: Document causal pathways in create_font_tab docstring. Simplify some attribute names. Move set_samples calls to var_changed_font (idea from Cheryl Sabella). Move related functions to positions after the create widgets function.
|
||||
|
||||
In test_configdialog: Fix test_font_set so not order dependent. Fix renamed test_indent_scale so it tests the widget. Adjust tests for movement of set_samples call. Add tests for load functions. Put all font tests in one class and tab indent tests in another. Except for two lines, these tests completely cover the related functions.
|
|
@ -1 +0,0 @@
|
|||
IDLE: Add more tests for General tab.
|
|
@ -1,5 +0,0 @@
|
|||
IDLE -- Factor a VarTrace class out of ConfigDialog.
|
||||
|
||||
Instance tracers manages pairs consisting of a tk variable and a
|
||||
callback function. When tracing is turned on, setting the variable
|
||||
calls the function. Test coverage for the new class is 100%.
|
|
@ -1,3 +0,0 @@
|
|||
IDLE - Finish rearranging methods of ConfigDialog Grouping methods
|
||||
pertaining to each tab and the buttons will aid writing tests and improving
|
||||
the tabs and will enable splitting the groups into classes.
|
|
@ -1,2 +0,0 @@
|
|||
IDLE - Use ttk widgets in ConfigDialog.
|
||||
Patches by Terry Jan Reedy and Cheryl Sabella.
|
|
@ -1,4 +0,0 @@
|
|||
IDLE - Factor FontPage(Frame) class from ConfigDialog.
|
||||
|
||||
Slightly modified tests continue to pass. Fix General tests. Patch mostly by
|
||||
Cheryl Sabella.
|
|
@ -1,2 +0,0 @@
|
|||
Factor GenPage(Frame) class from ConfigDialog. The slightly modified tests
|
||||
continue to pass. Patch by Cheryl Sabella.
|
|
@ -1,3 +0,0 @@
|
|||
IDLE - Add an outline of a TabPage class in configdialog.
|
||||
Update existing classes to match outline.
|
||||
Initial patch by Cheryl Sabella.
|
|
@ -1,3 +0,0 @@
|
|||
IDLE: Calltips use `inspect.signature` instead of `inspect.getfullargspec`.
|
||||
This improves calltips for builtins converted to use Argument Clinic.
|
||||
Patch by Louie Lu.
|
|
@ -1 +0,0 @@
|
|||
Add tests for configdialog keys tab. Patch by Cheryl Sabella.
|
|
@ -1 +0,0 @@
|
|||
IDLE -- stop leaks in test_configdialog. Initial patch by Victor Stinner.
|
|
@ -1,2 +0,0 @@
|
|||
IDLE: Factor KeysPage(Frame) class from ConfigDialog. The slightly
|
||||
modified tests continue to pass. Patch by Cheryl Sabella.
|
|
@ -1 +0,0 @@
|
|||
Add tests for configdialog highlight tab. Patch by Cheryl Sabella.
|
|
@ -1,2 +0,0 @@
|
|||
IDLE: Factor HighPage(Frame) class from ConfigDialog. Patch by Cheryl
|
||||
Sabella.
|
|
@ -1,20 +0,0 @@
|
|||
Convert IDLE's built-in 'extensions' to regular features.
|
||||
|
||||
About 10 IDLE features were implemented as supposedly optional
|
||||
extensions. Their different behavior could be confusing or worse for
|
||||
users and not good for maintenance. Hence the conversion.
|
||||
|
||||
The main difference for users is that user configurable key bindings
|
||||
for builtin features are now handled uniformly. Now, editing a binding
|
||||
in a keyset only affects its value in the keyset. All bindings are
|
||||
defined together in the system-specific default keysets in config-
|
||||
extensions.def. All custom keysets are saved as a whole in config-
|
||||
extension.cfg. All take effect as soon as one clicks Apply or Ok.
|
||||
|
||||
The affected events are '<<force-open-completions>>', '<<expand-word>>',
|
||||
'<<force-open-calltip>>', '<<flash-paren>>', '<<format-paragraph>>',
|
||||
'<<run-module>>', '<<check-module>>', and '<<zoom-height>>'. Any
|
||||
(global) customizations made before 3.6.3 will not affect their keyset-
|
||||
specific customization after 3.6.3. and vice versa.
|
||||
|
||||
Inital patch by Charles Wohlganger.
|
|
@ -1 +0,0 @@
|
|||
IDLE - Do not modify tkinter.message in test_configdialog.
|
|
@ -1,4 +0,0 @@
|
|||
IDLE - Add docstrings and tests for outwin subclass of editor.
|
||||
|
||||
Move some data and functions from the class to module level. Patch by Cheryl
|
||||
Sabella.
|
|
@ -1 +0,0 @@
|
|||
Rearrange IDLE condigdialog GenPage into Window, Editor, and Help sections.
|
|
@ -1,2 +0,0 @@
|
|||
IDLE -- fix tk entry box tests by deleting first. Adding to an int entry is
|
||||
not the same as deleting and inserting because int('') will fail.
|
|
@ -1,4 +0,0 @@
|
|||
Document how IDLE runs tkinter programs. IDLE calls tcl/tk update in the
|
||||
background in order to make live
|
||||
|
||||
interaction and experimentatin with tkinter applications much easier.
|
|
@ -1 +0,0 @@
|
|||
IDLE - make tests pass with zzdummy extension disabled by default.
|
|
@ -1,2 +0,0 @@
|
|||
IDLE - Improve rstrip entry in doc. Strip trailing whitespace strips more
|
||||
than blank spaces. Multiline string literals are not skipped.
|
|
@ -1,4 +0,0 @@
|
|||
IDLE - Update non-key options in former extension classes. When applying
|
||||
configdialog changes, call .reload for each feature class. Change ParenMatch
|
||||
so updated options affect existing instances attached to existing editor
|
||||
windows.
|
|
@ -1,3 +0,0 @@
|
|||
IDLE code context -- fix code update and font update timers.
|
||||
|
||||
Canceling timers prevents a warning message when test_idle completes.
|
|
@ -1,2 +0,0 @@
|
|||
Fixed the lgettext() family of functions in the gettext module. They now
|
||||
always return bytes.
|
|
@ -1,2 +0,0 @@
|
|||
Prohibited the '=' character in environment variable names in
|
||||
``os.putenv()`` and ``os.spawn*()``.
|
|
@ -1,2 +0,0 @@
|
|||
os.listdir() and os.scandir() now emit bytes names when called with bytes-
|
||||
like argument.
|
|
@ -1 +0,0 @@
|
|||
Fix email header value parser dropping folding white space in certain cases.
|
|
@ -1 +0,0 @@
|
|||
Fix bug when modifying os.environ while iterating over it
|
|
@ -1,6 +0,0 @@
|
|||
signal.setitimer() may disable the timer when passed a tiny value.
|
||||
|
||||
Tiny values (such as 1e-6) are valid non-zero values for setitimer(), which
|
||||
is specified as taking microsecond-resolution intervals. However, on some
|
||||
platform, our conversion routine could convert 1e-6 into a zero interval,
|
||||
therefore disabling the timer instead of (re-)scheduling it.
|
|
@ -1 +0,0 @@
|
|||
Fix out of bounds write in `asyncio.CFuture.remove_done_callback()`.
|
|
@ -1 +0,0 @@
|
|||
socket.close() now ignores ECONNRESET error.
|
|
@ -1,2 +0,0 @@
|
|||
Fix segfault in readline when using readline's history-size option. Patch
|
||||
by Nir Soffer.
|
|
@ -1,3 +0,0 @@
|
|||
Fix multiprocessing.Queue.join_thread(): it now waits until the thread
|
||||
completes, even if the thread was started by the same process which created
|
||||
the queue.
|
|
@ -1,2 +0,0 @@
|
|||
Change ``ttk.OptionMenu`` radiobuttons to be unique across instances of
|
||||
``OptionMenu``.
|
|
@ -1 +0,0 @@
|
|||
Fix decrementing a borrowed reference in tracemalloc.
|
|
@ -1,2 +0,0 @@
|
|||
Fix ``unittest.mock``'s autospec to not fail on method-bound builtin
|
||||
functions. Patch by Aaron Gallagher.
|
|
@ -1,3 +0,0 @@
|
|||
multiprocessing.Queue.get() with a timeout now polls its reader in non-
|
||||
blocking mode if it succeeded to aquire the lock but the acquire took longer
|
||||
than the timeout.
|
|
@ -1,2 +0,0 @@
|
|||
ftplib.FTP.putline() now throws ValueError on commands that contains CR or
|
||||
LF. Patch by Dong-hee Na.
|
|
@ -1 +0,0 @@
|
|||
Fix handling of long oids in ssl. Based on patch by Christian Heimes.
|
|
@ -1 +0,0 @@
|
|||
Fixed a crash when using asyncio and threads.
|
|
@ -1,2 +0,0 @@
|
|||
Fix `copyreg._slotnames()` mangled attribute calculation for classes whose
|
||||
name begins with an underscore. Patch by Shane Harvey.
|
|
@ -1,4 +0,0 @@
|
|||
ttk: fix the destroy() method of LabeledScale and OptionMenu classes.
|
||||
Call the parent destroy() method even if the used attribute doesn't
|
||||
exist. The LabeledScale.destroy() method now also explicitly clears label and
|
||||
scale attributes to help the garbage collector to destroy all widgets.
|
|
@ -1 +0,0 @@
|
|||
Fixed miscellaneous errors in asyncio speedup module.
|
|
@ -1,4 +0,0 @@
|
|||
The ssl and hashlib modules now call OPENSSL_add_all_algorithms_noconf() on
|
||||
OpenSSL < 1.1.0. The function detects CPU features and enables optimizations
|
||||
on some CPU architectures such as POWER8. Patch is based on research from
|
||||
Gustavo Serra Scalet.
|
|
@ -1,2 +0,0 @@
|
|||
xmlrpc.server now explicitly breaks reference cycles when using
|
||||
sys.exc_info() in code handling exceptions.
|
|
@ -1,2 +0,0 @@
|
|||
concurrent.futures: WorkItem.run() used by ThreadPoolExecutor now breaks a
|
||||
reference cycle between an exception object and the WorkItem object.
|
|
@ -1,2 +0,0 @@
|
|||
The subprocess module now sets the filename when FileNotFoundError
|
||||
is raised on POSIX systems due to the executable or cwd not being found.
|
|
@ -1 +0,0 @@
|
|||
Fix ctypes producing wrong PEP 3118 type codes for integer types.
|
|
@ -1,2 +0,0 @@
|
|||
The ``map()`` and ``as_completed()`` iterators in ``concurrent.futures``
|
||||
now avoid keeping a reference to yielded objects.
|
|
@ -1,3 +0,0 @@
|
|||
Fix a segmentation fault in _hashopenssl when standard hash functions
|
||||
such as md5 are not available in the linked OpenSSL library. As in
|
||||
some special FIPS-140 build environments.
|
|
@ -1,3 +0,0 @@
|
|||
Fix concurrent.futures.thread.ThreadPoolExecutor threads to have a non repr()
|
||||
based thread name by default when no thread_name_prefix is supplied. They will
|
||||
now identify themselves as "ThreadPoolExecutor-y_n".
|
|
@ -1 +0,0 @@
|
|||
Add TLS 1.3 cipher suites and OP_NO_TLSv1_3.
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue