Python 3.7.1rc1

-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEDZbfTUEQ5cQ/v7F/LTR+pqplQh0FAlurJFsACgkQLTR+pqpl
 Qh19yhAAj9KbX8ESrnmCiLSWQOtNm0PnxuQNPPas0v4dN/5ntLJPdSCait4MZrQJ
 eZ1gpZd5ewuxH/Xsmyxs5zEAvSE0++w82TOsugsWMR3vCMsVnT9sU5iVL4fnRxge
 vOsgh/gWtaVOBQ+HJ2bjzM7LNbJc0NXtaRGswNwLRqW+dMN8oaJsrVo8IUROxJbt
 1CfJm2bg4BGPhpNjPNbiFgvoJp2YySRSHGDG7VSvfrP8AvUGykWkf4XYQfyG1Vq+
 rdUFM96gsjTDAYfDOTku8rpC3NF1clWiChfSJYIyEWginkirlNOXbOivjRnMIxd8
 wkVXFsSYBalUAGu83YP6JUUBG7IGaQlUQ8MbZa4GY76GlWTsOwD6jU+IVMjUODTO
 pXItEOe0CbmZBC4hCOZaDMlUUZ2KyAxkW53C9kOnVj1VoH5Nt2JRNi9cObpfzHm+
 tGT5PdybsyJ21mBSM2rISDcRNZre+8Nfa9IGE05P7yBqD/Y47xIP0leUbvGJxflB
 V0PlV5EHfhlD64BHTFccrX8GGk0XzxZh/HY3gOV5pVe51ea884ZSE+Tnlsuzvs+P
 23GYsPRCYJjcz4a3IAQV34oflCJhC7ra/ButAiAoW8zwXrH1HWi7mS0uD4CDURV4
 FP6ZSgNY/eEMmPLyExRuDc7dY8GgyYJK/TyHgWjI2guFx9OR8iM=
 =qgQm
 -----END PGP SIGNATURE-----

Merge tag 'v3.7.1rc1' into 3.7
This commit is contained in:
Ned Deily 2018-09-26 20:04:22 -04:00
commit dd7cf4564b
161 changed files with 1753 additions and 439 deletions

View File

@ -18,12 +18,12 @@
/*--start constants--*/
#define PY_MAJOR_VERSION 3
#define PY_MINOR_VERSION 7
#define PY_MICRO_VERSION 0
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_FINAL
#define PY_RELEASE_SERIAL 0
#define PY_MICRO_VERSION 1
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_GAMMA
#define PY_RELEASE_SERIAL 1
/* Version as a string */
#define PY_VERSION "3.7.0+"
#define PY_VERSION "3.7.1rc1"
/*--end constants--*/
/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.

View File

@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Autogenerated by Sphinx on Tue Jun 12 00:39:48 2018
# Autogenerated by Sphinx on Wed Sep 26 02:03:50 2018
topics = {'assert': 'The "assert" statement\n'
'**********************\n'
'\n'
@ -413,7 +413,8 @@ topics = {'assert': 'The "assert" statement\n'
'=============================\n'
'\n'
' async_funcdef ::= [decorators] "async" "def" funcname "(" '
'[parameter_list] ")" ["->" expression] ":" suite\n'
'[parameter_list] ")"\n'
' ["->" expression] ":" suite\n'
'\n'
'Execution of Python coroutines can be suspended and resumed at '
'many\n'
@ -1158,7 +1159,7 @@ topics = {'assert': 'The "assert" statement\n'
'operators:\n'
'\n'
' m_expr ::= u_expr | m_expr "*" u_expr | m_expr "@" m_expr |\n'
' m_expr "//" u_expr| m_expr "/" u_expr |\n'
' m_expr "//" u_expr | m_expr "/" u_expr |\n'
' m_expr "%" u_expr\n'
' a_expr ::= m_expr | a_expr "+" m_expr | a_expr "-" m_expr\n'
'\n'
@ -1678,7 +1679,7 @@ topics = {'assert': 'The "assert" statement\n'
'the\n'
'interpretation that is conventional in mathematics:\n'
'\n'
' comparison ::= or_expr ( comp_operator or_expr )*\n'
' comparison ::= or_expr (comp_operator or_expr)*\n'
' comp_operator ::= "<" | ">" | "==" | ">=" | "<=" | "!="\n'
' | "is" ["not"] | ["not"] "in"\n'
'\n'
@ -1789,16 +1790,15 @@ topics = {'assert': 'The "assert" statement\n'
'precision.\n'
'\n'
' The not-a-number values "float(\'NaN\')" and '
'"Decimal(\'NaN\')" are\n'
' special. They are identical to themselves ("x is x" is '
'true) but\n'
' are not equal to themselves ("x == x" is false). '
'Additionally,\n'
' comparing any number to a not-a-number value will return '
'"False".\n'
' For example, both "3 < float(\'NaN\')" and "float(\'NaN\') '
'< 3" will\n'
' return "False".\n'
'"decimal.Decimal(\'NaN\')"\n'
' are special. Any ordered comparison of a number to a '
'not-a-number\n'
' value is false. A counter-intuitive implication is that '
'not-a-number\n'
' values are not equal to themselves. For example, if "x =\n'
' float(\'NaN\')", "3 < x", "x < 3", "x == x", "x != x" are '
'all false.\n'
' This behavior is compliant with IEEE 754.\n'
'\n'
'* Binary sequences (instances of "bytes" or "bytearray") can '
'be\n'
@ -2129,7 +2129,7 @@ topics = {'assert': 'The "assert" statement\n'
'The "if" statement is used for conditional execution:\n'
'\n'
' if_stmt ::= "if" expression ":" suite\n'
' ( "elif" expression ":" suite )*\n'
' ("elif" expression ":" suite)*\n'
' ["else" ":" suite]\n'
'\n'
'It selects exactly one of the suites by evaluating the '
@ -2238,7 +2238,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'Note: There is a subtlety when the sequence is being modified by '
'the\n'
' loop (this can only occur for mutable sequences, i.e. lists). '
' loop (this can only occur for mutable sequences, e.g. lists). '
'An\n'
' internal counter is used to keep track of which item is used '
'next,\n'
@ -2534,7 +2534,8 @@ topics = {'assert': 'The "assert" statement\n'
'section The standard type hierarchy):\n'
'\n'
' funcdef ::= [decorators] "def" funcname "(" '
'[parameter_list] ")" ["->" expression] ":" suite\n'
'[parameter_list] ")"\n'
' ["->" expression] ":" suite\n'
' decorators ::= decorator+\n'
' decorator ::= "@" dotted_name ["(" '
'[argument_list [","]] ")"] NEWLINE\n'
@ -2819,7 +2820,8 @@ topics = {'assert': 'The "assert" statement\n'
'-----------------------------\n'
'\n'
' async_funcdef ::= [decorators] "async" "def" funcname "(" '
'[parameter_list] ")" ["->" expression] ":" suite\n'
'[parameter_list] ")"\n'
' ["->" expression] ":" suite\n'
'\n'
'Execution of Python coroutines can be suspended and resumed at '
'many\n'
@ -3925,7 +3927,7 @@ topics = {'assert': 'The "assert" statement\n'
'"continue",\n'
' "step", "next", "return", "jump", "quit" and their '
'abbreviations)\n'
' terminates the command "list" (as if that command was '
' terminates the command list (as if that command was '
'immediately\n'
' followed by end). This is because any time you resume '
'execution\n'
@ -4269,7 +4271,7 @@ topics = {'assert': 'The "assert" statement\n'
'The "if" statement is used for conditional execution:\n'
'\n'
' if_stmt ::= "if" expression ":" suite\n'
' ( "elif" expression ":" suite )*\n'
' ("elif" expression ":" suite)*\n'
' ["else" ":" suite]\n'
'\n'
'It selects exactly one of the suites by evaluating the expressions '
@ -4680,10 +4682,10 @@ topics = {'assert': 'The "assert" statement\n'
'exprlists': 'Expression lists\n'
'****************\n'
'\n'
' expression_list ::= expression ( "," expression )* [","]\n'
' starred_list ::= starred_item ( "," starred_item )* '
' expression_list ::= expression ("," expression)* [","]\n'
' starred_list ::= starred_item ("," starred_item)* '
'[","]\n'
' starred_expression ::= expression | ( starred_item "," )* '
' starred_expression ::= expression | (starred_item ",")* '
'[starred_item]\n'
' starred_item ::= expression | "*" or_expr\n'
'\n'
@ -4797,7 +4799,7 @@ topics = {'assert': 'The "assert" statement\n'
':= a to b do"; e.g., "list(range(3))" returns the list "[0, 1, 2]".\n'
'\n'
'Note: There is a subtlety when the sequence is being modified by the\n'
' loop (this can only occur for mutable sequences, i.e. lists). An\n'
' loop (this can only occur for mutable sequences, e.g. lists). An\n'
' internal counter is used to keep track of which item is used next,\n'
' and this is incremented on each iteration. When this counter has\n'
' reached the length of the sequence the loop terminates. This '
@ -4895,7 +4897,13 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'Changed in version 3.1: The positional argument specifiers '
'can be\n'
'omitted, so "\'{} {}\'" is equivalent to "\'{0} {1}\'".\n'
'omitted for "str.format()", so "\'{} {}\'.format(a, b)" is '
'equivalent to\n'
'"\'{0} {1}\'.format(a, b)".\n'
'\n'
'Changed in version 3.4: The positional argument specifiers '
'can be\n'
'omitted for "Formatter".\n'
'\n'
'Some simple format string examples:\n'
'\n'
@ -5282,16 +5290,16 @@ topics = {'assert': 'The "assert" statement\n'
'character. |\n'
' '
'+-----------+------------------------------------------------------------+\n'
' | "\'f\'" | Fixed point. Displays the number as a '
'fixed-point number. |\n'
' | | The default precision is '
'"6". |\n'
' | "\'f\'" | Fixed-point notation. Displays the '
'number as a fixed-point |\n'
' | | number. The default precision is '
'"6". |\n'
' '
'+-----------+------------------------------------------------------------+\n'
' | "\'F\'" | Fixed point. Same as "\'f\'", but '
'converts "nan" to "NAN" |\n'
' | | and "inf" to '
'"INF". |\n'
' | "\'F\'" | Fixed-point notation. Same as "\'f\'", '
'but converts "nan" to |\n'
' | | "NAN" and "inf" to '
'"INF". |\n'
' '
'+-----------+------------------------------------------------------------+\n'
' | "\'g\'" | General format. For a given precision '
@ -5518,8 +5526,7 @@ topics = {'assert': 'The "assert" statement\n'
' 3232235521\n'
' >>>\n'
' >>> width = 5\n'
' >>> for num in range(5,12): #doctest: '
'+NORMALIZE_WHITESPACE\n'
' >>> for num in range(5,12): \n'
" ... for base in 'dXob':\n"
" ... print('{0:{width}{base}}'.format(num, "
"base=base, width=width), end=' ')\n"
@ -5540,7 +5547,8 @@ topics = {'assert': 'The "assert" statement\n'
'section The standard type hierarchy):\n'
'\n'
' funcdef ::= [decorators] "def" funcname "(" '
'[parameter_list] ")" ["->" expression] ":" suite\n'
'[parameter_list] ")"\n'
' ["->" expression] ":" suite\n'
' decorators ::= decorator+\n'
' decorator ::= "@" dotted_name ["(" '
'[argument_list [","]] ")"] NEWLINE\n'
@ -5965,7 +5973,7 @@ topics = {'assert': 'The "assert" statement\n'
'The "if" statement is used for conditional execution:\n'
'\n'
' if_stmt ::= "if" expression ":" suite\n'
' ( "elif" expression ":" suite )*\n'
' ("elif" expression ":" suite)*\n'
' ["else" ":" suite]\n'
'\n'
'It selects exactly one of the suites by evaluating the expressions '
@ -5998,18 +6006,17 @@ topics = {'assert': 'The "assert" statement\n'
'import': 'The "import" statement\n'
'**********************\n'
'\n'
' import_stmt ::= "import" module ["as" name] ( "," module '
'["as" name] )*\n'
' import_stmt ::= "import" module ["as" identifier] ("," '
'module ["as" identifier])*\n'
' | "from" relative_module "import" identifier '
'["as" name]\n'
' ( "," identifier ["as" name] )*\n'
'["as" identifier]\n'
' ("," identifier ["as" identifier])*\n'
' | "from" relative_module "import" "(" '
'identifier ["as" name]\n'
' ( "," identifier ["as" name] )* [","] ")"\n'
'identifier ["as" identifier]\n'
' ("," identifier ["as" identifier])* [","] ")"\n'
' | "from" module "import" "*"\n'
' module ::= (identifier ".")* identifier\n'
' relative_module ::= "."* module | "."+\n'
' name ::= identifier\n'
'\n'
'The basic import statement (no "from" clause) is executed in two\n'
'steps:\n'
@ -6169,14 +6176,13 @@ topics = {'assert': 'The "assert" statement\n'
'allows use of the new features on a per-module basis before the\n'
'release in which the feature becomes standard.\n'
'\n'
' future_statement ::= "from" "__future__" "import" feature ["as" '
'name]\n'
' ("," feature ["as" name])*\n'
' | "from" "__future__" "import" "(" feature '
'["as" name]\n'
' ("," feature ["as" name])* [","] ")"\n'
' feature ::= identifier\n'
' name ::= identifier\n'
' future_stmt ::= "from" "__future__" "import" feature ["as" '
'identifier]\n'
' ("," feature ["as" identifier])*\n'
' | "from" "__future__" "import" "(" feature '
'["as" identifier]\n'
' ("," feature ["as" identifier])* [","] ")"\n'
' feature ::= identifier\n'
'\n'
'A future statement must appear near the top of the module. The '
'only\n'
@ -7146,7 +7152,7 @@ topics = {'assert': 'The "assert" statement\n'
'The\n'
'syntax is:\n'
'\n'
' power ::= ( await_expr | primary ) ["**" u_expr]\n'
' power ::= (await_expr | primary) ["**" u_expr]\n'
'\n'
'Thus, in an unparenthesized sequence of power and unary operators, '
'the\n'
@ -7549,7 +7555,7 @@ topics = {'assert': 'The "assert" statement\n'
'The shifting operations have lower priority than the arithmetic\n'
'operations:\n'
'\n'
' shift_expr ::= a_expr | shift_expr ( "<<" | ">>" ) a_expr\n'
' shift_expr ::= a_expr | shift_expr ("<<" | ">>") a_expr\n'
'\n'
'These operators accept integers as arguments. They shift the '
'first\n'
@ -9815,20 +9821,21 @@ topics = {'assert': 'The "assert" statement\n'
' formatting options that can be specified in format '
'strings.\n'
'\n'
' Note: When formatting a number ("int", "float", "float" '
'and\n'
' subclasses) with the "n" type (ex: '
'"\'{:n}\'.format(1234)"), the\n'
' function sets temporarily the "LC_CTYPE" locale to '
'the\n'
' "LC_NUMERIC" locale to decode "decimal_point" and '
'"thousands_sep"\n'
' fields of "localeconv()" if they are non-ASCII or '
'longer than 1\n'
' byte, and the "LC_NUMERIC" locale is different than '
'the\n'
' "LC_CTYPE" locale. This temporary change affects '
'other threads.\n'
' Note: When formatting a number ("int", "float", '
'"complex",\n'
' "decimal.Decimal" and subclasses) with the "n" type '
'(ex:\n'
' "\'{:n}\'.format(1234)"), the function temporarily '
'sets the\n'
' "LC_CTYPE" locale to the "LC_NUMERIC" locale to '
'decode\n'
' "decimal_point" and "thousands_sep" fields of '
'"localeconv()" if\n'
' they are non-ASCII or longer than 1 byte, and the '
'"LC_NUMERIC"\n'
' locale is different than the "LC_CTYPE" locale. This '
'temporary\n'
' change affects other threads.\n'
'\n'
' Changed in version 3.7: When formatting a number with '
'the "n" type,\n'
@ -10441,7 +10448,7 @@ topics = {'assert': 'The "assert" statement\n'
' Return a copy of the string with all the cased '
'characters [4]\n'
' converted to uppercase. Note that '
'"str.upper().isupper()" might be\n'
'"s.upper().isupper()" might be\n'
' "False" if "s" contains uncased characters or if the '
'Unicode\n'
' category of the resulting character(s) is not “Lu” '
@ -10727,9 +10734,9 @@ topics = {'assert': 'The "assert" statement\n'
'exactly one\n'
'item.)\n'
'\n'
'If the primary is a sequence, the expression (list) must '
'evaluate to\n'
'an integer or a slice (as discussed in the following '
'If the primary is a sequence, the expression list must '
'evaluate to an\n'
'integer or a slice (as discussed in the following '
'section).\n'
'\n'
'The formal syntax makes no special provision for negative '
@ -11853,53 +11860,54 @@ topics = {'assert': 'The "assert" statement\n'
' New in version 3.4.\n'
'\n'
' Traceback objects\n'
' Traceback objects represent a stack trace of an '
'exception. A\n'
' traceback object is implicitly created when an exception\n'
' occurs, and may also be explicitly created by calling\n'
' "types.TracebackType".\n'
' Traceback objects represent a stack trace of an exception. '
'A\n'
' traceback object is implicitly created when an exception '
'occurs,\n'
' and may also be explicitly created by calling\n'
' "types.TracebackType".\n'
'\n'
' For implicitly created tracebacks, when the search for an\n'
' exception handler unwinds the execution stack, at each\n'
' unwound level a traceback object is inserted in front of '
'the\n'
' current traceback. When an exception handler is entered, '
'the\n'
' stack trace is made available to the program. (See '
'section\n'
' The try statement.) It is accessible as the third item of '
'the\n'
' tuple returned by "sys.exc_info()", and as the\n'
' "__traceback__" attribute of the caught exception.\n'
' For implicitly created tracebacks, when the search for an\n'
' exception handler unwinds the execution stack, at each '
'unwound\n'
' level a traceback object is inserted in front of the current\n'
' traceback. When an exception handler is entered, the stack\n'
' trace is made available to the program. (See section The try\n'
' statement.) It is accessible as the third item of the tuple\n'
' returned by "sys.exc_info()", and as the "__traceback__"\n'
' attribute of the caught exception.\n'
'\n'
' When the program contains no suitable handler, the stack\n'
' trace is written (nicely formatted) to the standard error\n'
' stream; if the interpreter is interactive, it is also '
'made\n'
' available to the user as "sys.last_traceback".\n'
' When the program contains no suitable handler, the stack '
'trace\n'
' is written (nicely formatted) to the standard error stream; '
'if\n'
' the interpreter is interactive, it is also made available to '
'the\n'
' user as "sys.last_traceback".\n'
'\n'
' For explicitly created tracebacks, it is up to the creator '
' For explicitly created tracebacks, it is up to the creator '
'of\n'
' the traceback to determine how the "tb_next" attributes\n'
' should be linked to form a full stack trace.\n'
' the traceback to determine how the "tb_next" attributes '
'should\n'
' be linked to form a full stack trace.\n'
'\n'
' Special read-only attributes: "tb_frame" points to the\n'
' execution frame of the current level; "tb_lineno" gives '
'the\n'
' line number where the exception occurred; "tb_lasti"\n'
' indicates the precise instruction. The line number and '
'last\n'
' instruction in the traceback may differ from the line '
' Special read-only attributes: "tb_frame" points to the '
'execution\n'
' frame of the current level; "tb_lineno" gives the line '
'number\n'
' of its frame object if the exception occurred in a "try"\n'
' statement with no matching except clause or with a '
'finally\n'
' clause.\n'
' where the exception occurred; "tb_lasti" indicates the '
'precise\n'
' instruction. The line number and last instruction in the\n'
' traceback may differ from the line number of its frame object '
'if\n'
' the exception occurred in a "try" statement with no matching\n'
' except clause or with a finally clause.\n'
'\n'
' Special writable attribute: "tb_next" is the next level '
'in\n'
' the stack trace (towards the frame where the exception\n'
' occurred), or "None" if there is no next level.\n'
' Special writable attribute: "tb_next" is the next level in '
'the\n'
' stack trace (towards the frame where the exception occurred), '
'or\n'
' "None" if there is no next level.\n'
'\n'
' Changed in version 3.7: Traceback objects can now be '
'explicitly\n'
@ -12185,15 +12193,21 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
' popitem()\n'
'\n'
' Remove and return an arbitrary "(key, value)" pair '
'from the\n'
' dictionary.\n'
' Remove and return a "(key, value)" pair from the '
'dictionary.\n'
' Pairs are returned in LIFO (last-in, first-out) '
'order.\n'
'\n'
' "popitem()" is useful to destructively iterate over a\n'
' dictionary, as often used in set algorithms. If the '
'dictionary\n'
' is empty, calling "popitem()" raises a "KeyError".\n'
'\n'
' Changed in version 3.7: LIFO order is now guaranteed. '
'In prior\n'
' versions, "popitem()" would return an arbitrary '
'key/value pair.\n'
'\n'
' setdefault(key[, default])\n'
'\n'
' If *key* is in the dictionary, return its value. If '
@ -12751,13 +12765,13 @@ topics = {'assert': 'The "assert" statement\n'
'| | "s[len(s):len(s)] = '
'[x]") | |\n'
'+--------------------------------+----------------------------------+-----------------------+\n'
'| "s.clear()" | removes all items from "s" '
'| "s.clear()" | removes all items from *s* '
'(same | (5) |\n'
'| | as "del '
's[:]") | |\n'
'+--------------------------------+----------------------------------+-----------------------+\n'
'| "s.copy()" | creates a shallow copy of '
'"s" | (5) |\n'
'*s* | (5) |\n'
'| | (same as '
'"s[:]") | |\n'
'+--------------------------------+----------------------------------+-----------------------+\n'
@ -13147,7 +13161,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
' * The linspace recipe shows how to implement a lazy version '
'of\n'
' range that suitable for floating point applications.\n',
' range suitable for floating point applications.\n',
'typesseq-mutable': 'Mutable Sequence Types\n'
'**********************\n'
'\n'
@ -13207,12 +13221,12 @@ topics = {'assert': 'The "assert" statement\n'
'[x]") | |\n'
'+--------------------------------+----------------------------------+-----------------------+\n'
'| "s.clear()" | removes all items '
'from "s" (same | (5) |\n'
'from *s* (same | (5) |\n'
'| | as "del '
's[:]") | |\n'
'+--------------------------------+----------------------------------+-----------------------+\n'
'| "s.copy()" | creates a shallow '
'copy of "s" | (5) |\n'
'copy of *s* | (5) |\n'
'| | (same as '
'"s[:]") | |\n'
'+--------------------------------+----------------------------------+-----------------------+\n'

View File

@ -242,29 +242,63 @@ def library_recipes():
"TCL_LIBRARY": shellQuote('/Library/Frameworks/Python.framework/Versions/%s/lib/tcl8.6'%(getVersion())),
},
),
dict(
name="Tk 8.6.8",
url="ftp://ftp.tcl.tk/pub/tcl//tcl8_6/tk8.6.8-src.tar.gz",
checksum='5e0faecba458ee1386078fb228d008ba',
patches=[
"tk868_on_10_8_10_9.patch",
],
buildDir="unix",
configure_pre=[
'--enable-aqua',
'--enable-shared',
'--enable-threads',
'--libdir=/Library/Frameworks/Python.framework/Versions/%s/lib'%(getVersion(),),
],
useLDFlags=False,
install='make TCL_LIBRARY=%(TCL_LIBRARY)s TK_LIBRARY=%(TK_LIBRARY)s && make install TCL_LIBRARY=%(TCL_LIBRARY)s TK_LIBRARY=%(TK_LIBRARY)s DESTDIR=%(DESTDIR)s'%{
"DESTDIR": shellQuote(os.path.join(WORKDIR, 'libraries')),
"TCL_LIBRARY": shellQuote('/Library/Frameworks/Python.framework/Versions/%s/lib/tcl8.6'%(getVersion())),
"TK_LIBRARY": shellQuote('/Library/Frameworks/Python.framework/Versions/%s/lib/tk8.6'%(getVersion())),
},
),
])
# temporary workaround in 3.7.1 for addressing bpo-34370:
# use development snapshot of Tk 8.6 branch (post 8.6.8) to pick up
# potential fixes for various scrolling problems seen with 8.6.8.
# However, the snapshot fails to build on 10.6. For the moment,
# continue to build the 3.7.x 10.6 variant with the standard
# 8.6.6 branch.
if getDeptargetTuple() < (10, 9):
result.extend([
dict(
name="Tk 8.6.8",
url="ftp://ftp.tcl.tk/pub/tcl//tcl8_6/tk8.6.8-src.tar.gz",
checksum='5e0faecba458ee1386078fb228d008ba',
patches=[
"tk868_on_10_8_10_9.patch",
],
buildDir="unix",
configure_pre=[
'--enable-aqua',
'--enable-shared',
'--enable-threads',
'--libdir=/Library/Frameworks/Python.framework/Versions/%s/lib'%(getVersion(),),
],
useLDFlags=False,
install='make TCL_LIBRARY=%(TCL_LIBRARY)s TK_LIBRARY=%(TK_LIBRARY)s && make install TCL_LIBRARY=%(TCL_LIBRARY)s TK_LIBRARY=%(TK_LIBRARY)s DESTDIR=%(DESTDIR)s'%{
"DESTDIR": shellQuote(os.path.join(WORKDIR, 'libraries')),
"TCL_LIBRARY": shellQuote('/Library/Frameworks/Python.framework/Versions/%s/lib/tcl8.6'%(getVersion())),
"TK_LIBRARY": shellQuote('/Library/Frameworks/Python.framework/Versions/%s/lib/tk8.6'%(getVersion())),
},
),
])
else:
result.extend([
dict(
name="Tk 8.6.8+",
url="http://core.tcl.tk/tk/tarball/16fdad9d/tk-16fdad9d.tar.gz",
checksum='b8e0df69021924e8392f03d506252bdb',
patches=[
"tk868_on_10_8_10_9.patch",
],
buildDir="unix",
configure_pre=[
'--enable-aqua',
'--enable-shared',
'--enable-threads',
'--libdir=/Library/Frameworks/Python.framework/Versions/%s/lib'%(getVersion(),),
],
useLDFlags=False,
install='make TCL_LIBRARY=%(TCL_LIBRARY)s TK_LIBRARY=%(TK_LIBRARY)s && make install TCL_LIBRARY=%(TCL_LIBRARY)s TK_LIBRARY=%(TK_LIBRARY)s DESTDIR=%(DESTDIR)s'%{
"DESTDIR": shellQuote(os.path.join(WORKDIR, 'libraries')),
"TCL_LIBRARY": shellQuote('/Library/Frameworks/Python.framework/Versions/%s/lib/tcl8.6'%(getVersion())),
"TK_LIBRARY": shellQuote('/Library/Frameworks/Python.framework/Versions/%s/lib/tk8.6'%(getVersion())),
},
),
])
if PYTHON_3:
result.extend([
dict(

1558
Misc/NEWS.d/3.7.1rc1.rst Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,2 +0,0 @@
The --with-c-locale-warning configuration flag has been removed. It has had
no effect for about a year.

View File

@ -1 +0,0 @@
Add -g to LDFLAGS when compiling with LTO to get debug symbols.

View File

@ -1 +0,0 @@
Fix detection of C11 atomic support on clang.

View File

@ -1,2 +0,0 @@
Fix for case where it was not possible to have both
``HAVE_LINUX_VM_SOCKETS_H`` and ``HAVE_SOCKADDR_ALG`` be undefined.

View File

@ -1 +0,0 @@
Add JUnit XML output for regression tests and update Azure DevOps builds.

View File

@ -1 +0,0 @@
Fixed SSL module build with OpenSSL & pedantic CFLAGS.

View File

@ -1 +0,0 @@
Py_Main() can again be called after Py_Initialize(), as in Python 3.6.

View File

@ -1,2 +0,0 @@
Fixed :exc:`SystemError` in :c:func:`PyArg_ParseTupleAndKeywords` when the
``w*`` format unit is used for optional parameter.

View File

@ -1,2 +0,0 @@
Fix Py_Initialize() regression introduced in 3.7.0: read environment
variables like PYTHONOPTIMIZE.

View File

@ -1,2 +0,0 @@
Fix a crash in `os.utime()` in case of a bad ns argument. Patch by Oren
Milman.

View File

@ -1,2 +0,0 @@
Fix assertion failures in the ``tell()`` method of ``io.TextIOWrapper``.
Patch by Zackery Spytz.

View File

@ -1,3 +0,0 @@
Fix the ``col_offset`` attribute for ast nodes ``ast.AsyncFor``,
``ast.AsyncFunctionDef``, and ``ast.AsyncWith``. Previously, ``col_offset``
pointed to the keyword after ``async``.

View File

@ -1,2 +0,0 @@
Fix rare Python crash due to bad refcounting in ``type_getattro()`` if a
descriptor deletes itself from the class. Patch by Jeroen Demeyer.

View File

@ -1,2 +0,0 @@
Fix "LC_ALL=C python3.7 -V": reset properly the command line parser when the
encoding changes after reading the Python configuration.

View File

@ -1 +0,0 @@
Close directly executed pyc files before calling ``PyEval_EvalCode()``.

View File

@ -1,2 +0,0 @@
Decref the module object in :c:func:`PyRun_SimpleFileExFlags` before calling
:c:func:`PyErr_Print()`. Patch by Zackery Spytz.

View File

@ -1 +0,0 @@
Update vendored Expat library copy to version 2.2.5.

View File

@ -1 +0,0 @@
Implement contextvars.ContextVar.name attribute.

View File

@ -1,2 +0,0 @@
Fix dict.copy() to maintain correct total refcount (as reported by
sys.gettotalrefcount()).

View File

@ -1,2 +0,0 @@
Disabled interruption by Ctrl-C between calling ``open()`` and entering a
**with** block in ``with open()``.

View File

@ -1,2 +0,0 @@
Fixed a memory leak in the compiler when it raised some uncommon errors
during tokenizing.

View File

@ -1 +0,0 @@
Fix buffer overflow while converting unicode to numeric values.

View File

@ -1,3 +0,0 @@
In :meth:`io.IOBase.close`, ensure that the :attr:`~io.IOBase.closed`
attribute is not set with a live exception. Patch by Zackery Spytz and Serhiy
Storchaka.

View File

@ -1,2 +0,0 @@
Fixed reading invalid memory when create the code object with too small
varnames tuple or too large argument counts.

View File

@ -1,2 +0,0 @@
Fix crashes when profiling certain invalid calls of unbound methods.
Patch by Jeroen Demeyer.

View File

@ -1,2 +0,0 @@
-X dev: it is now possible to override the memory allocator using
PYTHONMALLOC even if the developer mode is enabled.

View File

@ -1,3 +0,0 @@
Update valgrind suppression list to use
``_PyObject_Free``/``_PyObject_Realloc``
instead of ``PyObject_Free``/``PyObject_Realloc``.

View File

@ -1 +0,0 @@
Fix undefined behavior in parsetok.c. Patch by Zackery Spytz.

View File

@ -1,2 +0,0 @@
The UTF-8 Mode is now also enabled by the "POSIX" locale, not only by the "C"
locale.

View File

@ -1,3 +0,0 @@
On FreeBSD, Py_DecodeLocale() and Py_EncodeLocale() now also forces the
ASCII encoding if the LC_CTYPE locale is "POSIX", not only if the LC_CTYPE
locale is "C".

View File

@ -1,3 +0,0 @@
Fix the error handler of standard streams like sys.stdout:
PYTHONIOENCODING=":" is now ignored instead of setting the error handler to
"strict".

View File

@ -1,3 +0,0 @@
Standard streams like sys.stdout now use the "surrogateescape" error
handler, instead of "strict", on the POSIX locale (when the C locale is not
coerced and the UTF-8 Mode is disabled).

View File

@ -1,2 +0,0 @@
Fix an off-by-one in the recursive call pruning feature of traceback
formatting.

View File

@ -1 +0,0 @@
Fix a memory leak in Modules/timemodule.c. Patch by Zackery Spytz.

View File

@ -1 +0,0 @@
Fix contextvars C API to use PyObject* pointer types.

View File

@ -1,2 +0,0 @@
Fix a crash with musl libc (on Alpine Linux) when the script filename
specified on the command line doesn't exist.

View File

@ -1 +0,0 @@
Document ``AF_PACKET`` in the :mod:`socket` module.

View File

@ -1 +0,0 @@
Add '@' operator entry to index.

View File

@ -1 +0,0 @@
replaced ellipsis with correct error codes in tutorial chapter 3.

View File

@ -1 +0,0 @@
Fix wrongly written basicConfig documentation markup syntax

View File

@ -1,2 +0,0 @@
Fixed info in the stdtypes docs concerning the types that support membership
tests.

View File

@ -1 +0,0 @@
Document how passing coroutines to asyncio.wait() can be confusing.

View File

@ -1,2 +0,0 @@
Minimally test all IDLE modules. Add missing files, import module,
instantiate classes, and check coverage. Check existing files.

View File

@ -1 +0,0 @@
IDLE: refactor ToolTip and CallTip and add documentation and tests

View File

@ -1 +0,0 @@
Add "help" in the welcome message of IDLE

View File

@ -1,3 +0,0 @@
For consistency and clarity, rename an IDLE module and classes.
Module calltips and its class CallTips are now calltip and Calltip.
In module calltip_w, class CallTip is now CalltipWindow.

View File

@ -1 +0,0 @@
IDLE: In rstrip, rename class RstripExtension as Rstrip

View File

@ -1,3 +0,0 @@
Fix and document idlelib/idle_test/template.py. The revised file compiles,
runs, and tests OK. idle_test/README.txt explains how to use it to create
new IDLE test files.

View File

@ -1,2 +0,0 @@
Rename idlelib.windows as window Match Window on the main menu and remove
last plural module name.

View File

@ -1,2 +0,0 @@
Change mainmenu.menudefs key 'windows' to 'window'. Every other menudef key
is lowercase version of main menu entry.

View File

@ -1 +0,0 @@
Add test for idlelib.stackview.StackBrowser.

View File

@ -1,3 +0,0 @@
Avoid small type when running htests. Since part of the purpose of human-
viewed tests is to determine that widgets look right, it is important that
they look the same for testing as when running IDLE.

View File

@ -1 +0,0 @@
Fix unresponsiveness after closing certain windows and dialogs.

View File

@ -1,2 +0,0 @@
Make IDLE calltips always visible on Mac. Some MacOS-tk combinations need
.update_idletasks(). Patch by Kevin Walzer.

View File

@ -1 +0,0 @@
Fixed mousewheel scrolling direction on macOS.

View File

@ -1,3 +0,0 @@
Enable "squeezing" of long outputs in the shell, to avoid performance
degradation and to clean up the history without losing it. Squeezed outputs
may be copied, viewed in a separate window, and "unsqueezed".

View File

@ -1 +0,0 @@
Use configured color theme for read-only text views.

View File

@ -1 +0,0 @@
Fix bugs in hangul normalization: u1176, u11a7 and u11c3

View File

@ -1,2 +0,0 @@
Raise a ``TypeError`` instead of crashing if a ``collections.deque`` subclass
returns a non-deque from ``__new__``. Patch by Oren Milman.

View File

@ -1,3 +0,0 @@
``imaplib`` now allows ``MOVE`` command in ``IMAP4.uid()`` (RFC
6851: IMAP MOVE Extension) and potentially as a name of supported
method of ``IMAP4`` object.

View File

@ -1,2 +0,0 @@
:func:`unittest.mock.mock_open` now supports iteration over the file
contents. Patch by Tony Flury.

View File

@ -1 +0,0 @@
Print the header values besides the header keys instead just the header keys if *debuglevel* is set to >0 in :mod:`http.client`. Patch by Marco Strigl.

View File

@ -1,3 +0,0 @@
Fixed creating a controller for :mod:`webbrowser` when a user specifies a
path to an entry in the BROWSER environment variable. Based on patch by
John Still.

View File

@ -1,2 +0,0 @@
Fix _header_value_parser.py when address group is missing final ';'.
Contributed by Enrique Perez-Terron

View File

@ -1 +0,0 @@
Make email module properly handle invalid-length base64 strings.

View File

@ -1 +0,0 @@
Improve error message of dataclasses.replace() when an InitVar is not specified

View File

@ -1,2 +0,0 @@
Fixed implementation of :func:`platform.libc_ver`. It almost always returned
version '2.9' for glibc.

View File

@ -1 +0,0 @@
Convert content length to string before putting to header.

View File

@ -1,2 +0,0 @@
Fixed bug in asyncio where ProactorSocketTransport logs AssertionError if
force closed during write.

View File

@ -1,2 +0,0 @@
Make select.epoll() and its documentation consistent regarding *sizehint* and
*flags*.

View File

@ -1,2 +0,0 @@
bz2 and lzma: When Decompressor.__init__() is called twice, free the old
lock to not leak memory.

View File

@ -1,3 +0,0 @@
Tokenize module now implicitly emits a NEWLINE when provided with input that
does not have a trailing new line. This behavior now matches what the C
tokenizer does internally. Contributed by Ammar Askar.

View File

@ -1,3 +0,0 @@
Fixed integer overflow in :func:`os.readv`, :func:`os.writev`,
:func:`os.preadv` and :func:`os.pwritev` and in :func:`os.sendfile` with
*headers* or *trailers* arguments (on BSD-based OSes and macOS).

View File

@ -1,2 +0,0 @@
Improve random.choices() to handle subnormal input weights that could
occasionally trigger an IndexError.

View File

@ -1 +0,0 @@
Fix getaddrinfo to resolve IPv6 addresses correctly.

View File

@ -1,3 +0,0 @@
Fixed passing lists and tuples of strings containing special characters
``"``, ``\``, ``{``, ``}`` and ``\n`` as options to :mod:`~tkinter.ttk`
widgets.

View File

@ -1,3 +0,0 @@
Make minor tweaks to turtledemo. The 'wikipedia' example is now 'rosette',
decribing what it draws. The 'penrose' print output is reduced. The'1024'
output of 'tree' is eliminated.

View File

@ -1,2 +0,0 @@
Closed existing logging handlers before reconfiguration via fileConfig
and dictConfig. Patch by Karthikeyan Singaravelan.

View File

@ -1,2 +0,0 @@
webbrowser: Correct the arguments passed to Opera Browser when opening a new URL
using the ``webbrowser`` module. Patch by Bumsik Kim.

View File

@ -1,2 +0,0 @@
Fixed a performance regression for reading streams with tarfile. The
buffered read should use a list, instead of appending to a bytes object.

View File

@ -1,3 +0,0 @@
``subprocess.Popen`` now copies the *startupinfo* argument to leave it
unchanged: it will modify the copy, so that the same ``STARTUPINFO`` object can
be used multiple times.

View File

@ -1,3 +0,0 @@
The multiprocessing module now uses the monotonic clock
:func:`time.monotonic` instead of the system clock :func:`time.time` to
implement timeout.

View File

@ -1,3 +0,0 @@
Ensure the loader shim created by ``imp.load_module`` always returns bytes
from its ``get_data()`` function. This fixes using ``imp.load_module`` with
:pep:`552` hash-based pycs.

View File

@ -1,2 +0,0 @@
functools.singledispatch now raises TypeError instead of IndexError when no
positional arguments are passed.

View File

@ -1,2 +0,0 @@
Reverted :issue:`27494`. 2to3 rejects now a trailing comma in generator
expressions.

View File

@ -1 +0,0 @@
Remove extraneous CR in 2to3 refactor.

View File

@ -1 +0,0 @@
Fixed issues with arguments parsing in :mod:`hashlib`.

View File

@ -1,2 +0,0 @@
:func:`base64.b32decode` could raise UnboundLocalError or OverflowError for
incorrect padding. Now it always raises :exc:`base64.Error` in these cases.

View File

@ -1,2 +0,0 @@
pydoc's ``Helper.showtopic()`` method now prints the cross references of a
topic correctly.

View File

@ -1,2 +0,0 @@
The :2to3fixer:`reload` fixer now uses :func:`importlib.reload` instead of
deprecated :func:`imp.reload`.

View File

@ -1 +0,0 @@
Allow frozen dataclasses to have a field named "object". Previously this conflicted with an internal use of "object".

View File

@ -1,2 +0,0 @@
Ignore errors caused by missing / non-writable homedir while writing history
during exit of an interactive session. Patch by Anthony Sottile.

View File

@ -1,2 +0,0 @@
Restore ``msilib.Win64`` to preserve backwards compatibility since it's
already used by :mod:`distutils`' ``bdist_msi`` command.

View File

@ -1,2 +0,0 @@
Fix performance regression in :mod:`sqlite3` when a DML statement appeared
in a different line than the rest of the SQL query.

View File

@ -1 +0,0 @@
Fix several AttributeError in zipfile seek() methods. Patch by Mickaël Schoentgen.

View File

@ -1,2 +0,0 @@
asyncio's event loop will not pass timeouts longer than one day to
epoll/select etc.

Some files were not shown because too many files have changed in this diff Show More