Georg Brandl 
								
							 
						 
						
							
							
							
							
								
							
							
								0c55f2946b 
								
							 
						 
						
							
							
								
								Patch  #1290454 : Fix reload() error message when parent module is not in  
							
							... 
							
							
							
							sys.modules. 
							
						 
						
							2005-09-14 06:56:20 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Georg Brandl 
								
							 
						 
						
							
							
							
							
								
							
							
								99d7e4e8eb 
								
							 
						 
						
							
							
								
								Whitespace normalization.  
							
							
							
						 
						
							2005-08-31 22:21:15 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Georg Brandl 
								
							 
						 
						
							
							
							
							
								
							
							
								02c42871cf 
								
							 
						 
						
							
							
								
								Disallow keyword arguments for type constructors that don't use them.  
							
							... 
							
							
							
							(fixes bug #1119418 ) 
							
						 
						
							2005-08-26 06:42:30 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin v. Löwis 
								
							 
						 
						
							
							
							
							
								
							
							
								d35edda682 
								
							 
						 
						
							
							
								
								Forward UnicodeDecodeError into SyntaxError for source encoding errors.  
							
							... 
							
							
							
							Will backport to 2.4. 
							
						 
						
							2005-08-24 08:39:24 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Raymond Hettinger 
								
							 
						 
						
							
							
							
							
								
							
							
								a710b331da 
								
							 
						 
						
							
							
								
								SF bug  #1242657 :   list(obj) can swallow KeyboardInterrupt  
							
							... 
							
							
							
							Fix over-aggressive PyErr_Clear().  The same code fragment appears in
various guises in list.extend(), map(), filter(), zip(), and internally
in PySequence_Tuple(). 
							
						 
						
							2005-08-21 11:03:59 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Raymond Hettinger 
								
							 
						 
						
							
							
							
							
								
							
							
								beb3101b05 
								
							 
						 
						
							
							
								
								Add a C API for sets and frozensets.  
							
							
							
						 
						
							2005-08-16 03:47:52 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								e2eca0b709 
								
							 
						 
						
							
							
								
								Port from the Python 2.4 branch, patches for SF bug # 900092,  
							
							... 
							
							
							
							hotshot.stats.load. 
							
						 
						
							2005-08-15 18:14:19 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Tim Peters 
								
							 
						 
						
							
							
							
							
								
							
							
								ea9dcdc062 
								
							 
						 
						
							
							
								
								com_yield_expr():  Squash new compiler wng about unreferenced local.  
							
							
							
						 
						
							2005-08-03 18:33:05 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Phillip J. Eby 
								
							 
						 
						
							
							
							
							
								
							
							
								0d6615fd29 
								
							 
						 
						
							
							
								
								PEP 342 implementation.  Per Guido's comments, the generator throw()  
							
							... 
							
							
							
							method still needs to support string exceptions, and allow None for the
third argument.  Documentation updates are needed, too. 
							
						 
						
							2005-08-02 00:46:46 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Raymond Hettinger 
								
							 
						 
						
							
							
							
							
								
							
							
								d794666048 
								
							 
						 
						
							
							
								
								* Improve code for the empty frozenset singleton:  
							
							... 
							
							
							
							- Handle both frozenset() and frozenset([]).
  - Do not use singleton for frozenset subclasses.
  - Finalize the singleton.
  - Add test cases.
* Factor-out set_update_internal() from set_update().  Simplifies the
  code for several internal callers.
* Factor constant expressions out of loop in set_merge_internal().
* Minor comment touch-ups. 
							
						 
						
							2005-08-01 21:39:29 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Georg Brandl 
								
							 
						 
						
							
							
							
							
								
							
							
								e35b657efd 
								
							 
						 
						
							
							
								
								Fix cleanup DECREF logic in builtin_filter function.  
							
							
							
						 
						
							2005-07-19 22:20:20 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Georg Brandl 
								
							 
						 
						
							
							
							
							
								
							
							
								9a3240e8e6 
								
							 
						 
						
							
							
								
								bug 1234979 addition  
							
							
							
						 
						
							2005-07-09 15:26:33 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Georg Brandl 
								
							 
						 
						
							
							
							
							
								
							
							
								af410b510d 
								
							 
						 
						
							
							
								
								bug [ 1234979 ] Lock.acquire treats only 1 as True  
							
							
							
						 
						
							2005-07-08 22:26:13 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brett Cannon 
								
							 
						 
						
							
							
							
							
								
							
							
								c9371d4a1b 
								
							 
						 
						
							
							
								
								Fix signedness of various char variables to stop causing a warning under gcc 4.  
							
							
							
						 
						
							2005-06-25 08:23:41 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brett Cannon 
								
							 
						 
						
							
							
							
							
								
							
							
								55fa66dd45 
								
							 
						 
						
							
							
								
								Add comments about PyThreadState and the usage of its fields.  
							
							
							
						 
						
							2005-06-25 07:07:35 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Michael W. Hudson 
								
							 
						 
						
							
							
							
							
								
							
							
								188d4366be 
								
							 
						 
						
							
							
								
								Fix bug:  
							
							... 
							
							
							
							[ 1163563 ] Sub threads execute in restricted mode
basically by fixing bug 1010677 in a non-broken way.
Backport candidate. 
							
						 
						
							2005-06-20 16:52:57 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Michael W. Hudson 
								
							 
						 
						
							
							
							
							
								
							
							
								867f2d45cd 
								
							 
						 
						
							
							
								
								You can have more than one thread state for a thread if they  
							
							... 
							
							
							
							correspond to different interpreters (I hope, please revert if this is
wrong :). 
							
						 
						
							2005-06-16 11:35:00 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Michael W. Hudson 
								
							 
						 
						
							
							
							
							
								
							
							
								f2ca5af439 
								
							 
						 
						
							
							
								
								Fix bug  
							
							... 
							
							
							
							[ 1180997 ] lax error-checking in new-in-2.4 marshal stuff
which I'd assigned to Martin, but actually turned out to be easy to fix.
Also, a test. 
							
						 
						
							2005-06-13 18:28:46 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Michael W. Hudson 
								
							 
						 
						
							
							
							
							
								
							
							
								01fca11080 
								
							 
						 
						
							
							
								
								Remove extraneous format character from PyArg_ParseTuple call in  
							
							... 
							
							
							
							marshal_loads.
Bugfix candidate. 
							
						 
						
							2005-06-13 17:50:18 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Michael W. Hudson 
								
							 
						 
						
							
							
							
							
								
							
							
								6d6917be00 
								
							 
						 
						
							
							
								
								Fix a couple of crashing-on-malformed data marshal bugs.  
							
							
							
						 
						
							2005-06-03 15:17:16 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Michael W. Hudson 
								
							 
						 
						
							
							
							
							
								
							
							
								df88846ebc 
								
							 
						 
						
							
							
								
								This is my patch:  
							
							... 
							
							
							
							[ 1180995 ] binary formats for marshalling floats
Adds 2 new type codes for marshal (binary floats and binary complexes), a
new marshal version (2), updates MAGIC and fiddles the de-serializing of
code objects to be less likely to clobber the real reason for failing if
it fails. 
							
						 
						
							2005-06-03 14:41:55 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Michael W. Hudson 
								
							 
						 
						
							
							
							
							
								
							
							
								ba283e2b7f 
								
							 
						 
						
							
							
								
								This is my patch:  
							
							... 
							
							
							
							[ 1181301 ] make float packing copy bytes when they can
which hasn't been reviewed, despite numerous threats to check it in
anyway if noone reviews it.  Please read the diff on the checkin list,
at least!
The basic idea is to examine the bytes of some 'probe values' to see if
the current platform is a IEEE 754-ish platform, and if so
_PyFloat_{Pack,Unpack}{4,8} just copy bytes around.
The rest is hair for testing, and tests. 
							
						 
						
							2005-05-27 15:23:20 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jason Tishler 
								
							 
						 
						
							
							
							
							
								
							
							
								7961aa6135 
								
							 
						 
						
							
							
								
								Patch  #1197318 : Cygwin case-sensitive import patch  
							
							... 
							
							
							
							A problem regarding importing symlinked modules was recently reported on the
Cygwin mailing list:
    http://cygwin.com/ml/cygwin/2005-04/msg00257.html 
The following test case demonstrates the problem:
$ ls -l
total 1
lrwxrwxrwx    1 jt       None            6 Apr 23 13:32 bar.py -> foo.py
-rw-r--r--    1 jt       None           24 Apr 18 20:13 foo.py
$ python -c 'import bar'
Traceback (most recent call last):
File "<string>", line 1, in ?
ImportError: No module named bar
Since Cygwin's case_ok() uses a modified version of the Windows's version, the
symlinked bar module actually resolves to file foo.py instead of bar.py. This
obviously causes the matching code to fail (regardless of case).
The patch fixes this problem by making Cygwin use the Mac OS X case_ok()
instead of a modified Window's version. 
							
						 
						
							2005-05-20 00:56:54 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Michael W. Hudson 
								
							 
						 
						
							
							
							
							
								
							
							
								774479c68b 
								
							 
						 
						
							
							
								
								Fix:  
							
							... 
							
							
							
							[ 1176893 ] Readline segfault
by unsilly-ing PyGILState_Release().
Backport candidate. 
							
						 
						
							2005-04-18 08:46:17 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Hye-Shik Chang 
								
							 
						 
						
							
							
							
							
								
							
							
								b6fa2814f7 
								
							 
						 
						
							
							
								
								Make a handy macro, Py_DEFAULT_RECURSION_LIMIT to allow to define  
							
							... 
							
							
							
							a default value of recursion limit from build systems.  1000 levels
are still too high for some 64bit systems. 
							
						 
						
							2005-04-04 15:49:02 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Michael W. Hudson 
								
							 
						 
						
							
							
							
							
								
							
							
								5253c30791 
								
							 
						 
						
							
							
								
								I suppose a bug report or even a fix would be a better response, but  
							
							... 
							
							
							
							commit a yelp about a noted flaw the error messages for METH_KEYWORDS
functions under some circumstances. 
							
						 
						
							2005-03-30 16:41:55 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Anthony Baxter 
								
							 
						 
						
							
							
							
							
								
							
							
								12b6f6cac7 
								
							 
						 
						
							
							
								
								Move exception finalisation later in the shutdown process - this  
							
							... 
							
							
							
							fixes the crash seen in bug #1165761  
							
						 
						
							2005-03-29 13:36:16 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin v. Löwis 
								
							 
						 
						
							
							
							
							
								
							
							
								8b8fb3db5a 
								
							 
						 
						
							
							
								
								Add 0 to _POSIX_SEMAPHORES. Will backport to 2.4.  
							
							
							
						 
						
							2005-03-28 12:34:20 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Anthony Baxter 
								
							 
						 
						
							
							
							
							
								
							
							
								19b2369d42 
								
							 
						 
						
							
							
								
								Patch  #1163249  - Correctly handle _POSIX_SEMAPHORES == -1 to mean no  
							
							... 
							
							
							
							support for posix semaphores. 
							
						 
						
							2005-03-16 04:15:07 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Raymond Hettinger 
								
							 
						 
						
							
							
							
							
								
							
							
								96229b1918 
								
							 
						 
						
							
							
								
								Add two new functions, any() and all().  
							
							
							
						 
						
							2005-03-11 06:49:40 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brett Cannon 
								
							 
						 
						
							
							
							
							
								
							
							
								409d8f2ebd 
								
							 
						 
						
							
							
								
								Allow classes to be defined with empty parentheses.  This means that  
							
							... 
							
							
							
							``class C(): pass`` is no longer a syntax error. 
							
						 
						
							2005-03-05 06:47:57 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin v. Löwis 
								
							 
						 
						
							
							
							
							
								
							
							
								96d743ec8b 
								
							 
						 
						
							
							
								
								Patch  #1115086 : support PY_LONGLONG in structmember.  
							
							
							
						 
						
							2005-03-03 23:00:26 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin v. Löwis 
								
							 
						 
						
							
							
							
							
								
							
							
								6ce7ed23d0 
								
							 
						 
						
							
							
								
								Revert previous checkin on getargs 'L' code. Try to convert all  
							
							... 
							
							
							
							numbers in PyLong_AsLongLong, and update test suite accordingly.
Backported to 2.4. 
							
						 
						
							2005-03-03 12:26:35 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin v. Löwis 
								
							 
						 
						
							
							
							
							
								
							
							
								4bf108d74f 
								
							 
						 
						
							
							
								
								Patch  #802188 : better parser error message for non-EOL following line cont.  
							
							
							
						 
						
							2005-03-03 11:45:45 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin v. Löwis 
								
							 
						 
						
							
							
							
							
								
							
							
								ff232d7230 
								
							 
						 
						
							
							
								
								Clear internal call error in 'L' format.  Fixes   #723201 .  
							
							... 
							
							
							
							Backported to 2.4. 
							
						 
						
							2005-03-03 09:24:38 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brett Cannon 
								
							 
						 
						
							
							
							
							
								
							
							
								5dc8ced4a8 
								
							 
						 
						
							
							
								
								Silence a gcc warning about putting in parentheses around && expressions mixed  
							
							... 
							
							
							
							with || expressions.  Also clarifies intend of 'if' conditional. 
							
						 
						
							2005-03-03 07:01:48 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Raymond Hettinger 
								
							 
						 
						
							
							
							
							
								
							
							
								e63a078635 
								
							 
						 
						
							
							
								
								Preserve sign of -0.0 when result is run through marshal.  
							
							
							
						 
						
							2005-02-23 13:37:55 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Raymond Hettinger 
								
							 
						 
						
							
							
							
							
								
							
							
								07359a7fed 
								
							 
						 
						
							
							
								
								Document how the pattern recognizer keeps all of its references in bounds.  
							
							... 
							
							
							
							Add a test in case the underlying assumptions ever change (i.e. the
compiler starts generating code blocks that are not punctuated by
RETURN_VALUE). 
							
						 
						
							2005-02-21 20:03:14 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Raymond Hettinger 
								
							 
						 
						
							
							
							
							
								
							
							
								80121491e0 
								
							 
						 
						
							
							
								
								Teach the peepholer to fold unary operations on constants.  
							
							... 
							
							
							
							Afterwards, -0.5 loads in a single step and no longer requires a runtime
UNARY_NEGATIVE operation. 
							
						 
						
							2005-02-20 12:41:32 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Raymond Hettinger 
								
							 
						 
						
							
							
							
							
								
							
							
								b615bf0681 
								
							 
						 
						
							
							
								
								Remove the set conversion which didn't work with:  [] in (0,)  
							
							
							
						 
						
							2005-02-10 01:42:32 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Raymond Hettinger 
								
							 
						 
						
							
							
							
							
								
							
							
								5e547969f8 
								
							 
						 
						
							
							
								
								Have set conversion replace existing constant if not used elsewhere.  
							
							
							
						 
						
							2005-02-09 21:24:51 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								0f1f63cf07 
								
							 
						 
						
							
							
								
								Close the discussion in SF bug 1069160.  
							
							
							
						 
						
							2005-02-08 02:07:57 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Raymond Hettinger 
								
							 
						 
						
							
							
							
							
								
							
							
								7fcb7869ba 
								
							 
						 
						
							
							
								
								Adopt Skip's idea to optimize lists of constants in the context  
							
							... 
							
							
							
							of a "in" or "not in" test. 
							
						 
						
							2005-02-07 19:32:38 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Raymond Hettinger 
								
							 
						 
						
							
							
							
							
								
							
							
								a164574937 
								
							 
						 
						
							
							
								
								Transform "x in (1,2,3)" to "x in frozenset([1,2,3])".  
							
							... 
							
							
							
							Inspired by Skip's idea to recognize the throw-away nature of sequences
in this context and to transform their type to one with better performance. 
							
						 
						
							2005-02-06 22:05:42 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jeremy Hylton 
								
							 
						 
						
							
							
							
							
								
							
							
								c9add9a483 
								
							 
						 
						
							
							
								
								Fix bug that allowed future statements virtually anywhere in a module.  
							
							... 
							
							
							
							If we exit via the break here, we need to set ff_last_lineno or
FUTURE_POSSIBLE() will remain true.  The bug affected statements
containing a variety of expressions, but not all expressions.  It has
been present since Python 2.2. 
							
						 
						
							2005-02-04 18:38:43 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin v. Löwis 
								
							 
						 
						
							
							
							
							
								
							
							
								13a1fde4da 
								
							 
						 
						
							
							
								
								Partially revert  #1074011 ; don't try to fflush stdin.  
							
							... 
							
							
							
							Backported to 2.3 and 2.4. 
							
						 
						
							2005-01-27 18:56:16 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Raymond Hettinger 
								
							 
						 
						
							
							
							
							
								
							
							
								9feb267caf 
								
							 
						 
						
							
							
								
								Do not fold a constant if a large sequence will result.  
							
							... 
							
							
							
							Saves space in the presence of code like: (None,)*10000 
							
						 
						
							2005-01-26 12:50:05 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Anthony Baxter 
								
							 
						 
						
							
							
							
							
								
							
							
								c560a00966 
								
							 
						 
						
							
							
								
								happy new year! (on the trunk)  
							
							
							
						 
						
							2005-01-25 12:40:01 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin v. Löwis 
								
							 
						 
						
							
							
							
							
								
							
							
								8e3ca8af26 
								
							 
						 
						
							
							
								
								Flush std{in,out,err} before closing it.  Fixes   #1074011 .  
							
							... 
							
							
							
							Will backport to 2.4 and 2.3. 
							
						 
						
							2005-01-23 09:41:49 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Michael W. Hudson 
								
							 
						 
						
							
							
							
							
								
							
							
								75eabd2944 
								
							 
						 
						
							
							
								
								Change the name of the macro used by --with-tsc builds to the less  
							
							... 
							
							
							
							inscrutable READ_TIMESTAMP. 
							
						 
						
							2005-01-18 15:56:11 +00:00