Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix compiler warning with a type cast (GH-9300) | Raymond Hettinger | 2018-09-14 | 1 | -1/+1 | |
| | ||||||
* | Fix-up parenthesis, organization, and NULL check (GH-9297) | Raymond Hettinger | 2018-09-14 | 1 | -6/+11 | |
| | ||||||
* | Note that distinct argument patterns can be cached separately (GH-9298) | Raymond Hettinger | 2018-09-14 | 1 | -0/+5 | |
| | ||||||
* | bpo-33073: Adding as_integer_ratio to ints. (GH-8750) | Lisa Roach | 2018-09-14 | 8 | -2/+108 | |
| | ||||||
* | Change the xkcd link in comment over https. (GH-5452) | 觉 | 2018-09-14 | 1 | -1/+1 | |
| | ||||||
* | bpo-6721: Hold logging locks across fork() (GH-4071) | Gregory P. Smith | 2018-09-14 | 3 | -0/+119 | |
| | | | | | | | | | bpo-6721: When os.fork() was called while another thread holds a logging lock, the child process may deadlock when it tries to log. This fixes that by acquiring all logging locks before fork and releasing them afterwards. A regression test that fails before this change is included. Within the new unittest itself: There is a small _potential_ due to mixing of fork and a thread in the child process if the parent's thread happened to hold a non-reentrant library call lock (malloc?) when the os.fork() happens. buildbots and time will tell if this actually manifests itself in this test or not. :/ A functionality test that avoids that would be a challenge. An alternate test that isn't trying to produce the deadlock itself but just checking that the release and acquire calls are made would be the next best alternative if so. | |||||
* | bpo-34674: Assume unistd.h exists on Unix. (GH-9290) | Benjamin Peterson | 2018-09-14 | 5 | -41/+3 | |
| | ||||||
* | bpo-34552: Clarify built-in types comparisons (GH-9035) | Windson yang | 2018-09-14 | 2 | -10/+10 | |
| | | | Some updates to ancient text about comparisons; fixes bp-34552. | |||||
* | Remove wording that could be deemed to be perjorative (GH-9287) | Raymond Hettinger | 2018-09-14 | 4 | -6/+6 | |
| | ||||||
* | bpo-33649: Polish asyncio subprocess and sync docs (GH-9285) | Carol Willing | 2018-09-14 | 2 | -13/+12 | |
| | | | | | | Second pass for asyncio subprocess and sync docs. https://bugs.python.org/issue33649 | |||||
* | bpo-34666: Implement stream.awrite() and stream.aclose() (GH-9274) | Andrew Svetlov | 2018-09-13 | 4 | -22/+79 | |
| | ||||||
* | Fix test_asyncio for AIX - do not call transport.get_extra_info('sockname') ↵ | Michael Felt | 2018-09-13 | 2 | -4/+8 | |
| | | | | (#8907) | |||||
* | polish exceptions and platforms (GH-9272) | Carol Willing | 2018-09-13 | 2 | -6/+8 | |
| | ||||||
* | bpo-31132: Remove prlimit permission test. (GH-9280) | Benjamin Peterson | 2018-09-13 | 1 | -3/+0 | |
| | | | | | | | | | This test is doesn't work when the test process is privledged, which is hard to detect. https://bugs.python.org/issue34668 | |||||
* | closes bpo-34664: Only check file permission bits of newly created ↵ | Benjamin Peterson | 2018-09-13 | 1 | -2/+2 | |
| | | | | directories. (GH-9273) | |||||
* | bpo-34247: add porting note to 3.7 What's New (GH-9223) | Ned Deily | 2018-09-13 | 1 | -0/+10 | |
| | ||||||
* | bpo-34661: Fix test skipping call. (GH-9266) | Benjamin Peterson | 2018-09-13 | 1 | -1/+1 | |
| | ||||||
* | closes bpo-34661: Fix test_shutil if unzip doesn't support -t. (GH-9262) | Benjamin Peterson | 2018-09-13 | 2 | -0/+3 | |
| | ||||||
* | bpo-34653: Removed unused function PyParser_SimpleParseStringFilename. (GH-9260) | Eric V. Smith | 2018-09-13 | 2 | -6/+1 | |
| | | | | | | This function was not in any .h file and was not used by Python, so removing it is safe. https://bugs.python.org/issue34653 | |||||
* | bpo-34658: Fix rare subprocess prexec_fn fork error. (GH-9255) | Gregory P. Smith | 2018-09-13 | 2 | -7/+16 | |
| | | | | | | | | | [bpo-34658](https://www.bugs.python.org/issue34658): Fix a rare interpreter unhandled exception state SystemError only seen when using subprocess with a preexec_fn while an after_parent handler has been registered with os.register_at_fork and the fork system call fails. https://bugs.python.org/issue34658 | |||||
* | Polish doc as part of asyncio doc improvement (GH-9185) | Carol Willing | 2018-09-13 | 1 | -18/+17 | |
| | ||||||
* | bpo-34200: Fix non-determinism of test_pkg (GH-9248) | Gregory P. Smith | 2018-09-13 | 2 | -8/+12 | |
| | | | | | | This causes the tearDown code to only unimport the test modules specifically created as part of each test via the self.mkhier method rather than abusing test.support.modules_setup() and the scary test.support.modules_cleanup() code. https://bugs.python.org/issue34200 | |||||
* | bpo-34652: Remove lchmod from the big func checking block. (GH-9247) | Benjamin Peterson | 2018-09-13 | 2 | -3/+9 | |
| | | | | A fix for 883702ebb8bbfa749ef0040d1b58d6222bf589ee. | |||||
* | closes bpo-34641: Further restrict the LHS of keyword argument function call ↵ | Benjamin Peterson | 2018-09-13 | 4 | -14/+50 | |
| | | | | syntax. (GH-9212) | |||||
* | edit async policy doc - second pass (GH-9235) | Carol Willing | 2018-09-13 | 1 | -6/+6 | |
| | ||||||
* | bpo-33649: Edit asyncio eventloop doc - second pass (GH-9233) | Carol Willing | 2018-09-13 | 1 | -62/+68 | |
| | ||||||
* | closes bpo-34654: Tolerate + at the beginning of large years. (GH-9238) | Benjamin Peterson | 2018-09-12 | 1 | -3/+3 | |
| | ||||||
* | closes bpo-34652: Always disable lchmod on Linux. (GH-9234) | Benjamin Peterson | 2018-09-12 | 3 | -0/+19 | |
| | ||||||
* | bpo-32933: Implement __iter__ method on mock_open() (GH-5974) | Tony Flury | 2018-09-12 | 5 | -3/+37 | |
| | ||||||
* | closes bpo-34650: Check if sched_getscheduler returns ENOSYS before ↵ | Benjamin Peterson | 2018-09-12 | 1 | -3/+15 | |
| | | | | | declaring it supported. (GH-9228) musl doesn't support the scheduler API, but declares stubs that alway return ENOSYS. | |||||
* | bpo-34649: Add missing NULL checks to _encoded_const() (GH-9225) | Alexey Izbyshev | 2018-09-12 | 1 | -3/+3 | |
| | | | Reported by Svace static analyzer. | |||||
* | bpo-34630: Skip logging SSL certificate errors by asyncio code (GH-9169) | Andrew Svetlov | 2018-09-12 | 2 | -0/+5 | |
| | ||||||
* | closes bpo-34004: Skip lock interruption tests on musl. (GH-9224) | Benjamin Peterson | 2018-09-12 | 2 | -1/+10 | |
| | | | | | | | | | | | Returning EINTR from pthread semaphore or lock acquisition is an optional POSIX feature. musl does not provide this feature, so some threadsignal tests fail when Python is built against it. There's no good way to test for musl, so we skip if we're on Linux and not using glibc pthreads. Also, hedge in the threading documentation about when we can provide interrupts from lock acquisition. | |||||
* | bpo-31577: Fix a crash in os.utime() in case of a bad ns argument. (GH-3752) | Oren Milman | 2018-09-12 | 3 | -0/+24 | |
| | ||||||
* | closes bpo-34646: Remove PyAPI_* macros from declarations. (GH-9218) | Benjamin Peterson | 2018-09-12 | 13 | -31/+33 | |
| | ||||||
* | bpo-34536: raise error for invalid _missing_ results (GH-9147) | Ethan Furman | 2018-09-12 | 3 | -1/+54 | |
| | | | * raise exception if _missing_ returns None or invalid type | |||||
* | bpo-34638: Store a weak reference to stream reader to break strong ↵ | Andrew Svetlov | 2018-09-12 | 4 | -10/+160 | |
| | | | | | | | | references loop (GH-9201) Store a weak reference to stream readerfor breaking strong references It breaks the strong reference loop between reader and protocol and allows to detect and close the socket if the stream is deleted (garbage collected) | |||||
* | bpo-33649: Fix doc to reflect changes in 47cd10d (or bpo-23347) (GH-9219) | Bumsik Kim | 2018-09-12 | 1 | -2/+1 | |
| | ||||||
* | bpo-34637: Make the *start* argument for *sum()* visible as a keyword ↵ | Raymond Hettinger | 2018-09-12 | 5 | -8/+16 | |
| | | | | argument. (GH-9208) | |||||
* | bpo-34282: Fix Enum._convert shadowing members named _convert (GH-8568) | orlnub123 | 2018-09-12 | 7 | -53/+99 | |
| | | | | | * Fix enum members getting shadowed by parent attributes * Move Enum._convert to EnumMeta._convert_ * Deprecate _convert | |||||
* | bpo-33437: add __new__ vs __init__ example (GH-9145) | Ethan Furman | 2018-09-12 | 2 | -0/+32 | |
| | | | | | | Improve Enum docs. https://bugs.python.org/issue33437 | |||||
* | closes bpo-34640: Remove the TANH_PRESERVES_ZERO_SIGN configure check. (GH-9206) | Benjamin Peterson | 2018-09-12 | 5 | -81/+0 | |
| | ||||||
* | Simplified implementation of _sre.ascii_iscased(). (GH-9097) | Sergey Fedoseev | 2018-09-12 | 1 | -6/+1 | |
| | ||||||
* | closes bpo-25041: Document AF_PACKET socket address format. (GH-4092) | Cheryl Sabella | 2018-09-12 | 3 | -13/+39 | |
| | ||||||
* | Delete old expat comment. (GH-9197) | Benjamin Peterson | 2018-09-12 | 1 | -8/+0 | |
| | ||||||
* | bpo-33649: Cleanup asyncio/streams and asyncio/synchronization docs (GH-9192) | Yury Selivanov | 2018-09-12 | 3 | -286/+263 | |
| | ||||||
* | bpo-34605: Replace "pliant children" with "helpers" (GH-9195) | Victor Stinner | 2018-09-11 | 1 | -1/+1 | |
| | | | | | | | | | In distutils.command.install, replace "pliant children" (previously, it was "pliant slaves") with "helpers". <!-- issue-number: [bpo-34605](https://www.bugs.python.org/issue34605) --> https://bugs.python.org/issue34605 <!-- /issue-number --> | |||||
* | Remove configure check LOG1P_DROPS_ZERO_SIGN. (GH-9193) | Benjamin Peterson | 2018-09-11 | 4 | -86/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is unused. <!-- Thanks for your contribution! Please read this comment in its entirety. It's quite important. # Pull Request title It should be in the following format: ``` bpo-NNNN: Summary of the changes made ``` Where: bpo-NNNN refers to the issue number in the https://bugs.python.org. Most PRs will require an issue number. Trivial changes, like fixing a typo, do not need an issue. # Backport Pull Request title If this is a backport PR (PR made against branches other than `master`), please ensure that the PR title is in the following format: ``` [X.Y] <title from the original PR> (GH-NNNN) ``` Where: [X.Y] is the branch name, e.g. [3.6]. GH-NNNN refers to the PR number from `master`. --> | |||||
* | bpo-1621: Avoid signed integer overflow in set_table_resize(). (GH-9059) | Sergey Fedoseev | 2018-09-11 | 2 | -8/+5 | |
| | | | | | | | | Address a C undefined behavior signed integer overflow issue in set object table resizing. Our -fwrapv compiler flag and practical reasons why sets are unlikely to get this large should mean this was never an issue but it was incorrect code that generates code analysis warnings. <!-- issue-number: [bpo-1621](https://www.bugs.python.org/issue1621) --> https://bugs.python.org/issue1621 <!-- /issue-number --> | |||||
* | closes bpo-31903: Release the GIL when calling into SystemConfiguration ↵ | Max Bélanger | 2018-09-11 | 2 | -0/+8 | |
| | | | | (GH-4178) |