84c4b19 | Victor Stinner | 24 November 2017, 21:30:27 UTC | bpo-32124: Document C functions safe before init (#4540) Explicitly document C functions and C variables that can be set before Py_Initialize(). | 24 November 2017, 21:30:27 UTC |
da9c8c3 | Victor Stinner | 24 November 2017, 21:06:38 UTC | bpo-32125: Remove Py_UseClassExceptionsFlag flag (#4544) This flag was deprecated and wasn't used anymore since Python 2.0. | 24 November 2017, 21:06:38 UTC |
5742f67 | xdegaye | 24 November 2017, 17:56:22 UTC | bpo-28684: Remove useless import added by the previous commit (GH-4547) | 24 November 2017, 17:56:22 UTC |
78a5722 | Will White | 24 November 2017, 17:28:12 UTC | Improve the String tutorial docs (GH-4541) The paragraph that contains example of string literal concatenation was placed after the section about concatenation using the '+' sign. Moved the paragraph to the appropriate section. | 24 November 2017, 17:28:12 UTC |
0f86cd3 | xdegaye | 24 November 2017, 16:35:55 UTC | bpo-28684: asyncio tests handle PermissionError raised on binding unix sockets (GH-4503) The test.support.skip_unless_bind_unix_socket() decorator is used to skip asyncio tests that fail because the platform lacks a functional bind() function for unix domain sockets (as it is the case for non root users on the recent Android versions that run now SELinux in enforcing mode). | 24 November 2017, 16:35:55 UTC |
19fb134 | Berker Peksag | 24 November 2017, 15:11:18 UTC | bpo-12239: Make GetProperty() return None for VT_EMPTY (GH-4539) The previous behavior was to raise an exception NotImplementedError: result of type 0 when the value of the property is VT_EMPTY. | 24 November 2017, 15:11:18 UTC |
9e87e77 | Victor Stinner | 24 November 2017, 11:09:24 UTC | bpo-32096: Remove obj and mem from _PyRuntime (#4532) bpo-32096, bpo-30860: Partially revert the commit 2ebc5ce42a8a9e047e790aefbf9a94811569b2b6: * Move structures back from Include/internal/mem.h to Objects/obmalloc.c * Remove _PyObject_Initialize() and _PyMem_Initialize() * Remove Include/internal/pymalloc.h * Add test_capi.test_pre_initialization_api(): Make sure that it's possible to call Py_DecodeLocale(), and then call Py_SetProgramName() with the decoded string, before Py_Initialize(). PyMem_RawMalloc() and Py_DecodeLocale() can be called again before _PyRuntimeState_Init(). Co-Authored-By: Eric Snow <ericsnowcurrently@gmail.com> | 24 November 2017, 11:09:24 UTC |
4864a61 | Berker Peksag | 24 November 2017, 09:53:58 UTC | bpo-12382: Make OpenDatabase() raise better exception messages (GH-4528) Previously, 'msilib.OpenDatabase()' function raised a cryptical exception message when it couldn't open or create an MSI file. For example: Traceback (most recent call last): File "<stdin>", line 1, in <module> _msi.MSIError: unknown error 6e | 24 November 2017, 09:53:58 UTC |
cdfe910 | Emanuele Gaifas | 24 November 2017, 08:49:57 UTC | Extending Python Doc minor updates (GH-4518) Move footnote markers to be closer to the related terminology: before the end of the sentence, instead of after. | 24 November 2017, 08:49:57 UTC |
3df02db | Berker Peksag | 23 November 2017, 23:40:26 UTC | bpo-31325: Fix usage of namedtuple in RobotFileParser.parse() (#4529) | 23 November 2017, 23:40:26 UTC |
0858495 | Raymond Hettinger | 23 November 2017, 21:32:23 UTC | bpo-32099 Add deque variant of roundrobin() recipe (#4497) * Minor wording tweaks | 23 November 2017, 21:32:23 UTC |
dcaed6b | Berker Peksag | 23 November 2017, 18:34:20 UTC | bpo-19610: setup() now raises TypeError for invalid types (GH-4519) The Distribution class now explicitly raises an exception when 'classifiers', 'keywords' and 'platforms' fields are not specified as a list. | 23 November 2017, 18:34:20 UTC |
6a54c67 | Victor Stinner | 23 November 2017, 18:02:23 UTC | bpo-31979: Remove unused align_maxchar() function (#4527) | 23 November 2017, 18:02:23 UTC |
b919795 | Victor Stinner | 23 November 2017, 18:02:04 UTC | bpo-32030: Fix calculate_path() on macOS (#4526) | 23 November 2017, 18:02:04 UTC |
b98f171 | Victor Stinner | 23 November 2017, 16:13:44 UTC | bpo-27535: Cleanup create_filter() (#4516) create_filter() now expects the action as a _Py_Identifier which avoids string comparison, and more important, to avoid handling the "unknown action" annoying case. | 23 November 2017, 16:13:44 UTC |
0327bde | Victor Stinner | 23 November 2017, 16:03:20 UTC | bpo-32030: Rewrite calculate_path() (#4521) * calculate_path() rewritten in Modules/getpath.c and PC/getpathp.c * Move global variables into a new PyPathConfig structure. * calculate_path(): * Split the huge calculate_path() function into subfunctions. * Add PyCalculatePath structure to pass data between subfunctions. * Document PyCalculatePath fields. * Move cleanup code into a new calculate_free() subfunction * calculate_init() now handles Py_DecodeLocale() failures properly * calculate_path() is now atomic: only replace PyPathConfig (path_config) at once on success. * _Py_GetPythonHomeWithConfig() now returns an error on failure * Add _Py_INIT_NO_MEMORY() helper: report a memory allocation failure * Coding style fixes (PEP 7) | 23 November 2017, 16:03:20 UTC |
bdb8315 | Berker Peksag | 23 November 2017, 12:47:30 UTC | bpo-1102: View.Fetch() now returns None when it's exhausted (GH-4459) | 23 November 2017, 12:47:30 UTC |
5ce1069 | xdegaye | 23 November 2017, 11:01:36 UTC | bpo-28762: Revert last commit (now using Android Unified Headers) (GH-4488) | 23 November 2017, 11:01:36 UTC |
c06c22e | xdegaye | 23 November 2017, 10:44:38 UTC | bpo-29040: Support building Android with Unified Headers (GH-4492) | 23 November 2017, 10:44:38 UTC |
5ad7ef8 | xdegaye | 23 November 2017, 10:13:22 UTC | bpo-28538: Revert all the changes (now using Android Unified Headers) (GH-4479) | 23 November 2017, 10:13:22 UTC |
1f15111 | Victor Stinner | 23 November 2017, 09:43:14 UTC | bpo-32030: Add _PyMainInterpreterConfig.pythonhome (#4513) * Py_Main() now reads the PYTHONHOME environment variable * Add _Py_GetPythonHomeWithConfig() private function * Add _PyWarnings_InitWithConfig() * init_filters() doesn't get the current core configuration from the current interpreter or Python thread anymore. Pass explicitly the configuration to _PyWarnings_InitWithConfig(). * _Py_InitializeCore() now fails on _PyWarnings_InitWithConfig() failure. * Pass configuration as constant | 23 November 2017, 09:43:14 UTC |
e32e79f | Victor Stinner | 23 November 2017, 00:49:45 UTC | bpo-32030: Move PYTHONPATH to _PyMainInterpreterConfig (#4511) Move _PyCoreConfig.module_search_path_env to _PyMainInterpreterConfig structure. | 23 November 2017, 00:49:45 UTC |
0784a2e | Jesse-Bakker | 23 November 2017, 00:23:28 UTC | bpo-10049: Add a "no-op" (null) context manager to contextlib (GH-4464) Adds a simpler and faster alternative to ExitStack for handling single optional context managers without having to change the lexical structure of your code. | 23 November 2017, 00:23:28 UTC |
20d48a4 | Cheryl Sabella | 23 November 2017, 00:05:25 UTC | bpo-32100: IDLE: Fix pathbrowser errors; improve tests. (#4484) Patch mostly by Cheryl Sabella | 23 November 2017, 00:05:25 UTC |
d434110 | Victor Stinner | 22 November 2017, 23:12:09 UTC | bpo-32030: Add _PyCoreConfig.module_search_path_env (#4504) Changes: * Py_Main() initializes _PyCoreConfig.module_search_path_env from the PYTHONPATH environment variable. * PyInterpreterState_New() now initializes core_config and config fields * Compute sys.path a little bit ealier in _Py_InitializeMainInterpreter() and new_interpreter() * Add _Py_GetPathWithConfig() private function. | 22 November 2017, 23:12:09 UTC |
8265627 | Victor Stinner | 22 November 2017, 22:51:42 UTC | bpo-27535: Optimize warnings.warn() (#4508) * Optimize warnings.filterwarnings(). Replace re.compile('') with None to avoid the cost of calling a regex.match() method, whereas it always matchs. * Optimize get_warnings_attr(): replace PyObject_GetAttrString() with _PyObject_GetAttrId(). Cleanup also create_filter(): * Use _Py_IDENTIFIER() to allow to cleanup strings at Python finalization * Replace Py_FatalError() with a regular exceptions | 22 November 2017, 22:51:42 UTC |
bb11c3c | Victor Stinner | 22 November 2017, 19:58:59 UTC | bpo-31324: Fix test.support.set_match_tests(None) (#4505) | 22 November 2017, 19:58:59 UTC |
803ddd8 | Victor Stinner | 21 November 2017, 23:34:02 UTC | bpo-31324: Optimize support._match_test() (#4421) * Rename support._match_test() to support.match_test(): make it public * Remove support.match_tests global variable. It is replaced with a new support.set_match_tests() function, so match_test() doesn't have to check each time if patterns were modified. * Rewrite match_test(): use different code paths depending on the kind of patterns for best performances. Co-Authored-By: Serhiy Storchaka <storchaka@gmail.com> | 21 November 2017, 23:34:02 UTC |
431665b | AraHaan | 21 November 2017, 16:06:26 UTC | bpo-32105: add asyncio.BaseEventLoop.connect_accepted_socket versionadded to documentation. (#4491) | 21 November 2017, 16:06:26 UTC |
e256b40 | Barry Warsaw | 21 November 2017, 15:28:13 UTC | bpo-31672 - Add one last minor clarification for idpattern (#4483) Add one last minor clarification for idpattern | 21 November 2017, 15:28:13 UTC |
337cbba | Raymond Hettinger | 21 November 2017, 08:23:34 UTC | Add comment and improve variable name in roundrobin() (#4486) | 21 November 2017, 08:23:34 UTC |
bc9b6e2 | Victor Stinner | 21 November 2017, 02:59:50 UTC | bpo-32043: Rephrase -X dev documentation (#4478) * should not be more verbose if the code is correct * enabled checks can be "expensive" | 21 November 2017, 02:59:50 UTC |
25420fe | Victor Stinner | 21 November 2017, 02:12:22 UTC | bpo-32030: Add more options to _PyCoreConfig (#4485) Py_Main() now handles two more -X options: * -X showrefcount: new _PyCoreConfig.show_ref_count field * -X showalloccount: new _PyCoreConfig.show_alloc_count field | 21 November 2017, 02:12:22 UTC |
09f3a8a | Victor Stinner | 21 November 2017, 01:32:40 UTC | bpo-32089: Fix warnings filters in dev mode (#4482) The developer mode (-X dev) now creates all default warnings filters to order filters in the correct order to always show ResourceWarning and make BytesWarning depend on the -b option. Write a functional test to make sure that ResourceWarning is logged twice at the same location in the developer mode. Add a new 'dev_mode' field to _PyCoreConfig. | 21 November 2017, 01:32:40 UTC |
f39b674 | Victor Stinner | 20 November 2017, 23:24:56 UTC | bpo-32094: Update subprocess for -X dev (#4480) Modify subprocess._args_from_interpreter_flags() to handle -X dev option. Add also unit tests for test.support.args_from_interpreter_flags() and test.support.optim_args_from_interpreter_flags(). | 20 November 2017, 23:24:56 UTC |
423fd36 | Yury Selivanov | 20 November 2017, 22:26:28 UTC | bpo-32066: Support pathlib.Path in create_unix_connection; sock arg should be optional (#4447) | 20 November 2017, 22:26:28 UTC |
895862a | Victor Stinner | 20 November 2017, 17:47:03 UTC | bpo-32088: Display Deprecation in debug mode (#4474) When Python is build is debug mode (Py_DEBUG), DeprecationWarning, PendingDeprecationWarning and ImportWarning warnings are now displayed by default. test_venv: run "-m pip" and "-m ensurepip._uninstall" with -W ignore::DeprecationWarning since pip code is not part of Python. | 20 November 2017, 17:47:03 UTC |
c5a2071 | Victor Stinner | 20 November 2017, 16:08:03 UTC | bpo-32050: Fix -x option documentation (#4475) The line number in correct when using the -x option: Py_Main() uses ungetc() to not skip the first newline character. | 20 November 2017, 16:08:03 UTC |
44862df | Victor Stinner | 20 November 2017, 15:14:07 UTC | bpo-32047: -X dev enables asyncio debug mode (#4418) The new -X dev command line option now also enables asyncio debug mode. | 20 November 2017, 15:14:07 UTC |
04dee27 | Riccardo Magliocchetti | 20 November 2017, 08:48:56 UTC | Remove duplicated import from datetime tests (#4444) | 20 November 2017, 08:48:56 UTC |
e96ba18 | Vinay Sajip | 19 November 2017, 18:36:17 UTC | bpo-30904: Removed duplicated Host: header. (#4465) | 19 November 2017, 18:36:17 UTC |
b56becb | Berker Peksag | 19 November 2017, 10:04:25 UTC | Remove outdated .pyo reference from msilib docs (GH-4461) Since f299abdafa0f2b6eb7abae274861b19b361c96bc the remove_pyc() method no longer tries to remove .pyo files. | 19 November 2017, 10:04:25 UTC |
7750bde | Masayuki Yamamoto | 19 November 2017, 07:33:37 UTC | Document parameters of BaseServer.finish_request() (GH-4445) | 19 November 2017, 07:33:37 UTC |
0c71653 | Moses Koledoye | 18 November 2017, 22:49:15 UTC | [Doc] Update opcode for var-positional arguments (#4446) `BUILD_MAP_UNPACK_WITH_CALL` was duplicated as the opcode for both var-positional and var-keyword arguments. The opcode for the former was updated as `BUILD_TUPLE_UNPACK_WITH_CALL`. | 18 November 2017, 22:49:15 UTC |
ebfaa71 | xdegaye | 18 November 2017, 17:20:21 UTC | bpo-32031: Fix pydoc `test_mixed_case_module_names_are_lower_cased` (GH-4441) When there is a symlink in the directory path of the standard library. | 18 November 2017, 17:20:21 UTC |
d34d8fc | xdegaye | 18 November 2017, 17:17:16 UTC | bpo-29185: Fix `test_distutils` failures on Android (GH-4438) * Run gzip with separate command line options (Android understands '-f9' as the name of a file). * Creation of a hard link is controled by SELinux on Android. | 18 November 2017, 17:17:16 UTC |
9001d1f | xdegaye | 18 November 2017, 17:10:53 UTC | bpo-29184: Skip test_socketserver tests on PermissionError raised by Android (GH-4387) | 18 November 2017, 17:10:53 UTC |
51d546a | Andrew Svetlov | 18 November 2017, 16:54:05 UTC | bpo-32069: Drop legacy SSL transport (#4451) * Drop legacy SSL transport * Drop unused import * Fix Windows tests * Drop never executed on Python 3.4+ code | 18 November 2017, 16:54:05 UTC |
f02f5e5 | Henk-Jaap Wagenaar | 17 November 2017, 10:10:19 UTC | bpo-31867: Remove duplicates in default mimetypes. (#4388) | 17 November 2017, 10:10:19 UTC |
f2ddc6a | Victor Stinner | 17 November 2017, 09:25:47 UTC | tokenizer: Remove unused tabs options (#4422) Remove the following fields from tok_state structure which are now used unused: * altwarning: "Issue warning if alternate tabs don't match" * alterror: "Issue error if alternate tabs don't match" * alttabsize: "Alternate tab spacing" Replace alttabsize variable with ALTTABSIZE define. | 17 November 2017, 09:25:47 UTC |
fd0fa67 | native-api | 16 November 2017, 23:56:27 UTC | bpo-31691: Specify where to find build instructions for the Windows installer (#4426) | 16 November 2017, 23:56:27 UTC |
d505a29 | Erik Bray | 16 November 2017, 16:48:52 UTC | Fix typo in atexit documentation. (GH-4419) `kargs` -> `kwargs` | 16 November 2017, 16:48:52 UTC |
cede8c9 | Serhiy Storchaka | 16 November 2017, 11:22:51 UTC | bpo-31702: Allow to specify rounds for SHA-2 hashing in crypt.mksalt(). (#4110) The log_rounds parameter for Blowfish has been replaced with the rounds parameter. | 16 November 2017, 11:22:51 UTC |
ccb0442 | Victor Stinner | 16 November 2017, 11:20:31 UTC | bpo-32043: New "developer mode": "-X dev" option (#4413) Add a new "developer mode": new "-X dev" command line option to enable debug checks at runtime. Changes: * Add unit tests for -X dev * test_cmd_line: replace test.support with support. * Fix _PyRuntimeState_Fini(): Use the same memory allocator than _PyRuntimeState_Init(). * Fix _PyMem_GetDefaultRawAllocator() | 16 November 2017, 11:20:31 UTC |
05cb728 | Serhiy Storchaka | 16 November 2017, 10:38:26 UTC | bpo-30349: Raise FutureWarning for nested sets and set operations (#1553) in regular expressions. | 16 November 2017, 10:38:26 UTC |
3daaafb | Serhiy Storchaka | 16 November 2017, 07:44:43 UTC | bpo-32037: Use the INT opcode for 32-bit integers in protocol 0 pickles. (#4407) | 16 November 2017, 07:44:43 UTC |
0a2abdf | Serhiy Storchaka | 16 November 2017, 07:16:24 UTC | bpo-30143: 2to3 now generates a code that uses abstract collection classes (#1262) from collections.abc rather than collections. | 16 November 2017, 07:16:24 UTC |
a7368ac | Victor Stinner | 16 November 2017, 02:11:45 UTC | bpo-32030: Enhance Py_Main() (#4412) Parse more env vars in Py_Main(): * Add more options to _PyCoreConfig: * faulthandler * tracemalloc * importtime * Move code to parse environment variables from _Py_InitializeCore() to Py_Main(). This change fixes a regression from Python 3.6: PYTHONUNBUFFERED is now read before calling pymain_init_stdio(). * _PyFaulthandler_Init() and _PyTraceMalloc_Init() now take an argument to decide if the module has to be enabled at startup. * tracemalloc_start() is now responsible to check the maximum number of frames. Other changes: * Cleanup Py_Main(): * Rename some pymain_xxx() subfunctions * Add pymain_run_python() subfunction * Cleanup Py_NewInterpreter() * _PyInterpreterState_Enable() now reports failure * init_hash_secret() now considers pyurandom() failure as an "user error": don't fail with abort(). * pymain_optlist_append() and pymain_strdup() now sets err on memory allocation failure. | 16 November 2017, 02:11:45 UTC |
f7e5b56 | Victor Stinner | 15 November 2017, 23:48:08 UTC | bpo-32030: Split Py_Main() into subfunctions (#4399) * Don't use "Python runtime" anymore to parse command line options or to get environment variables: pymain_init() is now a strict separation. * Use an error message rather than "crashing" directly with Py_FatalError(). Limit the number of calls to Py_FatalError(). It prepares the code to handle errors more nicely later. * Warnings options (-W, PYTHONWARNINGS) and "XOptions" (-X) are now only added to the sys module once Python core is properly initialized. * _PyMain is now the well identified owner of some important strings like: warnings options, XOptions, and the "program name". The program name string is now properly freed at exit. pymain_free() is now responsible to free the "command" string. * Rename most methods in Modules/main.c to use a "pymain_" prefix to avoid conflits and ease debug. * Replace _Py_CommandLineDetails_INIT with memset(0) * Reorder a lot of code to fix the initialization ordering. For example, initializing standard streams now comes before parsing PYTHONWARNINGS. * Py_Main() now handles errors when adding warnings options and XOptions. * Add _PyMem_GetDefaultRawAllocator() private function. * Cleanup _PyMem_Initialize(): remove useless global constants: move them into _PyMem_Initialize(). * Call _PyRuntime_Initialize() as soon as possible: _PyRuntime_Initialize() now returns an error message on failure. * Add _PyInitError structure and following macros: * _Py_INIT_OK() * _Py_INIT_ERR(msg) * _Py_INIT_USER_ERR(msg): "user" error, don't abort() in that case * _Py_INIT_FAILED(err) | 15 November 2017, 23:48:08 UTC |
43605e6 | Yury Selivanov | 15 November 2017, 22:14:28 UTC | bpo-32034: Make IncompleteReadError & LimitOverrunError pickleable #4409 | 15 November 2017, 22:14:28 UTC |
4bd41c9 | Antoine Pitrou | 15 November 2017, 21:52:21 UTC | bpo-32025: Add time.thread_time() (#4410) * bpo-32025: Add time.thread_time() * Add missing #endif * Add NEWS blurb * Add docs and whatsnew * Address review comments * Review comments | 15 November 2017, 21:52:21 UTC |
762b957 | Dong-hee Na | 15 November 2017, 18:30:59 UTC | bpo-32018: Fix inspect.signature repr to follow PEP 8 (#4408) | 15 November 2017, 18:30:59 UTC |
f8a4c03 | Serhiy Storchaka | 15 November 2017, 15:53:28 UTC | bpo-30399: Get rid of trailing comma in the repr of BaseException. (#1650) | 15 November 2017, 15:53:28 UTC |
aca7f57 | Serhiy Storchaka | 15 November 2017, 15:51:14 UTC | bpo-30950: Convert round() to Argument Clinic. (#2740) | 15 November 2017, 15:51:14 UTC |
00987f6 | Serhiy Storchaka | 15 November 2017, 15:41:05 UTC | bpo-32011: Revert "Issue #15480: Remove the deprecated and unused TYPE_INT64 code from marshal." (#4381) Simplify the reverted code. This reverts commit e9bbe8b87ba2874efba0474af5cc7d5941dbf742. | 15 November 2017, 15:41:05 UTC |
ddbce13 | Serhiy Storchaka | 15 November 2017, 15:39:37 UTC | bpo-32023: Disallow genexprs without parenthesis in class definitions. (#4400) | 15 November 2017, 15:39:37 UTC |
edad8ee | Serhiy Storchaka | 15 November 2017, 15:38:52 UTC | bpo-31949: Fixed several issues in printing tracebacks (PyTraceBack_Print()). (#4289) * Setting sys.tracebacklimit to 0 or less now suppresses printing tracebacks. * Setting sys.tracebacklimit to None now causes using the default limit. * Setting sys.tracebacklimit to an integer larger than LONG_MAX now means using the limit LONG_MAX rather than the default limit. * Fixed integer overflows in the case of more than 2**31 traceback items on Windows. * Fixed output errors handling. | 15 November 2017, 15:38:52 UTC |
6545256 | Serhiy Storchaka | 15 November 2017, 12:01:08 UTC | bpo-32032: Test both implementations of module-level pickle API. (#4401) | 15 November 2017, 12:01:08 UTC |
2ae4ad7 | sanjayp | 15 November 2017, 09:28:11 UTC | Changed lambda to str.strip in _strip_spaces in logging.config (#4332) | 15 November 2017, 09:28:11 UTC |
9165f77 | Serhiy Storchaka | 15 November 2017, 06:49:40 UTC | bpo-32012: Disallow trailing comma after genexpr without parenthesis. (#4382) | 15 November 2017, 06:49:40 UTC |
3bda022 | Jesse-Bakker | 14 November 2017, 23:06:15 UTC | bpo-31948: Fix broken links in msilib docs (GH-4397) | 14 November 2017, 23:06:15 UTC |
b0b44b4 | Serhiy Storchaka | 14 November 2017, 15:21:26 UTC | bpo-15606: Improve the re.VERBOSE documentation. (#4366) | 14 November 2017, 15:21:26 UTC |
e1d62e0 | Andrey Egorov | 14 November 2017, 09:18:59 UTC | bpo-32015: Asyncio looping during simultaneously socket read/write an… (#4386) * bpo-32015: Asyncio cycling during simultaneously socket read/write and reconnection * Tests fix * Tests fix * News add * Add new unit tests | 14 November 2017, 09:18:59 UTC |
56935a5 | Mat M | 14 November 2017, 06:00:54 UTC | bpo-32020: arraymodule: Correct missing Py_DECREF in failure case of make_array() (#4391) | 14 November 2017, 06:00:54 UTC |
28b6248 | Sanyam Khurana | 13 November 2017, 21:49:26 UTC | bpo-16055: Fixes incorrect error text for int('1', base=1000) (#4376) * bpo-16055: Fixes incorrect error text for int('1', base=1000) * bpo-16055: Address review comments | 13 November 2017, 21:49:26 UTC |
9b6c60c | Serhiy Storchaka | 13 November 2017, 19:23:48 UTC | bpo-31979: Simplify transforming decimals to ASCII (#4336) in int(), float() and complex() parsers. This also speeds up parsing non-ASCII numbers by around 20%. | 13 November 2017, 19:23:48 UTC |
ce12629 | Yury Selivanov | 13 November 2017, 18:38:22 UTC | bpo-28369: Enhance transport socket check in add_reader/writer (#4365) | 13 November 2017, 18:38:22 UTC |
f76231f | Mat M | 13 November 2017, 07:50:16 UTC | bpo-32013: _pickle: Add missing Py_DECREF in error case in fast_save_enter() (#4384) | 13 November 2017, 07:50:16 UTC |
8acaa31 | Benjamin Peterson | 13 November 2017, 04:53:39 UTC | remove detect_math_libs (#4383) Darwin may not require libm, but it doesn't hurt to link it and simplifies configuration logic. | 13 November 2017, 04:53:39 UTC |
d7d4fea | xdegaye | 12 November 2017, 17:02:06 UTC | bpo-29181: Skip test_tarfile tests on PermissionError raised by Android (GH-4375) | 12 November 2017, 17:02:06 UTC |
6a55d09 | xdegaye | 12 November 2017, 16:57:04 UTC | bpo-29180: Skip test_os tests on PermissionError raised by Android (GH-4374) | 12 November 2017, 16:57:04 UTC |
92c2ca7 | xdegaye | 12 November 2017, 16:31:07 UTC | bpo-28759: Skip some tests on PermissionError raised by Android (GH-4350) Access to mkfifo(), mknod() and hard link creation is controled by SELinux on Android. Also remove test.support.android_not_root. | 12 November 2017, 16:31:07 UTC |
e0582a3 | xdegaye | 12 November 2017, 15:50:48 UTC | bpo-30696: Fix the REPL looping endlessly when no memory (GH-4160) | 12 November 2017, 15:50:48 UTC |
1588be6 | xdegaye | 12 November 2017, 11:45:59 UTC | bpo-28180: Fix the implementation of PEP 538 on Android (GH-4334) | 12 November 2017, 11:45:59 UTC |
9e78dc2 | Serhiy Storchaka | 11 November 2017, 17:18:28 UTC | Move comments in configure.ac to more appropriate place. (#4371) | 11 November 2017, 17:18:28 UTC |
e197a85 | Edward Betts | 11 November 2017, 16:40:26 UTC | The termios man page is in section 3 (GH-2450) | 11 November 2017, 16:40:26 UTC |
7c9da3e | Berker Peksag | 11 November 2017, 14:55:05 UTC | Remove redundant 'exc = True' line (GH-4357) It can be removed after https://github.com/python/peps/commit/c28890fb421c906241da6da718f9eacc5a3109ee | 11 November 2017, 14:55:05 UTC |
bba2239 | Serhiy Storchaka | 11 November 2017, 14:41:32 UTC | bpo-31572: Get rid of _PyObject_HasAttrId() in the ASDL parser. (#3725) Silence only expected AttributeError. | 11 November 2017, 14:41:32 UTC |
60c3d35 | Serhiy Storchaka | 11 November 2017, 14:19:56 UTC | bpo-31572: Get rid of _PyObject_HasAttrId() in dict and OrderedDict. (#3728) Silence only AttributeError when get "key" and "items" attributes in the constructor and the update() method of dict and OrderedDict . | 11 November 2017, 14:19:56 UTC |
1707e40 | Serhiy Storchaka | 11 November 2017, 13:51:42 UTC | bpo-31572: Silence only AttributeError when get the __copy__ attribute in itertools.tee(). (#3724) | 11 November 2017, 13:51:42 UTC |
d4f8480 | Serhiy Storchaka | 11 November 2017, 13:19:47 UTC | bpo-31572: Don't silence unexpected errors in the _warnings module. (#3731) Get rid of _PyObject_HasAttrId() and PyDict_GetItemString(). Silence only expected AttributeError, KeyError and ImportError when get an attribute, look up in a dict or import a module. | 11 November 2017, 13:19:47 UTC |
e2f92de | Serhiy Storchaka | 11 November 2017, 11:06:26 UTC | Add the const qualifier to "char *" variables that refer to literal strings. (#4370) | 11 November 2017, 11:06:26 UTC |
e184cfd | Pablo Galindo | 10 November 2017, 23:05:12 UTC | bpo-31824: Document default value of 'errors' parameters (GH-4328) | 10 November 2017, 23:05:12 UTC |
9703f09 | benfogle | 10 November 2017, 21:03:40 UTC | bpo-31976: Fix race condition when flushing a file is slow. (#4331) | 10 November 2017, 21:03:40 UTC |
4652bf2 | Yury Selivanov | 10 November 2017, 20:34:17 UTC | Rewrite asyncio test to be more meaningful (#4363) | 10 November 2017, 20:34:17 UTC |
9f914a0 | Brian Curtin | 10 November 2017, 16:38:25 UTC | bpo-31985: Deprecate openfp in aifc, sunau, and wave (#4344) The openfp functions of aifp, sunau, and wave had pointed to the open function of each module since 1993 as a matter of backwards compatibility. In the case of aifc.openfp, it was both undocumented and untested. This change begins the formal deprecation of those openfp functions, with their removal coming in 3.9. This additionally adds a TODO in test_pyclbr around using aifc.openfp, though it shouldn't be changed until removal in 3.9. | 10 November 2017, 16:38:25 UTC |
5e0df74 | Serhiy Storchaka | 10 November 2017, 10:09:39 UTC | bpo-31999: Fix test_venv in case the zlib module is not available. (#4359) | 10 November 2017, 10:09:39 UTC |
a1718bc | Serhiy Storchaka | 10 November 2017, 10:09:24 UTC | bpo-31998: Fix test_zipapp in case the zlib module is not available. (#4358) | 10 November 2017, 10:09:24 UTC |
191e993 | Paul Ganssle | 09 November 2017, 21:34:29 UTC | bpo-31222: Make (datetime|date|time).replace return subclass type in Pure Python (#4176) | 09 November 2017, 21:34:29 UTC |
72fa301 | Cody Scott | 09 November 2017, 18:58:59 UTC | Fix phrasing in Doc/whatsnew/3.7.rst (GH-4318) | 09 November 2017, 18:58:59 UTC |