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

sort by:
Revision Author Date Message Commit Date
329ea4e bpo-31577: Fix a crash in os.utime() in case of a bad ns argument. (GH-3752) (cherry picked from commit 0bd1a2dcfdf36b181385ae61361e7692f4ebb0fd) Co-authored-by: Oren Milman <orenmn@gmail.com> 12 September 2018, 19:46:30 UTC
72c34cf closes bpo-31903: Release the GIL when calling into SystemConfiguration (GH-4178) (cherry picked from commit 4859ba0d2ce4506fddc3f55f90f8dce031b3804f) Co-authored-by: Max Bélanger <aeromax@gmail.com> 12 September 2018, 15:37:30 UTC
cadb66e [3.7] closes bpo-25041: Document AF_PACKET socket address format. (GH-9207) (cherry picked from commit 731ff68eeef58babdf2b32dc9a73b141760c2be9) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> 12 September 2018, 01:46:36 UTC
01ce535 Delete old expat comment. (GH-9197) (cherry picked from commit b9bf9d025e659b5a1963027eb73690e57cb35dd0) Co-authored-by: Benjamin Peterson <benjamin@python.org> 12 September 2018, 01:04:33 UTC
4007e4e Make sure the line comes from the same node as the col offset. (GH-9189) Followup to 90fc8980bbcc5c7dcced3627fe172b0bfd193a3b. <!-- Thanks for your contribution! Please read this comment in its entirety. It's quite important. GH- Pull Request title It should be in the following format: ``` bpo-NNNN: Summary of the changes made ``` Where: bpo-NNNN refers to the issue number in the https://bugs.python.org. Most PRs will require an issue number. Trivial changes, like fixing a typo, do not need an issue. GH- Backport Pull Request title If this is a backport PR (PR made against branches other than `master`), please ensure that the PR title is in the following format: ``` [X.Y] <title from the original PR> (GH-NNNN) ``` Where: [X.Y] is the branch name, e.g. [3.6]. GH-NNNN refers to the PR number from `master`. --> (cherry picked from commit d13e59c1b512069d90efe7ee9b613d3913e79c56) Co-authored-by: Benjamin Peterson <benjamin@python.org> 11 September 2018, 23:32:52 UTC
d8bc7a6 closes bpo-31902: Fix the col_offset attribute for ast.Async* nodes to point to the "async" keyword. (GH-4175) Previously, col_offset points to the keyword after "async". (cherry picked from commit 90fc8980bbcc5c7dcced3627fe172b0bfd193a3b) Co-authored-by: guoci <zguoci@gmail.com> 11 September 2018, 22:21:11 UTC
e2b40f4 bpo-34365: Update date object documentation (GH-8814) Python 3.x does not fall back to comparing object addresses when comparing two `dt` objects. <!-- issue-number: [bpo-34365](https://www.bugs.python.org/issue34365) --> https://bugs.python.org/issue34365 <!-- /issue-number --> (cherry picked from commit 9c223794c754408644c16349b85dd27fdba8a926) Co-authored-by: Danish Prakash <grafitykoncept@gmail.com> 11 September 2018, 21:24:53 UTC
d289df1 Update VSTS to Azure DevOps and simplify dependencies (GH-9168) 11 September 2018, 21:01:13 UTC
536e45a closes bpo-31608: Fix a crash in methods of a subclass of _collections.deque with a bad __new__(). (GH-3788) (cherry picked from commit 24bd50bdcc97d65130c07d6cd26085fd06c3e972) Co-authored-by: Oren Milman <orenmn@gmail.com> 11 September 2018, 19:08:10 UTC
e02ca42 bpo-34613: document the correct value of limit argument of asyncio.StreamReader (GH-9121) The default value of asyncio.StreamReader *limit* is `_DEFAULT_LIMIT` instead of `None`. <!-- issue-number: [bpo-34613](https://www.bugs.python.org/issue34613) --> https://bugs.python.org/issue34613 <!-- /issue-number --> (cherry picked from commit b4ec36200a959da70eba94c19826446a8efdffdd) Co-authored-by: Bram <cortex@worlddomination.be> 11 September 2018, 18:59:29 UTC
3e648f8 bpo-28617 Fixed docs inaccuracies about the types that support membership tests (GH-9086) <!-- issue-number: [bpo-28617](https://www.bugs.python.org/issue28617) --> https://bugs.python.org/issue28617 <!-- /issue-number --> (cherry picked from commit 08bcf647d8a92e4bd47531588b284c6820b7a7ef) Co-authored-by: wim glenn <wim.glenn@gmail.com> 11 September 2018, 18:13:33 UTC
3235fac bpo-34405: Update to OpenSSL 1.1.0i for macOS installer builds (GH-9166) (GH-9167) (cherry picked from commit 3102e24d83315eee42a94c460956fbcb92ac510f) Co-authored-by: Ned Deily <nad@python.org> 11 September 2018, 16:07:11 UTC
c9ece5f closes bpo-33883: Mention type checkers in the FAQ. (GH-7760) (cherry picked from commit a37825418649873a0fa971dc7e5e6d142c124574) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 11 September 2018, 05:27:00 UTC
2bc4eea bpo-34625: Update vendorized expat version to 2.2.6. (GH-9150) (cherry picked from commit 5033aa77aacaa5505636f150e8d54baac5bdca9c) Co-authored-by: Benjamin Peterson <benjamin@python.org> 11 September 2018, 04:55:27 UTC
2110f78 bpo-33032: Mention the implicit cache in struct.Struct() docs (GH-7700) Mention the implicit cache in struct.Struct() docs. Consistent with the re.compile documentation note. (cherry picked from commit 3666b3c1f695a145adab1bf644c22e564e8eb0ee) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 11 September 2018, 04:50:41 UTC
9c4a63f bpo-32270: Don't close stdin/out/err in pass_fds (GH-6242) (GH-9148) When subprocess.Popen() stdin= stdout= or stderr= handles are specified and appear in pass_fds=, don't close the original fds after dup'ing them. This implementation and unittest primarily came from @izbyshev (see the PR) See also https://github.com/izbyshev/cpython/commit/b89b52f28490b69142d5c061604b3a3989cec66c This also removes the old manual p2cread, c2pwrite, and errwrite closing logic as inheritable flags and _close_open_fds takes care of that properly today without special treatment. This code is within child_exec() where it is the only thread so there is no race condition between the dup and _Py_set_inheritable_async_safe call. (cherry picked from commit ce34410b8b67f49d8275c05d51b3ead50cf97f48) Co-authored-by: Gregory P. Smith <greg@krypto.org> [Google] 11 September 2018, 04:36:20 UTC
6df2005 Fix missing line from example shell session (GH-9143) (GH-9155) (cherry picked from commit 2064bb6d576ff7016d59318038779f428b0f0f3f) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> 11 September 2018, 02:13:02 UTC
037582e bpo-33460: remove ellipsis that look like continuation prompts (GH-7851) Remove ellipsis that look like continuation prompts, has a side benefit of putting rest of error message in proper text color. (cherry picked from commit f019579828ed62653e2d41c95278308fa076ccaf) Co-authored-by: Lew Kurtz <37632626+lew18@users.noreply.github.com> 11 September 2018, 01:49:39 UTC
f3d00ae switch descriptor howto to return value annotation (GH-7796) (cherry picked from commit 28ea4c284724283265e95d1d1716c9f1dfc2d741) Co-authored-by: NotAFile <notafile@gmail.com> 11 September 2018, 00:44:58 UTC
011141f closes bpo-34525: Fix smtplib's authobject() documentation (GH-8965) (cherry picked from commit 78deb7f33227972987722bc3fed5bcb45fae869e) Co-authored-by: Sebastian Rittau <srittau@rittau.org> 10 September 2018, 18:13:13 UTC
4d5d219 [3.7] Fix misleading mentions of tp_size in comments. (GH-9136) Many type object initializations labeled a field "tp_size" in the comment, but the name of that field is tp_basicsize.. (cherry picked from commit 0e0bc4e221f592f305d335faf5f8046484eb9238) Co-authored-by: Peter Eisentraut <peter@eisentraut.org> 10 September 2018, 17:22:55 UTC
c0d63bf [3.7] bpo-34282: Fix Enum._convert method shadowing members named _convert (GH-9034) * Fix Enum._convert shadowing members named _convert 10 September 2018, 16:39:48 UTC
4902017 bpo-34588: Fix an off-by-one error in traceback formatting. (GH-9077) The recursive frame pruning code always undercounted the number of elided frames by one. That is, in the "[Previous line repeated N more times]" message, N would always be one too few. Near the recursive pruning cutoff, one frame could be silently dropped. That situation is demonstrated in the OP of the bug report. The fix is to start the identical frame counter at 1. (cherry picked from commit d545869d084e70d4838310e79b52a25a72a1ca56) Co-authored-by: Benjamin Peterson <benjamin@python.org> 10 September 2018, 16:00:08 UTC
d53f1ca [3.7] bpo-34621: fix uuid.UUID (un)pickling compatbility with older Python versions (<3.7) (GH-9133) 10 September 2018, 15:47:29 UTC
e9119a5 Test dict values iterator pickling with pickle.HIGHEST_PROTOCOL. (GH-9052) (cherry picked from commit 1f36bf6077d93cb43fd84bea4a8a625fa772d1fa) Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com> 10 September 2018, 10:45:54 UTC
9c9ac9e Revert "Fix misindented yaml in logging how to example (GH-8604)" (GH-9081) This reverts commit 10b59f1b019cd00c940dd7f4a74c4f667a20f25f. (cherry picked from commit 290a60bd8af7b1d7e7931aa4dd4eace60d355d76) Co-authored-by: Rémy HUBSCHER <hubscher.remy@gmail.com> 10 September 2018, 09:13:18 UTC
7a633ed [3.7] bpo-34604: Fix possible mojibake in pwd.getpwnam() and grp.getgrnam() (GH-9098) (GH-9104) Pass the user/group name as Unicode to the formatting function, instead of always decoding a bytes string from UTF-8.. (cherry picked from commit 28658485a54ad5f9df52ecc12d9046269f1654ec) Co-authored-by: William Grzybowski <wg@FreeBSD.org> 09 September 2018, 11:27:31 UTC
77b92b1 bpo-34421 avoid unicode error in distutils logging (GH-8799) This caused installation errors in some cases on Windows. Patch by Julien Malard. (cherry picked from commit 0afada163c7ef25c3a9d46ed445481fb69f2ecaf) Co-authored-by: Julien Malard <julien.malard@mail.mcgill.ca> 08 September 2018, 20:52:59 UTC
9835696 bpo-34246: Use no mutable default args in smtplib (GH-8554) Some methods of the SMTP class use mutable default arguments. Specially `send_message` is affected as it mutates one of the args by appending items to it, which has side effects on further calls. (cherry picked from commit d5fbe9b1a3d65ceeb9159c5ba999ee966a945f76) Co-authored-by: Pablo Aguiar <scorphus@gmail.com> 07 September 2018, 22:29:27 UTC
7399407 bpo-23855: Add missing NULL checks for malloc() in _msi.c (GH-9038) (cherry picked from commit 4e519377b1b84c9414a360961276993d24198825) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 07 September 2018, 22:15:30 UTC
18d7dff [3.7] bpo-34594: Don't hardcode errno values in the tests. (GH-9094) (cherry picked from commit b03c2c51909e3b5b5966d86a2829b5ddf2d496aa) 07 September 2018, 16:17:32 UTC
854b740 Doc: Missing 'f' in an f-string. (GH-9074) (GH-9095) (cherry picked from commit 25fa141487e61b94f15289619cb3af764cf65e58) Co-authored-by: Julien Palard <julien@palard.fr> 07 September 2018, 09:59:00 UTC
f862f3a bpo-25750: fix refcounts in type_getattro() (GH-6118) When calling tp_descr_get(self, obj, type), make sure that we own a strong reference to "self". (cherry picked from commit 8f735485acf2e35a75d2fa019feb8f905598c4e5) Co-authored-by: jdemeyer <jdemeyer@cage.ugent.be> 07 September 2018, 07:50:35 UTC
2d3f2dc bpo-34542: Update test certs and keys (GH-8997) (GH-9007) Update all test certs and keys to use future proof crypto settings: * 3072 bit RSA keys * SHA-256 signature Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit e6dac0077996b1e1f886f036d6f2606237fa4c85) 06 September 2018, 13:13:24 UTC
5b17d7f closes bpo-34581 : Conditionalize use of __pragma in Modules/socketmodule.c. (GH-9067) (cherry picked from commit 874809ea389e6434787e773a6054a08e0b81f734) Co-authored-by: Erik Janssens <erik.janssens@conceptive.be> 05 September 2018, 06:45:03 UTC
e8ca880 bpo-34563: Fix for invalid assert on big output of multiprocessing.Process (GH-9027) (GH-9064) Fix for invalid assert on big output of multiprocessing.Process. (cherry picked from commit 266f4904a222a784080e29aad0916849e507515d) Co-authored-by: Alexander Buchkovsky <olex.buchkovsky@gmail.com> 04 September 2018, 19:39:54 UTC
20a8392 [3.7] bpo-26544: Get rid of dependence from distutils in platform. (GH-8356). (GH-8970) (cherry picked from commit 7d81e8f5995df6980a1a02923e224a481375f130) 04 September 2018, 14:31:18 UTC
7aa3ead bpo-34530: Fix distutils find_executable() (GH-9049) distutils.spawn.find_executable() now falls back on os.defpath if the PATH environment variable is not set. (cherry picked from commit 39487196c87e28128ea907a0d9b8a88ba53f68d5) Co-authored-by: Victor Stinner <vstinner@redhat.com> 04 September 2018, 09:19:13 UTC
1e92123 bpo-26901: Fix the Argument Clinic test suite (GH-8879) (GH-9048) * Fix Tools/clinic/clinic_test.py: add missing FakeClinic.destination_buffers attribute and pass a file argument to Clinic(). * Rename Tools/clinic/clinic_test.py to Lib/test/test_clinic.py: add temporary Tools/clinic/ to sys.path to import the clinic module. Co-Authored-By: Pablo Galindo <pablogsal@gmail.com> (cherry picked from commit 65fc98e7b1f62c2e621f04780a3a77c3498cc195) Co-authored-by: Victor Stinner <vstinner@redhat.com> 03 September 2018, 22:24:17 UTC
84b0129 _Py_CoerceLegacyLocale() restores LC_CTYPE on fail (GH-9044) (GH-9046) bpo-34544: If _Py_CoerceLegacyLocale() fails to coerce the C locale, restore the LC_CTYPE locale to the its previous value. (cherry picked from commit 8ea09110d413829f71d979d8c7073008cb87fb03) 03 September 2018, 20:17:07 UTC
f4c865e Fix struct sequence glossary entry grammar (GH-9030) ... by removing a superfluous "either". Reported by Никита Люшненко on docs@. (cherry picked from commit 98b976a2f82ba5f50cf6846338f644ca6c64f47d) Co-authored-by: Zachary Ware <zachary.ware@gmail.com> 02 September 2018, 02:13:34 UTC
4c532da closes bpo-34555: Fix incorrectly nested test for HAVE_LINUX_VM_SOCKETS_H (GH-9016) (cherry picked from commit 2d7102e726e973ab2d307aa9748c7ec433677877) Co-authored-by: Thomas Herzog <thomas@mcduke.net> 01 September 2018, 22:30:44 UTC
f6d70b8 Fix typo in typing.py module docstring (GH-9014) "explicitelly" → "explicitly" (cherry picked from commit 5265b3a98b376684e361b62d0728483b26f493f2) Co-authored-by: Tim McNamara <code@timmcnamara.co.nz> 01 September 2018, 09:15:40 UTC
89c9043 bpo-34558: Add missing parentheses in _aix.py (GH-9017) p.wait() (cherry picked from commit 172a71f19bb5e9624651850b315f403c460b9699) Co-authored-by: Michael Felt <aixtools@users.noreply.github.com> 01 September 2018, 02:46:32 UTC
4da7181 bpo-34007: Skip traceback tests if the Program Counter is not available. (GH-9018) Sometimes some versions of the shared libraries that are part of the traceback are compiled in optimised mode and the Program Counter (PC) is not present, not allowing gdb to walk the frames back. When this happens, the Python bindings of gdb raise an exception, making the test impossible to succeed. (cherry picked from commit f2ef51f8bec525b21e52988880c8a029642795ed) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 31 August 2018, 22:47:20 UTC
5df3658 bpo-34062: Add missing launcher argument and make behavior consistent between short and long arguments (GH-8827) Added previously missing "--list" argument. Made "--list" and "--list-paths" behavior consistent with the corresponding "-0" and "-0p" arguments. (cherry picked from commit aada63b20ec64bbfc4f2fb0718fc563eedbdd36a) Co-authored-by: Brendan Gerrity <brerrity@gmail.com> 31 August 2018, 15:32:22 UTC
9668d4e Add VSTS status badge to readme (GH-8958) 31 August 2018, 15:17:36 UTC
0b9ea4b [3.7] bpo-34485: stdout uses surrogateescape on POSIX locale (GH-8986) (GH-8987) * bpo-34485: stdout uses surrogateescape on POSIX locale (GH-8986) Standard streams like sys.stdout now use the "surrogateescape" error handler, instead of "strict", on the POSIX locale (when the C locale is not coerced and the UTF-8 Mode is disabled). Add tests on sys.stdout.errors with LC_ALL=POSIX. Fix the error handler of standard streams like sys.stdout: PYTHONIOENCODING=":" is now ignored instead of setting the error handler to "strict". (cherry picked from commit 315877dc361d554bec34b4b62c270479ad36a1be) 29 August 2018, 09:01:33 UTC
98c49c6 bpo-34485: Fix _Py_InitializeCore() for C locale coercion (GH-8979) (GH-8981) * _Py_InitializeCore() now sets the LC_CTYPE locale to the user preferred locale before checking if the C locale should be coerced or not in _PyCoreConfig_Read(). * Fix pymain_read_conf(): remember if the C locale has been coerced when the configuration should be read again if the encoding has changed. (cherry picked from commit 2c8ddcf4f14f3e4c87a6fe6678ab5ad09130c6ab) 28 August 2018, 23:13:29 UTC
65ef742 bpo-34527: POSIX locale enables the UTF-8 Mode (GH-8972) (GH-8974) * The UTF-8 Mode is now also enabled by the "POSIX" locale, not only by the "C" locale. * On FreeBSD, Py_DecodeLocale() and Py_EncodeLocale() now also forces the ASCII encoding if the LC_CTYPE locale is "POSIX", not only if the LC_CTYPE locale is "C". * test_utf8_mode.test_cmd_line() checks also that the command line arguments are decoded from UTF-8 when the the UTF-8 Mode is enabled with POSIX locale or C locale. (cherry picked from commit 5cb258950ce9b69b1f65646431c464c0c17b1510) 28 August 2018, 11:51:20 UTC
e3f2082 bpo-34171: Fix test_trace. (GH-8940) (GH-8951) Remove "trace.cover" left from previous test runs before testing that it is no longer created. (cherry picked from commit b44a1d4f71daf4edb948b9878f82a60891e4a2e1) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 28 August 2018, 08:41:43 UTC
2cf3316 bpo-33635: Handling Bad file descriptor in Path.is_file and related. (GH-8542) (cherry picked from commit 216b745eafa7cd4a683a8405dcfbd7f5567f504c) Co-authored-by: Przemysław Spodymek <przemyslaw@spodymek.com> 27 August 2018, 22:37:18 UTC
fa3fd4c bpo-34434: Update doc for bool(), float() and int() arguments (GH-8834) (cherry picked from commit 3fe89dac42809a7741d50ebf595be98833b79b97) Co-authored-by: Louis Sautier <sautier.louis@gmail.com> 27 August 2018, 10:58:56 UTC
55b8c4b Remove AIX workaround test_subprocess (GH-8939) An old apparent AIX behavior workaround in test_subprocess's test_undecodable_env is no longer needed. (cherry picked from commit 89d79b1449750b14ded0149dcdd1e39247f2c65d) Co-authored-by: Michael Felt <aixtools@users.noreply.github.com> 27 August 2018, 00:32:48 UTC
2caf86f bpo-34503: Fix refleak in PyErr_SetObject() (GH-8934) (cherry picked from commit a2eefa67542c25617a58c03a27c17fd48e2a0856) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru> 26 August 2018, 17:13:47 UTC
d6725fc closes bpo-34504: Remove the useless NULL check in PySequence_Check(). (GH-8935) Reported by Svace static analyzer. (cherry picked from commit b57b4ac042b977e0b42a2f5ddb30ca7edffacfa9) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru> 26 August 2018, 00:03:48 UTC
15dadac closes bpo-34501: PyType_FromSpecWithBases: Check spec->name before dereferencing it. (GH-8930) Reported by Svace static analyzer. (cherry picked from commit 5f79b50763d687aeeed8edcb4efcc7ac9f8fa186) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru> 25 August 2018, 19:11:29 UTC
42a1ca6 closes bpo-34502: Remove a note about utf8_mode from sys.exit() docs. (GH-8928) (cherry picked from commit 44838be9f79870ff3c9e04b7398a1dc3d56d53ed) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru> 25 August 2018, 18:36:18 UTC
388bd4b [3.7] bpo-34492: Modules/main.c: Fix copy_wstrlist() (GH-8910) (GH-8922) * Add missing NULL check reported by Svace static analyzer. * Fix clear_wstrlist() call on a wrong list. (cherry picked from commit eb746dbae8b320758ee08f811316d7f283435cc0) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru> 25 August 2018, 16:46:58 UTC
6dc8f05 Fix markup in stdtypes documentation (GH-8905) (cherry picked from commit 2e5d2ea2089e111fb8e5b8c5916242da2906c399) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 25 August 2018, 14:22:00 UTC
80e9fed bpo-34171: Prevent creating Lib/trace.cover when run the trace module. (GH-8841) (cherry picked from commit c406d5cd74002964a64c3eb7d9e2445a7fd3a03f) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 25 August 2018, 07:47:22 UTC
46af206 closes bpo-34493: Objects/genobject.c: Add missing NULL check to compute_cr_origin() (GH-8911) (cherry picked from commit 8fdd331bbf7e60dd81c02c7077f44c7939e2a05d) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru> 25 August 2018, 07:36:34 UTC
d5f017b bpo-13312: Avoid int underflow in time year. (GH-8912) Avoids an integer underflow in the time module's year handling code. (cherry picked from commit 76be0fffff8b7dbe649ad4821144461800ffb0d0) Co-authored-by: Gregory P. Smith <greg@krypto.org> 25 August 2018, 05:53:00 UTC
1f9621c Fixed typo with asynccontextmanager code example (GH-8845) `yield conn`, instead of just `yield`. (cherry picked from commit 416cbce22d5d8879986125f07b3e293421bc975d) Co-authored-by: Alexander Vasin <hi@alvass.in> 25 August 2018, 02:51:10 UTC
7b0ed43 bpo-33550: Warn not to set SIGPIPE to SIG_DFL (GH-6773) (cherry picked from commit a2510732da4c75789cc1750a034bdc9d9fdffb5b) Co-authored-by: Alfred Perlstein <alfred@freebsd.org> 25 August 2018, 02:28:58 UTC
0dc75f0 bpo-34426: fix typo (__lltrace__ -> __ltrace__) (GH-8822) (cherry picked from commit 09efe49c07e2d5f93b415ead757c87e20cc0026f) Co-authored-by: Danish Prakash <grafitykoncept@gmail.com> 25 August 2018, 02:14:11 UTC
4973f76 bpo-34448: Improve output of usable wchar_t check (GH-8846) (cherry picked from commit 3738fadc670274ecc4649f51b52a93602820a375) Co-authored-by: Michael Osipov <1983-01-06@gmx.net> 24 August 2018, 16:36:30 UTC
c7f5435 closes bpo-34471: _datetime: Add missing NULL check to tzinfo_from_isoformat_results. (GH-8869) Reported by Svace static analyzer. (cherry picked from commit 498845368ff0f6238750ab1d443e7cf4ec98ccd2) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru> 24 August 2018, 16:13:57 UTC
3e6020c bpo-6700: Fix inspect.getsourcelines for module level frames/tracebacks (GH-8864) (cherry picked from commit 91cb298f811961277fd4cc4a32211899d48bedcb) Co-authored-by: Vladimir Matveev <v2matveev@outlook.com> 24 August 2018, 14:44:47 UTC
a8c749d Fix typo in the dataclasses's doc (GH-8896) (GH-8897) (cherry picked from commit 075b3c325913475be16650f7cb2a99f3136623b9) Co-authored-by: Daniel Dương <dduong42@users.noreply.github.com> 24 August 2018, 09:37:19 UTC
d9e1abf closes bpo-34468: Objects/rangeobject.c: Fix an always-false condition in range_repr() (GH-8880) Also, propagate the error from PyNumber_AsSsize_t() because we don't care only about OverflowError which is not reported if the second argument is NULL. Reported by Svace static analyzer. (cherry picked from commit 7ecae3ca0bda3cacf3b0125bae0bc718a17cc071) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru> 24 August 2018, 05:34:06 UTC
a590363 closes bpo-34474: Python/bltinmodule.c: Add missing NULL check in builtin_sum_impl() (GH-8872) Reported by Svace static analyzer. (cherry picked from commit 2b824b2538c4a5f9f520c5de8a1eae5a0c181a94) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru> 24 August 2018, 04:59:16 UTC
609062a closes bpo-34477: Objects/typeobject.c: Add missing NULL check to type_init() (GH-8876) Reported by Svace static analyzer. (cherry picked from commit f6247aac08c1a79d0479145a405718bb76dba434) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru> 24 August 2018, 04:38:16 UTC
1d3d688 Fix doc for `add_subparsers` arguments (GH-8884) There was a missing comma. (cherry picked from commit cc18258daf2727a4b8d657aaf0bf8a9cb0b54bb3) Co-authored-by: Anthony Sottile <asottile@umich.edu> 24 August 2018, 03:22:17 UTC
609c033 Fix typo in asyncio.BoundedSemaphore docs (GH-8882) semapthores -> semaphores (cherry picked from commit b8a181f4ae167e4eda60f585a536240764151cf7) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> 24 August 2018, 02:03:23 UTC
89b1654 bpo-34454: fix .fromisoformat() methods crashing on inputs with surrogate code points (GH-8862) The current C implementations **crash** if the input includes a surrogate Unicode code point, which is not possible to encode in UTF-8. Important notes: 1. It is possible to pass a non-UTF-8 string as a separator to the `.isoformat()` methods. 2. The pure-Python `datetime.fromisoformat()` implementation accepts strings with a surrogate as the separator. In `datetime.fromisoformat()`, in the special case of non-UTF-8 separators, this implementation will take a performance hit by making a copy of the input string and replacing the separator with 'T'. Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru> Co-authored-by: Paul Ganssle <paul@ganssle.io> (cherry picked from commit 096329f0b2bf5e3f0a16363aa631d993ce078737) Co-authored-by: Paul Ganssle <pganssle@users.noreply.github.com> 23 August 2018, 15:54:33 UTC
1f7d047 Make it more clear that setUpClass runs before each class, not "class run" (GH-8844) (cherry picked from commit c33bb5d4016fb2fc8f3b6d4b0c14b73b33cdb3cf) Co-authored-by: Ville Skyttä <ville.skytta@iki.fi> 23 August 2018, 15:02:46 UTC
80a0eba bpo-34207: Fix pymain_read_conf() for UTF-8 Mode (GH-8868) (GH-8870) bpo-34170, bpo-34207: pymain_read_conf() now sets Py_UTF8Mode to config->utf8_mode. pymain_read_conf() calls indirectly Py_DecodeLocale() and Py_EncodeLocale() which depend on Py_UTF8Mode. (cherry picked from commit 89487f51b8d6ba8a55f5de0ed689e46fefe73cc9) 23 August 2018, 10:41:35 UTC
0420826 bpo-34436: Fix check that disables overallocation for the last fmt specifier (GH-8826) Reported by Svace static analyzer. (cherry picked from commit ccd99752675042bd5f67d332c5b0ed85ba1f2da3) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru> 23 August 2018, 08:03:02 UTC
b8e7319 bpo-34457: Python/ast.c: Add missing NULL check to alias_for_import_name(). (GH-8852) Reported by Svace static analyzer. (cherry picked from commit 28853a249b1d0c890b7e9ca345290bb8c1756446) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru> 22 August 2018, 05:54:46 UTC
3152bc3 bpo-34456: pickle: Add missing NULL check to save_global(). (GH-8851) Reported by Svace static analyzer. (cherry picked from commit f8c06b028036e50596e75d4c9f6b27ba05133efe) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru> 22 August 2018, 05:54:33 UTC
985dcd4 bpo-34400: Fix more undefined behavior in parsetok.c (GH-8833) (cherry picked from commit 3e26e42c905852394fa136f1cc564dac98b56166) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 21 August 2018, 03:23:15 UTC
d1f0ccc bpo-34441: Fix ABC.__subclasscheck__ crash on classes with invalid __subclasses__ (GH-8835) The missing NULL check was reported by Svace static analyzer. (cherry picked from commit cdbf50cba1664f72ae6621a89c324a32fea70377) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru> 20 August 2018, 20:42:18 UTC
2011dd7 bpo-30411: Use --git-dir instead of -C to make git work under version below 1.8.5. (GH-8744) (cherry picked from commit 4c8555773a801f957297132a92c0acb382d640e4) Co-authored-by: Xiang Zhang <angwerzx@126.com> 20 August 2018, 14:48:31 UTC
1e596d3 bpo-34435: Add missing NULL check to unicode_encode_ucs1(). (GH-8823) Reported by Svace static analyzer. (cherry picked from commit 74a307d48ef8b278c4629ca0ef2139be1c9a34e6) Co-authored-by: Alexey Izbyshev <izbyshev@users.noreply.github.com> 19 August 2018, 20:17:53 UTC
0e1e8db bpo-22057: Clarify eval() documentation (GH-8812) If a globals dictionary without a '__builtins__' key is passed to eval(), a '__builtins__' key will be inserted to the dictionary: >>> eval("print('__builtins__' in globals())", {}) True (As a result of this behavior, we can use the builtins print() and globals() even if we passed a dictionary without a '__builtins__' key to eval().) (cherry picked from commit 225b05548027d55aafb11b65f6a4a2bef2f5196f) Co-authored-by: Berker Peksag <berker.peksag@gmail.com> 19 August 2018, 10:29:50 UTC
2e4ae8f bpo-34415: Updated logging.Formatter docstring. (GH-8811) (GH-8817) (cherry picked from commit d3d3171da895d8cb880f23fae6be778f0ac23be7) 19 August 2018, 07:20:13 UTC
0fd6f83 bpo-34432: doc Mention complex and decimal.Decimal on str.format note about locales (GH-8808) (GH-8809) (cherry picked from commit 93b5655c040a33f9ba4cdbd303afc8398c8413c7) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 18 August 2018, 18:16:36 UTC
eeece3c bpo-34381: refer to 'Running & Writing Tests' in README.rst (GH-8797) (cherry picked from commit cae8ff93a696aa7d74562a9eeaf27afac1f181b4) Co-authored-by: Michael Osipov <1983-01-06@gmx.net> 17 August 2018, 21:57:41 UTC
05d89ef bpo-34418: Fix HTTPErrorProcessor documentation (GH-8793) The http_response() and https_response() methods of the HTTPErrorProcessor class have two required parameters, 'request' and 'response'. (cherry picked from commit c53aaec793e018edef4e72a3edbd338b10db10aa) Co-authored-by: Sebastian Rittau <srittau@rittau.org> 17 August 2018, 10:02:08 UTC
870247a [3.7] bpo-34391: Fix ftplib test for TLS 1.3 (GH-8787) (GH-8789) Read from data socket to avoid "[SSL] shutdown while in init" exception during shutdown of the dummy server. Signed-off-by: Christian Heimes <christian@python.org> <!-- issue-number: [bpo-34391](https://www.bugs.python.org/issue34391) --> https://bugs.python.org/issue34391 <!-- /issue-number --> (cherry picked from commit 1590c393360df059160145e7475754427bfc6680) Co-authored-by: Christian Heimes <christian@python.org> 16 August 2018, 19:37:20 UTC
bf8e9d1 bpo-34217: Use lowercase for windows headers (GH-8472) (cherry picked from commit e6a4755e6793942b950c1595e0c34bd66a0ee13e) Co-authored-by: Erik Janssens <erik.janssens@conceptive.be> 16 August 2018, 07:29:20 UTC
962051e bpo-34395: Fix memory leaks caused by incautious usage of PyMem_Resize(). (GH-8756) (cherry picked from commit 67b9cc8e6072a919d2ed7e7ecc8124c8acfb3733) Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com> 16 August 2018, 04:53:00 UTC
64336dc bpo-34405: Updated to OpenSSL 1.1.0i for Windows builds. (GH-8775) (cherry picked from commit 864a892af38afefb0a0464af298cf09d2e1195f7) Co-authored-by: Steve Dower <steve.dower@microsoft.com> 15 August 2018, 20:55:10 UTC
2275b77 closes bpo-34400: Fix undefined behavior in parsetok(). (GH-4439) Avoid undefined pointer arithmetic with NULL. (cherry picked from commit 7c4ab2afb17b99eb3f61f9c73cbd548b5e0ad2c0) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 15 August 2018, 06:51:12 UTC
e3228a3 bpo-34399: 2048 bits RSA keys and DH params (GH-8762) (GH-8763) Downstream vendors have started to deprecate weak keys. Update all RSA keys and DH params to use at least 2048 bits. Finite field DH param file use RFC 7919 values, generated with certtool --get-dh-params --sec-param=high Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit 88bfd0bce05043f658e50addd21366f317995e35) Co-authored-by: Christian Heimes <christian@python.org> 14 August 2018, 14:52:27 UTC
6c14060 smtplib documentation fixes (GH-8708) * SMTP.startssl: Fix doc on keyfile and certfile use * SMTP.startssl: Add missing keyfile and certfile deprecation notice * SMTP: Doc grammar fixes (cherry picked from commit da12063f2f53b7d272824863ed24260cefb22e8c) Co-authored-by: Ville Skyttä <ville.skytta@iki.fi> 13 August 2018, 04:06:22 UTC
32e58fc bpo-34213: Allow dataclasses to work with a field named 'object'. (GH-8452) (cherry picked from commit 4d12e4dc28b7c782c368bae2e8fd3815167ed37d) Co-authored-by: Vadim Pushtaev <pushtaev.vm@gmail.com> 13 August 2018, 03:32:44 UTC
393151e Fix misindented yaml in logging how to example (GH-8604) (cherry picked from commit 10b59f1b019cd00c940dd7f4a74c4f667a20f25f) Co-authored-by: Rémy HUBSCHER <hubscher.remy@gmail.com> 13 August 2018, 00:04:44 UTC
7e0153e Fix the versionadded indentation in exec_module doc (GH-8719) (cherry picked from commit 65b5ef02ec1f44e3a19b689a1ecf73d01c82161b) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 12 August 2018, 07:01:21 UTC
back to top