summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* bpo-34162: Update idlelib/NEWS.txt to 2018-12-20. (#11255)Terry Jan Reedy2018-12-201-0/+3
|
* bpo-35521: IDLE: Add code context section to docs (#11205)Cheryl Sabella2018-12-203-17/+65
| | | Also add some internal cross-references.
* bpo-35482: Fixes HTML escaping in CHM index and build location of NEWS file ↵Steve Dower2018-12-203-10/+29
| | | | (GH-11224)
* bpo-32077: Update refcounts.dat for Unicode object functions. (GH-11243)Mat M2018-12-191-44/+231
| | | | | | | | Makes the documentation more comprehensive in terms of indicating whether or not a function returns a new reference. Also fixes some errors and adds missing functions.
* bpo-35257: Avoid leaking LTO linker flags into distutils (GH-10900)stratakis2018-12-198-18/+38
| | | | | | When compiling 3rd party C extensions, the linker flags used by the compiler for the interpreter and the stdlib modules, will get leaked into distutils. In order to avoid that, the PY_CORE_LDFLAGS and PY_LDFLAGS_NODIST are introduced to keep those flags separated.
* bpo-35526: make __future__.barry_as_FLUFL mandatory for Python 4.0 (#11218)Chris Rands2018-12-192-1/+2
| | | | | | * extending the joke! * 📜🤖 Added by blurb_it.
* Fix documented signatures for C API functions. (GH-11236)Serhiy Storchaka2018-12-192-5/+5
|
* Fix Python version since which external enities are not resolved by default. ↵Serhiy Storchaka2018-12-193-3/+3
| | | | (GH-11237)
* bpo-35497: add versionadded tag for EPOLLEXCLUSIVE (GH-11162)Manjusaka2018-12-192-0/+4
|
* bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174)Serhiy Storchaka2018-12-1945-242/+240
|
* Removed dangling `since Python` at the end of library/xml.rst. (GH-11201)Jules Lasne (jlasne)2018-12-191-2/+2
|
* bpo-35424: Fix test_multiprocessing_main_handling (GH-11223)Victor Stinner2018-12-182-18/+26
| | | | Fix test_multiprocessing_main_handling: use multiprocessing.Pool with a context manager and then explicitly join the pool.
* bpo-31731: Fix test_io.check_interrupted_write() (GH-11225)Victor Stinner2018-12-182-3/+13
| | | | | | | Fix a race condition in check_interrupted_write() of test_io: create directly the thread with SIGALRM signal blocked, rather than blocking the signal later from the thread. Previously, it was possible that the thread gets the signal before the signal is blocked.
* bpo-23057: add loop self socket as wakeup fd for signals (#11135)Vladimir Matveev2018-12-186-6/+104
|
* bpo-35465: Document _UnixSelectorEventLoop.add_signal_handler. (GH-11145)Hrvoje Nikšić2018-12-181-0/+8
|
* bpo-35502: Fix reference leaks in ElementTree.TreeBuilder. (GH-11170)Serhiy Storchaka2018-12-183-0/+29
|
* bpo-35516: platform.system_alias() don't replace Darwin (GH-11207)Victor Stinner2018-12-181-0/+3
| | | | Add a comment explaining why system_alias() doesn't alias Darwin to macOS.
* bpo-10496: distutils check_environ() handles getpwuid() error (GH-10931)Victor Stinner2018-12-183-11/+35
| | | | | check_environ() of distutils.utils now catchs KeyError on calling pwd.getpwuid(): don't create the HOME environment variable in this case.
* bpo-35523: Remove ctypes callback workaround (GH-11211)Victor Stinner2018-12-182-5/+2
| | | | Remove ctypes callback workaround: no longer create a callback at startup. Avoid SELinux alert on "import ctypes" and "import uuid".
* bpo-35461: Document C API functions which suppress exceptions. (GH-11119)Serhiy Storchaka2018-12-187-4/+35
|
* bpo-31784: Use time.time_ns() in uuid.uuid1() (GH-11189)Victor Stinner2018-12-183-2/+22
| | | | | uuid.uuid1() now calls time.time_ns() rather than int(time.time() * 1e9). Replace also int(nanoseconds/100) with nanoseconds // 100. Add an unit test.
* bpo-35519: Rename test.bisect to test.bisect_cmd (GH-11200)Victor Stinner2018-12-173-1/+4
| | | | | Rename test.bisect module to test.bisect_cmd to avoid conflict with bisect module when running directly a test like "./python Lib/test/test_xmlrpc.py".
* bpo-35348: Fix platform.architecture() (GH-11159)Victor Stinner2018-12-172-4/+15
| | | | | | | | | | Make platform.architecture() parsing of "file" command output more reliable: * Add the "-b" option to the "file" command to omit the filename; * Force the usage of the C locale; * Search also the "shared object" pattern. Co-Authored-By: Serhiy Storchaka <storchaka@gmail.com>
* bpo-33306: Improve SyntaxError messages for unbalanced parentheses. (GH-6516)Serhiy Storchaka2018-12-175-7/+47
|
* bpo-35475: Add more PyImport* functions in refcounts.dat. (GH-11142)Serhiy Storchaka2018-12-171-0/+28
|
* bpo-35504: Fix segfaults and SystemErrors when deleting certain attrs. ↵Zackery Spytz2018-12-1715-4/+81
| | | | (GH-11175)
* bpo-35490: Remove the DecodeFSDefault return converter in AC. (#11152)Serhiy Storchaka2018-12-173-24/+10
|
* bpo-35504: Fix a SystemError when delete the characters_written attribute of ↵Serhiy Storchaka2018-12-173-0/+14
| | | | an OSError. (GH-11172)
* bpo-18799: Resurrect test_404 in test_xmlrpc. (GH-11196)Vajrasky Kok2018-12-171-3/+2
|
* bpo-35415: validate fileno argument to socket.socket (GH-10917)Dima Tisnek2018-12-173-25/+74
| | | https://bugs.python.org/issue35415
* Fixed a few obvious mistakes in c-api docs (GH-11184)Beomsoo Kim2018-12-172-3/+3
| | | | | I thought these simple changes doesn't need bpo number(Am I right..?). Please refer to the commit message for detail.
* bpo-23451: Update time.monotonic() documentation (GH-11190)Victor Stinner2018-12-171-9/+1
| | | | bpo-23451, bpo-22117: Python 3.5 requires Windows Vista or newer, time.monotonic() is now always system-wide.
* bpo-35513, unittest: TextTestRunner uses time.perf_counter() (GH-11180)Victor Stinner2018-12-176-15/+19
| | | | | | | TextTestRunner of unittest.runner now uses time.perf_counter() rather than time.time() to measure the execution time of a test: time.time() can go backwards, whereas time.perf_counter() is monotonic. Similar change made in libregrtest, pprint and random.
* bpo-35513: Replace time.time() with time.monotonic() in tests (GH-11182)Victor Stinner2018-12-1714-66/+68
| | | | | | | Replace time.time() with time.monotonic() in tests to measure time delta. test_zipfile64: display progress every minute (60 secs) rather than every 5 minutes (5*60 seconds).