| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
(#4320)
(cherry picked from commit 22b1128559bdeb96907da5840960691bb050d11a)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-4304) (#4321)
* fix doc for multiprocessing.connection.Client
The authenticate argument does not exist on either Client or Listener:
- https://github.com/python/cpython/blob/master/Lib/multiprocessing/connection.pyGH-L483 (master)
- https://github.com/python/cpython/blob/3.6/Lib/multiprocessing/connection.pyGH-L478 (3.6)
- https://github.com/python/cpython/blob/3.5/Lib/multiprocessing/connection.pyGH-L478 (3.5)
- https://github.com/python/cpython/blob/3.4/Lib/multiprocessing/connection.pyGH-L487 (3.4)
The documentation also claimed that these functions will call `current_process().auth_key`, for which I could find no evidence in the code. I rewrote the documentation to reflect the actual behavior.
Also made some small changes to vary sentence structure.
(cherry picked from commit 1e5d54cfa031f1de9ee2d2e968e0551b6e2397b7)
|
|
|
|
|
| |
By accident the size of the empty dict keys object matched the
size of values array.
(cherry picked from commit 39a156c505b7dc431a0a4cffcbefca577848db38)
|
|
|
| |
(cherry picked from commit cb04f7518292108d68e5ba4c685ca2bf2da18eab)
|
|
|
| |
(cherry picked from commit 4135c89395726024abddb7340a0c7a42c801f616)
|
|
|
|
|
| |
object is uninitialized (GH-3958) (#4303)
(cherry picked from commit edb13ae48c17210fa4b2d40a6833ca09db5c121b)
|
|
|
|
|
| |
sqlite3.Cursor.__init__() more than once (GH-3968) (#4301)
(cherry picked from commit e56ab746a965277ffcc4396d8a0902b6e072d049)
|
| |
|
|
|
| |
Manual partial backport of patch that fixed nearly 50 other files.
|
|
|
| |
(cherry picked from commit aed08562220974b5c67371b908f23caa1be07e38)
|
|
|
| |
(cherry picked from commit 0d2a9088d16826343344b04461c8be44b4008710)
|
|
|
| |
(cherry picked from commit aafece7a9e010075fff4420cfbb16f1ec0342698)
|
|
|
| |
(cherry picked from commit 82cd3cede804ca694fb0657fd985d5eff84a414f)
|
|
|
|
|
| |
(GH-1430) (#4271)
(cherry picked from commit b838cc3ff4e039af949c6a19bd896e98e944dcbe)
|
|
|
|
|
|
|
| |
* Using ifconfig on NetBSD and OpenBSD.
* Using arp on Linux, FreeBSD, NetBSD and OpenBSD.
Based on patch by Takayuki Shimizukawa.
(cherry picked from commit ee1a9a2b78d5b6bb1a8148fc5fcf365e6d4e9e67)
|
|
|
| |
(cherry picked from commit a7723d8b09f516a2b75837a3527b8cc7bee89fad)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#4262)
All Blake2 params have to be encoded in little-endian byte order. For
the two multi-byte integer params, leaf_length and node_offset, that
means that assigning a native-endian integer to them appears to work on
little-endian platforms, but gives the wrong result on big-endian. The
current libb2 API doesn't make that very clear, and @sneves is working
on new API functions in the GH issue above. In the meantime, we can work
around the problem by explicitly assigning little-endian values to the
parameter block.
See https://github.com/BLAKE2/libb2/issues/12.
(cherry picked from commit dcfb0e3c04f1b29a0d09bb0a81dcd5ee5a5fef1a)
|
|
|
|
| |
Bug report and patch by Jeroen Demeyer.
(cherry picked from commit f6f90ff079a22b79a58d47b6117cc8a8c7d366f3)
|
|
|
|
|
|
|
|
|
|
|
| |
again if crashed (GH-3247) (#4254)
* bpo-31310: multiprocessing's semaphore tracker should be launched again if crashed
* Avoid mucking with process state in test.
Add a warning if the semaphore process died, as semaphores may then be leaked.
* Add NEWS entry
(cherry picked from commit cbe1756)
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-4230) (#4253)
When a single .c file contains several functions and/or methods with
the same name, a safety _METHODDEF GH-define statement is generated
only for one of them.
This fixes the bug by using the full name of the function to avoid
duplicates rather than just the name..
(cherry picked from commit 4f57409a2f7bdf8fb559cddc7c6533ca2c471c67)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
necessary (GH-3246) (#4252)
* bpo-31308: If multiprocessing's forkserver dies, launch it again when necessary.
* Fix test on Windows
* Add NEWS entry
* Adopt a different approach: ignore SIGINT and SIGTERM, as in semaphore tracker.
* Fix comment
* Make sure the test doesn't muck with process state
* Also test previously-started processes
* Update 2017-08-30-17-59-36.bpo-31308.KbexyC.rst
* Avoid masking SIGTERM in forkserver. It's not necessary and causes a race condition in test_many_processes..
(cherry picked from commit fc6b348b12ad401cab0261b7b71a65c60a08c0a8)
|
|
|
|
|
|
| |
netrc file format doesn't support quotes and escapes.
See https://linux.die.net/man/5/netrc
(cherry picked from commit b24cd055ecb3eea9a15405a6ca72dafc739e6531)
|
|
|
| |
(cherry picked from commit ac03c03b305273f39d5374e2826526d4ab6bb415)
|
|
|
| |
(cherry picked from commit 0d2c645d41eee4ec7549c86ccc23970b692a48b0)
|
|
|
|
|
| |
(GH-4220) (#4221)
(cherry picked from commit 4f469c096628af730b17798d0ebfd8925bfde836)
|
|
|
|
|
|
|
| |
earlier. (GH-3826) (#4218)
Skip a test for unget_wch()/get_wch() on OpenBSD since they are broken
in ncurses 5.7.
(cherry picked from commit 7e68790f3db75a893d5dd336e6201a63bc70212b)
|
|
|
| |
(cherry picked from commit 894ebd065e02debf20c0657d26020ecc42b7534f)
|
|
|
|
|
| |
bpo-31910: test_create_connection() now catchs also EADDRNOTAVAIL to
fix the test on Travis CI.
(cherry picked from commit 280c22a82a6756e9caffef031c564fd98f1b50e7)
|
|
|
|
|
|
|
|
|
|
|
|
| |
Replace occurence of nested comments in blake2 reference implementation
with preprocessor directive for disabling unused code.
`blake2s-load-xop.h` is conditionally pulled in only on chips with XOP
support, among others the AMD Bulldozer. The malformed comments in the
source file breaks the build of `hashlib`'s `_blake2` on GCC 6.3.0.
Official reference code on github uses `GH-if` so this change should be
uncontroversial.
(cherry picked from commit 388cd85e51aa9c73f8e7f35f0d06c258be7b579c)
|
|
|
|
|
|
|
|
|
|
|
| |
(#4212)
Modify the code to use ncurses is_pad() instead of checking WINDOW
_flags field. If your platform does not provide the is_pad(), the
existing way that checks the field will be enabled.
Note: This change does not drop support for platforms where do not
have both WINDOW _flags field and is_pad().
(cherry picked from commit 8bc7d63560024681dce9f40445f2877b2987e92c)
|
|
|
|
|
|
|
| |
(#4201)
* Fix a compilation error on FreeBSD.
* Fix the data attribute size on Mac OS X.
(cherry picked from commit 2298fad5ff907dd48ea0fb5c71fa22334ef28c6b)
|
|
|
|
|
|
|
|
|
|
|
| |
Document the following functions:
* PyObject_Malloc()
* PyObject_Calloc()
* PyObject_Realloc()
* PyObject_Free()
Fix also PyMem_RawFree() documentation.
(cherry picked from commit ec2cbdd1dff2c51788136480b2085e77506ebf34)
|
|
|
|
|
| |
InvalidFileException. (GH-4171) (#4192)
(cherry picked from commit db91e0fe2417f075693a194a492b1699829871e7)
|
|
|
|
|
| |
Removed a code that incorrectly detected in-place resizing in realloc()
and wrote to freed memory.
(cherry picked from commit b484d5606ca76f9bbd0f5de7a6ef753400213e94)
|
|
|
|
|
| |
* Fixed the layout of the kqueue_event structure on OpenBSD and NetBSD.
* Fixed the comparison of the kqueue_event objects.
(cherry picked from commit b9052a0f91d2e83bbc27267247a5920c82b242a3)
|
|
|
| |
(cherry picked from commit baac01e629d90f63dfde6b5cc433f4bc65c5feeb)
|
|
|
|
|
|
|
| |
test_curses now saves/restores signals. On FreeBSD, the curses module
sets handlers of some signals, but don't restore old handlers when
the module is deinitialized.
(cherry picked from commit 19f68301a1295a9c30d9f28b8f1479cdcccd75aa)
|
| |
|
|
|
|
| |
Update the kwarg in the documentation of `multiprocessing.pool.Pool.starmap_async`, from `error_back` to `error_callback` to match the source code.
(cherry picked from commit 11225753a89c2907bb717e6c050fe907e5e11829)
|
|
|
|
|
|
| |
rejecting (GH-4158) (#4162)
separators that are not bytes-like objects..
(cherry picked from commit a2314283ff87c65e1745a42c2f2b716b1a209128)
|
|
|
| |
(cherry picked from commit 006617ff7d6df3fdedcfe53e94ee2c52cc796437)
|
|
|
| |
(cherry picked from commit 5a4bbcd479ce86f68bbe12bc8c16e3447f32e13a)
|
|
|
|
|
|
| |
Editor and output windows only see an empty last prompt line.
This simplifies the code and fixes a minor bug when newline is inserted.
Sys.ps1, if present, is read on Shell start-up, but is not set or changed.
(cherry picked from commit e86172d63af5827a3c2b55b80351cb38a26190eb)
|
|
|
|
|
|
| |
editable. (GH-4106) (#4154)
Changes persist while IDLE remains open
(cherry picked from commit ed6554c487fb2403bc88be6deee611c7a4171d33)
|
|
|
| |
(cherry picked from commit 7351f9e5a91c403d15c6d556f9989b443f1296f9)
|
|
|
| |
(cherry picked from commit d609b0c24ebdb748cabcc6c062dfc86f9000e6c4)
|
|
|
|
|
| |
(#4135)
(cherry picked from commit 56d1f5ca32892c7643eb8cee49c40c1644f1abfe)
|
| |
|
|
|
|
|
|
|
|
| |
(GH-4118) (#4128)
BytesWarning no longer emitted when the fromlist argument of
__import__() or the __all__ attribute of the module contain bytes
instances..
(cherry picked from commit 41c56940c6edf3ea169332a6b039b6c8796f0475)
|
|
|
| |
(cherry picked from commit 275d2d9c4663a1ea8d1f7c8778567a735b0372c1)
|