Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-35564: add master_doc='contents' to conf.py (GH-11290) | Jean-François B | 2018-12-22 | 2 | -0/+3 |
| | |||||
* | bpo-30455: Generate all token related code and docs from Grammar/Tokens. ↵ | Serhiy Storchaka | 2018-12-22 | 18 | -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 Sabella | 2018-12-22 | 8 | -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 McCormick | 2018-12-22 | 1 | -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 Hunt | 2018-12-21 | 1 | -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 Dower | 2018-12-21 | 2 | -3/+7 |
| | |||||
* | bpo-33830: Fix an example in http.client docs for 404. (GH-7780) | Xtreak | 2018-12-21 | 1 | -0/+1 |
| | |||||
* | bpo-34193: Fix pluralization in getargs.c and test cases. (GH-8438) | Xtreak | 2018-12-21 | 5 | -23/+38 |
| | |||||
* | bpo-35259: Limit `Py_FinalizeEx()` to `Py_LIMITED_API >= 0x03060000`. (GH-10620) | Arthur Neufeld | 2018-12-20 | 2 | -0/+4 |
| | |||||
* | bpo-35424: emit ResourceWarning at multiprocessing.Pool destruction (GH-10974) | Victor Stinner | 2018-12-20 | 3 | -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 Storchaka | 2018-12-20 | 5 | -69/+65 |
| | |||||
* | Fix mock_open docstring to use readline (#11176) | Xtreak | 2018-12-20 | 1 | -1/+1 |
| | |||||
* | bpo-35521: Add more cross-refs to IDLE docs (#11257) | Terry Jan Reedy | 2018-12-20 | 2 | -28/+37 |
| | | | Format menu and preferences. | ||||
* | bpo-35529: Fix a reference counting bug in PyCFuncPtr_FromDll(). (GH-11229) | Zackery Spytz | 2018-12-20 | 1 | -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 Storchaka | 2018-12-20 | 1 | -68/+69 |
| | |||||
* | bpo-18085: Update refcounts.dat. (GH-11247) | Serhiy Storchaka | 2018-12-20 | 2 | -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 Reedy | 2018-12-20 | 1 | -0/+3 |
| | |||||
* | bpo-35521: IDLE: Add code context section to docs (#11205) | Cheryl Sabella | 2018-12-20 | 3 | -17/+65 |
| | | | Also add some internal cross-references. | ||||
* | bpo-35482: Fixes HTML escaping in CHM index and build location of NEWS file ↵ | Steve Dower | 2018-12-20 | 3 | -10/+29 |
| | | | | (GH-11224) | ||||
* | bpo-32077: Update refcounts.dat for Unicode object functions. (GH-11243) | Mat M | 2018-12-19 | 1 | -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) | stratakis | 2018-12-19 | 8 | -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 Rands | 2018-12-19 | 2 | -1/+2 |
| | | | | | | * extending the joke! * 📜🤖 Added by blurb_it. | ||||
* | Fix documented signatures for C API functions. (GH-11236) | Serhiy Storchaka | 2018-12-19 | 2 | -5/+5 |
| | |||||
* | Fix Python version since which external enities are not resolved by default. ↵ | Serhiy Storchaka | 2018-12-19 | 3 | -3/+3 |
| | | | | (GH-11237) | ||||
* | bpo-35497: add versionadded tag for EPOLLEXCLUSIVE (GH-11162) | Manjusaka | 2018-12-19 | 2 | -0/+4 |
| | |||||
* | bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174) | Serhiy Storchaka | 2018-12-19 | 45 | -242/+240 |
| | |||||
* | Removed dangling `since Python` at the end of library/xml.rst. (GH-11201) | Jules Lasne (jlasne) | 2018-12-19 | 1 | -2/+2 |
| | |||||
* | bpo-35424: Fix test_multiprocessing_main_handling (GH-11223) | Victor Stinner | 2018-12-18 | 2 | -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 Stinner | 2018-12-18 | 2 | -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 Matveev | 2018-12-18 | 6 | -6/+104 |
| | |||||
* | bpo-35465: Document _UnixSelectorEventLoop.add_signal_handler. (GH-11145) | Hrvoje Nikšić | 2018-12-18 | 1 | -0/+8 |
| | |||||
* | bpo-35502: Fix reference leaks in ElementTree.TreeBuilder. (GH-11170) | Serhiy Storchaka | 2018-12-18 | 3 | -0/+29 |
| | |||||
* | bpo-35516: platform.system_alias() don't replace Darwin (GH-11207) | Victor Stinner | 2018-12-18 | 1 | -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 Stinner | 2018-12-18 | 3 | -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 Stinner | 2018-12-18 | 2 | -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 Storchaka | 2018-12-18 | 7 | -4/+35 |
| | |||||
* | bpo-31784: Use time.time_ns() in uuid.uuid1() (GH-11189) | Victor Stinner | 2018-12-18 | 3 | -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 Stinner | 2018-12-17 | 3 | -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 Stinner | 2018-12-17 | 2 | -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 Storchaka | 2018-12-17 | 5 | -7/+47 |
| | |||||
* | bpo-35475: Add more PyImport* functions in refcounts.dat. (GH-11142) | Serhiy Storchaka | 2018-12-17 | 1 | -0/+28 |
| | |||||
* | bpo-35504: Fix segfaults and SystemErrors when deleting certain attrs. ↵ | Zackery Spytz | 2018-12-17 | 15 | -4/+81 |
| | | | | (GH-11175) | ||||
* | bpo-35490: Remove the DecodeFSDefault return converter in AC. (#11152) | Serhiy Storchaka | 2018-12-17 | 3 | -24/+10 |
| | |||||
* | bpo-35504: Fix a SystemError when delete the characters_written attribute of ↵ | Serhiy Storchaka | 2018-12-17 | 3 | -0/+14 |
| | | | | an OSError. (GH-11172) | ||||
* | bpo-18799: Resurrect test_404 in test_xmlrpc. (GH-11196) | Vajrasky Kok | 2018-12-17 | 1 | -3/+2 |
| | |||||
* | bpo-35415: validate fileno argument to socket.socket (GH-10917) | Dima Tisnek | 2018-12-17 | 3 | -25/+74 |
| | | | https://bugs.python.org/issue35415 | ||||
* | Fixed a few obvious mistakes in c-api docs (GH-11184) | Beomsoo Kim | 2018-12-17 | 2 | -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 Stinner | 2018-12-17 | 1 | -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 Stinner | 2018-12-17 | 6 | -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 Stinner | 2018-12-17 | 14 | -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). |