Staging
v0.5.1
https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
4337a0d bpo-11063: Fix _uuid module on macOS (#3855) On macOS, use uuid_generate_time() instead of uuid_generate_time_safe() of libuuid, since uuid_generate_time_safe() is not available. 02 October 2017, 14:57:59 UTC
1023dbb bpo-31516: current_thread() should not return a dummy thread at shutdown (#3673) bpo-31516: current_thread() should not return a dummy thread at shutdown 02 October 2017, 14:42:15 UTC
e6f62f6 bpo-31158: Fix nondeterministic read in test_pty (#3808) * bpo-31158: Fix nondeterministic read in test_pty * Reuse existing readline implementation from io. Thx to @pitrou * Updated comment Ideally, this commit is fixuped into the previous commit. Since there is already a comment on github, I won't rebase. 02 October 2017, 09:39:55 UTC
b75a228 bpo-31659: Use simple slicing to format PEM cert (GH-3849) DER_cert_to_PEM_cert() used textwrap.fill() to format PEM. But it's library to wrap lines on word boundary, while PEM is base64 encoded string. Additionally, importing textwrap is little slow. 02 October 2017, 07:33:42 UTC
edc05c5 remove comment about long-gone SGI modules (#3850) 02 October 2017, 06:37:57 UTC
5961e7c IDLE: make filetypes a tuple constant. (#3847) Save a bit of code, plus non-tuples get converted anyway to tuples by tkinter for the tk call. 01 October 2017, 23:01:27 UTC
2102c78 bpo-31336: Speed up type creation. (#3279) Speed up class creation by 10-20% by reducing the overhead in the necessary special method lookups. 01 October 2017, 08:37:47 UTC
d6bb65f bpo-31460: Simplify the API of IDLE's Module Browser. (#3842) Passing a widget instead of an flist with a root widget opens the option of creating a browser frame that is only part of a window. Passing a full file name instead of pieces assumed to come from a .py file opens the possibility of browsing python files that do not end in .py. 30 September 2017, 23:54:28 UTC
bfebfd8 bpo-31649: Make IDLE's _htest, _utest parameters keyword-only. (#3839) 30 September 2017, 21:37:53 UTC
7dc46d8 bpo-31592: Fix an assertion failure in Python parser in case of a bad unicodedata.normalize(). (#3767) 30 September 2017, 17:16:24 UTC
f4ea642 bpo-31627: Make test_mailbox be lenient to empty hostname. (#3821) 30 September 2017, 14:10:57 UTC
101a5e8 bpo-31648: Improve ElementPath (#3835) * Allow whitespace inside of ElementPath predicates. * Add ElementPath predicate support for text comparison of the current node, like "[.='text']". 30 September 2017, 13:35:21 UTC
9811e80 bpo-31581: Reduce the number of imports for functools (GH-3757) 30 September 2017, 07:13:02 UTC
b24cd05 bpo-30806 netrc.__repr__() is broken for writing to file (GH-2491) netrc file format doesn't support quotes and escapes. See https://linux.die.net/man/5/netrc 30 September 2017, 07:10:31 UTC
3d2b407 bpo-31574: importlib dtrace (#3749) Importlib was instrumented with two dtrace probes to profile import timing. Signed-off-by: Christian Heimes <christian@python.org> 29 September 2017, 22:53:19 UTC
574562c bpo-31641: Allow arbitrary iterables in `concurrent.futures.as_completed()` (#3830) This was possible before. GH-1560 introduced a regression after 3.6.2 got released where only sequences were accepted now. This commit addresses this problem. 29 September 2017, 21:33:34 UTC
01c6a88 bpo-31602: Fix an assertion failure in zipimporter.get_source() in case of a bad zlib.decompress() (GH-3784) While a rare potential failure (it requires swapping out zlib.decompress() itself and forcing it to return a non-bytes object), this change prevents a potential C-level assertion failure and instead substitutes it with an exception. Thanks to Oren Milman for the patch. 29 September 2017, 18:34:31 UTC
6603373 Tweak formatting of PR message template (#3828) 29 September 2017, 18:16:38 UTC
8b4ff53 bpo-31285: Remove splitlines identifier from Python/_warnings.c (#3803) (forgot to remove it in #3219) 29 September 2017, 18:16:02 UTC
d87b105 bpo-31638: Add compression support to zipapp (GH-3819) Add optional argument `compressed` to `zipapp.create_archive`, and add option `--compress` to the command line interface of `zipapp`. 29 September 2017, 17:31:52 UTC
6fb0e4a explicitly list objects for the ar command (#3824) $^ is not portable. closes bpo-31625 29 September 2017, 16:26:48 UTC
d15108a stop using ranlib (closes bpo-31625) (#3815) Instead, simply pass 's' to ar. 29 September 2017, 15:42:41 UTC
90f1d98 bpo-25351: avoid activate failure on strict shells (GH-3804) 29 September 2017, 11:48:11 UTC
288d1da remove support for BSD/OS (closes bpo-31624) (#3812) 29 September 2017, 05:44:27 UTC
a106aec bpo-11063, bpo-20519: avoid ctypes and improve import time for uuid (#3796) bpo-11063, bpo-20519: avoid ctypes and improve import time for uuid. 28 September 2017, 21:03:06 UTC
8d59aca Fix typo in Simple Statements documentation (GH-3809) Replace "restriction" with "restrictions". 28 September 2017, 19:54:48 UTC
d780b2d bpo-31478: Fix an assertion failure in random.seed() in case a seed has a bad __abs__() method. (#3596) 28 September 2017, 07:50:01 UTC
db50ba7 Trivial readability improvement (#3791) 27 September 2017, 15:12:30 UTC
5837d04 bpo-31588: Validate return value of __prepare__() methods (GH-3764) Class execution requires that __prepare__() methods return a proper execution namespace. Check for that immediately after calling __prepare__(), rather than passing it through to the code execution machinery and potentially triggering SystemError (in debug builds) or a cryptic TypeError (in release builds). Patch by Oren Milman. 27 September 2017, 14:04:37 UTC
236329e point to the module-level get_ident function rather than the one in _thread (#3782) 27 September 2017, 06:13:15 UTC
14086cf closes bpo-22140: Prevent double substitution of prefix in python-config.sh (#3769) Fix the logic in python-config.sh to avoid attempting to substitute prefix in a variable that might have already been subject to substitution. This e.g. happened if @exec_prefix@ was defined as "${prefix}" (which is the default of the configure script) -- in which case the exec_prefix_build variable was initialized with already-subtituted prefix, and then another round of substitution was performed which might have resulted in duplicate prefix. To avoid that, rename the variables so that the variables matching likely configure names (prefix, exec_prefix) retain their original values and a '_real' suffix is used for the real values of prefix. Furthermore, replace the unnecessary prefix and exec_prefix substitutions with direct prefix_real references since the sed always replaced the whole string anyway by design. 27 September 2017, 05:45:06 UTC
31aca4b bpo-31586: Use _count_element fast path for real dicts. 27 September 2017, 03:18:21 UTC
c740e4f bpo-30347: Stop crashes when concurrently iterate over itertools.groupby() iterators. (#1557) 26 September 2017, 18:47:56 UTC
114454e bpo-28293: Don't completely dump the regex cache when full. (#3768) 26 September 2017, 16:47:36 UTC
0e950dd bpo-31579: Fixed a possible leak in enumerate() with large indices. (#3753) 26 September 2017, 05:14:58 UTC
4a2d00c bpo-31571: Remove duplicated info in Lexical Analysis documentation (GH-3691) - Remove the second mention about the `u` prefix - Remove the second mention about numeric literals do not include a sign 25 September 2017, 23:16:54 UTC
8110837 bpo-30152: Reduce the number of imports for argparse. (#1269) 25 September 2017, 21:55:55 UTC
f1502d0 bpo-31569: correct PCBuild/ case to PCbuild/ in build scripts and docs (GH-3711) 25 September 2017, 16:58:10 UTC
8110dbd bpo-26491 Defer DECREFs until enumobject is in a consistent state (#3747) 25 September 2017, 09:15:53 UTC
e6d9fcb bpo-31170: Write unit test for Expat 2.2.4 UTF-8 bug (#3570) Non-regression tests for the Expat 2.2.3 UTF-8 decoder bug. 25 September 2017, 08:27:34 UTC
49392c6 bpo-27385: Clarify docstring for groupby() (#3738) 25 September 2017, 08:21:06 UTC
57c2561 bpo-31311: Fix a SystemError and a crash in ctypes._CData.__setstate__(), in case of a bad __dict__. (#3254) 25 September 2017, 08:09:11 UTC
0d4497b bpo-23702: Update Descriptor-HOWTO to reflect the removal of unbound methods (#3739) 25 September 2017, 08:05:49 UTC
0bf287b bpo-18558: Clarify glossary entry for "Iterable" (#3732) 25 September 2017, 07:52:06 UTC
b1d1c42 remove configure check for memmove (#3716) Python requires C implementations provide memmove, so we shouldn't need to check for it. The only place using this configure check was expat, where we can simply always define HAVE_MEMMOVE. 24 September 2017, 19:08:40 UTC
5b9299d bpo-30085: Improve documentation for operator (#1171) The dunderless functions are preferred; dunder are retained for back compatilibity. Patch by Sanket Dasgupta. 24 September 2017, 18:29:22 UTC
5d3e800 bpo-31566: Fix an assertion failure in _warnings.warn() in case of a bad __name__ global. (#3717) 24 September 2017, 18:28:42 UTC
91fb0af bpo-31285: Fix an assertion failure and a SystemError in warnings.warn_explicit. (#3219) 24 September 2017, 18:27:12 UTC
8337239 Update Email library documentation example (GH-3720) A `"` was missing from an `<a href>` tag. 24 September 2017, 16:12:53 UTC
2fad102 bpo-27319, bpo-31508: Document deprecation in Treeview.selection(). (#3667) Defer removing old behavior to 3.8. Document new feature of selection_set() and friends. 24 September 2017, 11:34:09 UTC
c247caf bpo-30346: An iterator produced by the itertools.groupby() iterator (#1569) now becames exhausted after advancing the groupby iterator. 24 September 2017, 10:36:11 UTC
4facdf5 bpo-31311: Impove error reporting in case the first argument to PyCData_setstate() isn't a dictionary. (#3255) 24 September 2017, 09:21:42 UTC
2b382dd bpo-31505: Fix an assertion failure in json, in case _json.make_encoder() received a bad encoder() argument. (#3643) 24 September 2017, 09:07:12 UTC
039b25d bpo-31564: Update typing documentation (GH-3696) Mention that ``NewType`` can derive from another ``NewType``. 24 September 2017, 02:37:48 UTC
d6238a7 bpo-25359: Add missed "goto error" after setting an exception. (#3712) 23 September 2017, 23:49:58 UTC
cd99e79 bpo-31459: Rename IDLE's module browser from Class Browser to Module Browser. (#3704) The original module-level class and method browser became a module browser, with the addition of module-level functions, years ago. Nested classes and functions were added yesterday. For back- compatibility, the virtual event <<open-class-browser>>, which appears on the Keys tab of the Settings dialog, is not changed. Patch by Cheryl Sabella. 23 September 2017, 20:46:01 UTC
99167f8 bpo-31559: Remove test order dependence in idle_test.test_browser. (#3708) Order dependence caused leak-test buildbots to fail when running test_idle repeatedly. 23 September 2017, 18:19:23 UTC
aecc08a Docs: correct hashlib.blake2 keyed hashing example (bpo-31560) 23 September 2017, 17:18:40 UTC
c8a6e5b sqlite: delete some bsddb cargo-culted code to work around Python 2.3/2.4 bugs 23 September 2017, 06:25:28 UTC
058de11 bpo-1612262: IDLE: Class Browser shows nested functions, classes (#2573) Original patches for code and tests by Guilherme Polo and Cheryl Sabella, respectively. 22 September 2017, 20:08:44 UTC
0a1ff24 bpo-17852: Maintain a list of BufferedWriter objects. Flush them on exit. (#3372) * Maintain a list of BufferedWriter objects. Flush them on exit. In Python 3, the buffer and the underlying file object are separate and so the order in which objects are finalized matters. This is unlike Python 2 where the file and buffer were a single object and finalization was done for both at the same time. In Python 3, if the file is finalized and closed before the buffer then the data in the buffer is lost. This change adds a doubly linked list of open file buffers. An atexit hook ensures they are flushed before proceeding with interpreter shutdown. This is addition does not remove the need to properly close files as there are other reasons why buffered data could get lost during finalization. Initial patch by Armin Rigo. * Use weakref.WeakSet instead of WeakKeyDictionary. * Simplify buffered double-linked list types. * In _flush_all_writers(), suppress errors from flush(). * Remove NEWS entry, use blurb. * Take more care when flushing file buffers from atexit. The previous implementation was not careful enough to avoid causing issues in multi-threaded cases. Check for buf->ok and buf->finalizing before actually doing the flush. Also, increase the refcnt to ensure the object does not disappear. 22 September 2017, 17:17:30 UTC
da9b4cf bpo-31423: Fix building the PDF documentation (GH-3693) Use prefixed macro names for the `authoraddress` function, add T2A to the font encoding in LaTeX sources to support Cyrillic characters in the PDF documentation, and replace the deprecated `font_size` config option with `pointsize`. 22 September 2017, 17:16:57 UTC
35425d6 bpo-31389 Add an optional `header` argument to pdb.set_trace() (#3438) * Give pdb.set_trace() an optional `header` argument * What's new. * Give pdb.set_trace() an optional `header` argument * What's new. 22 September 2017, 16:29:42 UTC
b1558a0 bpo-31443: Update included code. (#3697) 22 September 2017, 16:14:13 UTC
ca72589 bpo-31443: Formulate the type slot initialization rules in terms of C99. (#3688) 22 September 2017, 15:44:58 UTC
5e02c78 bpo-31410: Optimized calling wrapper and classmethod descriptors. (#3481) 21 September 2017, 11:25:36 UTC
b3a7796 bpo-27541: Reprs of subclasses of some classes now contain actual type name. (#3631) Affected classes are bytearray, array, deque, defaultdict, count and repeat. 21 September 2017, 11:24:13 UTC
9adda0c bpo-31351: Set return code in ensurepip when pip fails (GH-3626) Previously ensurepip would always report success, even if the pip installation failed. 21 September 2017, 10:07:45 UTC
a96c96f bpo-31500: IDLE: Scale default fonts on HiDPI displays. (#3639) 21 September 2017, 08:20:06 UTC
3d1e2ab bpo-31532: Fix memory corruption due to allocator mix (#3679) Fix a memory corruption in getpath.c due to mixed memory allocators between Py_GetPath() and Py_SetPath(). The fix use the Raw allocator to mimic the windows version. This patch should be used from python3.6 to the current version for more details, see the bug report and https://github.com/pyinstaller/pyinstaller/issues/2812 21 September 2017, 06:08:20 UTC
b091bec bpo-31536: Avoid wholesale rebuild after `make regen-all` (#3678) * bpo-31536: Avoid wholesale rebuild after `make regen-all` * Add NEWS 20 September 2017, 21:57:56 UTC
aaf6fc0 bpo-26510: make argparse subparsers required by default (#3027) This fixes a regression from Python 2. To get optional subparsers, use the new parameter ``add_subparsers(required=False)``. Patch by Anthony Sottile. 20 September 2017, 21:35:27 UTC
19e4d93 bpo-31533: fix broken link to OpenSSL docs (#3674) 20 September 2017, 18:20:18 UTC
5252694 closes bpo-31525: require sqlite3_prepare_v2 (#3666) This is based on https://github.com/ghaering/pysqlite/commit/40b349cadbd87c42f70fc92e5e1aee6d02564c6d#diff-0489411409cd2934730e88bf7767790, though we can be a bit more aggressive about deleting code. 20 September 2017, 14:36:18 UTC
0ad05c3 bpo-30486: Make cell_set_contents() symbol private (#3668) Don't export the cell_set_contents() symbol in the C API. 20 September 2017, 13:54:13 UTC
a6c0c06 bpo-31506: Improve the error message logic for object.__new__ and object.__init__. (GH-3650) 20 September 2017, 03:44:32 UTC
d6e2f26 bpo-31500: Removed fixed size of IDLE config dialog. (#3664) This one line of Serhiy Storchacka's bpo-31500 patch for is needed for other issues. 19 September 2017, 23:01:45 UTC
a4bb58f Fix build issues in Doc/make.bat (#3658) 19 September 2017, 19:31:28 UTC
9e7b9b2 bpo-31507 Add docstring to parseaddr function in email.utils.parseaddr (gh-3647) 19 September 2017, 19:10:49 UTC
9abee72 bpo-31479: Always reset the signal alarm in tests (#3588) * bpo-31479: Always reset the signal alarm in tests Use "try: ... finally: signal.signal(0)" pattern to make sure that tests don't "leak" a pending fatal signal alarm. * Move two more alarm() calls into the try block Fix also typo: replace signal.signal(0) with signal.alarm(0) * Move another signal.alarm() into the try block 19 September 2017, 16:36:54 UTC
a92941f pythoninfo: ignore OSError(ENOSYS) on getrandom() (#3655) 19 September 2017, 14:37:24 UTC
865e4b4 bpo-31293: Fix crashes in truediv and mul of a timedelta by a float with a bad as_integer_ratio() method. (#3227) 19 September 2017, 12:58:11 UTC
9974e1b bpo-31315: Fix an assertion failure in imp.create_dynamic(), when spec.name is not a string. (#3257) 19 September 2017, 11:39:47 UTC
6db7033 bpo-31492: Fix assertion failures in case of a module with a bad __name__ attribute. (#3620) 19 September 2017, 11:23:01 UTC
453408a post 3.7.0a1 development 19 September 2017, 07:12:46 UTC
a4c91a1 Merge tag 'v3.7.0a1' 19 September 2017, 07:09:31 UTC
8f51bb4 Bump to 3.6.0a1 19 September 2017, 05:09:03 UTC
450ceea Update PyDoc topics and NEWS blurbs for 3.7.0a1 19 September 2017, 05:01:36 UTC
380c5fb Update Mac installer Welcome and ReadMe files for 3.7.0a1 19 September 2017, 02:22:58 UTC
88c60c9 Trivial cleanups following bpo-31370 (#3649) * Trivial cleanups following bpo-31370 * Also cleanup the "importlib._bootstrap_external" module 18 September 2017, 21:50:44 UTC
b43c4ca Restore dummy_threading and _dummy_thread, but deprecate them (bpo-31370) (#3648) 18 September 2017, 20:04:20 UTC
a8e7d90 os.test_utime_current(): tolerate 50 ms delta (#3646) 18 September 2017, 15:49:45 UTC
e727d41 bpo-31499, xml.etree: Fix xmlparser_gc_clear() crash (#3641) * bpo-31499, xml.etree: Fix xmlparser_gc_clear() crash xml.etree: xmlparser_gc_clear() now sets self.parser to NULL to prevent a crash in xmlparser_dealloc() if xmlparser_gc_clear() was called previously by the garbage collector, because the parser was part of a reference cycle. Co-Authored-By: Serhiy Storchaka <storchaka@gmail.com> 18 September 2017, 12:29:37 UTC
9b47af6 bpo-31501: Operator precedence description for arithmetic operators (#3633) 18 September 2017, 00:56:16 UTC
55679e0 bpo-30928: Update idlelib/NEWS.txt to 2017 Sep 17. (#3635) 18 September 2017, 00:14:21 UTC
0efc7c6 bpo-31502: IDLE Configdialog again deletes custom themes and keysets. (#3634) This reverses a never-released regression resulting from bpo-31287. 18 September 2017, 00:13:25 UTC
4ab46d7 bpo-31497: Add private helper _PyType_Name(). (#3630) This function returns the last component of tp_name after a dot. Returns tp_name itself if it doesn't contain a dot. 17 September 2017, 18:11:04 UTC
132a7d7 bpo-31482: Missing bytes support for random.seed() version 1 (#3614) bpo-31482: Missing bytes support for random.seed() version 1 #3614 17 September 2017, 16:04:30 UTC
63c591c bpo-31487: Update F-strings doc example (GH-3627) Shorten the comment to: "using integer format specifier" 17 September 2017, 14:43:31 UTC
30b61b5 bpo-31490: Fix an assertion failure in ctypes in case an _anonymous_ attr is defined only outside _fields_. (#3615) 17 September 2017, 10:45:38 UTC
back to top