summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-19696: Move threaded_import_hangers (GH-14655)Kyle Stanley2019-07-122-3/+3
| | | | | | | | | Move `threaded_import_hangers`, a dependency of `test_threaded_import`, to the directory `test_importlib/`. Also update the import references for `threaded_import_hangers` in `test_threaded_import`. https://bugs.python.org/issue19696
* closes bpo-37566: Remove _realsocket from socket.py. (GH-14711)Hai Shi2019-07-121-2/+0
|
* Remove redundant check from arraymodule b_getitem (GH-14676)Disconnect3d2019-07-111-3/+1
| | | | | | | | | | | | The `arraymodule`'s `b_getitem` function returns a `PyLong` converted from `arrayobject`'s array, by dereferencing a pointer to `char`. When the `char` type is `signed char`, the `if (x >= 128) x -= 256;` comparison/code is redundant because a `signed char` will have a value of `[-128, 127]` and so `x` will never be greater or equal than 128. This check was indeed needed for situations where a given compiler would assume `char` being `unsigned char` which would make `x` in `[0, 256]` range. However, the check can be removed if we cast the `ob_item` into a signed char pointer (`signed char*`) instead of `char*`. This PR/commit introduces this change.
* bpo-37558: Shared memory tests are failing due to double slashes (GH-14703)Jakub Kulík2019-07-112-1/+2
| | | | | | With the addition of shared memory into Python 3.8, we now have three tests failing on Solaris, namely `test_multiprocessing_fork`, `test_multiprocessing_forkserver` and `test_multiprocessing_spawn`. The reason seems to be incorrect name handling which results in two slashes being prepended. https://bugs.python.org/issue37558
* closes bpo-37554: Remove `q:q` in os.rst documentation (GH-14692)Mariatta2019-07-111-1/+1
| | | https://bugs.python.org/issue37554
* bpo-29548: no longer use PyEval_Call* functions (GH-14683)Jeroen Demeyer2019-07-114-6/+14
|
* bpo-36390: simplify classifyws(), rename it and add unit tests (GH-14500)Tal Einat2019-07-112-23/+77
|
* bpo-34369: make kqueue.control() docs better reflect that timeout is ↵Tal Einat2019-07-111-3/+4
| | | | positional-only (GH-9499)
* bpo-37547: add _PyObject_CallMethodOneArg (GH-14685)Jeroen Demeyer2019-07-1123-93/+104
|
* Document default parameter of .seek() in the signature. (GH-14691)Benjamin Peterson2019-07-111-2/+2
|
* Fix compiler warning in new code. (#14690)Tim Peters2019-07-101-1/+1
| | | uintptr_t is an integer type, and can't be compared to NULL directly.
* bpo-37537: Compute allocated blocks in _Py_GetAllocatedBlocks() (#14680)Neil Schemenauer2019-07-102-7/+25
| | | | | | Keeping an account of allocated blocks slows down _PyObject_Malloc() and _PyObject_Free() by a measureable amount. Have _Py_GetAllocatedBlocks() iterate over the arenas to sum up the allocated blocks for pymalloc.
* Rename memory.c to mpalloc.c for consistency with the header file. (#14687)Stefan Krah2019-07-105-4/+4
|
* Really remove vcstdint.h. (#14686)Stefan Krah2019-07-103-234/+1
|
* bpo-26806: IDLE should run without docstrings (#14657)Terry Jan Reedy2019-07-092-8/+19
| | | After fcf1d00, IDLE startup failed with python compiled without docstrings.
* bpo-27679: Remove set_bitfields() from _ctypes_test (GH-14648)Hai Shi2019-07-091-24/+0
|
* bpo-37322: ssl test_pha_required_nocert() ignores expected SSLError (GH-14670)Victor Stinner2019-07-091-15/+18
| | | | | | test_ssl.test_pha_required_nocert() now uses support.catch_threading_exception() to ignore the expected SSLError in ConnectionHandler of ThreadedEchoServer (it is only raised sometimes on Windows).
* bpo-18374: fix tests to check the correct thing about line numbers (GH-14659)Carl Friedrich Bolz-Tereick2019-07-091-4/+4
|
* Revert "bpo-37322: Fix test_ssl.test_pha_required_nocert() ResourceWarning ↵Victor Stinner2019-07-091-1/+0
| | | | | (GH-14662)" (GH-14669) This reverts commit cf9c41c422de3774862db964fe3153086bad3f61.
* bpo-37120: Fix _ssl get_num_tickets() (GH-14668)Victor Stinner2019-07-091-1/+1
| | | | | | | Replace PyLong_FromLong() with PyLong_FromSize_t(): SSL_CTX_get_num_tickets() return type is size_t. https://bugs.python.org/issue37120
* bpo-37526: Add support.catch_threading_exception() (GH-14664)Victor Stinner2019-07-093-0/+92
| | | | Context manager catching threading.Thread exception using threading.excepthook.
* bpo-37322: Fix test_ssl.test_pha_required_nocert() ResourceWarning (GH-14662)Victor Stinner2019-07-091-0/+1
| | | | Close the TLS connection in test_pha_required_nocert() of test_ssl to fix a ResourceWarning.
* bpo-18374: fix wrong col_offset of some ast.BinOp instances (GH-14607)Carl Friedrich Bolz-Tereick2019-07-084-1/+34
| | | | | Nested BinOp instances (e.g. a+b+c) had a wrong col_offset for the second BinOp (e.g. 2 instead of 0 in the example). Fix it by using the correct st node to copy the line and col_offset from in ast.c.
* Doc: Fix example title. (GH-14639)Julien Palard2019-07-081-1/+1
|
* Doc: Fix: Proper UpperCamelCase and lowercase. (GH-14644)Julien Palard2019-07-081-1/+1
| | | Initial report by Michael Blankenship on docs@
* bpo-37421: test_concurrent_futures stops ForkServer (GH-14643)Victor Stinner2019-07-082-0/+5
| | | | test_concurrent_futures now explicitly stops the ForkServer instance if it's running.
* bpo-37337: Add _PyObject_CallMethodNoArgs() (GH-14267)Jeroen Demeyer2019-07-0837-132/+154
|
* bpo-37520: Correct behavior for zipfile.Path.parent (GH-14638)Jason R. Coombs2019-07-073-1/+13
| | | | | | * bpo-37520: Correct behavior for zipfile.Path.parent * 📜🤖 Added by blurb_it.
* bpo-37513: Change ValueError to TypeError in an example in ctypes doc (GH-14615)Hai Shi2019-07-071-1/+1
|
* bpo-37478: Add missing 'and'. (GH-14631)Terry Jan Reedy2019-07-071-1/+1
|
* bpo-37478: Specify possible exceptions for os.chdir() (GH-14611)Kyle Stanley2019-07-072-0/+4
|
* bpo-37456: Slash ('/') is now part of syntax. (GH-14627)Terry Jan Reedy2019-07-062-4/+1
|
* bpo-37487: Fix PyList_GetItem index description. (GH-14623)Terry Jan Reedy2019-07-062-3/+4
| | | 0 is a legal index.
* bpo-26806: add 30 to the recursion limit in IDLE's shell (GH-13944)Tal Einat2019-07-066-135/+181
| | | | | | | | This is done to compensate for the extra stack frames added by IDLE itself, which cause problems when setting the recursion limit to low values. This wraps sys.setrecursionlimit() and sys.getrecursionlimit() as invisibly as possible.
* bpo-37149: Replace dead link for online Tkinter reference (GH-14616)Terry Jan Reedy2019-07-062-2/+4
| | | Also fix a name misspelling.
* closes bpo-37508: Fix name of type in memory.rst. (GH-14604)Hai Shi2019-07-061-1/+1
|
* Fix some typos (GH-14435)Min ho Kim2019-07-055-8/+8
|
* Typo fix in file Include/object.h (GH-14556)Hansraj Das2019-07-051-2/+2
| | | | * accross -> across * Extra space removed in comment
* Move test_threaded_import.py to test_importlib/ (GH-14582)Kyle Stanley2019-07-051-0/+0
|
* bpo-37151: remove _PyMethodDef_RawFastCall* functions (GH-14603)Jeroen Demeyer2019-07-052-273/+0
|
* bpo-37421: multiprocessing tests now stop ForkServer (GH-14601)Victor Stinner2019-07-053-0/+28
| | | | | multiprocessing tests now stop the ForkServer instance if it's running: close the "alive" file descriptor to ask the server to stop and then remove its UNIX address.
* bpo-36974: separate vectorcall functions for each calling convention (GH-13781)Jeroen Demeyer2019-07-0510-99/+368
|
* bpo-37483: fix reference leak in _PyCodec_Lookup (GH-14600)Jeroen Demeyer2019-07-051-13/+14
|
* bpo-37481: Deprecate distutils bdist_wininst command (GH-14553)Victor Stinner2019-07-056-3/+30
| | | | The distutils bdist_wininst command is now deprecated, use bdist_wheel (wheel packages) instead.
* Use OSError subclasses in os documentation (GH-14262)Tim Hoffmann2019-07-051-17/+24
|
* bpo-37479: on Enum subclasses with mixins, __format__ uses overridden ↵thatneat2019-07-045-6/+63
| | | | | __str__ (GH-14545) * bpo-37479: on Enum subclasses with mixins, __format__ uses overridden __str__
* bpo-37266: Add bpo number to the What's New entry (GH614584)Victor Stinner2019-07-041-0/+1
| | | To get more info about this change.
* bpo-37493: use _PyObject_CallNoArg in more places (GH-14575)Jeroen Demeyer2019-07-046-16/+15
|
* bpo-37483: add _PyObject_CallOneArg() function (#14558)Jeroen Demeyer2019-07-0444-146/+128
|
* bpo-37421: Fix multiprocessing get_temp_dir() finalizer (GH-14572)Victor Stinner2019-07-042-1/+17
| | | | | | Fix multiprocessing.util.get_temp_dir() finalizer: clear also the 'tempdir' configuration of the current process, so next call to get_temp_dir() will create a new temporary directory, rather than reusing the removed temporary directory.