Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix test_socket.test_create_connection() (#4206) | Victor Stinner | 2017-11-01 | 1 | -0/+4 | |
| | | | | bpo-31910: test_create_connection() now catchs also EADDRNOTAVAIL to fix the test on Travis CI. | |||||
* | pythoninfo: add Py_DEBUG (#4198) | Victor Stinner | 2017-10-31 | 1 | -0/+8 | |
| | ||||||
* | test_capi.test__testcapi() becomes more verbose (#4197) | Victor Stinner | 2017-10-31 | 1 | -4/+9 | |
| | | | | Write the name of each subtest on a new line to help debugging when a test does crash Python. | |||||
* | bpo-31897: Convert unexpected errors when read bogus binary plists into ↵ | Serhiy Storchaka | 2017-10-31 | 1 | -4/+64 | |
| | | | | InvalidFileException. (#4171) | |||||
* | bpo-31891: Fix building the curses module on NetBSD. (#4165) | Serhiy Storchaka | 2017-10-31 | 1 | -8/+24 | |
| | ||||||
* | bpo-31629: Add support.SaveSignals (#4183) | Victor Stinner | 2017-10-31 | 2 | -1/+43 | |
| | | | | | 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. | |||||
* | bpo-31245: Asyncio unix socket datagram (#3164) | Quentin Dawans | 2017-10-30 | 1 | -0/+11 | |
| | ||||||
* | bpo-20047: Make bytearray methods partition() and rpartition() rejecting (#4158) | Serhiy Storchaka | 2017-10-28 | 1 | -6/+29 | |
| | | | separators that are not bytes-like objects. | |||||
* | bpo-31836: Test_code_module now passes with sys.ps1, ps2 set (#4070) | Terry Jan Reedy | 2017-10-28 | 1 | -0/+8 | |
| | ||||||
* | bpo-31174: Improve the code of test_tools.test_unparse. (#4146) | Serhiy Storchaka | 2017-10-27 | 1 | -8/+8 | |
| | ||||||
* | bpo-28936: Detect lexically first syntax error first (#4097) | Ivan Levkivskyi | 2017-10-26 | 1 | -9/+27 | |
| | | | | Lexically first global and nonlocal syntax errors at given scope should be detected first. | |||||
* | Closes bpo-28281: Remove year (1-9999) limits on the weekday() function. (#4109) | Alexander Belopolsky | 2017-10-26 | 1 | -0/+62 | |
| | | | Patch by Mark Gollahon. | |||||
* | bpo-30553: Add status code 421 to http.HTTPStatus (GH-2589) | Vitor Pereira | 2017-10-26 | 1 | -0/+1 | |
| | ||||||
* | bpo-30697: Fix PyErr_NormalizeException() when no memory (GH-2327) | xdegaye | 2017-10-26 | 1 | -2/+101 | |
| | ||||||
* | bpo-21720: Restore the Python 2.7 logic in handling a fromlist. (#4118) | Serhiy Storchaka | 2017-10-26 | 1 | -0/+43 | |
| | | | | | | BytesWarning no longer emitted when the fromlist argument of __import__() or the __all__ attribute of the module contain bytes instances. | |||||
* | fixes bpo-31866: remove code pertaining to AtheOS support (#4115) | Benjamin Peterson | 2017-10-26 | 1 | -12/+2 | |
| | | | | We stop support this OS in 2007 with commit 19fab761b71a1687aee3415db3a937b5ce31975d. Let's finish. | |||||
* | Closes bpo-31800: Support for colon when parsing time offsets (#4015) | Mario Corchero | 2017-10-26 | 2 | -1/+50 | |
| | | | Add support to strptime to parse time offsets with a colon between the hour and the minutes. | |||||
* | bpo-31664: Fix test_crypt for the openwall implementation of crypt. (#4116) | Serhiy Storchaka | 2017-10-25 | 1 | -1/+7 | |
| | ||||||
* | bpo-31845: Fix reading flags from environment (GH-4105) | Nick Coghlan | 2017-10-25 | 1 | -1/+34 | |
| | | | | | | | | | | The startup refactoring means command line settings are now applied after settings are read from the environment. This updates the way command line settings are applied to account for that, ensures more settings are first read from the environment in _PyInitializeCore, and adds a simple test case covering the flags that are easy to check. | |||||
* | bpo-31690: Allow the inline flags "a", "L", and "u" to be used as group ↵ | Serhiy Storchaka | 2017-10-24 | 1 | -8/+14 | |
| | | | | flags for RE. (#3885) | |||||
* | 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 | |
| |