summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-11191: skip unsupported test_distutils case for AIX with xlc (GH-8709)Michael Felt2018-12-283-1/+8
| | | | | | | Command line options for the xlc compiler behave differently from gcc and clang, so skip this test case for now when xlc is the compiler. Patch by aixtools (Michael Felt)
* bpo-34373: fix test_mktime and test_pthread_getcpuclickid tests on AIX (GH-8726)Michael Felt2018-12-284-20/+57
| | | | | | | | | * Fix test_mktime on AIX by adding code to get mktime to behave the same way as it does on other *nix systems * Fix test_pthread_getcpuclickid in AIX by adjusting the test case expectations when running on AIX in 32-bit mode Patch by Michael Felt.
* bpo-35591: IDLE Find Selection now works when selection not found (GH-11339)Terry Jan Reedy2018-12-282-1/+2
|
* bpo-35598: IDLE: Update config_key.py with PEP8 names (GH-11330)Cheryl Sabella2018-12-284-187/+217
| | | A few other changes make the code easier to follow.
* macOS installer build: mitigate hdiutil resource busy bug (GH-11333)Ned Deily2018-12-271-6/+17
|
* Revert "bpo-35402: Update macOS installer to use Tcl 8.6.9 / Tk 8.6.9.1 ↵Ned Deily2018-12-273-10/+27
| | | | | | | | | | | (GH-11101)" (GH-11332) This reverts commit 7cf3d8e25174c8871883e42f3240fd7f01efd3a8. Due to regressions found with using Tk 8.6.9.1, build the python.org macOS installers with Tcl/Tk 8.6.8 as used in previous releases. https://bugs.python.org/issue35402
* bpo-35596: Fix vcruntime140.dll being added to embeddable distro multiple ↵Steve Dower2018-12-272-1/+2
| | | | | times. (GH-11329) https://bugs.python.org/issue35596
* bpo-20182: AC convert remaining functions/methods in _hashopenssl.c (GH-9213)Tal Einat2018-12-272-100/+303
|
* Speed-up building enums by value, e.g. http.HTTPStatus(200) (#11318)Andrew Svetlov2018-12-262-2/+5
| | | bpo-35585: Speed up enum by-value lookup
* bpo-35579: Fix typo in in asyncio-task documentation (GH-11321)Vaibhav Gupta2018-12-261-1/+1
| | | | | | https://bugs.python.org/issue35579 https://bugs.python.org/issue35579
* bpo-34897: avoid distutils test error when CXX is not set (GH-9706)Michael Felt2018-12-262-1/+3
| | | | | | Depending on system config, a missing candidate compiler name may be reported as the empty string rather than as None, so adjust the test helper accordingly.
* bpo-34711: Return HTTPStatus.NOT_FOUND if path.endswith('/') and not a ↵Michael Felt2018-12-262-0/+11
| | | | | | | | | | directory (GH-9687) AIX allows a trailing slash on local file system paths, which isn't what we want in http.server. Accordingly, check explicitly for this case in the server code, rather than relying on the OS raising an exception. Patch by Michael Felt.
* bpo-27643 - skip test_ctypes test case with XLC compiler. (GH-5164)Michael Felt2018-12-263-4/+23
| | | | | | | | | This test case needs "signed short" bitfields, but the IBM XLC compiler (on AIX) does not support this. Skip the code and test when AIX and XLC are used. Use __xlc__ as identifier to detect the XLC compiler.
* bpo-11192: Skip unsupported cases in test_socket on AIX (GH-8954)Michael Felt2018-12-262-9/+19
| | | | | | * use platform.system() as runtime test, rather than sys.platform() build-time test * IPv6 zone id support on AIX is limited to inet_pton6_zone(), so skip related getaddrinfo() and getnameinfo() tests as not supported
* Redo PR 785 -- Add cross reference links (GH-11319)Raymond Hettinger2018-12-261-0/+5
|
* Revert "bpo-35565: Add detail to assertion failure message in wsgiref" ↵Raymond Hettinger2018-12-251-13/+0
| | | | | (GH-11317) * Revert part of "bpo-35565: Remove incorrect test and one that wasn't needed for the fix.
* bpo-35565: Add detail to assertion failure message in wsgiref (GH-11293)Cheryl Sabella2018-12-252-1/+15
|
* bpo-23867: Argument Clinic: inline parsing code for a single positional ↵Serhiy Storchaka2018-12-2549-275/+1677
| | | | parameter. (GH-9689)
* bpo-20180: Simplify char_converter in Argument Clinic. (GH-9828)Serhiy Storchaka2018-12-252-32/+19
| | | Fix also handling non-ascii default values.
* bpo-35578: Add an example file for testing Argument Clinic converters. ↵Serhiy Storchaka2018-12-252-1/+1324
| | | | (GH-11306)
* Minor grammar improvement in types.rst (GH-11308)Mariatta2018-12-241-1/+1
| | | | | defines utility function -> defines utility functions Reported in https://mail.python.org/pipermail/docs/2018-December/038693.html
* bpo-35208: Fix IDLE Squeezer line counting (GH-10449)Tal Einat2018-12-244-12/+36
|
* Clarify the behavior of the staticmethod builtin (GH-4362)Jess Shapiro2018-12-241-2/+4
|
* Fix minor grammatical mistakes in reversed(dict) doc (GH-10997)Andre Delfino2018-12-241-2/+2
|
* Tweak wording about Fraction and Decimal (GH-10904)Andre Delfino2018-12-241-2/+2
|
* bpo-30561: Sync-up expovariate() and gammavariate code (GH-1934)leodema2018-12-243-15/+36
|
* bpo-35566: Add links to annotation glossary term (GH-11291)Cheryl Sabella2018-12-244-11/+11
|
* bpo-34764: improve docs example of iter() with sentinel value (GH-11222)Chris Rands2018-12-242-7/+9
|
* bpo-35555: IDLE: Gray out Code Context menu item on non-editors (#11282)Cheryl Sabella2018-12-233-0/+5
| | | The Code Context menu item only works on Editor windows so disable it for others.
* bpo-35257: fix broken BLDSHARED - needs LDFLAGS too (GH-11297)Ned Deily2018-12-231-1/+1
| | | | | | `BLDSHARED` needs to have both `LDFLAGS` and `LDFLAGS_NODIST`, not just `LDFLAGS_NODIST`; `PY_CORE_LDFLAGS` provides both. For example, as it stands now with just `LDFLAGS_NODIST`, macOS universal builds are broken as the necessary `-arch` flags are no longer passed to the standard library extension module link step from `setup.py` resulting in extension modules being single architecture only. https://bugs.python.org/issue35257
* Add 2 missing commas (GH-10698)Boštjan Mejak2018-12-231-1/+1
|
* bpo-35567: Convert dict of constants to a set (GH-11296)Cheryl Sabella2018-12-231-3/+3
|
* Document that dict.fromkeys accepts any iterable for keys (GH-10998)Andre Delfino2018-12-231-2/+2
|
* Use generator instead of list in code examples (GH-11203)Recursing2018-12-231-2/+2
| | | | There is no need to create a list for `sum` Also, becomes consistent with the first example in Doc/library/os.rst
* bpo-35564: add master_doc='contents' to conf.py (GH-11290)Jean-François B2018-12-222-0/+3
|
* bpo-30455: Generate all token related code and docs from Grammar/Tokens. ↵Serhiy Storchaka2018-12-2218-462/+940
| | | | | | | | | | | | | | | | | | | (GH-10370) "Include/token.h", "Lib/token.py" (containing now some data moved from "Lib/tokenize.py") and new files "Parser/token.c" (containing the code moved from "Parser/tokenizer.c") and "Doc/library/token-list.inc" (included in "Doc/library/token.rst") are now generated from "Grammar/Tokens" by "Tools/scripts/generate_token.py". The script overwrites files only if needed and can be used on the read-only sources tree. "Lib/symbol.py" is now generated by "Tools/scripts/generate_symbol_py.py" instead of been executable itself. Added new make targets "regen-token" and "regen-symbol" which are now dependencies of "regen-all". The documentation contains now strings for operators and punctuation tokens.
* bpo-22703: IDLE: Improve Code Context and Zoom Height menu labels (GH-11214)Cheryl Sabella2018-12-228-11/+39
| | | | | | | | The Code Context menu label now toggles between Show/Hide Code Context. The Zoom Height menu now toggles between Zoom/Restore Height. Zoom Height has moved from the Window menu to the Options menu. https://bugs.python.org/issue22703
* bpo-11566: Extension build errors on Windows for _hypot (GH-11283)Matt McCormick2018-12-221-6/+0
| | | | | | | | | | This addresses C extension build errors related to an undefined _hypot symbol when building with the Microsoft Visual C++ Compiler for Python 2.7 [1] or MinGWPy [2]. It also addresses errors when building a C++ extension with MinGWPy and C++11 from cmath, 'error "::hypot' has not been declared' [1] https://www.microsoft.com/en-us/download/details.aspx?id=44266 [2] https://mingwpy.github.io/
* Fix typo in socketserver docstring (GH-11252)Christopher Hunt2018-12-211-1/+1
| | | | Fix typo in the docstring of `service_actions`. serve_forver -> serve_forever
* Enable signing Windows builds with SHA1 environment variable (GH-11279)Steve Dower2018-12-212-3/+7
|
* bpo-33830: Fix an example in http.client docs for 404. (GH-7780)Xtreak2018-12-211-0/+1
|
* bpo-34193: Fix pluralization in getargs.c and test cases. (GH-8438)Xtreak2018-12-215-23/+38
|
* bpo-35259: Limit `Py_FinalizeEx()` to `Py_LIMITED_API >= 0x03060000`. (GH-10620)Arthur Neufeld2018-12-202-0/+4
|
* bpo-35424: emit ResourceWarning at multiprocessing.Pool destruction (GH-10974)Victor Stinner2018-12-203-5/+36
| | | | multiprocessing.Pool destructor now emits ResourceWarning if the pool is still running.
* bpo-22831: Use "with" to avoid possible fd leaks in distutils. (GH-10921)Serhiy Storchaka2018-12-205-69/+65
|
* Fix mock_open docstring to use readline (#11176)Xtreak2018-12-201-1/+1
|
* bpo-35521: Add more cross-refs to IDLE docs (#11257)Terry Jan Reedy2018-12-202-28/+37
| | | Format menu and preferences.
* bpo-35529: Fix a reference counting bug in PyCFuncPtr_FromDll(). (GH-11229)Zackery Spytz2018-12-201-5/+8
| | | | | "dll" would leak if an error occurred in _validate_paramflags() or GenericPyCData_new().
* bpo-5438: Update memory requirements and optimize test_bigmem.py. (GH-11123)Serhiy Storchaka2018-12-201-68/+69
|
* bpo-18085: Update refcounts.dat. (GH-11247)Serhiy Storchaka2018-12-202-333/+1207
| | | | | Fixed some errors in refcounts.dat, remove functions removed in Python 3, and add more entries for documented functions. This will add several automatically generated notes about return values.