Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								64f9105fb7 
								
							 
						 
						
							
							
								
								DG/UX thread patches (Ross Andrus)  
							
							
							
						 
						
							1997-05-22 20:41:59 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								b2c8ec4b75 
								
							 
						 
						
							
							
								
								Set sys.executable to full path of python (from argv[0]).  
							
							
							
						 
						
							1997-05-22 20:41:20 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								23c9446d9a 
								
							 
						 
						
							
							
								
								Added a space in an error message  
							
							
							
						 
						
							1997-05-22 20:21:30 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								f9cba090f9 
								
							 
						 
						
							
							
								
								Don't use function prototypes in function definition headers.  
							
							
							
						 
						
							1997-05-20 22:23:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								2f75b29630 
								
							 
						 
						
							
							
								
								Indent the #error directives so a classic K&R cpp doesn't see them.  
							
							
							
						 
						
							1997-05-20 22:18:48 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								df4c308f5a 
								
							 
						 
						
							
							
								
								Plug leak of stack frame object in exception handling code.  
							
							... 
							
							
							
							Also delay DECREF calls until after the structures have been updated
(for reentrancy awareness). 
							
						 
						
							1997-05-20 17:06:11 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								df0d00e29b 
								
							 
						 
						
							
							
								
								Logic for enabling mac-specific signal handling fixed (Jack)  
							
							
							
						 
						
							1997-05-20 15:57:49 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								1254d79dfa 
								
							 
						 
						
							
							
								
								Use #ifdef in stead of #if (Jack)  
							
							
							
						 
						
							1997-05-20 15:57:25 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								c8fba8ee14 
								
							 
						 
						
							
							
								
								Add pthred-std define for Linux.  
							
							
							
						 
						
							1997-05-15 12:24:53 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								af5dfb4ceb 
								
							 
						 
						
							
							
								
								One last rename glitch: import_modules -> _PyImport_Modules.  
							
							
							
						 
						
							1997-05-14 17:36:12 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								d6353e2c0e 
								
							 
						 
						
							
							
								
								Support for various versions of the pthread draft.  
							
							
							
						 
						
							1997-05-13 17:51:13 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								5f15b96c36 
								
							 
						 
						
							
							
								
								(int) cast for strlen() to keep picky compilers happy.  
							
							
							
						 
						
							1997-05-13 17:50:01 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								b6a7f77c9f 
								
							 
						 
						
							
							
								
								Oops -- missed FloatingPointError in renaming.  
							
							
							
						 
						
							1997-05-09 03:03:23 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								9a0f04d4cd 
								
							 
						 
						
							
							
								
								Get rid of obsolete support for access statement.  
							
							
							
						 
						
							1997-05-09 00:58:02 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								ee2373b930 
								
							 
						 
						
							
							
								
								Oops, missed some renamings.  
							
							
							
						 
						
							1997-05-07 23:51:07 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								b05a5c7698 
								
							 
						 
						
							
							
								
								Instead of importing graminit.h whenever one of the three grammar 'root'  
							
							... 
							
							
							
							symbols is needed, define these in Python.h with a Py_ prefix. 
							
						 
						
							1997-05-07 17:46:13 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								666b17a280 
								
							 
						 
						
							
							
								
								New dir() function --  
							
							... 
							
							
							
							- uses abstract interface where possible
- uses __members__ and __methods__
- returns [] when an object has no info available 
							
						 
						
							1997-05-06 16:36:57 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								478e718aca 
								
							 
						 
						
							
							
								
								Keep MS compiler happy: use (int)strlen() when comparing; make sure  
							
							... 
							
							
							
							not to use kill(). 
							
						 
						
							1997-05-06 15:24:59 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								fc49073cd0 
								
							 
						 
						
							
							
								
								Used operators from abstract.h where possible (arithmetic operators,  
							
							... 
							
							
							
							get/set/del item).  This removes a pile of duplication.  There's no
abstract operator for 'not' but I removed the function call for it
anyway -- it's a little faster in-line. 
							
						 
						
							1997-05-06 15:06:49 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								fdf95dd525 
								
							 
						 
						
							
							
								
								Checkin of Jack's buffer mods.  
							
							... 
							
							
							
							Not really checked, but didn't fail any tests either... 
							
						 
						
							1997-05-05 22:15:02 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								13454c3f9c 
								
							 
						 
						
							
							
								
								Fix old typo PyArgs_VaParse -> PyArg_VaParse.  
							
							... 
							
							
							
							(Redoing the checking without merging in Jack's buffer mods.) 
							
						 
						
							1997-05-05 21:57:29 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								a027efa5bf 
								
							 
						 
						
							
							
								
								Massive changes for separate thread state management.  
							
							... 
							
							
							
							All per-thread globals are moved into a struct which is manipulated
separately. 
							
						 
						
							1997-05-05 20:56:21 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								73237c54b4 
								
							 
						 
						
							
							
								
								Only use PyCode_Addr2Line to get tb_lineno when Py_OptimizeFlag is set.  
							
							
							
						 
						
							1997-05-05 20:53:25 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								9218b70bdc 
								
							 
						 
						
							
							
								
								Remove 2 out of 3 __FreeBSD__ tests.  
							
							... 
							
							
							
							These are no longer needed as of FreeBSD 2.0.5, according to
Thomas Gellekum <tg@ihf.rwth-aachen.de>. 
							
						 
						
							1997-05-05 15:03:26 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								f4806c2a85 
								
							 
						 
						
							
							
								
								Add detach call so threads are GC'ed.  
							
							
							
						 
						
							1997-04-30 19:59:22 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								bc2472db8e 
								
							 
						 
						
							
							
								
								Avoid some potential (though unlikely) sprintf buffer overflows.  
							
							
							
						 
						
							1997-04-30 19:07:54 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								15e33a4c42 
								
							 
						 
						
							
							
								
								Avoid sprintf buffer overflow if more than 9999 arguments.  
							
							
							
						 
						
							1997-04-30 19:00:27 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								d11bfdd9f5 
								
							 
						 
						
							
							
								
								Ugly hack for SGI IRIX 6.2.  Apparently _POSIX_THREADS is defined even  
							
							... 
							
							
							
							when the pthread package is not installed.  configure knows better, so
#undef _POSIX_THREADS when pthread.h does not exist. 
							
						 
						
							1997-04-29 21:48:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								bb5c6f8529 
								
							 
						 
						
							
							
								
								Oops, forgot one: inittab.  
							
							
							
						 
						
							1997-04-29 20:42:30 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								0bac33b420 
								
							 
						 
						
							
							
								
								Oops, forgot one: inittab.  
							
							
							
						 
						
							1997-04-29 20:24:10 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								79f25d9a7b 
								
							 
						 
						
							
							
								
								Quickly renamed the remaining files -- this directory is done.  
							
							
							
						 
						
							1997-04-29 20:08:16 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								65bf9f265e 
								
							 
						 
						
							
							
								
								Quickly renamed.  
							
							
							
						 
						
							1997-04-29 18:33:38 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								373c869a6a 
								
							 
						 
						
							
							
								
								Quickly renamed.  Also removed the long comment explaining why this is  
							
							... 
							
							
							
							better than the old error API. 
							
						 
						
							1997-04-29 18:22:47 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								b209a116cf 
								
							 
						 
						
							
							
								
								Quickly renamed.  
							
							
							
						 
						
							1997-04-29 18:18:01 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								62cb0bafe2 
								
							 
						 
						
							
							
								
								Moved to ../Modules.  
							
							
							
						 
						
							1997-04-29 15:50:32 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								58a6ac55d2 
								
							 
						 
						
							
							
								
								Removed cgensupport.[co] (to ../Modules).  
							
							
							
						 
						
							1997-04-29 15:42:53 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								c474deaaf6 
								
							 
						 
						
							
							
								
								Expand one level of symbolic link in sys.argv[0] before inserting its  
							
							... 
							
							
							
							dirname in sys.path.  This means that you can create a symbolic link
foo in /usr/local/bin pointing to /usr/yourname/src/foo/foo.py, and
then invoking foo will insert /usr/yourname/src/foo in sys.path, not
/usr/local/bin.  This makes it easier to have multifile programs
(before, the program would have to do an os.readlink(sys.argv[0])
itself and insert the resulting directory in sys.path -- Grail does
this).
Note that the expansion is only used for sys.path; sys.argv[0] is
still the original, unadorned filename (/usr/local/bin/foo in the
example). 
							
						 
						
							1997-04-25 15:38:31 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								03a7466b8f 
								
							 
						 
						
							
							
								
								OK, ready to make 'assert' a keyword (instead of '__assert__').  
							
							
							
						 
						
							1997-04-16 00:34:46 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								7844e38a98 
								
							 
						 
						
							
							
								
								Keep Microsoft VC happy.  
							
							
							
						 
						
							1997-04-11 20:44:04 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								6bf62dad9e 
								
							 
						 
						
							
							
								
								Keep gcc -Wall and Microsoft VC happy.  
							
							
							
						 
						
							1997-04-11 20:37:35 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								1d2e240954 
								
							 
						 
						
							
							
								
								(Jack:) On the Mac, don't automatically enable dynamic loading.  
							
							
							
						 
						
							1997-04-11 19:22:06 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								62bf108392 
								
							 
						 
						
							
							
								
								(Jack:) Don't define TRUE and FALSE if already defined.  
							
							
							
						 
						
							1997-04-11 19:19:46 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								6976a52099 
								
							 
						 
						
							
							
								
								(Jack:) On the Mac, use standard strerror() if using MSL C-library.  
							
							
							
						 
						
							1997-04-11 19:18:23 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								644a12b00c 
								
							 
						 
						
							
							
								
								Tweaks to keep the Microsoft compiler quier.  
							
							
							
						 
						
							1997-04-09 19:24:53 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								5f5e817e00 
								
							 
						 
						
							
							
								
								Support for alternative string quotes (a"xx", b"xx", c"xx", ...).  
							
							... 
							
							
							
							In interactive mode, do generate code for single-string statements. 
							
						 
						
							1997-04-06 03:41:40 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								2a7f58de1c 
								
							 
						 
						
							
							
								
								Allow passing a .pyo file.  
							
							... 
							
							
							
							Print correct name in fatal error from PyErr_Print. 
							
						 
						
							1997-04-02 05:28:38 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								228d7f3f67 
								
							 
						 
						
							
							
								
								Added assert statement.  
							
							
							
						 
						
							1997-04-02 05:24:36 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								8ecd1ad785 
								
							 
						 
						
							
							
								
								Added assert grammar.  
							
							
							
						 
						
							1997-04-02 05:24:08 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								c6472e9ee1 
								
							 
						 
						
							
							
								
								1. Add string conversions to int(), long(), float().  (Not to complex()!)  
							
							... 
							
							
							
							2. Fix two bugs in complex():
   - Memory leak when using complex(classinstance) -- r was never
   DECREF'ed.
   - Conversion of the second argument, if not complex, was done using
   the type vector of the 1st. 
							
						 
						
							1997-03-31 17:15:43 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								45b83915f8 
								
							 
						 
						
							
							
								
								New form of PyFPE_END_PROTECT macro.  
							
							
							
						 
						
							1997-03-14 04:32:50 +00:00