Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Closes bpo-28292: Implemented Calendar.itermonthdays3() and ↵ | Alexander Belopolsky | 2017-10-24 | 1 | -5/+11 |
| | | | | | | | itermonthdays4(). (#4079) Calendar.itermonthdates() will now consistently raise an exception when a date falls outside of the 0001-01-01 through 9999-12-31 range. To support applications that cannot tolerate such exceptions, the new methods itermonthdays3() and itermonthdays4() are added. The new methods return tuples and are not restricted by the range supported by datetime.date. Thanks @serhiy-storchaka for suggesting the itermonthdays4() method and for the review. | ||||
* | bpo-31664: Add support for the Blowfish method in crypt. (#3854) | Serhiy Storchaka | 2017-10-24 | 1 | -11/+42 |
| | |||||
* | bpo-30639: Lazily compute repr for error (#2132) | Thomas Kluyver | 2017-10-24 | 1 | -0/+8 |
| | |||||
* | bpo-31174: Fix test_tools.test_unparse (#4102) | Victor Stinner | 2017-10-24 | 1 | -2/+13 |
| | | | | | test_unparse.DirectoryTestCase now stores the names sample to always test the same files. It prevents false alarms when hunting reference leaks. | ||||
* | bpo-31827: Remove os.stat_float_times() (GH-4061) | Victor Stinner | 2017-10-24 | 1 | -17/+0 |
| | |||||
* | bpo-31847: Fix commented out tests in test_syntax. (#4084) | Serhiy Storchaka | 2017-10-23 | 1 | -18/+10 |
| | | | SyntaxError now is raised instead of SyntaxWarning. | ||||
* | bpo-30817: Fix PyErr_PrintEx() when no memory (#2526) | xdegaye | 2017-10-23 | 1 | -1/+18 |
| | |||||
* | bpo-31752: Fix possible crash in timedelta constructor called with custom ↵ | Serhiy Storchaka | 2017-10-23 | 1 | -0/+20 |
| | | | | | integers. (#3947) Bad remainder in divmod() in intermediate calculations caused an assertion failure. | ||||
* | bpo-31756: subprocess.run should alias universal_newlines to text (#4049) | andyclegg | 2017-10-23 | 1 | -35/+38 |
| | | | | | | | | | Improve human friendliness of the Popen API: Add text=False as a keyword-only argument to subprocess.Popen along with a Popen attribute .text_mode and set this based on the encoding/errors/universal_newlines/text arguments. The universal_newlines parameter and attribute are maintained for backwards compatibility. | ||||
* | Move exc state to generator. Fixes bpo-25612 (#1773) | Mark Shannon | 2017-10-22 | 2 | -2/+58 |
| | | | Move exception state information from frame objects to coroutine (generator/thread) object where it belongs. | ||||
* | bpo-20825: Containment test for ip_network in ip_network. | Cheryl Sabella | 2017-10-22 | 1 | -1/+86 |
| | |||||
* | bpo-28286: Add tests for the mode argument of GzipFile. (#4074) | Serhiy Storchaka | 2017-10-22 | 1 | -0/+24 |
| | |||||
* | bpo-28326: Fix multiprocessing.Process when stdout and/or stderr is closed ↵ | Antoine Pitrou | 2017-10-22 | 1 | -0/+21 |
| | | | | or None. (#4073) | ||||
* | Fix bytes warnings in test_struct (added in bpo-29802). (#4068) | Serhiy Storchaka | 2017-10-21 | 1 | -2/+2 |
| | |||||
* | bpo-31781: Prevent crashes when calling methods of an uninitialized ↵ | Oren Milman | 2017-10-20 | 1 | -0/+14 |
| | | | | zipimport.zipimporter object (GH-3986) | ||||
* | bpo-31825: Fixed OverflowError in the 'unicode-escape' codec (#4058) | Serhiy Storchaka | 2017-10-20 | 1 | -0/+4 |
| | | | | and in codecs.escape_decode() when decode an escaped non-ascii byte. | ||||
* | bpo-31819: Add AbstractEventLoop.sock_recv_into() (#4051) | Antoine Pitrou | 2017-10-19 | 2 | -0/+31 |
| | | | | | | | | * bpo-31819: Add AbstractEventLoop.sock_recv_into() * Add NEWS * Add doc | ||||
* | bpo-31632: fix set_protocol() in _SSLProtocolTransport (#3817) (#3817) | jlacoline | 2017-10-19 | 1 | -0/+8 |
| | |||||
* | bpo-31457: Don't omit inner ``process()`` calls with nested LogAdapters (#4044) | Łukasz Langa | 2017-10-19 | 1 | -6/+14 |
| | | | | | | | | | | | This used to be the case on Python 2. Commit 212b590e118e3650b596917021ed9612a918180b changed the implementation for Python 3, making the `log()` method of LogAdapter call `logger._log()` directly. This makes nested log adapters not execute their ``process()`` method. This patch fixes the issue. Also, now proxying `name`, too, to make `repr()` work with nested log adapters. New tests added. | ||||
* | bpo-31457: Make the `LoggerAdapter.manager` property settable (#4042) | Łukasz Langa | 2017-10-19 | 1 | -1/+14 |
| | | | | Due to a bug in the initial fix, the setter was in fact creating a different property. This is now fixed. | ||||
* | time.clock() now emits a DeprecationWarning (GH-4020) | Victor Stinner | 2017-10-17 | 1 | -10/+12 |
| | | | | | | | | | | bpo-31803: time.clock() and time.get_clock_info('clock') now emit a DeprecationWarning warning. Replace time.clock() with time.perf_counter() in tests and demos. Remove also hasattr(time, 'monotonic') in test_time since time.monotonic() is now always available since Python 3.5. | ||||
* | bpo-28603: Fix formatting tracebacks for unhashable exceptions (#4014) | Zane Bitter | 2017-10-17 | 1 | -0/+46 |
| | |||||
* | bpo-31334: Fix timeout in select.poll.poll() (GH-3277) | Riccardo Coccioli | 2017-10-17 | 1 | -1/+1 |
| | | | | | | Always pass -1, or INFTIM where defined, to the poll() system call when a negative timeout is passed to the poll.poll([timeout]) method in the select module. Various OSes throw an error with arbitrary negative values. | ||||
* | bpo-31786: Make functions in the select module blocking when timeout is a ↵ | Pablo Galindo | 2017-10-17 | 2 | -0/+25 |
| | | | | small negative value. (#4003) | ||||
* | bpo-31558: Add gc.freeze() (#3705) | brainfvck | 2017-10-16 | 1 | -0/+6 |
| | | | | | Freeze all the objects tracked by gc - move them to a permanent generation and ignore all the future collections. This can be used before a POSIX fork() call to make the gc copy-on-write friendly or to speed up collection. | ||||
* | bpo-31792: Restore os.environ in test_buffer when import numpy. (#4007) | Serhiy Storchaka | 2017-10-16 | 1 | -2/+3 |
| | |||||
* | bpo-31676: Fix test_imp.test_load_source() side effect (#3871) | Victor Stinner | 2017-10-13 | 1 | -2/+7 |
| | | | | test_load_source() now replaces the current __name__ module with a temporary module to prevent side effects. | ||||
* | bpo-25588: Fix regrtest when run inside IDLE (#3962) | Victor Stinner | 2017-10-13 | 1 | -12/+31 |
| | | | | | | | When regrtest in run inside IDLE, sys.stdout and sys.stderr are not TextIOWrapper objects and have no file descriptor associated: sys.stderr.fileno() raises io.UnsupportedOperation. Disable faulthandler and don't replace sys.stdout in that case. | ||||
* | bpo-31672: Fix string.Template accidentally matched non-ASCII identifiers ↵ | INADA Naoki | 2017-10-13 | 1 | -0/+6 |
| | | | | | | | | | | | (GH-3872) Pattern `[a-z]` with `IGNORECASE` flag can match to some non-ASCII characters. Straightforward solution for this is using `IGNORECASE | ASCII` flag. But users may subclass `Template` and override only `idpattern`. So we want to avoid changing `Template.flags`. So this commit uses local flag `-i` for `idpattern` and change `[a-z]` to `[a-zA-Z]`. | ||||
* | bpo-30058: Fixed buffer overflow in select.kqueue.control(). (#1095) | Serhiy Storchaka | 2017-10-12 | 1 | -0/+24 |
| | |||||
* | bpo-31567: more decorator markup fixes in docs (GH-3959) (#3966) | Éric Araujo | 2017-10-12 | 1 | -2/+2 |
| | |||||
* | bpo-31728: Prevent crashes in _elementtree due to unsafe cleanup of ↵ | Oren Milman | 2017-10-10 | 1 | -0/+32 |
| | | | | Element.text and Element.tail (#3924) | ||||
* | bpo-31701: faulthandler: ignore MSC and COM Windows exception (#3929) | Victor Stinner | 2017-10-09 | 1 | -0/+16 |
| | | | | | | bpo-31701: On Windows, faulthandler.enable() now ignores MSC and COM exceptions. | ||||
* | bpo-28280: Make PyMapping_Keys(), PyMapping_Values() and PyMapping_Items() ↵ | Oren Milman | 2017-10-08 | 1 | -1/+45 |
| | | | | always return a list (#3840) | ||||
* | bpo-31642: Restore blocking "from" import by setting None in sys.modules. ↵ | Serhiy Storchaka | 2017-10-08 | 1 | -0/+14 |
| | | | | (#3834) | ||||
* | bpo-31724: Skip test_xmlrpc_net (GH-3921) | Zachary Ware | 2017-10-08 | 1 | -0/+2 |
| | | | | | With the upgrade of buildbot.python.org from Buildbot 0.8.x to 0.9.x, the xmlrpc interface has been removed. This test is now skipped until it can be rewritten to query a suitable substitute. | ||||
* | bpo-31655: Validate keyword names in SimpleNamespace constructor. (#3909) | Serhiy Storchaka | 2017-10-07 | 1 | -0/+2 |
| | |||||
* | bpo-31708: Allow async generator expressions in synchronous functions (#3905) | Yury Selivanov | 2017-10-06 | 2 | -0/+40 |
| | |||||
* | bpo-31709: Drop support for asynchronous __aiter__. (#3903) | Yury Selivanov | 2017-10-06 | 2 | -93/+21 |
| | |||||
* | weaken pthread_getcpuclockid test (more bpo-31596) (#3904) | Benjamin Peterson | 2017-10-06 | 1 | -8/+1 |
| | | | There just isn't much we can assert in a portable way. | ||||
* | bpo-30406: Make async and await proper keywords (#1669) | Jelle Zijlstra | 2017-10-06 | 4 | -41/+23 |
| | | | Per PEP 492, 'async' and 'await' should become proper keywords in 3.7. | ||||
* | PEP 553 built-in breakpoint() function (bpo-31353) (#3355) | Barry Warsaw | 2017-10-05 | 2 | -2/+111 |
| | | | Implement PEP 553, built-in breakpoint() with support from sys.breakpointhook(), along with documentation and tests. Closes bpo-31353 | ||||
* | bpo-31556: asyncio.wait_for can cancel futures faster with timeout <= 0 (#3703) | Victor K | 2017-10-05 | 1 | -0/+70 |
| | |||||
* | bpo-31178: Mock os.waitpid() in test_subprocess (#3896) | Victor Stinner | 2017-10-05 | 1 | -4/+8 |
| | | | | | | Fix test_exception_errpipe_bad_data() and test_exception_errpipe_normal() of test_subprocess: mock os.waitpid() to avoid calling the real os.waitpid(0, 0) which is an unexpected side effect of the test. | ||||
* | closes bpo-31596: Add an interface for pthread_getcpuclockid(3) (#3756) | pdox | 2017-10-05 | 1 | -0/+20 |
| | |||||
* | bpo-30404: The -u option now makes the stdout and stderr streams totally ↵ | Serhiy Storchaka | 2017-10-04 | 1 | -4/+3 |
| | | | | unbuffered. (#1667) | ||||
* | bpo-30397: Add re.Pattern and re.Match. (#1646) | Serhiy Storchaka | 2017-10-04 | 2 | -5/+3 |
| | |||||
* | bpo-31675: Fix memory leaks in Tkinter's methods splitlist() and split() (#3866) | Serhiy Storchaka | 2017-10-03 | 1 | -21/+33 |
| | | | | | when pass a string larger than 2 GiB. Decrease memory requirements for Tcl's bigmem tests. | ||||
* | bpo-31657: Add test coverage for the __debug__ case (GH-3450) | diana | 2017-10-03 | 1 | -8/+11 |
| | | | | | | Update the compile tests for optimization levels to also check that __debug__ blocks are included or excluded based on the optimization level. Patch by Diana Clarke. | ||||
* | bpo-31619: Fixed a ValueError when convert a string with large number of ↵ | Serhiy Storchaka | 2017-10-03 | 1 | -0/+8 |
| | | | | | underscores (#3827) to integer with binary base. |