Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								4a21e57fe5 
								
							 
						 
						
							
							
								
								bpo-40268: Remove unused structmember.h includes (GH-19530)  
							
							... 
							
							
							
							If only offsetof() is needed: include stddef.h instead.
When structmember.h is used, add a comment explaining that
PyMemberDef is used. 
							
						 
						
							2020-04-15 02:35:41 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								62183b8d6d 
								
							 
						 
						
							
							
								
								bpo-40268: Remove explicit pythread.h includes ( #19529 )  
							
							... 
							
							
							
							Remove explicit pythread.h includes: it is always included
by Python.h. 
							
						 
						
							2020-04-15 02:04:42 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								cd8295ff75 
								
							 
						 
						
							
							
								
								bpo-39943: Add the const qualifier to pointers on non-mutable PyUnicode data. (GH-19345)  
							
							
							
						 
						
							2020-04-11 10:48:40 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Stefan Krah 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								eb47fd58ab 
								
							 
						 
						
							
							
								
								Cosmetic change to match the surrounding code. ( #18704 )  
							
							
							
						 
						
							2020-02-29 20:07:48 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Stefan Krah 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								815280eb16 
								
							 
						 
						
							
							
								
								bpo-39794: Add --without-decimal-contextvar ( #18702 )  
							
							
							
						 
						
							2020-02-29 19:43:42 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Stefan Krah 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								90930e6545 
								
							 
						 
						
							
							
								
								bpo-39576: Prevent memory error for overly optimistic precisions (GH-18581)  
							
							
							
						 
						
							2020-02-21 01:52:47 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Stefan Krah 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								1246d89203 
								
							 
						 
						
							
							
								
								Use the new recommended number of repetitions in the refleak tests. ( #18569 )  
							
							
							
						 
						
							2020-02-20 19:08:53 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Stefan Krah 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								9b833e00e4 
								
							 
						 
						
							
							
								
								Update runall.bat to the latest Windows build system. ( #18571 )  
							
							
							
						 
						
							2020-02-20 19:07:31 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Stefan Krah 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								c0cb8beb38 
								
							 
						 
						
							
							
								
								Valgrind no longer supports --db-attach=yes. ( #18568 )  
							
							
							
						 
						
							2020-02-20 14:39:14 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dong-hee Na 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								1b55b65638 
								
							 
						 
						
							
							
								
								bpo-39573: Clean up modules and headers to use Py_IS_TYPE() function (GH-18521)  
							
							
							
						 
						
							2020-02-17 11:09:15 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								60ac6ed557 
								
							 
						 
						
							
							
								
								bpo-39573: Use Py_SET_SIZE() function (GH-18402)  
							
							... 
							
							
							
							Replace direct acccess to PyVarObject.ob_size with usage of
the Py_SET_SIZE() function. 
							
						 
						
							2020-02-07 23:18:08 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								daa9756cb6 
								
							 
						 
						
							
							
								
								bpo-39573: Use Py_TYPE() macro in Modules directory (GH-18393)  
							
							... 
							
							
							
							Replace direct access to PyObject.ob_type with Py_TYPE(). 
							
						 
						
							2020-02-07 03:37:06 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Stefan Krah 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								bcc446f525 
								
							 
						 
						
							
							
								
								Revert mode change that loses information in directory listings on Linux. ( #15366 )  
							
							
							
						 
						
							2019-08-21 23:00:04 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Greg Price 
								
							 
						 
						
							
							
							
							
								
							
							
								9ece4a5057 
								
							 
						 
						
							
							
								
								Unmark files as executable that can't actually be executed. (GH-15353)  
							
							... 
							
							
							
							There are plenty of legitimate scripts in the tree that begin with a
`#!`, but also a few that seem to be marked executable by mistake.
Found them with this command -- it gets executable files known to Git,
filters to the ones that don't start with a `#!`, and then unmarks
them as executable:
    $ git ls-files --stage \
      | perl -lane 'print $F[3] if (!/^100644/)' \
      | while read f; do
          head -c2 "$f" | grep -qxF '#!' \
          || chmod a-x "$f"; \
        done
Looking at the list by hand confirms that we didn't sweep up any
files that should have the executable bit after all.  In particular
 * The `.psd` files are images from Photoshop.
 * The `.bat` files sure look like things that can be run.
   But we have lots of other `.bat` files, and they don't have
   this bit set, so it must not be needed for them.
Automerge-Triggered-By: @benjaminp 
							
						 
						
							2019-08-20 21:53:59 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Stefan Krah 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								f117d871c4 
								
							 
						 
						
							
							
								
								Rename memory.c to mpalloc.c for consistency with the header file. ( #14687 )  
							
							
							
						 
						
							2019-07-10 18:27:38 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Stefan Krah 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								4749dbe54c 
								
							 
						 
						
							
							
								
								Really remove vcstdint.h. ( #14686 )  
							
							
							
						 
						
							2019-07-10 17:55:48 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jeroen Demeyer 
								
							 
						 
						
							
							
							
							
								
							
							
								530f506ac9 
								
							 
						 
						
							
							
								
								bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (GH-13464)  
							
							... 
							
							
							
							Automatically replace
tp_print -> tp_vectorcall_offset
tp_compare -> tp_as_async
tp_reserved -> tp_as_async 
							
						 
						
							2019-05-30 19:13:39 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								96aeaec647 
								
							 
						 
						
							
							
								
								bpo-36793: Remove unneeded __str__ definitions. (GH-13081)  
							
							... 
							
							
							
							Classes that define __str__ the same as __repr__ can
just inherit it from object. 
							
						 
						
							2019-05-06 22:29:40 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								62be74290a 
								
							 
						 
						
							
							
								
								bpo-33012: Fix invalid function cast warnings with gcc 8. (GH-6749)  
							
							... 
							
							
							
							Fix invalid function cast warnings with gcc 8
for method conventions different from METH_NOARGS, METH_O and
METH_VARARGS excluding Argument Clinic generated code. 
							
						 
						
							2018-11-27 13:27:31 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								3b1cba3701 
								
							 
						 
						
							
							
								
								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. 
							
						 
						
							2018-10-26 17:06:57 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Yury Selivanov 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								994269ccee 
								
							 
						 
						
							
							
								
								bpo-34762: Update PyContext* to PyObject* in asyncio and decimal (GH-9609)  
							
							... 
							
							
							
							This fixes various compiler warnings. 
							
						 
						
							2018-09-27 14:55:55 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								bfe4fd5f2e 
								
							 
						 
						
							
							
								
								Fix some warnings produced by different compilers. ( #5593 )  
							
							
							
						 
						
							2018-02-09 17:31:26 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								c66f9f8d39 
								
							 
						 
						
							
							
								
								bpo-25988: Emit a warning when use or import ABCs from 'collections'. ( #5460 )  
							
							
							
						 
						
							2018-01-31 19:19:33 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Yury Selivanov 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								f13f12d8da 
								
							 
						 
						
							
							
								
								bpo-32630: Use contextvars in decimal (GH-5278)  
							
							
							
						 
						
							2018-01-27 13:46:46 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Stefan Krah 
								
							 
						 
						
							
							
							
							
								
							
							
								3cedf46cdb 
								
							 
						 
						
							
							
								
								bpo-31406: Fix crash due to lack of type checking in subclassing. ( #3477 )  
							
							
							
						 
						
							2017-09-10 18:08:04 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Stefan Krah 
								
							 
						 
						
							
							
							
							
								
							
							
								c0c29dff79 
								
							 
						 
						
							
							
								
								bpo-31403: Remove WITHOUT_THREADS from _decimal. ( #3474 )  
							
							
							
						 
						
							2017-09-09 19:26:22 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Stefan Krah 
								
							 
						 
						
							
							
							
							
								
							
							
								d73a960c57 
								
							 
						 
						
							
							
								
								bpo-30923: Disable warning that has been part of -Wextra since gcc-7.0. ( #3142 )  
							
							
							
						 
						
							2017-08-18 21:39:32 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Zachary Ware 
								
							 
						 
						
							
							
							
							
								
							
							
								6b6e687766 
								
							 
						 
						
							
							
								
								bpo-27425: Be more explicit in .gitattributes (GH-840)  
							
							... 
							
							
							
							Updates checked-in line endings on several files. 
							
						 
						
							2017-06-10 14:58:42 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Angus Hollands 
								
							 
						 
						
							
							
							
							
								
							
							
								8614b59910 
								
							 
						 
						
							
							
								
								Correct typo ( #976 )  
							
							
							
						 
						
							2017-04-03 18:16:14 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								d6debb24e0 
								
							 
						 
						
							
							
								
								bpo-29919: Remove unused imports found by pyflakes ( #137 )  
							
							... 
							
							
							
							Make also minor PEP8 coding style fixes on modified imports. 
							
						 
						
							2017-03-27 16:05:26 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								2a404b63d4 
								
							 
						 
						
							
							
								
								Issue  #28769 : The result of PyUnicode_AsUTF8AndSize() and PyUnicode_AsUTF8()  
							
							... 
							
							
							
							is now of type "const char *" rather of "char *". 
							
						 
						
							2017-01-22 23:07:07 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Stefan Krah 
								
							 
						 
						
							
							
							
							
								
							
							
								3c29fd0074 
								
							 
						 
						
							
							
								
								While a speedup of 1% is measurable, contexts aren't created that often,  
							
							... 
							
							
							
							so let's defer this until 3.7, 3.8, ... all have this new function. 
							
						 
						
							2017-01-09 13:53:32 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Stefan Krah 
								
							 
						 
						
							
							
							
							
								
							
							
								a40a3f35eb 
								
							 
						 
						
							
							
								
								Merge 3.6.  
							
							
							
						 
						
							2017-01-09 13:12:09 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Stefan Krah 
								
							 
						 
						
							
							
							
							
								
							
							
								e660335b7e 
								
							 
						 
						
							
							
								
								Merge 3.5.  
							
							
							
						 
						
							2017-01-09 13:11:51 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Stefan Krah 
								
							 
						 
						
							
							
							
							
								
							
							
								18e0a97a1a 
								
							 
						 
						
							
							
								
								Issue  #28701 : Revert part of 5bdc8e1a50c8 for the following reasons:  
							
							... 
							
							
							
							- There was no real problem to begin with.
  - The hypothetical problem has been fixed by 5bdc8e1a50c8. 
							
						 
						
							2017-01-09 13:11:27 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Stefan Krah 
								
							 
						 
						
							
							
							
							
								
							
							
								45ed522237 
								
							 
						 
						
							
							
								
								Revert part of dbf72357cb4a that is in a rarely used path and causes  
							
							... 
							
							
							
							maintenance issues (cost/benefit). 
							
						 
						
							2017-01-08 00:08:53 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Stefan Krah 
								
							 
						 
						
							
							
							
							
								
							
							
								2b938f84f4 
								
							 
						 
						
							
							
								
								Revert (unauthorized) parts of 54a89144ee1d which are not in a speed-sensitive  
							
							... 
							
							
							
							path in order to avoid maintenance issues. 
							
						 
						
							2017-01-08 00:02:15 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Stefan Krah 
								
							 
						 
						
							
							
							
							
								
							
							
								1b5fa6b7c9 
								
							 
						 
						
							
							
								
								Revert (unauthorized) parts of b9eb35435178 which are not in a speed-sensitive  
							
							... 
							
							
							
							path and cause maintenance issues (3.6 <-> 3.7, private test suite). 
							
						 
						
							2017-01-07 23:20:27 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								5ab81d787f 
								
							 
						 
						
							
							
								
								Issue  #28959 : Added private macro PyDict_GET_SIZE for retrieving the size of dict.  
							
							
							
						 
						
							2016-12-16 16:18:57 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								4c38154a43 
								
							 
						 
						
							
							
								
								Don't parenthesis in _PyObject_CallMethodId() format  
							
							... 
							
							
							
							Issue #28915 : Without parenthesis, _PyObject_CallMethodId() avoids the creation
a temporary tuple, and so is more efficient. 
							
						 
						
							2016-12-09 00:33:39 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								a5ed5f000a 
								
							 
						 
						
							
							
								
								Use _PyObject_CallNoArg()  
							
							... 
							
							
							
							Replace:
    PyObject_CallObject(callable, NULL)
with:
    _PyObject_CallNoArg(callable) 
							
						 
						
							2016-12-06 18:45:50 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								3b73ea1278 
								
							 
						 
						
							
							
								
								Issue  #28701 : Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString.  
							
							... 
							
							
							
							The latter function is more readable, faster and doesn't raise exceptions. 
							
						 
						
							2016-11-16 10:19:20 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								f4934ea77d 
								
							 
						 
						
							
							
								
								Issue  #28701 : Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString.  
							
							... 
							
							
							
							The latter function is more readable, faster and doesn't raise exceptions. 
							
						 
						
							2016-11-16 10:17:58 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brett Cannon 
								
							 
						 
						
							
							
							
							
								
							
							
								a721abac29 
								
							 
						 
						
							
							
								
								Issue  #26331 : Implement the parsing part of PEP 515.  
							
							... 
							
							
							
							Thanks to Georg Brandl for the patch. 
							
						 
						
							2016-09-09 14:57:09 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Steve Dower 
								
							 
						 
						
							
							
							
							
								
							
							
								a439191efa 
								
							 
						 
						
							
							
								
								Fix some warnings from MSVC  
							
							
							
						 
						
							2016-09-06 19:09:15 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								bbeedc261f 
								
							 
						 
						
							
							
								
								include (now) int standard headers  
							
							
							
						 
						
							2016-09-06 12:41:06 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								ae3869c71e 
								
							 
						 
						
							
							
								
								do not need vcstdint.h anymore  
							
							
							
						 
						
							2016-09-06 12:07:53 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Stefan Krah 
								
							 
						 
						
							
							
							
							
								
							
							
								243d8a7866 
								
							 
						 
						
							
							
								
								Merge 3.5.  
							
							
							
						 
						
							2016-07-17 14:12:59 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Stefan Krah 
								
							 
						 
						
							
							
							
							
								
							
							
								8c126f17f0 
								
							 
						 
						
							
							
								
								Issue  #26974 : Fix segfault in the presence of absurd subclassing. Proactively  
							
							... 
							
							
							
							eliminate all internal uses of overridden methods. 
							
						 
						
							2016-07-17 14:01:42 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Stefan Krah 
								
							 
						 
						
							
							
							
							
								
							
							
								1d245fabaf 
								
							 
						 
						
							
							
								
								Merge 3.5.  
							
							
							
						 
						
							2016-06-20 14:13:12 +02:00