Brett Cannon 
								
							 
						 
						
							
							
							
							
								
							
							
								5f0507d8ab 
								
							 
						 
						
							
							
								
								Issue  #26587 : Allow .pth files to specify file paths as well as  
							
							... 
							
							
							
							directories.
Thanks to Wolfgang Langner for the bug report and initial version of
the patch. 
							
						 
						
							2016-04-08 15:04:28 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								3719779765 
								
							 
						 
						
							
							
								
								Merge 3.5 (test_site)  
							
							
							
						 
						
							2016-03-14 17:47:30 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								21d0e1b5fc 
								
							 
						 
						
							
							
								
								Skip test_site if USER_SITE cannot be created  
							
							... 
							
							
							
							Issue #17758 : Skip test_site if site.USER_SITE directory doesn't exist and
cannot be created. 
							
						 
						
							2016-03-14 17:47:03 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								885bdc4946 
								
							 
						 
						
							
							
								
								Issue  #25985 : sys.version_info is now used instead of sys.version  
							
							... 
							
							
							
							to format short Python version. 
							
						 
						
							2016-02-11 13:10:36 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eric Snow 
								
							 
						 
						
							
							
							
							
								
							
							
								00607e91bd 
								
							 
						 
						
							
							
								
								Issue  #23911 : Fix mixed bytes/strings.  
							
							
							
						 
						
							2015-05-04 11:48:39 -06:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eric Snow 
								
							 
						 
						
							
							
							
							
								
							
							
								32439d6eb6 
								
							 
						 
						
							
							
								
								Issue  #23911 : Move path-based bootstrap code to a separate frozen module.  
							
							
							
						 
						
							2015-05-02 19:15:18 -06:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								ad9f99e41f 
								
							 
						 
						
							
							
								
								merge 3.4  
							
							
							
						 
						
							2015-02-01 20:18:29 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								337578b242 
								
							 
						 
						
							
							
								
								fix tests on systems that can't validate python.org  
							
							
							
						 
						
							2015-02-01 20:16:59 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								d8a1447c99 
								
							 
						 
						
							
							
								
								Issue  #22215 : Now ValueError is raised instead of TypeError when str or bytes  
							
							... 
							
							
							
							argument contains not permitted null character or byte. 
							
						 
						
							2014-09-06 20:07:17 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								9e82b17e9d 
								
							 
						 
						
							
							
								
								Issue  #21711 : support for "site-python" directories has now been removed from the site module (it was deprecated in 3.4).  
							
							
							
						 
						
							2014-06-12 19:41:30 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									doko@ubuntu.com 
								
							 
						 
						
							
							
							
							
								
							
							
								9574355ff3 
								
							 
						 
						
							
							
								
								- Issue  #21223 : Pass test_site/test_startup_imports when some of the extensions  
							
							... 
							
							
							
							are built as builtins. 
							
						 
						
							2014-04-15 20:37:54 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ned Deily 
								
							 
						 
						
							
							
							
							
								
							
							
								944d597faa 
								
							 
						 
						
							
							
								
								Issue  #20939 : remove stray character from comment  
							
							
							
						 
						
							2014-03-26 23:43:26 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ned Deily 
								
							 
						 
						
							
							
							
							
								
							
							
								5a507f0f05 
								
							 
						 
						
							
							
								
								Issue  #20939 : Use www.example.com instead of www.python.org to avoid test  
							
							... 
							
							
							
							failures when ssl is not present. 
							
						 
						
							2014-03-26 23:31:39 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Zachary Ware 
								
							 
						 
						
							
							
							
							
								
							
							
								63321b4978 
								
							 
						 
						
							
							
								
								Issue  #19828 : Merge with 3.3  
							
							
							
						 
						
							2013-12-11 17:01:21 -06:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Zachary Ware 
								
							 
						 
						
							
							
							
							
								
							
							
								36193e73b8 
								
							 
						 
						
							
							
								
								Issue  #19828 : Fixed test_site when the whole suite is run with -S.  
							
							... 
							
							
							
							Also, cleaned up an unused import. 
							
						 
						
							2013-12-11 16:59:44 -06:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Zachary Ware 
								
							 
						 
						
							
							
							
							
								
							
							
								101d9e7250 
								
							 
						 
						
							
							
								
								Issue 19572: More silently skipped tests explicitly skipped.  
							
							
							
						 
						
							2013-12-08 00:44:27 -06:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Zachary Ware 
								
							 
						 
						
							
							
							
							
								
							
							
								9fe6d86709 
								
							 
						 
						
							
							
								
								Issue 19572: More silently skipped tests explicitly skipped.  
							
							
							
						 
						
							2013-12-08 00:20:35 -06:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Georg Brandl 
								
							 
						 
						
							
							
							
							
								
							
							
								78abc9dcc2 
								
							 
						 
						
							
							
								
								Skip overzealous test for existence of the online license.html for pre-release versions.  
							
							
							
						 
						
							2013-10-27 09:41:57 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Georg Brandl 
								
							 
						 
						
							
							
							
							
								
							
							
								186729e812 
								
							 
						 
						
							
							
								
								merge with 3.3  
							
							
							
						 
						
							2013-10-27 09:54:53 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								dfea31254b 
								
							 
						 
						
							
							
								
								Issue  #19360 : fix test_site when Python is installed into $HOME/.local  
							
							
							
						 
						
							2013-10-23 22:03:45 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								a1782e1be8 
								
							 
						 
						
							
							
								
								Issue  #19360 : fix test_site when Python is installed into $HOME/.local  
							
							
							
						 
						
							2013-10-23 22:03:22 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ned Deily 
								
							 
						 
						
							
							
							
							
								
							
							
								b795aa8547 
								
							 
						 
						
							
							
								
								Issue  #19275 : Fix test_site failure on OS X due to typo.  
							
							
							
						 
						
							2013-10-17 15:21:40 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Christian Heimes 
								
							 
						 
						
							
							
							
							
								
							
							
								86823a52fc 
								
							 
						 
						
							
							
								
								Issue  #19275 : Fix test_site on AMD64 Snow Leopard  
							
							
							
						 
						
							2013-10-17 13:40:00 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Christian Heimes 
								
							 
						 
						
							
							
							
							
								
							
							
								f1dc3ee16d 
								
							 
						 
						
							
							
								
								Issue  #19218 : Rename collections.abc to _collections_abc in order to speed up interpreter start  
							
							
							
						 
						
							2013-10-13 02:04:20 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Christian Heimes 
								
							 
						 
						
							
							
							
							
								
							
							
								f403f50378 
								
							 
						 
						
							
							
								
								Issue  #19205 : _osx_support uses the re module all over the place. Omit the test for nw.  
							
							
							
						 
						
							2013-10-12 15:08:42 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Christian Heimes 
								
							 
						 
						
							
							
							
							
								
							
							
								179a3dbc9e 
								
							 
						 
						
							
							
								
								Issue  #19205 : add debugging output for failing test on Snow Leopard  
							
							
							
						 
						
							2013-10-12 12:32:21 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Christian Heimes 
								
							 
						 
						
							
							
							
							
								
							
							
								2582762b1b 
								
							 
						 
						
							
							
								
								Issue  #19209 : Remove import of copyreg from the os module to speed up  
							
							... 
							
							
							
							interpreter startup. stat_result and statvfs_result are now hard-coded to
reside in the os module.
The patch is based on Victor Stinner's patch. 
							
						 
						
							2013-10-12 01:27:08 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Christian Heimes 
								
							 
						 
						
							
							
							
							
								
							
							
								1a5fb4e3c1 
								
							 
						 
						
							
							
								
								Also test that the locale module isn't loaded during normal startup  
							
							
							
						 
						
							2013-10-12 01:00:51 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Christian Heimes 
								
							 
						 
						
							
							
							
							
								
							
							
								8c9cd5a3d4 
								
							 
						 
						
							
							
								
								Issue  #19205 : Don't import the 're' module in site and sysconfig module to  
							
							... 
							
							
							
							to speed up interpreter start. 
							
						 
						
							2013-10-12 00:24:55 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									R David Murray 
								
							 
						 
						
							
							
							
							
								
							
							
								f11caa0bba 
								
							 
						 
						
							
							
								
								Merge  #18206 : Fix test for existence of license URL.  
							
							... 
							
							
							
							This test will fail because a previous attempt to fix a merge error
in site.py was incorrect, but the test wasn't running so it wasn't
caught.  The next commit will fix the site.py bug. 
							
						 
						
							2013-09-14 13:31:14 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									R David Murray 
								
							 
						 
						
							
							
							
							
								
							
							
								1bc6ceba92 
								
							 
						 
						
							
							
								
								#18206 : Fix test for existence of license URL.  
							
							... 
							
							
							
							It now always checks, instead of only when the LICENSE file doesn't exist.  It
is also protected by the 'network' resource, and uses a HEAD request since we
are only doing an existence check. 
							
						 
						
							2013-09-14 13:28:37 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Senthil Kumaran 
								
							 
						 
						
							
							
							
							
								
							
							
								2f2ae39037 
								
							 
						 
						
							
							
								
								merge from 3.3  
							
							... 
							
							
							
							Fix License URL display and add test to check for license url presence.
Fixes issue #18206  Patch contributed by  Berker Peksag and py.user 
							
						 
						
							2013-09-07 14:09:48 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Senthil Kumaran 
								
							 
						 
						
							
							
							
							
								
							
							
								8ef519b24f 
								
							 
						 
						
							
							
								
								Fix License URL display and add test to check for license url presence.  
							
							... 
							
							
							
							Fixes issue #18206  Patch contributed by  Berker Peksag and py.user 
							
						 
						
							2013-09-07 13:59:17 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brett Cannon 
								
							 
						 
						
							
							
							
							
								
							
							
								679ecb565b 
								
							 
						 
						
							
							
								
								Issue  #15767 : back out 8a0ed9f63c6e, finishing the removal of  
							
							... 
							
							
							
							ModuleNotFoundError. 
							
						 
						
							2013-07-04 17:51:50 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brett Cannon 
								
							 
						 
						
							
							
							
							
								
							
							
								3e9a9ae09d 
								
							 
						 
						
							
							
								
								Update various test modules to use unittest.main() for test discovery  
							
							... 
							
							
							
							instead of manually listing tests for test.support.run_unittest(). 
							
						 
						
							2013-06-12 21:25:59 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brett Cannon 
								
							 
						 
						
							
							
							
							
								
							
							
								b1611e2772 
								
							 
						 
						
							
							
								
								Issue  #15767 : Introduce ModuleNotFoundError, a subclass of  
							
							... 
							
							
							
							ImportError.
The exception is raised by import when a module could not be found.
Technically this is defined as no viable loader could be found for the
specified module. This includes ``from ... import`` statements so that
the module usage is consistent for all situations where import
couldn't find what was requested.
This should allow for the common idiom of::
  try:
    import something
  except ImportError:
    pass
to be updated to using ModuleNotFoundError and not accidentally mask
ImportError messages that should propagate (e.g. issues with a
loader).
This work was driven by the fact that the ``from ... import``
statement needed to be able to tell the difference between an
ImportError that simply couldn't find a module (and thus silence the
exception so that ceval can raise it) and an ImportError that
represented an actual problem. 
							
						 
						
							2013-06-12 16:59:46 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Christian Heimes 
								
							 
						 
						
							
							
							
							
								
							
							
								de0b962998 
								
							 
						 
						
							
							
								
								Remove sys.platform == 'riscos' checks from some Python and test files.  #16501  
							
							
							
						 
						
							2012-11-19 00:59:39 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jesus Cea 
								
							 
						 
						
							
							
							
							
								
							
							
								f01d695ccd 
								
							 
						 
						
							
							
								
								Closes   #16135 : Removal of OS/2 support  
							
							
							
						 
						
							2012-10-05 03:36:11 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brett Cannon 
								
							 
						 
						
							
							
							
							
								
							
							
								8ac95ee62a 
								
							 
						 
						
							
							
								
								Fix test_site from modifying sysconfig._CONFIG_VARS.  
							
							
							
						 
						
							2012-04-04 17:31:16 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ned Deily 
								
							 
						 
						
							
							
							
							
								
							
							
								d531b295f2 
								
							 
						 
						
							
							
								
								Issue  #10881 : Fix test_site failure with OS X framework builds.  
							
							
							
						 
						
							2012-02-06 00:58:18 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ned Deily 
								
							 
						 
						
							
							
							
							
								
							
							
								316f573d9c 
								
							 
						 
						
							
							
								
								Issue  #13304 : Skip test case if user site-packages disabled (-s or  
							
							... 
							
							
							
							PYTHONNOUSERSITE).  (Patch by Carl Meyer) 
							
						 
						
							2011-10-31 16:16:35 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Éric Araujo 
								
							 
						 
						
							
							
							
							
								
							
							
								63ebe1c309 
								
							 
						 
						
							
							
								
								Fix test_site for systems without unsetenv.  Reported by Zsolt Cserna.  
							
							
							
						 
						
							2011-01-03 17:51:11 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									R. David Murray 
								
							 
						 
						
							
							
							
							
								
							
							
								ad4ccfdeb2 
								
							 
						 
						
							
							
								
								Skip test that does not raise an error on Windows.  
							
							... 
							
							
							
							I'm assuming that the putative path from the malformed
pth file is simply not found and therefore ignored. 
							
						 
						
							2010-12-27 04:31:48 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									R. David Murray 
								
							 
						 
						
							
							
							
							
								
							
							
								ab9d8d64a7 
								
							 
						 
						
							
							
								
								Escape file path before searching for it in output via regex  
							
							
							
						 
						
							2010-12-27 00:03:13 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									R. David Murray 
								
							 
						 
						
							
							
							
							
								
							
							
								b4ca59b783 
								
							 
						 
						
							
							
								
								#5258/#10642: print fn, line, traceback and continue when .pth file is broken  
							
							... 
							
							
							
							If a .pth file contained an error, it could cause a traceback in site.py,
terminating its processing.  In 2.7 and 3.2, the interpreter will then not
start.  Previously, a message would print saying to use -v to get the
traceback.  In either case, the traceback generated for a failed .pth file did
not include the .pth filename, making it difficult to debug the problem.  Now
site.py reports not only the .pth filename but also the line number causing the
error, and just skips the remainder of the file. 
							
						 
						
							2010-12-26 19:54:29 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ezio Melotti 
								
							 
						 
						
							
							
							
							
								
							
							
								b3aedd4862 
								
							 
						 
						
							
							
								
								#9424 : Replace deprecated assert* methods in the Python test suite.  
							
							
							
						 
						
							2010-11-20 19:04:17 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								fce7fd6426 
								
							 
						 
						
							
							
								
								Issue  #9549 : sys.setdefaultencoding() and PyUnicode_SetDefaultEncoding()  
							
							... 
							
							
							
							are now removed, since their effect was inexistent in 3.x (the default
encoding is hardcoded to utf-8 and cannot be changed). 
							
						 
						
							2010-09-01 18:54:56 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ezio Melotti 
								
							 
						 
						
							
							
							
							
								
							
							
								fc8b205da2 
								
							 
						 
						
							
							
								
								Correct a couple of assert* methods. Patch by Dave Malcolm.  
							
							
							
						 
						
							2010-08-17 08:35:41 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ronald Oussoren 
								
							 
						 
						
							
							
							
							
								
							
							
								bda4672b01 
								
							 
						 
						
							
							
								
								Ensure that test_site actually passes with a framework build  
							
							
							
						 
						
							2010-08-01 09:02:50 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brett Cannon 
								
							 
						 
						
							
							
							
							
								
							
							
								bbb2d492bc 
								
							 
						 
						
							
							
								
								Merged revisions 81152 via svnmerge from  
							
							... 
							
							
							
							svn+ssh://pythondev@svn.python.org/python/trunk
........
  r81152 | brett.cannon | 2010-05-13 16:59:41 -0700 (Thu, 13 May 2010) | 3 lines
  test_site was failing under darwin for non-framework builds because a test was
  assuming framework-specific site-packages directories were being used.
........ 
							
						 
						
							2010-05-14 00:04:56 +00:00