diff options
-rw-r--r-- | Doc/library/development.rst | 1 | ||||
-rw-r--r-- | Doc/library/functions.rst | 2 | ||||
-rw-r--r-- | Doc/whatsnew/3.5.rst | 2 | ||||
-rw-r--r-- | Include/moduleobject.h | 2 | ||||
-rw-r--r-- | Lib/idlelib/NEWS.txt | 18 | ||||
-rw-r--r-- | Misc/NEWS | 6 | ||||
-rw-r--r-- | PC/python3.def | 2 | ||||
-rw-r--r-- | Python/dynload_dl.c | 2 | ||||
-rw-r--r-- | Python/dynload_hpux.c | 4 | ||||
-rw-r--r-- | Python/dynload_next.c | 2 |
10 files changed, 30 insertions, 11 deletions
diff --git a/Doc/library/development.rst b/Doc/library/development.rst index 06e7048..d2b5fa2 100644 --- a/Doc/library/development.rst +++ b/Doc/library/development.rst @@ -16,6 +16,7 @@ The list of modules described in this chapter is: .. toctree:: + typing.rst pydoc.rst doctest.rst unittest.rst diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 7bee859..409f6c4 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -249,7 +249,7 @@ are always available. They are listed here in alphabetical order. .. class:: complex([real[, imag]]) - Return a complex number with the value *real* + *imag*\*j or convert a string + Return a complex number with the value *real* + *imag*\*1j or convert a string or number to a complex number. If the first parameter is a string, it will be interpreted as a complex number and the function must be called without a second parameter. The second parameter can never be a string. Each argument diff --git a/Doc/whatsnew/3.5.rst b/Doc/whatsnew/3.5.rst index 75bc7fb..c46ed9b 100644 --- a/Doc/whatsnew/3.5.rst +++ b/Doc/whatsnew/3.5.rst @@ -684,7 +684,7 @@ tkinter ------- * The :mod:`tkinter._fix` module used for setting up the Tcl/Tk environment - on Windows has been replaced by a private function in the :module:`_tkinter` + on Windows has been replaced by a private function in the :mod:`_tkinter` module which makes no permanent changes to environment variables. (Contributed by Zachary Ware in :issue:`20035`.) diff --git a/Include/moduleobject.h b/Include/moduleobject.h index e68d144..dbbf581 100644 --- a/Include/moduleobject.h +++ b/Include/moduleobject.h @@ -31,7 +31,7 @@ PyAPI_FUNC(struct PyModuleDef*) PyModule_GetDef(PyObject*); PyAPI_FUNC(void*) PyModule_GetState(PyObject*); PyAPI_FUNC(PyObject *) PyModuleDef_Init(struct PyModuleDef*); -PyTypeObject PyModuleDef_Type; +PyAPI_DATA(PyTypeObject) PyModuleDef_Type; typedef struct PyModuleDef_Base { PyObject_HEAD diff --git a/Lib/idlelib/NEWS.txt b/Lib/idlelib/NEWS.txt index 828142c..2d8ce54 100644 --- a/Lib/idlelib/NEWS.txt +++ b/Lib/idlelib/NEWS.txt @@ -1,5 +1,14 @@ What's New in IDLE 3.5.0? ========================= +*Release date: 2015-09-13* ?? + +- Issue #23184: remove unused names and imports in idlelib. + Initial patch by Al Sweigart. + +- Issue #20577: Configuration of the max line length for the FormatParagraph + extension has been moved from the General tab of the Idle preferences dialog + to the FormatParagraph tab of the Config Extensions dialog. + Patch by Tal Einat. - Issue #16893: Update Idle doc chapter to match current Idle and add new information. @@ -20,6 +29,9 @@ What's New in IDLE 3.5.0? - Issue #21986: Code objects are not normally pickled by the pickle module. To match this, they are no longer pickled when running under Idle. + +- Issue #23180: Rename IDLE "Windows" menu item to "Window". + Patch by Al Sweigart. - Issue #17390: Adjust Editor window title; remove 'Python', move version to end. @@ -72,6 +84,7 @@ What's New in IDLE 3.5.0? What's New in IDLE 3.4.0? ========================= +*Release date: 2014-03-16* - Issue #17390: Display Python version on Idle title bar. Initial patch by Edmond Burnett. @@ -89,6 +102,7 @@ What's New in IDLE 3.4.0? What's New in IDLE 3.3.0? ========================= +*Release date: 2012-09-29* - Issue #17625: Close the replace dialog after it is used. @@ -131,7 +145,6 @@ What's New in IDLE 3.3.0? What's New in IDLE 3.2.1? ========================= - *Release date: 15-May-11* - Issue #6378: Further adjust idle.bat to start associated Python @@ -149,7 +162,6 @@ What's New in IDLE 3.2.1? What's New in IDLE 3.1b1? ========================= - *Release date: 06-May-09* - Use of 'filter' in keybindingDialog.py was causing custom key assignment to @@ -158,7 +170,6 @@ What's New in IDLE 3.1b1? What's New in IDLE 3.1a1? ========================= - *Release date: 07-Mar-09* - Issue #4815: Offer conversion to UTF-8 if source files have @@ -176,7 +187,6 @@ What's New in IDLE 3.1a1? What's New in IDLE 2.7? (UNRELEASED, but merged into 3.1 releases above.) ======================= - *Release date: XX-XXX-2010* - idle.py modified and simplified to better support developing experimental @@ -227,6 +227,12 @@ Library - Issue #23898: Fix inspect.classify_class_attrs() to support attributes with overloaded __eq__ and __bool__. Patch by Mike Bayer. +IDLE +---- + +- Issue #23184: remove unused names and imports in idlelib. + Initial patch by Al Sweigart. + Tests ----- diff --git a/PC/python3.def b/PC/python3.def index 45fda38..f016aab 100644 --- a/PC/python3.def +++ b/PC/python3.def @@ -330,6 +330,8 @@ EXPORTS PyModule_GetState=python35.PyModule_GetState PyModule_New=python35.PyModule_New PyModule_Type=python35.PyModule_Type DATA + PyModuleDef_Init=python35.PyModuleDef_Init + PyModuleDef_Type=python35.PyModuleDef_Type DATA PyNullImporter_Type=python35.PyNullImporter_Type DATA PyNumber_Absolute=python35.PyNumber_Absolute PyNumber_Add=python35.PyNumber_Add diff --git a/Python/dynload_dl.c b/Python/dynload_dl.c index d235a84..2bec645 100644 --- a/Python/dynload_dl.c +++ b/Python/dynload_dl.c @@ -18,6 +18,6 @@ dl_funcptr _PyImport_FindSharedFuncptr(const char *prefix, { char funcname[258]; - PyOS_snprintf(funcname, sizeof(funcname), "%20s_%.200s", prefix, shortname); + PyOS_snprintf(funcname, sizeof(funcname), "%.20s_%.200s", prefix, shortname); return dl_loadmod(Py_GetProgramName(), pathname, funcname); } diff --git a/Python/dynload_hpux.c b/Python/dynload_hpux.c index e28ae7c..4967afc 100644 --- a/Python/dynload_hpux.c +++ b/Python/dynload_hpux.c @@ -8,9 +8,9 @@ #include "importdl.h" #if defined(__hp9000s300) -#define FUNCNAME_PATTERN "_%20s_%.200s" +#define FUNCNAME_PATTERN "_%.20s_%.200s" #else -#define FUNCNAME_PATTERN "%20s_%.200s" +#define FUNCNAME_PATTERN "%.20s_%.200s" #endif const char *_PyImport_DynLoadFiletab[] = {SHLIB_EXT, NULL}; diff --git a/Python/dynload_next.c b/Python/dynload_next.c index c555b38..83a8b2bb 100644 --- a/Python/dynload_next.c +++ b/Python/dynload_next.c @@ -40,7 +40,7 @@ dl_funcptr _PyImport_FindSharedFuncptr(const char *prefix, const char *errString; char errBuf[512]; - PyOS_snprintf(funcname, sizeof(funcname), "_%20s_%.200s", prefix, shortname); + PyOS_snprintf(funcname, sizeof(funcname), "_%.20s_%.200s", prefix, shortname); #ifdef USE_DYLD_GLOBAL_NAMESPACE if (NSIsSymbolNameDefined(funcname)) { |