Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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). | |||||
* | bpo-35186: Remove "built with" comment in setup.py upload (GH-10414) | Paul Ganssle | 2018-12-17 | 2 | -8/+4 | |
| | | | | | | platform.dist() is deprecated and slated for removal in Python 3.8. The upload command itself should also not be used to upload to PyPI, but while it continues to exist it should not use deprecated functions. | |||||
* | bpo-35491, multiprocessing: replace "RUN" with RUN (GH-11178) | Victor Stinner | 2018-12-16 | 1 | -1/+1 | |
| | ||||||
* | bpo-35511: Trivial docs updates for profile and resource library modules. ↵ | Beomsoo Kim | 2018-12-16 | 3 | -42/+59 | |
| | | | | | (GH-11124) polish documentation for profile and resource modules | |||||
* | bpo-35499: make profile-opt don't override CFLAGS_NODIST (GH-11164) | Victor Stinner | 2018-12-16 | 2 | -2/+5 | |
| | | | | | "make profile-opt" no longer replaces CFLAGS_NODIST with CFLAGS. It now adds profile-guided optimization (PGO) flags to CFLAGS_NODIST, existing CFLAGS_NODIST flags are kept. | |||||
* | bpo-35450: reflect in docs that venv module is not always creating a … ↵ | mkkot | 2018-12-14 | 1 | -3/+4 | |
| | | | | | | | | | | | (GH-11144) …copy of python binary https://bugs.python.org/issue35450 | |||||
* | bpo-35402: Update Windows build to use Tcl and Tk 8.6.9 (GH-11146) | Steve Dower | 2018-12-14 | 3 | -4/+5 | |
| | ||||||
* | bpo-35471: Remove the macpath module (GH-11129) | Victor Stinner | 2018-12-14 | 11 | -409/+13 | |
| | | | | Python 2.4 dropped MacOS 9 support. The macpath module was deprecated in Python 3.7. This change removes it. | |||||
* | bpo-35346: Cleanup platform.architecture() (GH-11130) | Victor Stinner | 2018-12-14 | 1 | -6/+2 | |
| | | | struct.calcsize('P') now always works. | |||||
* | bpo-34279: regrtest consider that skipped tests are ran (GH-11132) | Victor Stinner | 2018-12-14 | 3 | -1/+18 | |
| | | | | | | bpo-34279, bpo-35412: support.run_unittest() no longer raises TestDidNotRun if a test result contains skipped tests. The exception is now only raised if no test have been run and no test have been skipped. | |||||
* | bpo-35491: Enhance multiprocessing.BaseProcess.__repr__() (GH-11138) | Victor Stinner | 2018-12-14 | 3 | -14/+23 | |
| | | | | | | | | | | | | | | | | * Add the pid and parent pid to multiprocessing.BaseProcess.__repr__(). * Add negative sign (ex: "-SIGTERM") to exitcode (process killed by a signal) * Only call _popen.poll() once. Example: <ForkProcess(ForkPoolWorker-1, started daemon)> becomes: <ForkProcess name='ForkPoolWorker-1' pid=12449 parent=12448 started daemon> Example: <ForkProcess(ForkPoolWorker-1, stopped[SIGTERM] daemon)> becomes: <ForkProcess name='ForkPoolWorker-1' pid=12960 parent=12959 stopped exitcode=-SIGTERM daemon> | |||||
* | Fixed missing colun in library/sys.po (GH-11153) | Jules Lasne (jlasne) | 2018-12-14 | 1 | -1/+1 | |
| | | | | | | # Fixed missing colun in library/sys.po [bpo-35492](https://bugs.python.org/issue35492): Fixed missing colun in library/sys.po | |||||
* | Add multiprocessing.Pool.__repr__() (GH-11137) | Victor Stinner | 2018-12-14 | 1 | -5/+11 | |
| | | | | | * Add multiprocessing.Pool.__repr__() to ease debug * RUN, CLOSE and TERMINATE constants values are now strings rather than integer to ease debug | |||||
* | bpo-35489: Use "const Py_UNICODE *" for the Py_UNICODE converter in AC. ↵ | Serhiy Storchaka | 2018-12-14 | 9 | -98/+110 | |
| | | | | (GH-11150) | |||||
* | bpo-31446: Copy command line that should be passed to CreateProcessW(). ↵ | Vladimir Matveev | 2018-12-14 | 3 | -8/+28 | |
| | | | | (GH-11141) | |||||
* | bpo-35477: multiprocessing.Pool.__enter__() fails if called twice (GH-11134) | Victor Stinner | 2018-12-13 | 3 | -8/+27 | |
| | | | | multiprocessing.Pool.__enter__() now fails if the pool is not running: "with pool:" fails if used more than once. | |||||
* | bpo-35412: Add testcase to test_future4 (GH-11131) | Victor Stinner | 2018-12-12 | 2 | -1/+7 | |
| | | | Add testcase to test_future4: check unicode literal. | |||||
* | bpo-35346: Drop Mac OS 9 support from platform (GH-10959) | Victor Stinner | 2018-12-12 | 2 | -15/+4 | |
| | | | | | | Drop Mac OS 9 and Rhapsody support from the platform module: * Rhapsody: last release in 2000 * Mac OS 9: last release in 2001 | |||||
* | bpo-33106: change dbm key deletion error for readonly file from KeyError to ↵ | Xiang Zhang | 2018-12-12 | 9 | -9/+57 | |
| | | | | | | dbm.error (#6295) | |||||
* | Add test for double patching instance methods (#11085) | Anthony Sottile | 2018-12-12 | 2 | -0/+16 | |
| |