bad9a58 | Benjamin Peterson | 14 April 2018, 22:06:30 UTC | 2.7.15rc1 version bump | 14 April 2018, 22:06:30 UTC |
f2f1d4b | Benjamin Peterson | 14 April 2018, 22:06:13 UTC | make NEWS for 2.7.15rc1 | 14 April 2018, 22:06:13 UTC |
bba2ba1 | Steve Dower | 14 April 2018, 21:50:40 UTC | bpo-33148: Update Windows build to use OpenSSL 1.0.2o closes https://github.com/python/cpython/pull/6474 | 14 April 2018, 22:04:21 UTC |
01a0fd4 | Miss Islington (bot) | 14 April 2018, 15:21:02 UTC | [2.7] bpo-33184: Update macOS installer build to use OpenSSL 1.0.2o. (GH-6408) (GH-6471) (cherry picked from commit 76215a4481191b648de522a4e2120f60822f6b9c) Co-authored-by: Ned Deily <nad@python.org> | 14 April 2018, 15:21:02 UTC |
93c91ac | Ned Deily | 14 April 2018, 14:56:17 UTC | [2.7] Fix errant NEWS item: bpo-19019 -> bpo-17128 (GH-6470) | 14 April 2018, 14:56:17 UTC |
ee8e4b6 | Ned Deily | 14 April 2018, 14:37:28 UTC | [2.7] Backport macOS universal build and installer fixes from 3.6. (GH-6469) These include: - bpo-32726: Provide an additional, more modern macOS installer variant that supports macOS 10.9+ systems in 64-bit mode only. Upgrade the supplied third-party libraries to OpenSSL 1.0.2n and SQLite 3.22.0. The 10.9+ installer now supplies its own private copy of Tcl/Tk 8.6.8. - bpo-24414: Default macOS deployment target is now set by ``configure`` to the build system's OS version (as is done by Python 3), not ``10.4``; override with, for example, ``./configure MACOSX_DEPLOYMENT_TARGET=10.4``. - bpo-19019: All 2.7 macOS installer variants now supply their own version of ``OpenSSL 1.0.2``; the Apple-supplied SSL libraries and root certificates are not longer used. The ``Installer Certificate`` command in ``/Applications/Python 2.7`` may be used to download and install a default set of root certificates from the third-party ``certifi`` package. - bpo-11485: python.org macOS Pythons no longer supply a default SDK value (e.g. ``-isysroot /``) or specific compiler version default (e.g. ``gcc-4.2``) when building extension modules. Use ``CC``, ``SDKROOT``, and ``DEVELOPER_DIR`` environment variables to override compilers or to use an SDK. See Apple's ``xcrun`` man page for more info. - prepare for pending Apple removal of 32-bit support in future macOS release | 14 April 2018, 14:37:28 UTC |
a61f5da | Serhiy Storchaka | 10 April 2018, 08:03:52 UTC | [2.7] bpo-31920: Fixed handling directories as arguments in the ``pygettext`` script. (GH-6259) (GH-6436) Based on patch by Oleg Krasnikov. (cherry picked from commit c93938b5beea4c3f592119ebee6d4029558db8de) | 10 April 2018, 08:03:52 UTC |
77f0a41 | Miss Islington (bot) | 07 April 2018, 02:01:35 UTC | [2.7] bpo-8243: Doc patch for curses.window.addstr and curses.window.addch (GH-5179) (GH-6405) (cherry picked from commit ef5ce884a41c8553a7eff66ebace908c1dcc1f89) Co-authored-by: Jay Crotts <crotts.jay@gmail.com> | 07 April 2018, 02:01:35 UTC |
325191b | Cheryl Sabella | 02 April 2018, 05:29:01 UTC | [2.7] bpo-27212: Modify islice recipe to consume initial values preceding start (GH-6195) (GH-6339) (cherry picked from commit da1734c58d2f97387ccc9676074717d38b044128) | 02 April 2018, 05:29:01 UTC |
72f3e08 | Serhiy Storchaka | 01 April 2018, 07:26:33 UTC | [2.7] bpo-33132: Fix reference counting issues in the compiler. (GH-6209). (GH-6322) (cherry picked from commit a95d98607efe0c43475b354543e49bf8e240bc6f) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | 01 April 2018, 07:26:33 UTC |
4a3c4ba | Serhiy Storchaka | 31 March 2018, 23:44:01 UTC | [2.7] Gitignore gmon.out (GH-5796) (GH-6328) gmon.out is generated when profiling turned on Full Configuration: ./configure --prefix=$PWD/install --enable-profiling --enable-big-digits=30 --with-pydebug --with-assertions --with-valgrind. (cherry picked from commit 95ad3822a2b6287772bd752b6ab493c6d4198d4b) Co-authored-by: Neeraj Badlani <neerajbadlani@gmail.com> | 31 March 2018, 23:44:01 UTC |
e80a232 | Serhiy Storchaka | 31 March 2018, 23:42:58 UTC | [2.7] bpo-33096: Fix ttk.Treeview.insert. (GH-6228) (GH-6326) Allow ttk.Treeview.insert to insert iid that has a false boolean value. Note iid=0 and iid=False would be same. (cherry picked from commit 3ab44c0783eebdff687014f7d14d5dec59b6bd39) Co-authored-by: Garvit Khatri <garvitdelhi@gmail.com> | 31 March 2018, 23:42:58 UTC |
924035a | Serhiy Storchaka | 31 March 2018, 22:04:22 UTC | [2.7] Fix error message in sqlite connection thread check. (GH-6028). (GH-6325) (cherry picked from commit 030345c0bfc2f76684666fe5c61e766ba5debfe6) Co-authored-by: Takuya Akiba <469803+iwiwi@users.noreply.github.com> | 31 March 2018, 22:04:22 UTC |
c498cd8 | scoder | 31 March 2018, 12:23:30 UTC | bpo-31544: Fix a reference leak to 'self' after the previous target error handling fixes. (GH-6318) This change generally splits the xmlparser creation code into an unsafe part with "rollback" error handling and a safe "object initialisation done" part with normal decref cleanup. | 31 March 2018, 12:23:30 UTC |
7f48a42 | Miss Islington (bot) | 28 March 2018, 08:55:30 UTC | bpo-33163: Upgrade pip to 9.0.3 and setuptools to v39.0.1. (GH-6284) (cherry picked from commit c0518cde7a8404f310cd3495e77e612820ecad4f) Co-authored-by: Ned Deily <nad@python.org> | 28 March 2018, 08:55:30 UTC |
a266507 | Miss Islington (bot) | 26 March 2018, 12:11:15 UTC | Fix description about SimpleXMLRPCServer constructor parameter bind_and_activate. (GH-776) Passing True as the `bind_and_activate` *do* immediately opening and binding to their socket. (cherry picked from commit e6223579c87b93f3e60d28796f521587d88091d4) Co-authored-by: cocoatomo <cocoatomo77@gmail.com> | 26 March 2018, 12:11:15 UTC |
e3e8bdc | Miss Islington (bot) | 26 March 2018, 10:58:47 UTC | Fix typo and edit for clarity in the docstrings of sys.float_info. (GH-2251) (cherry picked from commit 0301c9bdd1ebd788d1334cf3fe06c48f35bab0dc) Co-authored-by: Stefano Taschini <taschini@users.noreply.github.com> | 26 March 2018, 10:58:47 UTC |
edd5418 | Christian Heimes | 24 March 2018, 18:34:15 UTC | [2.7] bpo-33127: Compatibility patch for LibreSSL 2.7.0 (GH-6210) (GH-6215) LibreSSL 2.7 introduced OpenSSL 1.1.0 API. The ssl module now detects LibreSSL 2.7 and only provides API shims for OpenSSL < 1.1.0 and LibreSSL < 2.7. Documentation updates and fixes for failing tests will be provided in another patch set. Signed-off-by: Christian Heimes <christian@python.org>. (cherry picked from commit 4ca0739c9d97ac7cd45499e0d31be68dc659d0e1) Co-authored-by: Christian Heimes <christian@python.org> | 24 March 2018, 18:34:15 UTC |
0694b6a | scoder | 24 March 2018, 05:56:41 UTC | bpo-31544: Avoid calling "PyObject_GetAttrString()" (and potentially executing user code) with a live exception set. (GH-3992) | 24 March 2018, 05:56:41 UTC |
1ce4e5b | Miss Islington (bot) | 22 March 2018, 04:14:22 UTC | Upgrade pip to v9.0.3 and setuptools to v39.0.1 (GH-6184) (cherry picked from commit d93b5161af12291f3f98a260c90cc2975ea9e9cd) Co-authored-by: Donald Stufft <donald@stufft.io> | 22 March 2018, 04:14:22 UTC |
7ee0936 | Miss Islington (bot) | 21 March 2018, 06:55:44 UTC | Fix typos in mmap() error messages (GH-6173) (cherry picked from commit 9308dea3e1fd565d50a76a667e4e8ef0568b7053) Co-authored-by: Zackery Spytz <zspytz@gmail.com> | 21 March 2018, 06:55:44 UTC |
4e907d8 | Miss Islington (bot) | 17 March 2018, 15:54:45 UTC | Update pip to 9.0.2 and setuptools to 38.6.1 (GH-6133) (GH-6135) (cherry picked from commit 7f81bb2addbbccfa45a2fc1aa6030f26dcf4bd78) Co-authored-by: Donald Stufft <donald@stufft.io> | 17 March 2018, 15:54:45 UTC |
baca85f | xdegaye | 13 March 2018, 21:06:14 UTC | [2.7] bpo-17288: Prevent jumps from 'return' and 'exception' trace events. (GH-6111) (cherry picked from commit e32bbaf376a09c149fa7c7f2919d7c9ce4e2a055) | 13 March 2018, 21:06:14 UTC |
3854f58 | Miss Islington (bot) | 11 March 2018, 08:55:59 UTC | [2.7] bpo-33026: Fix jumping out of "with" block by setting f_lineno. (GH-6026). (GH-6074) (GH-6076) (cherry picked from commit 26c9f565d016db21257a60d29ab2c99383dd5ac7) (cherry picked from commit 04aadf23eac51fec2e436c5960c1362bbb7d03de) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | 11 March 2018, 08:55:59 UTC |
34bb88d | Xiang Zhang | 09 March 2018, 02:21:58 UTC | Clear possible exception before calling PyTuple_Pack in IMPORT_NAME (GH-6033) | 09 March 2018, 02:21:58 UTC |
55d5bfb | Jamie Davis | 06 March 2018, 05:59:02 UTC | [2.7] closes bpo-32997: Fix REDOS in fpformat (GH-5984) The regex to decode a number in fpformat is susceptible to catastrophic backtracking. This is a potential DOS vector if a server is using fpformat on untrusted number strings. Replace it with an equivalent non-vulnerable regex. The match behavior of the new regex is slightly different. It captures the whole integer part of the number in one group, Leading zeros are stripped off later. | 06 March 2018, 05:59:02 UTC |
e052d40 | Benjamin Peterson | 04 March 2018, 06:18:17 UTC | [2.7] bpo-32981: Fix catastrophic backtracking vulns (GH-5955) * Prevent low-grade poplib REDOS (CVE-2018-1060) The regex to test a mail server's timestamp is susceptible to catastrophic backtracking on long evil responses from the server. Happily, the maximum length of malicious inputs is 2K thanks to a limit introduced in the fix for CVE-2013-1752. A 2KB evil response from the mail server would result in small slowdowns (milliseconds vs. microseconds) accumulated over many apop calls. This is a potential DOS vector via accumulated slowdowns. Replace it with a similar non-vulnerable regex. The new regex is RFC compliant. The old regex was non-compliant in edge cases. * Prevent difflib REDOS (CVE-2018-1061) The default regex for IS_LINE_JUNK is susceptible to catastrophic backtracking. This is a potential DOS vector. Replace it with an equivalent non-vulnerable regex. Also introduce unit and REDOS tests for difflib. Co-authored-by: Tim Peters <tim.peters@gmail.com> Co-authored-by: Christian Heimes <christian@python.org>. (cherry picked from commit 0e6c8ee2358a2e23117501826c008842acb835ac) | 04 March 2018, 06:18:17 UTC |
20003f9 | Brett Cannon | 02 March 2018, 22:10:21 UTC | bpo-32963: Fix the tutorial to state source has a default encoding of ASCII (GH-5961) | 02 March 2018, 22:10:21 UTC |
aa40f92 | Alexey Izbyshev | 01 March 2018, 10:27:34 UTC | [2.7] bpo-32903: Fix a memory leak in os.chdir() on Windows (GH-5801). (#5947) (cherry picked from commit 3e197c7a6740d564ad52fb7901c07d5ff49460f5) Co-authored-by: Alexey Izbyshev <izbyshev@users.noreply.github.com> | 01 March 2018, 10:27:34 UTC |
c20c97f | bennorth | 26 February 2018, 22:35:03 UTC | bpo-18533: Avoid RuntimeError from repr() of recursive dictview (#4823) (#5357) (cherry picked from commit d7773d92bd11640a8c950d6c36a9cef1cee36f96) | 26 February 2018, 22:35:03 UTC |
ecaa372 | Miss Islington (bot) | 25 February 2018, 21:22:43 UTC | bpo-32500: Correct the documentation for PySequence_Size() and PySequence_Length() (GH-5767) Dropped the part that says: "For objects that do not provide sequence protocol". (cherry picked from commit 7a1e1786f98ad49caa157dcdf14ada9d0b07d0fd) Co-authored-by: Zackery Spytz <zspytz@gmail.com> | 25 February 2018, 21:22:43 UTC |
b7c1a94 | Cheryl Sabella | 25 February 2018, 20:50:26 UTC | [2.7] bpo-25059: Clarify the print separator usage in tutorial (GH-5879) By default `print` adds spaces between its arguments. (cherry picked from commit 84c4b0cc67ceb4b70842b78c718b6e8214874d6a) | 25 February 2018, 20:50:26 UTC |
7634947 | Miss Islington (bot) | 25 February 2018, 19:38:24 UTC | bpo-31454: Include information about "import X as Y" in Modules tutorial (GH-4041) (cherry picked from commit fbee88244e8921afdb29fde51a9a010a8ae18277) Co-authored-by: Mario Corchero <mariocj89@gmail.com> | 25 February 2018, 19:38:24 UTC |
07c13ee | Miss Islington (bot) | 25 February 2018, 15:34:46 UTC | Delete a broken threading.local example (GH-5870) This code never did anything correct or useful. The class attribute will never be affected, and the condition will never be true. (cherry picked from commit 5fb632e83136399bad9427ee23ec8b771695290a) Co-authored-by: Aaron Gallagher <habnabit@users.noreply.github.com> | 25 February 2018, 15:34:46 UTC |
df1732a | Christian Heimes | 25 February 2018, 13:28:55 UTC | [2.7] bpo-30622: Fix NPN for OpenSSL 1.1.1-pre1 (GH-5876) (#5882) Signed-off-by: Christian Heimes <christian@python.org>. (cherry picked from commit 29eab55309b9f78b79074d26db16a44e7841c639) Co-authored-by: Christian Heimes <christian@python.org> | 25 February 2018, 13:28:55 UTC |
439956a | Christian Heimes | 25 February 2018, 12:08:05 UTC | Fix ssl module, Python 2.7 doesn't have Py_MAX (#5878) Signed-off-by: Christian Heimes <christian@python.org> | 25 February 2018, 12:08:05 UTC |
4bb9b9a | Christian Heimes | 25 February 2018, 11:31:17 UTC | [2.7] bpo-32647: Link ctypes extension with libdl. (GH-5550) (#5877) The ctypes module used to depend on indirect linking for dlopen. The shared extension is now explicitly linked against libdl on platforms with dl. Signed-off-by: Christian Heimes <christian@python.org>. (cherry picked from commit 5bb9692575f10f4a7c7f1c2c0c70956baf6d5c23) Co-authored-by: Christian Heimes <christian@python.org> | 25 February 2018, 11:31:17 UTC |
3d87f4c | Christian Heimes | 25 February 2018, 09:21:03 UTC | [2.7] bpo-30622: Improve NPN support detection (GH-5859) (#5863) The ssl module now detects missing NPN support in LibreSSL. Co-Authored-By: Bernard Spil <brnrd@FreeBSD.org> Signed-off-by: Christian Heimes <christian@python.org>. (cherry picked from commit 6cdb7954b0a578d899e4b78b868ea59eef08480a) Co-authored-by: Christian Heimes <christian@python.org> | 25 February 2018, 09:21:03 UTC |
a5c9112 | Miss Islington (bot) | 25 February 2018, 09:16:37 UTC | [2.7] bpo-32185: Don't send IP in SNI TLS extension (GH-5865) (#5871) The SSL module no longer sends IP addresses in SNI TLS extension on platforms with OpenSSL 1.0.2+ or inet_pton. Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit e9370a47389903bb72badc95032ec84a0ebbf8cc) Co-authored-by: Christian Heimes <christian@python.org> | 25 February 2018, 09:16:37 UTC |
6e8f395 | Christian Heimes | 25 February 2018, 08:48:02 UTC | bpo-25404: SSLContext.load_dh_params() non-ASCII path (GH-3459) SSLContext.load_dh_params() now supports non-ASCII path. Signed-off-by: Christian Heimes <christian@python.org> | 25 February 2018, 08:48:02 UTC |
8d4d173 | Christian Heimes | 24 February 2018, 23:45:53 UTC | bpo-31518: Change TLS protocol for Debian (#3661) Debian Unstable has disabled TLS 1.0 and 1.1 for SSLv23_METHOD(). Change TLS/SSL protocol of some tests to PROTOCOL_TLS or PROTOCOL_TLSv1_2 to make them pass on Debian. Signed-off-by: Christian Heimes <christian@python.org> | 24 February 2018, 23:45:53 UTC |
8a7f1f4 | Miss Islington (bot) | 23 February 2018, 18:16:56 UTC | bpo-32923: Unittest doc: replace `whilst` with `while` (GH-5833) `whilst` and `while` are both english words, `whilst` is not as commonly used. This can be confusing to readers whose primary language is not english. (cherry picked from commit 98f42aac23f3863973cb6e9964c5212cfd3a1d98) Co-authored-by: Mariatta <Mariatta@users.noreply.github.com> | 23 February 2018, 18:16:56 UTC |
61bd4d2 | Anselm Kruis | 23 February 2018, 16:27:28 UTC | [2.7] bpo-30028: make test.support.temp_cwd() fork-safe (GH-1066) (GH-5825) Make test.support.temp_cwd() fork-safe. The context manager test.support.temp_cwd() no longer removes the temporary directory when executing in a process other than the parent it entered from. If a forked child exits the context manager it won't do the cleanup.. (cherry picked from commit 33dddac00ba8d9b72cf21b8698504077eb3c23ad) Co-authored-by: Anselm Kruis <a.kruis@science-computing.de> | 23 February 2018, 16:27:28 UTC |
b852d8c | Miss Islington (bot) | 21 February 2018, 06:37:18 UTC | [2.7] bpo-31848: Fix broken error handling in Aifc_read.initfp() when the SSND chunk is not found (GH-5240) (GH-5781) Initialize self._ssnd_chunk so that aifc.Error is raised as intended, not AttributeError. (cherry picked from commit 80d20b918bd8a882043c493a7f958333ecb41727) Co-authored-by: Zackery Spytz <zspytz@gmail.com> | 21 February 2018, 06:37:18 UTC |
6c7edba | Benjamin Peterson | 21 February 2018, 06:17:10 UTC | [2.7] closes bpo-32008: don't use PROTOCOL_TLSv1 in example (GH-5789) (#5792) It's bad form to pin to an old version of TLS. ssl.SSLContext has the right protocol default, so let's not pass anyway.. (cherry picked from commit e9edee0b65650c4f9db90cefc2e9a8125bad762c) | 21 February 2018, 06:17:10 UTC |
5dc275a | Raymond Hettinger | 19 February 2018, 23:39:20 UTC | Fix typo in docs (GH-5763) | 19 February 2018, 23:39:20 UTC |
eeb3365 | Éric Araujo | 19 February 2018, 03:56:06 UTC | [2.7] bpo-21060 Improve error message for "setup.py upload" without dist files (GH-5726). (cherry picked from commit 08a6926b2584040fe3c3f06263b0b5f1fbbdc24c) Co-authored-by: Éric Araujo <merwok@netwok.org> | 19 February 2018, 03:56:06 UTC |
21f53e7 | Zachary Ware | 18 February 2018, 21:45:48 UTC | [2.7] Clean up Travis config (GH-5727) (cherry picked from commit 7eb3f8226ea7b79dae4e4e8b05730cfe0d9af7c1) | 18 February 2018, 21:45:48 UTC |
fd9d1c9 | Miss Islington (bot) | 17 February 2018, 04:11:48 UTC | DOC: fix documentation for copyright and credits (GH-5706) Adapt documentation for `copyright` and `credits` to reality. Previously, the documentation implied that all each of `copyright`, `credits`, and `license`, would print a message to call the object in order to see the full text. In reality, only `license` exhibits this behaviour, and `copyright` and `credit` print their full text either when printed, displayed, or called. (cherry picked from commit 243d6d71265be1996a8326002deae429106a5fba) Co-authored-by: Gerrit Holl <gerrit.holl@gmail.com> | 17 February 2018, 04:11:48 UTC |
836b642 | Miss Islington (bot) | 14 February 2018, 20:43:17 UTC | Update comment in posixmodule.c (GH-5681) A closing parentheses was missing. Signed-off-by: Ngie Cooper <yaneurabeya@gmail.com> (cherry picked from commit 7745ec4e356ac1f4eaf43b155f4482c20a907d48) Co-authored-by: ngie-eign <1574099+ngie-eign@users.noreply.github.com> | 14 February 2018, 20:43:17 UTC |
8771125 | Miss Islington (bot) | 14 February 2018, 03:55:09 UTC | Fix installation instructions for *nix (GH-5605) Remove pkg_add -r python from FreeBSD installation section. Moved to OpenBSD. (cherry picked from commit 3384d38d51a2c3450e742175db5d6d638fa5d2eb) Co-authored-by: Eitan Adler <grimreaper@users.noreply.github.com> | 14 February 2018, 03:55:09 UTC |
23f0a5e | Benjamin Peterson | 14 February 2018, 03:17:10 UTC | [2.7] remove mercurial dot files (GH-5558). (cherry picked from commit 2b86f4cb2cd339f545804a9abb8c4d4cc28d9488) | 14 February 2018, 03:17:10 UTC |
17cec70 | Serhiy Storchaka | 12 February 2018, 18:16:42 UTC | bpo-30109: Fix reindent.py for non-ASCII files. (#5637) It now processes files as binary streams. This also fixes "make reindent". | 12 February 2018, 18:16:42 UTC |
4029064 | Miss Islington (bot) | 12 February 2018, 08:06:48 UTC | Fix typo in Include/objimpl.h, the word "has" was missing (GH-5568) (GH-5571) It now reads: ...be aware that Python has no control over... (cherry picked from commit 517da1e58f4c489d4b31579852cde5f7113da08e) Co-authored-by: Alexey <forestbiiird@gmail.com> | 12 February 2018, 08:06:48 UTC |
2cf8804 | Miss Islington (bot) | 11 February 2018, 22:29:11 UTC | Fix AppVeyor doc short-circuit (GH-5635) (cherry picked from commit 6ea20fc719dcaf102d2cefa1786f0421514f7a58) | 11 February 2018, 22:29:11 UTC |
239e13b | Zachary Ware | 11 February 2018, 19:57:11 UTC | [2.7] Add short-circuit for doc changes to AppVeyor (GH-5629) (cherry picked from commit 28607e0dd9417ce44a109980ffd60697c1afdea0) | 11 February 2018, 19:57:11 UTC |
ea6e644 | Miss Islington (bot) | 11 February 2018, 00:42:42 UTC | bpo-32800: Update link to w3c doc for xml default namespaces (GH-5609) (GH-5613) The new link is given in a red box on the old page. (cherry picked from commit 8d1f2f40389c476d9240ec87a33da0373597c6af) Co-authored-by: sblondon <sblondon@users.noreply.github.com> | 11 February 2018, 00:42:42 UTC |
e719793 | Serhiy Storchaka | 09 February 2018, 22:02:04 UTC | [2.7] bpo-30157: Fix csv.Sniffer.sniff() regex pattern. (GH-5601) (GH-5604) Co-authored-by: Jake Davis <jcdavis@awedge.net>. (cherry picked from commit 2411292ba8155327125d8a1da8a4c9fa003d5909) | 09 February 2018, 22:02:04 UTC |
672fd7d | Stéphane Wirtel | 07 February 2018, 16:05:35 UTC | bpo-32784: Wrong argument name for csv.DictReader in documentation (GH-5575) Use `f` as the name of the first parameter of `csv.DictReader` and `csv.DictWriter` classes. | 07 February 2018, 16:05:35 UTC |
2942b90 | INADA Naoki | 07 February 2018, 10:09:36 UTC | bpo-32616: Disable computed gotos by default for clang < 5 (GH-5574) | 07 February 2018, 10:09:36 UTC |
0a18422 | Benjamin Peterson | 06 February 2018, 17:29:21 UTC | allow the test suite to pass if the strop module doesn't exist (GH-5566) strop is highly legacy and can be safely compiled out in most installations. Let's not fail the test suite for its absence. | 06 February 2018, 17:29:21 UTC |
2a4e2ea | Raymond Hettinger | 04 February 2018, 18:34:29 UTC | Fix typo -- missing "not" (GH-5532) | 04 February 2018, 18:34:29 UTC |
42e8ea9 | Raymond Hettinger | 03 February 2018, 21:57:02 UTC | bpo-32739: Show default value for rotate() (GH-5517) Manual backport of GH-5485 | 03 February 2018, 21:57:02 UTC |
2357cd7 | Ned Deily | 03 February 2018, 21:31:41 UTC | Update Doc build for split off of 3.7 branch | 03 February 2018, 21:31:41 UTC |
9b7b3a6 | Mariatta | 02 February 2018, 16:23:53 UTC | bpo-32674: Improve the docstring for __import__ (GH-5339) (GH-5494) Clarify that the level argument is used to determine whether to perform absolute or relative imports: 0 is absolute, while a positive number is the number of parent directories to search relative to the current module.. (cherry picked from commit 461d225b195eec5269f317323b41115516144c41) Co-authored-by: oldk <oldk1331@users.noreply.github.com> | 02 February 2018, 16:23:53 UTC |
b7a2c17 | Serhiy Storchaka | 02 February 2018, 14:29:02 UTC | [2.7] bpo-32137: The repr of deeply nested dict now raises a RuntimeError (GH-4570) (#5493) instead of crashing due to a stack overflow. This perhaps will fix similar problems in other extension types. (cherry picked from commit 1fb72d2ad243c965d4432b4e93884064001a2607) | 02 February 2018, 14:29:02 UTC |
b60f43a | Victor Stinner | 29 January 2018, 15:54:29 UTC | bpo-30595: Increase test_queue_feeder_donot_stop_onexc() timeout (GH-2148) (GH-5429) _test_multiprocessing.test_queue_feeder_donot_stop_onexc() now uses a timeout of 1 second on Queue.get(), instead of 0.1 second, for slow buildbots. (cherry picked from commit 8f6eeaf21cdf4aea25fdefeec814a1ce07453fe9) | 29 January 2018, 15:54:29 UTC |
f5a7935 | Bo Bayles | 29 January 2018, 14:31:32 UTC | bpo-32304: Fix distutils upload for tar files ending with b'\r' (GH-5264) (GH-5331) Patch by Bo Bayles. | 29 January 2018, 14:31:32 UTC |
5679277 | Miss Islington (bot) | 28 January 2018, 15:49:14 UTC | Fix PyTrace_RETURN documentation (GH-5384) (GH-5387) It will be triggered when propagating an exception. (cherry picked from commit 79db11ce99332d62917be9d03b31494b1ff2f96a) | 28 January 2018, 15:49:14 UTC |
745e9de | Miss Islington (bot) | 28 January 2018, 08:41:29 UTC | bpo-32687: Fix wrong meaning of args for PyTrace_LINE/CALL in documentation (GH-5361) (GH-5378) (cherry picked from commit 9ed0aee27c249dada410a22fff4325a4a61df36d) | 28 January 2018, 08:41:29 UTC |
38487a0 | Christian Heimes | 27 January 2018, 08:39:39 UTC | [2.7] bpo-32521: nis libnsl (GH-5190) (#5353) The nismodule is now compatible with new libnsl and headers location Signed-off-by: Christian Heimes <christian@python.org>. (cherry picked from commit 29a7df78277447cf6b898dfa0b1b42f8da7abc0c) | 27 January 2018, 08:39:39 UTC |
f5e8f71 | Mariatta | 26 January 2018, 17:55:15 UTC | [2.7] bpo-32640: Clarify the behavior of str.join and unicode object (GH-5333) In str.join, if any of the iterable contains a Unicode object, str.join will return a Unicode object. A Type error will be raised if iterable contains values other than a string or Unicode object. | 26 January 2018, 17:55:15 UTC |
6996f28 | Victor Stinner | 25 January 2018, 21:41:38 UTC | bpo-32667: Fix tests when $PATH contains a file (#5324) test_subprocess.test_leaking_fds_on_error() failed when the PATH environment variable contains a path to an existing file. Fix the test: ignore also ENOTDIR, not only ENOENT and EACCES. | 25 January 2018, 21:41:38 UTC |
e64a47b | Xiang Zhang | 24 January 2018, 14:53:42 UTC | bpo-17799: Explain real behaviour of sys.settrace and sys.setprofile (GH-4056). (#5299) (cherry picked from commit 131fd7f96c619bc7eaea956e45c6337175f4b27f) | 24 January 2018, 14:53:42 UTC |
6ccdad7 | Miss Islington (bot) | 24 January 2018, 09:51:39 UTC | bpo-32635: Fix a segfault when importing the crypt module with libxcrypt. (GH-5284) (#5295) glibc is deprecating libcrypt in favor of libxcrypt, however python assumes that crypt.h will always be included. This change makes the header inclusion explicit when libxcrypt is present on the system. (cherry picked from commit e768c86ef442ef89004089a8a34ce5909ffb90f2) | 24 January 2018, 09:51:39 UTC |
8ca036d | Pablo Galindo | 19 January 2018, 00:16:13 UTC | bpo-32586: Fix code example in urllib2's doc (GH-5238) It should be `urllib2.URLError` instead of just `URLError`. | 19 January 2018, 00:16:13 UTC |
b1a52b1 | Gregory P. Smith | 17 January 2018, 23:15:46 UTC | Use assertItemsEqual instead of assertEqual. (#5224) This test doesn't care about order, the underlying filesystem APIs do not guarantee directory listings on subsequent calls will be in the same order. | 17 January 2018, 23:15:46 UTC |
016f59a | Miss Islington (bot) | 17 January 2018, 16:58:16 UTC | pythoninfo: add time.time and datetime.datetime.now (GH-5214) (#5220) (cherry picked from commit 7d91c0250408e202243c77c1dc9afdb321b6b32f) | 17 January 2018, 16:58:16 UTC |
27f32e9 | Anthony Sottile | 15 January 2018, 21:39:04 UTC | bpo-32539: Fix OSError for os.listdir() for extended-length paths on Windows (#5169) See https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx?f=255&MSPPError=-2147217396#maxpath Paths that begin with `\\?\` are "extended-length paths". | 15 January 2018, 21:39:04 UTC |
ab95b30 | Miss Islington (bot) | 12 January 2018, 15:35:25 UTC | bpo-32521: nis libtirpc (GH-5137) (#5166) glibc has removed Sun RPC. Use replacement libtirpc headers and library in nis module Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit f3031b8a7ad71d3b6ed05da7f3041d9efbe773cf) | 12 January 2018, 15:35:25 UTC |
0ebf0ae | Zachary Ware | 07 January 2018, 19:00:56 UTC | Fix version in AppVeyor config (GH-5126) | 07 January 2018, 19:00:56 UTC |
cd02003 | Zachary Ware | 07 January 2018, 03:16:56 UTC | [2.7] Kill the AppVeyor file whitelist (GH-5123) It's more trouble than it's worth, since AppVeyor only checks the HEAD commit of a PR rather than the full diff against the base branch to decide which files changed. (cherry picked from commit 7f7de371f947dc38e67505601927e9bc58fa268a) | 07 January 2018, 03:16:56 UTC |
e136981 | Benjamin Peterson | 05 January 2018, 07:02:11 UTC | [2.7] advance copyright years to 2018 (GH-5094). (#5105) (cherry picked from commit 65f2a6dcc2bc28a8566b74c8e9273f982331ec48) | 05 January 2018, 07:02:11 UTC |
ca54740 | Serhiy Storchaka | 04 January 2018, 12:08:27 UTC | [2.7] bpo-32211: Document the existing bug in re.findall() and re.finditer(). (GH-4695). (#5096) (cherry picked from commit 1e6d8525f9dd3dcdc83adb93b164082c8b95d17a) | 04 January 2018, 12:08:27 UTC |
0bcba37 | Serhiy Storchaka | 04 January 2018, 08:36:14 UTC | bpo-32482: Improve syntax and grammar tests. (#5085) | 04 January 2018, 08:36:14 UTC |
eb08a92 | Benjamin Peterson | 02 January 2018, 23:52:42 UTC | coalesce GILless sections in new_buffersize (#5059) 830daae1c82ed33deef0086b7b6323e5be0b0cc8 added some new GIL-releasing to new_buffersize. This is fine, but it's better to avoid reacquiring the GIL for as long as possible. Also, it should use FILE_(BEGIN|END)_ALLOW_THREADS to avoid having the file closed from under it. | 02 January 2018, 23:52:42 UTC |
dbf52e0 | Benjamin Peterson | 02 January 2018, 17:25:41 UTC | bpo-31530: fix crash when multiple threads iterate over a file, round 2 (#5060) Multiple threads iterating over a file can corrupt the file's internal readahead buffer resulting in crashes. To fix this, cache buffer state thread-locally for the duration of a file_iternext call and only update the file's internal state after reading completes. No attempt is made to define or provide "reasonable" semantics for iterating over a file on multiple threads. (Non-crashing) races are still present. Duplicated, corrupt, and missing data will happen. This was originally fixed by 6401e5671781eb217ee1afb4603cc0d1b0367ae6, which raised an exception from seek() and next() when concurrent operations were detected. Alas, this simpler solution breaks legitimate use cases such as capturing the standard streams when multiple threads are logging. | 02 January 2018, 17:25:41 UTC |
0e0d101 | Miss Islington (bot) | 02 January 2018, 15:42:12 UTC | bpo-32452: clarify term 'brackets' in generator tutorial (GH-5079) (#5082) Updates documentation for generator expressions in classes tutorial: Clarify usage of ambiguous term "brackets" by replacing with "square brackets". Updated subsequent lines to respect line breaks. (GH-5079) (cherry picked from commit f190eb59e60e2ae7a7cbd396458389a7a076e0d3) | 02 January 2018, 15:42:12 UTC |
b495377 | Serhiy Storchaka | 02 January 2018, 08:56:40 UTC | [2.7] bpo-32478: Add tests for 'break' and 'return' inside 'finally' clause. (GH-5078). (#5084) (cherry picked from commit 7cc42c356b0dc5ad9eaa9392789e84bd4aa1c7de) | 02 January 2018, 08:56:40 UTC |
2de47ca | Miss Islington (bot) | 01 January 2018, 18:51:12 UTC | bpo-32416: Add two new tests in test_sys_settrace. (GH-5072) (#5074) Move other test to more proper place. (cherry picked from commit e8ed96550c6aa9a1e39c36e67e892994e25e2c41) | 01 January 2018, 18:51:12 UTC |
4be7420 | Zachary Ware | 31 December 2017, 00:34:46 UTC | [2.7] Add missing backslashes in PCbuild bat files (GH-5056) (GH-5058) (cherry picked from commit fe90efdc07ec70fd4ff28eac179448a41379cff1) | 31 December 2017, 00:34:46 UTC |
3ceaed0 | Segev Finer | 29 December 2017, 20:44:04 UTC | bpo-18035: telnetlib: select.error doesn't have an errno attribute (#5044) select.error doesn't have an errno attribute so access the errno by indexing instead. | 29 December 2017, 20:44:04 UTC |
1f9d549 | Benjamin Peterson | 29 December 2017, 07:38:55 UTC | [2.7] remove unused import (GH-5040). (#5043) (cherry picked from commit e325608740bee161ca7fefd09463d63099efa1b8) | 29 December 2017, 07:38:55 UTC |
417f76a | Miss Islington (bot) | 29 December 2017, 02:05:07 UTC | make PatternCompiler use the packaged grammar if possible (more bpo-24960) (GH-5034) (#5037) (cherry picked from commit e5f7dccefaa8d97ab53b3051acbb4a4d49379dc4) | 29 December 2017, 02:05:07 UTC |
c60eca0 | Serhiy Storchaka | 27 December 2017, 19:32:03 UTC | [2.7] bpo-32416: Refactor tests for the f_lineno setter and add new tests. (GH-4991). (#5017) (cherry picked from commit 53f9135667226f33e049e327db60fb033afbd77a) | 27 December 2017, 19:32:03 UTC |
8b9995f | Miss Islington (bot) | 23 December 2017, 05:49:49 UTC | correct wording (GH-4983) (#4985) (cherry picked from commit d11e8e0d11c759cd0f96aebb59de914e4d62b8cd) | 23 December 2017, 05:49:49 UTC |
770a802 | Benjamin Peterson | 22 December 2017, 20:52:10 UTC | [2.7] bpo-24960: use pkgutil.get_data in lib2to3 to read pickled grammar files (GH-4977) (#4980) This is more complicated than it should be because we need to preserve the useful mtime-based regeneration feature that lib2to3.pgen2.driver.load_grammar has. We only look for the pickled grammar file with pkgutil.get_data and only if the source file does not exist.. (cherry picked from commit 8a5877165e993afb2633cd48da5222326d3f6e0e) | 22 December 2017, 20:52:10 UTC |
e8ab7eb | Miss Islington (bot) | 21 December 2017, 05:42:42 UTC | correct the typos (GH-4950) (#4952) (cherry picked from commit 83cb778b4a3f856f2243b0f0d36fefb5c44b388f) | 21 December 2017, 05:42:42 UTC |
2316c68 | Victor Stinner | 13 December 2017, 22:23:40 UTC | pythoninfo: sync with master (#4843) | 13 December 2017, 22:23:40 UTC |
3ff488c | Miss Islington (bot) | 13 December 2017, 12:45:13 UTC | trivial: link updates in documentation (GH-2765) (#4836) (cherry picked from commit 4f29f3c84b74de8c208980a14bc56bffa6363121) | 13 December 2017, 12:45:13 UTC |