https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
88687fd glob uses fnmatch.filter instead of fnmatch since 2001. (GH-10102) (cherry picked from commit ae31e3fbf4e7def772fc1c94342d1011424fdc99) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 07 November 2018, 18:09:28 UTC
0d9896d Correct grammar mistakes in string.rst. (GH-9752) (cherry picked from commit d64991031e4c86ce0331caac16770757511dd025) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 07 November 2018, 17:55:02 UTC
55e1173 Mark len call as a code snippet in stdtypes.rst. (GH-9804) (cherry picked from commit ca03f3b93ee5c2943a2b8cbf9447f99f835ec672) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 07 November 2018, 17:54:48 UTC
e422de8 Mark -c and -O as command line options in reStructuredText. (GH-10103) (cherry picked from commit ea6a28c9f7e4baa5fe775cebce697a14a7d7da8b) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 07 November 2018, 17:53:27 UTC
25bd107 bpo-33000: Document that IDLE's shell has no line limit. (GH-10373) A program that runs indefinitely can overfill memory. (cherry picked from commit 76cd0c30d60961d1a10e2673834a455d2b51f695) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 07 November 2018, 05:18:38 UTC
7476fef bpo-23220: Explain how IDLE's Shell displays output (GH-10356) (#10369) Add a new subsection to the doc. (cherry picked from commit 75d9d59ab3a372d3d78e6a1f5e9f256e29d0a9a6) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 06 November 2018, 18:59:39 UTC
d0e3105 closes bpo-35171: Fix test_TimeRE_recreation_timezone failure on some systems. (GH-10347) The test depended on '/usr/share/zoneinfo/posixrules' or equivalent because it set TZ without explicit DST transition rules. At least on OpenSUSE Tumbleweed that file is linked to '/etc/localtime', making the test fail with certain local timezones, such as 'Europe/Moscow' which doesn't have DST transitions since 2011. (cherry picked from commit f1b9ad3d38c11676b45edcbf2369239bae436e56) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru> 06 November 2018, 04:50:04 UTC
54bcb6c bpo-35099: Update idlelib/help.html (GH-10353) (This should have been done with the first PR for this issue.) (cherry picked from commit f1d3efc2fba704692d539acc3cb0376a1dd9d98f) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 06 November 2018, 03:39:53 UTC
927a113 bpo-35099: Improve the doc about IDLE running user code. (GH-10350) The section is renamed from "IDLE -- console differences". It mostly covers the implications of using custom sys.stdxxx objects. (cherry picked from commit 5e7909032491cef17754a3208872655fe350e9be) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 06 November 2018, 02:35:51 UTC
47a940e [Docs] Fix required version of an example of importlib (GH-10118) §31.5.6.3. Importing a source file directly: `module_from_spec` is new in Python 3.5. (cherry picked from commit 16c8a53490a22bd4fcde2efaf4694dd06ded882b) Co-authored-by: E Kawashima <e-kwsm@users.noreply.github.com> 05 November 2018, 22:47:51 UTC
8c5f14d [3.6] bpo-35167: Specify program for json.tool command line options. (GH-10332) (GH-10338) (GH-10339) (cherry picked from commit 083a7a172b8c8888252d72031f21dcfea3c0d73f) (cherry picked from commit 6ad277b2592cfac0f138e9adca4374dd1f354bdf) 05 November 2018, 17:51:36 UTC
7054e5c [3.6] bpo-35133: Fix mistakes when concatenate string literals on different lines. (GH-10284) (GH-10335) Two kind of mistakes: 1. Missed space. After concatenating there is no space between words. 2. Missed comma. Causes unintentional concatenating in a list of strings.. (cherry picked from commit 34fd4c20198dea6ab2fe8dc6d32d744d9bde868d) 05 November 2018, 15:13:50 UTC
f574ce7 bpo-21263: Skip test_gdb when python has been compiled with LLVM clang (GH-10318) (GH-10326) (cherry picked from commit 59668aa8b7f174b59304eab833c1c1181886c3c6) Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com> 04 November 2018, 21:40:25 UTC
4614b98 Fix a typo about a comma. (GH-10306) (cherry picked from commit fe62d877e300e1ee4145fff8f2bdba498b685f91) Co-authored-by: İsmail Arılık <arilik.ismail@gmail.com> 03 November 2018, 17:41:45 UTC
29abad0 [3.6] bpo-35147: Fix _Py_NO_RETURN for GCC (GH-10300) (GH-10302) Use `__GNUC__` instead of non-existing `__GNUC_MAJOR__`. (cherry picked from commit e2ed5adcb5db2d70cfa72da1ba8446f7aa9e05cd) 02 November 2018, 18:23:51 UTC
8d2f88f [3.6]bpo-29341: Backport b942707 3.6 (GH-10299) Some methods in the os module can accept path-like objects. This is documented in the general documentation but not in the function docstrings. To keep both in sync, the docstrings need to be updated to reflect that path-like objects are also accepted.. (cherry picked from commit b942707fc23454a998323c17e30be78ff1a4f0e7) Co-authored-by: BNMetrics <luna@bnmetrics.com> 02 November 2018, 17:55:31 UTC
2339fe7 closes bpo-35139: The `pyexpat` module's macros in `Modules/Setup` now match `setup.py` (GH-10289) This could cause compile errors on macOS or other platforms. (cherry picked from commit 318ab63c01f5b8e7562b122ab5ba01258a51277b) Co-authored-by: Max Bélanger <aeromax@gmail.com> 02 November 2018, 03:32:29 UTC
4917187 Include memo in the documented signature of copy.deepcopy() * Include memo in the documented signature of copy.deepcopy() The memo argument is mentioned lower on the doc page under writing a `__deepcopy__` method, but is not included in the documented function signature. This makes it easy to miss, and can lead to incorrect/buggy implementations of `__deepcopy__` -- which is exatly what just happpend to me! (cherry picked from commit 0200928e8df012d408530b06a98119024bc82511) Co-authored-by: Stephan Hoyer <shoyer@gmail.com> 01 November 2018, 21:35:26 UTC
7344b9f bpo-35075: Fix broken url in the pprint documentation (GH-10201) https://bugs.python.org/issue35075 (cherry picked from commit bf46a09dec372b85846216bd692d648dac08ac36) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 01 November 2018, 13:37:28 UTC
89138f2 [3.6] bpo-35128: Fix spacing issues in warning.warn() messages. (GH-10268). (GH-10281) (cherry picked from commit 4b5e62dbb22a3593e0db266c12f805b727a42b00) Co-authored-by: Pablo Aguiar <scorphus@gmail.com> 01 November 2018, 12:19:37 UTC
ff56597 bpo-26558: Fix Py_FatalError() with GIL released (GH-10267) (GH-10270) Don't call _Py_FatalError_PrintExc() nor flush_std_files() if the current thread doesn't hold the GIL, or if the current thread has no Python state thread. (cherry picked from commit 3a228ab17c2a9cffd1a2f15f30d6209768de20a6) 01 November 2018, 00:11:54 UTC
907b07e bpo-35062: Fix parsing _io.IncrementalNewlineDecoder's *translate* argument. (GH-10217) _io.IncrementalNewlineDecoder's initializer possibly assigns out-of-range value to the bitwise struct field. (cherry picked from commit b08746bfdf64e55ce33516f2065fa2aa4f51be95) Co-authored-by: Xiang Zhang <angwerzx@126.com> 31 October 2018, 12:36:34 UTC
00093f6 Fix a possible crash in range.__reversed__(). (GH-10252) (cherry picked from commit c9a6168924ffa4f3f78175998b392fe23d3edc50) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 31 October 2018, 09:33:00 UTC
1e8c185 [3.6] bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231). (GH-10254) (cherry picked from commit 3f819ca138db6945ee4271bf13e42db9f9b3b1e4) 31 October 2018, 09:00:39 UTC
691196d bpo-35116, urllib.parse: Document the new max_num_fields parameter (GH-10248) 30 October 2018, 21:15:18 UTC
c843a47 bpo-35086: Fix tkinter example "A Simple Hello World Program". (GH-10160) The root widget was accessed as a global variable in the Application's method. (cherry picked from commit a80af770870937271865b5e2b05a2cfe40b024b6) Co-authored-by: Daniel Lovell <lovell.daniel92@gmail.com> 30 October 2018, 15:35:02 UTC
47a2824 Restore EmbeddingTests, removed in 278d975ce158608f6be491c561247d4701c842be (GH-10078) 30 October 2018, 08:29:17 UTC
7b689c6 bpo-34945: Buffer output in test suite only when creating junit file (GH-10204) After commit d0f49d2f5085ca68e3dc8725f1fb1c9674bfb5ed, the output of the test suite is always buffered as the test output needs to be included in the JUnit file in same cases (as when a test fails). This has the consequence that printing or using debuggers (like pdb) in the test suite does not result in a good user experience anymore. This commit modifies the test suite runner so it only captures the test output when the JUnit file is requested to fix the regression so prints and debuggers are usable again. (cherry picked from commit 02277482ea765335e497ecd9661d4bde9b5ddc67) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 29 October 2018, 21:07:50 UTC
4687bc9 bpo-28655: Fix test bdb for isolate mode (GH-10220) Fix test_bdb when running Python is isolated mode. (cherry picked from commit c0799ec973530ad2492bb1d6c7287ffc428f0348) 29 October 2018, 20:32:22 UTC
0a53a06 bpo-27741: Better wording for datetime.strptime() (GH-9994) (cherry picked from commit c0799ec973530ad2492bb1d6c7287ffc428f0348) Co-authored-by: Gus Goulart <augusto@goulart.me> 29 October 2018, 11:54:54 UTC
86a0f22 Fix a possible "double decref" in termios.tcgetattr(). (GH-10194) (cherry picked from commit 53835e92d315340444e3dd083b3f69a590b00e07) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 29 October 2018, 05:15:12 UTC
9bdadc1 bpo-35097: Add IDLE doc subsection explaining editor windows. (GH-10206) Topics include opening, title and status bar, .py* extension, and running. (cherry picked from commit ea9c8bd44365ae8b0accc5286c7b52862528c0ec) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 29 October 2018, 01:51:45 UTC
fd0a3bc bpo-35090: Fix potential division by zero in allocator wrappers (GH-10174) * Fix potential division by zero in BZ2_Malloc() * Avoid division by zero in PyLzma_Malloc() * Avoid division by zero and integer overflow in PyZlib_Malloc() Reported by Svace static analyzer. (cherry picked from commit 3d4fabb2a424cb04ae446ebe4428090c386f45a5) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru> 28 October 2018, 20:59:13 UTC
5c0a9c4 Issue 35093: Document the IDLE document viewer in the IDLE doc. (GH-10195) Add a paragraph in "Help and preferences", "Help sources" subsection. (cherry picked from commit 18032632ab27eed51d705c2be7b64bac708279bf) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 28 October 2018, 20:43:20 UTC
8d09a05 [3.6] Fix checking for bugfix Tcl version. (GH-10185) (GH-10187) (cherry picked from commit 18d57b4d6262bf96b5ac307bd84837c29ea04083) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 28 October 2018, 18:57:38 UTC
5b2e1cf [3.6] bpo-35054: Add yet more index entries for symbols. (GH-10121). (GH-10182) (cherry picked from commit 913876d824d969f8c7431e8a9d4610a9a11a786e) 28 October 2018, 17:35:32 UTC
f29bded [3.6] bpo-20216: Correct docstrings of digest() methods in hashlib. (GH-9873). (GH-10183) (cherry picked from commit f192aeb95a139ede74d69e39c046c498ff288a37) Co-authored-by: Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి) <srinivasreddy@users.noreply.github.com> 28 October 2018, 17:20:30 UTC
69ab28d bpo-1529353: Explain Shell text squeezing in the IDLE doc. (GH-10169) (cherry picked from commit 68d6dc0770288075504635a8e42696070823fd69) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 28 October 2018, 17:08:22 UTC
a36f04c bpo-35089: Don't mention typing.io and typing.re (GH-10173) https://bugs.python.org/issue35089 (cherry picked from commit c8a8d6b347d5a6899feb7c810d28f22f3cb151b8) Co-authored-by: Sebastian Rittau <srittau@rittau.biz> 28 October 2018, 16:17:07 UTC
0e6329d bpo-35088: Update idlelib.help.copy_string docstring (GH-10164) We now use git and backporting instead of hg and forward merging. (cherry picked from commit 2b555fc1f07bee8b066a6d7da727e516f37e8e34) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 28 October 2018, 06:01:25 UTC
0995314 bpo-35087: Update idlelib help files for the current doc build. (GH-10162) There is only one trivial change to idle.rst. Nearly all the changes to help.html are the elimination of chapter and section numbers on headers due to changes in the build system. help.py no longer requires header numbering. (cherry picked from commit db40cb50eb823b8ef9040b1c9bf31a7475d94d39) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 28 October 2018, 05:42:48 UTC
9dfbcf8 Fix typo in zipfile documentation. (GH-10151) (GH-10154) (cherry picked from commit 40bf6cff22185b8ebaab14789e81cff22fbf2275) Co-authored-by: nsrip <nick.ripley@me.com> 27 October 2018, 20:07:07 UTC
8e5e37e [3.6] unittest documentation: Spell pytest without the dot (GH-9820) (GH-10156) Referring to ``pytest`` as ``py.test`` is deprecated.. (cherry picked from commit d855f2fdbd73016ece9b58e6f6ac26cf986fabf6) Co-authored-by: Andreas Pelme <andreas@pelme.se> 27 October 2018, 18:28:06 UTC
5282125 bpo-35079: Revise difflib.SequenceManager.get_matching_blocks doc (GH-10144) Specify that blocks are non-overlapping. Change '!=' to '<'. (cherry picked from commit d9bff4e81b8ca36fe6c4e90c0b9cf02bc020e713) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 27 October 2018, 03:08:56 UTC
7eac88a bpo-35059, libmpdec: Add missing EXTINLINE in mpdecimal.h (GH-10128) Declare functions with EXTINLINE: * mpd_del() * mpd_uint_zero() * mpd_qresize() * mpd_qresize_zero() * mpd_minalloc() These functions are implemented with "inline" or "ALWAYS_INLINE", but declared without inline which cause linker error on Visual Studio in Debug mode when using /Ob1. (cherry picked from commit 3b1cba3701fd1321a9bdafa9e683f891369f0cfd) Co-authored-by: Victor Stinner <vstinner@redhat.com> 26 October 2018, 17:30:29 UTC
8be1c04 [3.6] - bpo-34576 : Backport eeab510 3.6 (GH-10113) * bpo-34576 - Fix the formatting for security considerations in http.server.rst (GH-10005) (cherry picked from commit eeab510bb7e51802c18b3770cbb23ae0ca91da6b) 26 October 2018, 17:12:29 UTC
8b1f52b bpo-35017, socketserver: don't accept request after shutdown (GH-9952) Prior to this revision, after the shutdown of a `BaseServer`, the server accepted a last single request if it was sent between the server socket polling and the polling timeout. This can be problematic for instance for a server restart for which you do not want to interrupt the service, by not closing the listening socket during the restart. One request failed because of this behavior. Note that only one request failed, following requests were not accepted, as expected. (cherry picked from commit 10cb3760e8631a27f5db1e51b05494e29306c671) Co-authored-by: Denis Ledoux <be.ledoux.denis@gmail.com> 26 October 2018, 14:10:41 UTC
38d7620 [3.7] bpo-34789: xml.sax.make_parser expects a list not just any sequence (GH-9542) (cherry picked from commit 1487b651caa62647f8f8c9e8432e475e3566130c) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 26 October 2018, 13:27:15 UTC
e825b4e [3.6] bpo-35054: Add more index entries for symbols. (GH-10064). (GH-10119) (cherry picked from commit ddb961d2abe5d5fde76d85b21a77e4e91e0043ad) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 26 October 2018, 08:18:57 UTC
3b87151 bpo-35038: AttributeError: 'frame' object has no attribute 'f_restricted'. (GH-10098) https://bugs.python.org/issue35038 (cherry picked from commit 1770d1c5121ed6c64d7072875738f97e07eede8a) Co-authored-by: Stéphane Wirtel <stephane@wirtel.be> 25 October 2018, 21:21:59 UTC
4aa1fda bpo-31047: Fix ntpath.abspath to trim ending separator (GH-10082) 25 October 2018, 17:46:33 UTC
9fd92af configparser doc: Properly label ConfigParser attributes (GH-9930) (cherry picked from commit 890423f79606124f6c54935d21f22375c399e23a) Co-authored-by: Ned Batchelder <ned@nedbatchelder.com> 24 October 2018, 23:58:18 UTC
7717bf9 importlib doc: Fix approximated import_module() code (GH-9945) The spec gets stored on modules with the __spec__ attribute, not spec. (cherry picked from commit 78401f7156034f713170b8e87b51d23ebdc3bdfa) Co-authored-by: orlnub123 <orlnub123@gmail.com> 24 October 2018, 23:38:04 UTC
9a04762 [3.6] bpo-33899: Mention tokenize behavior change in What's New (GH-10073) (GH-10075) (cherry picked from commit dfba1f67e7f1381ceb7cec8fbcfa37337620a9b0) https://bugs.python.org/issue33899 24 October 2018, 07:32:37 UTC
797cfbd [3.6] bpo-34260, shutil: fix copy2 and copystat documentation (GH-8523) (GH-10068) Fix the documentation of copy2, as it does not copy file ownership (user and group), only mode, mtime, atime and flags. The original text was confusing to developers as it suggested that this command is the same as 'cp -p', but according to cp(1), '-p' copies file ownership as well. Clarify which metadata is copied by shutil.copystat in its docstring. (cherry picked from commit 4f399be0e70d8b5516b6213568b7665765bb3114) 23 October 2018, 21:58:11 UTC
2c54925 bpo-34794: Fix a leak in Tkinter. (GH-10025) Based on the investigation by Xiang Zhang. (cherry picked from commit df13df41a25765d8a39a77220691698498e758d4) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 23 October 2018, 20:25:53 UTC
b1b9ee8 Fix error handling bugs in _elementtree.c. (GH-10060) References could leak, NULL could be dereferenced, and the Expat parser could be double freed when some errors raised. (cherry picked from commit 9f3ed3e213b30059087d059a7d1d3b2527fa8654) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 23 October 2018, 19:52:57 UTC
69d0372 bpo-34980: P/Invoke QueryFullProcessImageName to get process names (GH-9901) (cherry picked from commit fa5329424f4206630c34f75629fa78738db647f0) Co-authored-by: Jeremy Kloth <jeremy.kloth@gmail.com> 23 October 2018, 12:07:35 UTC
58b614a bpo-35028: cgi: Fix max_num_fields off by one error (GH-9973) https://bugs.python.org/issue35028 (cherry picked from commit b79b5c09493e98374e48fa122d82dab528fc6e72) Co-authored-by: matthewbelisle-wf <matthew.belisle@workiva.com> 23 October 2018, 10:54:42 UTC
42892a2 bpo-34748: link to :ref:`partial-objects` in functools.partial doc. (GH-9809) (cherry picked from commit 83a07652e0033f0d9994ae7634b91d6581c56b00) Co-authored-by: Andrei Petre <p31andrei@gmail.com> 23 October 2018, 06:16:51 UTC
da7d7d0 [3.6] bpo-34901: add -I flag to sys.flags (GH-9755) 22 October 2018, 21:48:34 UTC
8bb0371 bpo-34973: Fix crash in bytes constructor. (GH-9841) Constructing bytes from mutating list could cause a crash. (cherry picked from commit 914f9a078f997e58cfcfabcbb30fafdd1f277bef) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 21 October 2018, 12:56:10 UTC
beb83d0 closes bpo-35025: Properly guard the `CLOCK_GETTIME` et al macros in timemodule.c. (GH-9961) Guard the `CLOCK_GETTIME` et al macros in `timemodule` based on the availability of the parent functions (cherry picked from commit 94451182ccd6729c11338926d8a3d11645e86626) Co-authored-by: Max Bélanger <aeromax@gmail.com> 21 October 2018, 00:30:54 UTC
7cba835 [3.6] Remove duplicate NEWS entry due to cherry-picking (GH-10013) 20 October 2018, 17:43:39 UTC
a7cd602 Post release bump 20 October 2018, 16:49:19 UTC
dcd2b1e Merge tag 'v3.6.7' into 3.6 20 October 2018, 16:46:28 UTC
76e8582 bpo-35032: Remove inaccessible videos from faq/Windows (GH-10004) https://bugs.python.org/issue35032 (cherry picked from commit d262250d0732bdf36cb92091e37360cf8ff40f7c) Co-authored-by: Stéphane Wirtel <stephane@wirtel.be> 20 October 2018, 15:32:21 UTC
f1b90e3 bpo-33712: OrderedDict only creates od_fast_nodes cache if needed (GH-7349). (GH-10001) (cherry picked from commit 6f17e51345d930ccb4db306acc12b7d1f6c5e690) 20 October 2018, 08:47:04 UTC
0d3dd9f bpo-34574: Prevent OrderedDict iterators from exhaustion during pickling. (GH-9051) (cherry picked from commit a5259fb05d03f4871837c14fed704541a20896c0) Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com> 20 October 2018, 06:05:19 UTC
6ec5cf2 3.6.7final 20 October 2018, 05:24:09 UTC
92fe93e bpo-34576: Revert doc change until it can be properly fixed (GH-9720) This reverts commit 3baee3b39765f5e8ec616b2b71b731b140486394. 20 October 2018, 04:47:20 UTC
d404ffa bpo-34521: Add NEWS entry for changes in GH-9613 (GH-9850) * Add News entry for the change in multiprocessing.reduction.recvfds made in GH-9613. (cherry picked from commit bd036d3d15fc1310ccc32a43a3296b8c157ac221) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 20 October 2018, 04:42:13 UTC
42c52a9 bpo-32256: Make patchcheck.py work for out-of-tree builds (GH-4760) Set SRCDIR as the current directory for git. (cherry picked from commit aa95bfb5fee366aa58c90b7e1c77fc7e183dbf3a) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru> 20 October 2018, 01:25:51 UTC
d9a2665 bpo-32890, os: Use errno instead of GetLastError() in execve() and truncate() (GH-5784) path_error() uses GetLastError() on Windows, but some os functions are implemented via CRT APIs which report errors via errno. This may result in raising OSError with invalid error code (such as zero). Introduce posix_path_error() function and use it where appropriate. (cherry picked from commit 834603112e6ca35944dd21105b01fca562dc3241) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru> 20 October 2018, 00:49:00 UTC
75ee130 bpo-32798: Add restriction on the offset parameter for mmap.flush in the docs (GH-5621) Add restriction on the offset parameter for mmap.flush. Explain that ALLOCATIONGRANULARITY is the same as PAGESIZE in Unix. (cherry picked from commit 027664a3d5ebad575aafe5fcc572e3b05f7f24e5) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 20 October 2018, 00:47:15 UTC
efc09a9 bpo-21196: Clarify name mangling rules in tutorial (GH-5667) Initial patch by Chandan Kumar. (cherry picked from commit 13ae4d44381a647aadd09b70b24833052659be41) Co-authored-by: Berker Peksag <berker.peksag@gmail.com> 20 October 2018, 00:43:35 UTC
932ebc1 bpo-33594: Add deprecation info in inspect.py module (GH-7036) (cherry picked from commit ded87d804e2a85b2a3ea9e7a11384b41fafdfa29) Co-authored-by: Matthias Bussonnier <bussonniermatthias@gmail.com> 19 October 2018, 23:59:52 UTC
70102ff bpo-33726, doc: Add short descriptions to PEP references in seealso (GH-7294) (cherry picked from commit 0f14fc1a7cb2ea0012d0a943e4460acdee2108d7) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 19 October 2018, 23:44:31 UTC
7eacd67 In email docs, correct spelling of foregoing (GH-9856) (GH-9920) (cherry picked from commit c984d20ec81609aa439ccdb3af5bc35fca0c2112) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> 19 October 2018, 23:18:54 UTC
34634ee In email.parser in message_from_bytes, update `strict` to `policy` (GH-9854) (GH-9918) According to the versionchanged note, the `strict` argument was removed in 3.3 and `policy` was added, but the name of the argument in the paragraph wasn't updated. (cherry picked from commit a5ca98537b9f3f5eeae9157b1548b741df3fbf90) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> 19 October 2018, 23:18:03 UTC
d92816d bpo-34824: Fix a possible NULL pointer dereference in _ssl.c (GH-9606) (GH-9744) On failure, _PyBytes_Resize() will deallocate the bytes object and set "result" to NULL. https://bugs.python.org/issue34824 (cherry picked from commit 365ad2ead5bbaf7a3b18648ffa36e819559d3f75) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 19 October 2018, 23:14:49 UTC
5e808f9 bpo-34791: xml package obeys ignore env flags (GH-9544) (GH-9546) The xml.sax and xml.dom.domreg modules now obey sys.flags.ignore_environment. Signed-off-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue34791 (cherry picked from commit 223e501fb9c2b6ae21b96054e20c4c31d94a5d96) Co-authored-by: Christian Heimes <christian@python.org> 19 October 2018, 23:09:23 UTC
47413fe Elaborate datetime.timedelta docstring (GH-7458) (cherry picked from commit d6a61f232619f8a8e6efacc3da5a02abaf25f090) Co-authored-by: Chris Barker <Chris.Barker@noaa.gov> 19 October 2018, 23:08:14 UTC
a9274f7 bpo-1621: Avoid signed integer overflow in set_table_resize(). (GH-9059) (GH-9199) Address a C undefined behavior signed integer overflow issue in set object table resizing. Our -fwrapv compiler flag and practical reasons why sets are unlikely to get this large should mean this was never an issue but it was incorrect code that generates code analysis warnings. (cherry picked from commit 6c7d67ce83a62b5f0fe5c53a6df602827451bf7f) Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com> 19 October 2018, 22:48:46 UTC
c04347f bpo-34936: Fix TclError in tkinter.Spinbox.selection_element(). (GH-9760) (GH-9957) (cherry picked from commit 1deea5e53991b46351f6bb395b22365c9455ed88) (cherry picked from commit bd9c2ce7acaef45f23c2659b854fc9925096d040) Co-authored-by: Juliette Monsel <j4321@users.noreply.github.com> 19 October 2018, 15:44:35 UTC
322a914 bpo-34866: Adding max_num_fields to cgi.FieldStorage (GH-9660) Adding `max_num_fields` to `cgi.FieldStorage` to make DOS attacks harder by limiting the number of `MiniFieldStorage` objects created by `FieldStorage`. (cherry picked from commit 209144831b0a19715bda3bd72b14a3e6192d9cc1) Co-authored-by: matthewbelisle-wf <matthew.belisle@workiva.com> 19 October 2018, 11:16:57 UTC
d85c272 Fix several reference counting bugs in pyexpat.c. (GH-9955) (cherry picked from commit 68def052dcd41313eff2bd9f269e22c5a941db4d) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 19 October 2018, 07:25:00 UTC
cc279f4 Updated documentation on logging.debug(). (GH-9946) (GH-9950) (cherry picked from commit bbd90e4f6273f1c29c03ab1374fdbd1a862fc14a) Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk> 18 October 2018, 10:55:33 UTC
bcbefe2 bpo-35008: Fix possible leaks in Element.__setstate__(). (GH-9924) C implementation of xml.etree.ElementTree.Element.__setstate__() leaked references to children when called for already initialized element. (cherry picked from commit 6f906b3d727d6b341abd5ad9c0652bbcbd5eb024) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 18 October 2018, 07:16:40 UTC
4bfecb9 [3.6] bpo-35011: Restore use of pyexpatns.h in libexpat (GH-9939) (GH-9941) Restores the use of pyexpatns.h to isolate our embedded copy of the expat C library so that its symbols do not conflict at link or dynamic loading time with an embedding application or other extension modules with their own version of libexpat. https://github.com/python/cpython/commit/5dc3f23b5fb0b510926012cb3732dae63cddea60GH-diff-3afaf7274c90ce1b7405f75ad825f545 inadvertently removed it when upgrading expat. (cherry picked from commit 9d4712bc8f26bf1d7e626b53ab092fe030bcd68d) Co-authored-by: Gregory P. Smith <greg@krypto.org> https://bugs.python.org/issue35011 18 October 2018, 02:05:47 UTC
a5ebc20 [3.6] bpo-24658: Fix read/write greater than 2 GiB on macOS (GH-1705) (GH-9937) On macOS, fix reading from and writing into a file with a size larger than 2 GiB. (cherry picked from commit 74a8b6ea7e0a8508b13a1c75ec9b91febd8b5557) 17 October 2018, 23:52:21 UTC
669fa8b [3.6] bpo-23420: Verify the value of '-s' when execute the CLI of cProfile (GH-9925) (GH-9927) Verify the value for the parameter '-s' of the cProfile CLI. Patch by Robert Kuska. Co-authored-by: Robert Kuska <rkuska@gmail.com> (cherry picked from commit fcd5e84a515e19409840c570730f0728e9fcfc83) 17 October 2018, 11:48:52 UTC
ae011e0 bpo-34521: Add NEWS entry for changes in GH-9613 (GH-9850) * Add News entry for the change in multiprocessing.reduction.recvfds made in GH-9613. (cherry picked from commit bd036d3d15fc1310ccc32a43a3296b8c157ac221) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 16 October 2018, 07:30:58 UTC
e2c3bc7 bpo-34967: Sphinx is deprecating add_description_unit, use add_object_type (GH-9827) (cherry picked from commit e385d0661ecf8bc9ba95c4395d9a11262c2cbfec) Co-authored-by: Stéphane Wirtel <stephane@wirtel.be> 16 October 2018, 06:47:07 UTC
71e601e bpo-34989: python-gdb.py: fix current_line_num() (GH-9889) python-gdb.py now handles errors on computing the line number of a Python frame. Changes: * PyFrameObjectPtr.current_line_num() now catchs any Exception on calling addr2line(), instead of failing with a surprising "<class 'TypeError'> 'FakeRepr' object is not subscriptable" error. * All callers of current_line_num() now handle current_line_num() returning None. * PyFrameObjectPtr.current_line() now also catchs IndexError on getting a line from the Python source file. (cherry picked from commit 2e438cc2554495b28480a3ffe5cdf41b6ab823a0) Co-authored-by: Victor Stinner <vstinner@redhat.com> 15 October 2018, 21:50:41 UTC
407f3dd fix dangling keyfunc examples in documentation of heapq and sorted (GH-1432) * fix dangling mention of key=str.lower in heapq doc * Fix dangling mention of keyfunc example for sorted() (cherry picked from commit 6bdb6f7675922e601e742758c7c240a751fd365b) Co-authored-by: Wolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de> 15 October 2018, 19:19:22 UTC
08ba7eb bpo-34974: Do not replace unexpected errors in bytes() and bytearray(). (GH-9852) bytes and bytearray constructors converted unexpected exceptions (e.g. MemoryError and KeyboardInterrupt) to TypeError. (cherry picked from commit e890421e334ccf0c000c6b29c4a521d86cd12f47) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 14 October 2018, 21:32:03 UTC
7c1c42b [3.6] bpo-34941: Fix searching Element subclasses. (GH-9766) (GH-9868) Methods find(), findtext() and findall() of xml.etree.ElementTree.Element were not able to find chldren which are instances of Element subclasses. (cherry picked from commit b11c5667f99c4f0018e3394c4d07c519d835671a) 14 October 2018, 08:40:13 UTC
6829930 bpo-33656: Move pyshell ctypes import inside try block. (GH-9858) A Windows build with _tkinter, tkinter, and idlelib but without ctypes is unlikely but apparently possible. (cherry picked from commit d274afb5e579a5d9d990f68f9af856cf4c918779) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 14 October 2018, 00:28:04 UTC
82ff583 Post release bump 13 October 2018, 20:39:02 UTC
back to top